Search found 5 matches

by myadmin
Fri Dec 02, 2022 3:48 am
Forum: 《ESP32-C3 物联网工程开发实战》书籍讨论版
Topic: 第7个例子:RainMaker Insights 示例在build时报错,缺少app_insights.h文件
Replies: 4
Views: 3077

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_insights_...
by myadmin
Wed Nov 30, 2022 7:15 am
Forum: 《ESP32-C3 物联网工程开发实战》书籍讨论版
Topic: 第7个例子:RainMaker Insights 示例在build时报错,缺少app_insights.h文件
Replies: 4
Views: 3077

第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下载
by myadmin
Tue Nov 29, 2022 1:26 pm
Forum: 《ESP32-C3 物联网工程开发实战》书籍讨论版
Topic: 第二个例子LED调光驱动2_light_drivers在编译build时报错
Replies: 6
Views: 4983

第二个例子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 '_i...