Explore Enterprise Education Gitee Premium Gitee AI AI teammates
物联网开发平台
Overview Repositories 106 Issues 39 Pull Requests 3 Feeds People 1
Applying Join Group

You are applying to join leo-iot

Developer
Cancel
Submit
Success green

Success

Please wait for the administrator to review and you will receive a system notification when the review is complete

Popular
Customize your pins
Select up to six public projects
6 Remain
Introduction

代码下载

  1. 准备工作
  • 需要Ubuntu 18.0以上的系统。
  • 安装了Python3.8.0以上的版本
  1. 第一次下载代码需要下载repo工具
sudo curl https://gitee.com/oschina/repo/raw/fork_flow/repo-py3 -o /usr/bin/repo
sudo chmod a+x /usr/bin/repo
  1. 下载代码, master表示分支
repo init -u http://git.leotechnology.cn/leo-iot/manifest.git -b develop --no-repo-verify
repo sync -c
repo forall -c 'git lfs pull'
  1. 编译环境
buildtools/env_setup.py

代码编译

./build.sh --product-name=DTU
# 如果没有修改CMakeLists.txt 可以加上 --skip-cmake

整个编译过程包括cmake, make

参数: --product-name: 产品名称,即vendor下面的目录 --jobs: 多少线程同时编译,默认4 --skip-cmake: 跳过cmake过程

编译结果在out/DTU/ 下面。

提交代码

单个仓用git提交即可。每次修改应该对应一个issue, 在gitee仓库创建issue,会有一个issue编号, 提交代码时关联issue即可。

例如,创建了issue https://gitee.com/leo-iot/DTU/issues/IAEUJN

git commit -a -s -m "#IAEUJN 移植CMake编译"
git push origin_iot develop

在解决问题过程中,可以把过程写到issue评论区,方便大家共同参考。

代码框图

代码框架图

网关程序框架

输入图片说明

Lora技术

参考 Lora架构与实施方案

chirpstack :老版本记录

sudo ./build.sh

sudo ./build.sh -m pack_rootfs

sudo ./build.sh pack

进入

sudo ./mount.sh -m ubuntu/

sudo make PRODUCT=G4

Lora烧录

使用Tero programer 烧写波特率: 921600 调试波特率: 115200

COM通信: 波特率:19200

烧录开发板

雷优物联网平台:

Project
3
PR
11
Star
222
Fork
People(1)
Going to Help Center

Search

Back to the top

AltStyle によって変換されたページ (->オリジナル) /