-
Notifications
You must be signed in to change notification settings - Fork 72
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
描述:修复交叉编译时,samples 不能被编译通过的问题。 #33
Open
hi-tangbin
wants to merge
37
commits into
TencentCloud:master
Choose a base branch
from
hi-tangbin:master
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2. 增加设备动态注册示例。 3. 增加设备信息读写HAL接口。 4. 增加AES加解密功能。
2. 修改动态注册的HTTP Server端口。 3. 修改Readme 4. 发布版本V2.3.5
2. 增加事件上报功能。 3. 增加数据模板代码生成脚本工具 4. 修复Json处理的若干bug。 5. 新增数据模板示例、事件示例、数据模板智能灯场景示例。 6. 版本号修改为V3.0.0,支持物联网开发平台(IoT Explorer)。
…及unsubscribe之后再次订阅失败的问题 2. Log upload的buffer内存采用动态申请方式
2. 设备影子去除version。 3. 字符串内存空间申请缺陷修复。
2. SDK版本号更新为3.0.3。
2. list_remove增加list长度判断。
2. 修复设备信息json文件不完整导致的段错误
1.优化ota_mqtt_sample,将ota流程以及需要文件操作的地方解耦分离,并且sample支持MQTT断开重连之后仍然可以恢复下载。 2.优化gateway_sample,并增加代理一个以上子设备示例代码。 3.增加查询MQTT主题是否订阅成功的接口。 4.优化及更新文档。 5.修复一些编译警告及bug
fix: 消除编译警告
Correct the typo in the example template
2. add one way to check MQTT construct error 3. remove some useless code
1. 新增rrpc同步通信功能及示例 2. 新增广播功能及示例 3. 网关增加绑定/解绑子设备接口 4. 更新文档
原因:samples 的 CMakeLists.txt 第 22 行开始,只设置了 gcc 和 MSVC 的 lib,导致 arm-gcc 等其它 gcc 编译时找不到需要的库文件。 解决思路:用 CMAKE_C_COMPILER 表示目标编译工具,COMPILE_TOOLS 用来表示编译器。这样可以简化 CMakeLists.txt 里的配置,并可删除 CMakeLists.txt 里的第 97 行到 103 行,因为 Linux gcc 的 CMAKE_C_FLAGS 基本通用。
willssong2018
force-pushed
the
master
branch
from
September 26, 2022 12:20
2616003
to
fdad955
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
原因:samples 的 CMakeLists.txt 第 22 行开始,只设置了 gcc 和 MSVC 的 lib,导致 arm-gcc 等其它 gcc 编译时找不到需要的库文件。
解决思路:用 CMAKE_C_COMPILER 表示目标编译工具,COMPILE_TOOLS 用来表示编译器。这样可以简化 CMakeLists.txt 里的配置,并可删除 CMakeLists.txt 里的第 97 行到 103 行,因为 Linux gcc 的 CMAKE_C_FLAGS 基本通用。