Search found 5 matches
- Tue Dec 06, 2022 2:31 am
- Forum: 《ESP32-C3 物联网工程开发实战》书籍讨论版
- Topic: 第7个例子:RainMaker Insights 示例在build时报错,缺少app_insights.h文件
- Replies: 4
- Views: 5483
Re: 第7个例子:RainMaker Insights 示例在build时报错,缺少app_insights.h文件
可以了,执行 git submodule update --init --recursive以后,就可以正常build了。
- Fri Dec 02, 2022 3:48 am
- Forum: 《ESP32-C3 物联网工程开发实战》书籍讨论版
- Topic: 第7个例子:RainMaker Insights 示例在build时报错,缺少app_insights.h文件
- Replies: 4
- Views: 5483
Re: 第7个例子:RainMaker Insights 示例在build时报错,缺少app_insights.h文件
重新到https://github.com/espressif/esp-rainmaker.git下载了相关的代码,现在没有那个错误了,但出现了新的erros如下所示:
/esp-rainmaker/examples/common/app_insights/app_insights.c: In
function 'app_insights_enable':
/esp-rainmaker/examples/common/app_insights/app_insights.c:52:5
: error: implicit declaration of function 'esp ...
/esp-rainmaker/examples/common/app_insights/app_insights.c: In
function 'app_insights_enable':
/esp-rainmaker/examples/common/app_insights/app_insights.c:52:5
: error: implicit declaration of function 'esp ...
- Thu Dec 01, 2022 2:53 pm
- Forum: 《ESP32-C3 物联网工程开发实战》书籍讨论版
- Topic: 第二个例子LED调光驱动2_light_drivers在编译build时报错
- Replies: 6
- Views: 9767
Re: 第二个例子LED调光驱动2_light_drivers在编译build时报错
idf版本是:ESP-IDF v4.4.3-dirty
- Wed Nov 30, 2022 7:15 am
- Forum: 《ESP32-C3 物联网工程开发实战》书籍讨论版
- Topic: 第7个例子:RainMaker Insights 示例在build时报错,缺少app_insights.h文件
- Replies: 4
- Views: 5483
第7个例子:RainMaker Insights 示例在build时报错,缺少app_insights.h文件
/device_firmware/7_insights/main/app_main.c:36:10: fatal error: app_
insights.h: No such file or directory
#include "app_insights.h"
^~~~~~~~~~~~~~~~
compilation terminated.
代码从https://github.com/espressif/book-esp32c3-iot-projects/tree/main/device_firmware/7_insights下载
insights.h: No such file or directory
#include "app_insights.h"
^~~~~~~~~~~~~~~~
compilation terminated.
代码从https://github.com/espressif/book-esp32c3-iot-projects/tree/main/device_firmware/7_insights下载
- Tue Nov 29, 2022 1:26 pm
- Forum: 《ESP32-C3 物联网工程开发实战》书籍讨论版
- Topic: 第二个例子LED调光驱动2_light_drivers在编译build时报错
- Replies: 6
- Views: 9767
第二个例子LED调光驱动2_light_drivers在编译build时报错
C:/rainmaker/device_firmware/components/light_driver/iot_led.c:66:46: error: 'ti
mg_txconfig_reg_t' {aka 'volatile union <anonymous>'} has no member named 'enabl
e'
TG[group_num]->hw_timer[timer_num].config.enable = 0;
^
C:/rainmaker/device_firmware/components/light_driver/iot_led.c: In function ...
mg_txconfig_reg_t' {aka 'volatile union <anonymous>'} has no member named 'enabl
e'
TG[group_num]->hw_timer[timer_num].config.enable = 0;
^
C:/rainmaker/device_firmware/components/light_driver/iot_led.c: In function ...