1
完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
我正在寻求帮助,因为我无法为 Blinky 示例构建我的固件文件。
当运行 esp8266-wiki/wiki/Building 部分中概述的脚本时,我收到以下错误:“函数的隐式声明”。 代码:全选(trusty)tiestvangool@localhost:~$ ./blinky.sh Cloning into 'source-code-examples'... remote: Counting objects: 107, done. remote: Total 107 (delta 0), reused 0 (delta 0), pack-reused 107 Receiving objects: 100% (107/107), 20.63 KiB | 0 bytes/s, done. Resolving deltas: 100% (28/28), done. Checking connectivity... done. CC user/user_main.c In file included from user/user_main.c:2:0: user/user_main.c: In function 'user_procTask': /opt/Espressif/ESP8266_SDK/include/osapi.h:12:21: error: implicit declaration of function 'ets_delay_us' [-Werror=implicit-function-declaration] #define os_delay_us ets_delay_us ^ user/user_main.c:34:5: note: in expansion of macro 'os_delay_us' os_delay_us(10); ^ user/user_main.c: In function 'user_init': /opt/Espressif/ESP8266_SDK/include/osapi.h:31:25: error: implicit declaration of function 'ets_timer_disarm' [-Werror=implicit-function-declaration] #define os_timer_disarm ets_timer_disarm ^ user/user_main.c:51:5: note: in expansion of macro 'os_timer_disarm' os_timer_disarm(&some_timer); ^ /opt/Espressif/ESP8266_SDK/include/osapi.h:32:24: error: implicit declaration of function 'ets_timer_setfn' [-Werror=implicit-function-declaration] #define os_timer_setfn ets_timer_setfn ^ user/user_main.c:54:5: note: in expansion of macro 'os_timer_setfn' os_timer_setfn(&some_timer, (os_timer_func_t *)some_timerfunc, NULL); ^ /opt/Espressif/ESP8266_SDK/include/osapi.h:30:31: error: implicit declaration of function 'ets_timer_arm_new' [-Werror=implicit-function-declaration] #define os_timer_arm(a, b, c) ets_timer_arm_new(a, b, c, 1) ^ user/user_main.c:60:5: note: in expansion of macro 'os_timer_arm' os_timer_arm(&some_timer, 1000, 1); ^ user/user_main.c:63:5: error: implicit declaration of function 'system_os_task' [-Werror=implicit-function-declaration] system_os_task(user_procTask, user_procTaskPrio,user_procTaskQueue, user_pr ^ cc1: all warnings being treated as errors make: *** [build/user/user_main.o] Error 1 我已经开始在几台机器上使用干净的 Lubuntu VM,但都导致了同样的问题。 有没有人以前见过这个和/或指导我解决这个问题的方向? |
|
相关推荐
|
|
只有小组成员才能发言,加入小组>>
1140 浏览 1 评论
577浏览 6评论
478浏览 5评论
有没有办法在不使用混杂模式的情况下实现Wifi驱动程序接收缓冲区访问中断呢?
462浏览 5评论
463浏览 4评论
438浏览 4评论
小黑屋| 手机版| Archiver| 德赢Vwin官网 ( 湘ICP备2023018690号 )
GMT+8, 2024-12-22 19:40 , Processed in 0.619973 second(s), Total 44, Slave 38 queries .
Powered by 德赢Vwin官网 网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
德赢Vwin官网 观察
版权所有 © 湖南华秋数字科技有限公司
德赢Vwin官网 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号