完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
按照Github中 esp-aliyun的步骤一步步走
也把版本改成v4.2后 在尝试smart_light时,在make -j8时出现下面的错误: home/jack/esp/esp-idf/components/esp_rom/include/esp32/rom/libc_stubs.h:68:24: error: unknown type name '_lock_t'; did you mean 'clock_t'? void (*_lock_init)(_lock_t *lock); ^~~~~~~ clock_t /home/jack/esp/esp-idf/components/esp_rom/include/esp32/rom/libc_stubs.h:69:34: error: unknown type name '_lock_t'; did you mean 'clock_t'? void (*_lock_init_recursive)(_lock_t *lock); ^~~~~~~ clock_t /home/jack/esp/esp-idf/components/esp_rom/include/esp32/rom/libc_stubs.h:70:25: error: unknown type name '_lock_t'; did you mean 'clock_t'? void (*_lock_close)(_lock_t *lock); ^~~~~~~ clock_t /home/jack/esp/esp-idf/components/esp_rom/include/esp32/rom/libc_stubs.h:71:35: error: unknown type name '_lock_t'; did you mean 'clock_t'? void (*_lock_close_recursive)(_lock_t *lock); ^~~~~~~ clock_t /home/jack/esp/esp-idf/components/esp_rom/include/esp32/rom/libc_stubs.h:72:27: error: unknown type name '_lock_t'; did you mean 'clock_t'? void (*_lock_acquire)(_lock_t *lock); ^~~~~~~ clock_t /home/jack/esp/esp-idf/components/esp_rom/include/esp32/rom/libc_stubs.h:73:37: error: unknown type name '_lock_t'; did you mean 'clock_t'? void (*_lock_acquire_recursive)(_lock_t *lock); ^~~~~~~ clock_t /home/jack/esp/esp-idf/components/esp_rom/include/esp32/rom/libc_stubs.h:74:30: error: unknown type name '_lock_t'; did you mean 'clock_t'? int (*_lock_try_acquire)(_lock_t *lock); ^~~~~~~ clock_t /home/jack/esp/esp-idf/components/esp_rom/include/esp32/rom/libc_stubs.h:75:40: error: unknown type name '_lock_t'; did you mean 'clock_t'? int (*_lock_try_acquire_recursive)(_lock_t *lock); ^~~~~~~ clock_t /home/jack/esp/esp-idf/components/esp_rom/include/esp32/rom/libc_stubs.h:76:27: error: unknown type name '_lock_t'; did you mean 'clock_t'? void (*_lock_release)(_lock_t *lock); ^~~~~~~ clock_t /home/jack/esp/esp-idf/components/esp_rom/include/esp32/rom/libc_stubs.h:77:37: error: unknown type name '_lock_t'; did you mean 'clock_t'? void (*_lock_release_recursive)(_lock_t *lock); ^~~~~~~ clock_t make[1]: *** [/home/jack/esp/esp-idf/make/component_wrapper.mk:292: gcov/gcov_rtio.o] Error 1 make: *** [/home/jack/esp/esp-idf/make/project.mk:635: component-app_trace-build] Error 2 CC build/esp_event/event_send.o /home/jack/esp/esp-idf/components/driver/adc_common.c:78:8: error: unknown type name '_lock_t' static _lock_t adc2_wifi_lock; ^~~~~~~ /home/jack/esp/esp-idf/components/driver/adc_common.c8: error: unknown type name '_lock_t' static _lock_t adc1_dma_lock; ^~~~~~~ /home/jack/esp/esp-idf/components/driver/adc_common.c: In function 'adc1_dma_mode_acquire': /home/jack/esp/esp-idf/components/driver/adc_common.c:101:33: error: implicit declaration of function '_lock_acquire'; did you mean 'spinlock_acquire'? [-Werror=implicit-function-declaration] #define ADC1_DMA_LOCK_ACQUIRE() _lock_acquire( &adc1_dma_lock ) ^~~~~~~~~~~~~ /home/jack/esp/esp-idf/components/driver/adc_common.c:302:5: note: in expansion of macro 'ADC1_DMA_LOCK_ACQUIRE' ADC1_DMA_LOCK_ACQUIRE(); ^~~~~~~~~~~~~~~~~~~~~ /home/jack/esp/esp-idf/components/driver/adc_common.c: In function 'adc1_lock_release': /home/jack/esp/esp-idf/components/driver/adc_common.c:102:33: error: implicit declaration of function '_lock_release'; did you mean 'adc1_lock_release'? [-Werror=implicit-function-declaration] #define ADC1_DMA_LOCK_RELEASE() _lock_release( &adc1_dma_lock ) ^~~~~~~~~~~~~ /home/jack/esp/esp-idf/components/driver/adc_common.c:332:5: note: in expansion of macro 'ADC1_DMA_LOCK_RELEASE' ADC1_DMA_LOCK_RELEASE(); ^~~~~~~~~~~~~~~~~~~~~ /home/jack/esp/esp-idf/components/driver/adc_common.c: In function 'adc2_config_channel_atten': /home/jack/esp/esp-idf/components/driver/adc_common.c:82:41: error: implicit declaration of function '_lock_try_acquire'; did you mean 'adc2_wifi_acquire'? [-Werror=implicit-function-declaration] #define ADC2_WIFI_LOCK_TRY_ACQUIRE() _lock_try_acquire( &adc2_wifi_lock ) ^~~~~~~~~~~~~~~~~ /home/jack/esp/esp-idf/components/driver/adc_common.c:422:10: note: in expansion of macro 'ADC2_WIFI_LOCK_TRY_ACQUIRE' if ( ADC2_WIFI_LOCK_TRY_ACQUIRE() == -1 ) { ^~~~~~~~~~~~~~~~~~~~~~~~~~ /home/jack/esp/esp-idf/components/esp32/sleep_modes.c:88:8: error: unknown type name '_lock_t' static _lock_t lock_rtc_memory_crc; ^~~~~~~ /home/jack/esp/esp-idf/components/esp32/sleep_modes.c: In function 'esp_get_deep_sleep_wake_stub': AR build/esp_adc_cal/libesp_adc_cal.a /home/jack/esp/esp-idf/components/esp32/sleep_modes.c:102:5: error: implicit declaration of function '_lock_acquire'; did you mean 'spinlock_acquire'? [-Werror=implicit-function-declaration] _lock_acquire(&lock_rtc_memory_crc); ^~~~~~~~~~~~~ spinlock_acquire /home/jack/esp/esp-idf/components/esp32/sleep_modes.c:107:5: error: implicit declaration of function '_lock_release'; did you mean 'spinlock_release'? [-Werror=implicit-function-declaration] _lock_release(&lock_rtc_memory_crc); ^~~~~~~~~~~~~ spinlock_release |
|
相关推荐
|
|
只有小组成员才能发言,加入小组>>
920 浏览 1 评论
552浏览 6评论
461浏览 5评论
有没有办法在不使用混杂模式的情况下实现Wifi驱动程序接收缓冲区访问中断呢?
446浏览 5评论
447浏览 4评论
417浏览 4评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-11-25 21:04 , Processed in 0.736423 second(s), Total 75, Slave 58 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号