完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
如题,我是在网络实验,也就是udp的基础上移植ucosiii,用的是STM32f103 战舰v3的板子,移植完成后编译,出现错误如下:
*** Using Compiler 'V5.04 update 1 (build 49)', folder: 'C:Keil_v5ARMARMCCBin' Build target 'NET_LWIP' compiling delay.c... ..UCOSIIIuC-LIBlib_def.h(425): error: #35: #error directive: "CPU_CFG_DATA_SIZE illegally #defined in 'cpu.h' " #error "CPU_CFG_DATA_SIZE illegally #defined in 'cpu.h' " ..SYSTEMdelaydelay.c: 0 warnings, 1 error compiling usart.c... ..UCOSIIIuC-LIBlib_def.h(425): error: #35: #error directive: "CPU_CFG_DATA_SIZE illegally #defined in 'cpu.h' " #error "CPU_CFG_DATA_SIZE illegally #defined in 'cpu.h' " ..SYSTEMusartusart.c: 0 warnings, 1 error compiling bsp.c... ..UCOSIIIuC-LIBlib_def.h(425): error: #35: #error directive: "CPU_CFG_DATA_SIZE illegally #defined in 'cpu.h' " #error "CPU_CFG_DATA_SIZE illegally #defined in 'cpu.h' " ..UCOSIIIUCOSIII-BSPbsp.c: 0 warnings, 1 error compiling cpu_c.c... ..UCOSIIIuC-LIBlib_def.h(425): error: #35: #error directive: "CPU_CFG_DATA_SIZE illegally #defined in 'cpu.h' " #error "CPU_CFG_DATA_SIZE illegally #defined in 'cpu.h' " ..UCOSIIIuC-CPUARM-Cortex-M3RealViewcpu_c.c: 0 warnings, 1 error compiling cpu_core.c... ..UCOSIIIuC-LIBlib_def.h(425): error: #35: #error directive: "CPU_CFG_DATA_SIZE illegally #defined in 'cpu.h' " #error "CPU_CFG_DATA_SIZE illegally #defined in 'cpu.h' " ..UCOSIIIuC-CPUcpu_core.c: 0 warnings, 1 error compiling lib_ascii.c... ..UCOSIIIuC-LIBlib_def.h(425): error: #35: #error directive: "CPU_CFG_DATA_SIZE illegally #defined in 'cpu.h' " #error "CPU_CFG_DATA_SIZE illegally #defined in 'cpu.h' " ..UCOSIIIuC-LIBlib_ascii.c: 0 warnings, 1 error compiling lib_math.c... ..UCOSIIIuC-LIBlib_def.h(425): error: #35: #error directive: "CPU_CFG_DATA_SIZE illegally #defined in 'cpu.h' " #error "CPU_CFG_DATA_SIZE illegally #defined in 'cpu.h' " ..UCOSIIIuC-LIBlib_math.c: 0 warnings, 1 error compiling lib_mem.c... ..UCOSIIIuC-LIBlib_def.h(425): error: #35: #error directive: "CPU_CFG_DATA_SIZE illegally #defined in 'cpu.h' " #error "CPU_CFG_DATA_SIZE illegally #defined in 'cpu.h' " ..UCOSIIIuC-LIBlib_mem.c: 0 warnings, 1 error compiling lib_str.c... ..UCOSIIIuC-LIBlib_def.h(425): error: #35: #error directive: "CPU_CFG_DATA_SIZE illegally #defined in 'cpu.h' " #error "CPU_CFG_DATA_SIZE illegally #defined in 'cpu.h' " ..UCOSIIIuC-LIBlib_str.c: 0 warnings, 1 error compiling os_cfg_app.c... ..UCOSIIIuC-LIBlib_def.h(425): error: #35: #error directive: "CPU_CFG_DATA_SIZE illegally #defined in 'cpu.h' " #error "CPU_CFG_DATA_SIZE illegally #defined in 'cpu.h' " ..UCOSIIIuCOS-IIISourceos_cfg_app.c: 0 warnings, 1 error compiling os_core.c... ..UCOSIIIuC-LIBlib_def.h(425): error: #35: #error directive: "CPU_CFG_DATA_SIZE illegally #defined in 'cpu.h' " #error "CPU_CFG_DATA_SIZE illegally #defined in 'cpu.h' " ..UCOSIIIuCOS-IIISourceos_core.c: 0 warnings, 1 error compiling os_dbg.c... ..UCOSIIIuC-LIBlib_def.h(425): error: #35: #error directive: "CPU_CFG_DATA_SIZE illegally #defined in 'cpu.h' " #error "CPU_CFG_DATA_SIZE illegally #defined in 'cpu.h' " ..UCOSIIIuCOS-IIISourceos_dbg.c: 0 warnings, 1 error compiling os_flag.c... ..UCOSIIIuC-LIBlib_def.h(425): error: #35: #error directive: "CPU_CFG_DATA_SIZE illegally #defined in 'cpu.h' " #error "CPU_CFG_DATA_SIZE illegally #defined in 'cpu.h' " ..UCOSIIIuCOS-IIISourceos_flag.c: 0 warnings, 1 error compiling os_int.c... ..UCOSIIIuC-LIBlib_def.h(425): error: #35: #error directive: "CPU_CFG_DATA_SIZE illegally #defined in 'cpu.h' " #error "CPU_CFG_DATA_SIZE illegally #defined in 'cpu.h' " ..UCOSIIIuCOS-IIISourceos_int.c: 0 warnings, 1 error compiling os_mem.c... ..UCOSIIIuC-LIBlib_def.h(425): error: #35: #error directive: "CPU_CFG_DATA_SIZE illegally #defined in 'cpu.h' " #error "CPU_CFG_DATA_SIZE illegally #defined in 'cpu.h' " ..UCOSIIIuCOS-IIISourceos_mem.c: 0 warnings, 1 error compiling os_msg.c... ..UCOSIIIuC-LIBlib_def.h(425): error: #35: #error directive: "CPU_CFG_DATA_SIZE illegally #defined in 'cpu.h' " #error "CPU_CFG_DATA_SIZE illegally #defined in 'cpu.h' " ..UCOSIIIuCOS-IIISourceos_msg.c: 0 warnings, 1 error compiling os_mutex.c... ..UCOSIIIuC-LIBlib_def.h(425): error: #35: #error directive: "CPU_CFG_DATA_SIZE illegally #defined in 'cpu.h' " #error "CPU_CFG_DATA_SIZE illegally #defined in 'cpu.h' " ..UCOSIIIuCOS-IIISourceos_mutex.c: 0 warnings, 1 error compiling os_pend_multi.c... ..UCOSIIIuC-LIBlib_def.h(425): error: #35: #error directive: "CPU_CFG_DATA_SIZE illegally #defined in 'cpu.h' " #error "CPU_CFG_DATA_SIZE illegally #defined in 'cpu.h' " ..UCOSIIIuCOS-IIISourceos_pend_multi.c: 0 warnings, 1 error compiling os_prio.c... ..UCOSIIIuC-LIBlib_def.h(425): error: #35: #error directive: "CPU_CFG_DATA_SIZE illegally #defined in 'cpu.h' " #error "CPU_CFG_DATA_SIZE illegally #defined in 'cpu.h' " ..UCOSIIIuCOS-IIISourceos_prio.c: 0 warnings, 1 error compiling os_q.c... ..UCOSIIIuC-LIBlib_def.h(425): error: #35: #error directive: "CPU_CFG_DATA_SIZE illegally #defined in 'cpu.h' " #error "CPU_CFG_DATA_SIZE illegally #defined in 'cpu.h' " ..UCOSIIIuCOS-IIISourceos_q.c: 0 warnings, 1 error compiling os_sem.c... ..UCOSIIIuC-LIBlib_def.h(425): error: #35: #error directive: "CPU_CFG_DATA_SIZE illegally #defined in 'cpu.h' " #error "CPU_CFG_DATA_SIZE illegally #defined in 'cpu.h' " ..UCOSIIIuCOS-IIISourceos_sem.c: 0 warnings, 1 error compiling os_stat.c... ..UCOSIIIuC-LIBlib_def.h(425): error: #35: #error directive: "CPU_CFG_DATA_SIZE illegally #defined in 'cpu.h' " #error "CPU_CFG_DATA_SIZE illegally #defined in 'cpu.h' " ..UCOSIIIuCOS-IIISourceos_stat.c: 0 warnings, 1 error compiling os_task.c... ..UCOSIIIuC-LIBlib_def.h(425): error: #35: #error directive: "CPU_CFG_DATA_SIZE illegally #defined in 'cpu.h' " #error "CPU_CFG_DATA_SIZE illegally #defined in 'cpu.h' " ..UCOSIIIuCOS-IIISourceos_task.c: 0 warnings, 1 error compiling os_tick.c... ..UCOSIIIuC-LIBlib_def.h(425): error: #35: #error directive: "CPU_CFG_DATA_SIZE illegally #defined in 'cpu.h' " #error "CPU_CFG_DATA_SIZE illegally #defined in 'cpu.h' " ..UCOSIIIuCOS-IIISourceos_tick.c: 0 warnings, 1 error compiling os_time.c... ..UCOSIIIuC-LIBlib_def.h(425): error: #35: #error directive: "CPU_CFG_DATA_SIZE illegally #defined in 'cpu.h' " #error "CPU_CFG_DATA_SIZE illegally #defined in 'cpu.h' " ..UCOSIIIuCOS-IIISourceos_time.c: 0 warnings, 1 error compiling os_tmr.c... ..UCOSIIIuC-LIBlib_def.h(425): error: #35: #error directive: "CPU_CFG_DATA_SIZE illegally #defined in 'cpu.h' " #error "CPU_CFG_DATA_SIZE illegally #defined in 'cpu.h' " ..UCOSIIIuCOS-IIISourceos_tmr.c: 0 warnings, 1 error compiling os_var.c... ..UCOSIIIuC-LIBlib_def.h(425): error: #35: #error directive: "CPU_CFG_DATA_SIZE illegally #defined in 'cpu.h' " #error "CPU_CFG_DATA_SIZE illegally #defined in 'cpu.h' " ..UCOSIIIuCOS-IIISourceos_var.c: 0 warnings, 1 error compiling os_cpu_c.c... ..UCOSIIIuC-LIBlib_def.h(425): error: #35: #error directive: "CPU_CFG_DATA_SIZE illegally #defined in 'cpu.h' " #error "CPU_CFG_DATA_SIZE illegally #defined in 'cpu.h' " ..UCOSIIIuCOS-IIIPortsARM-Cortex-M3GenericRealViewos_cpu_c.c: 0 warnings, 1 error compiling os_app_hooks.c... ..UCOSIIIuC-LIBlib_def.h(425): error: #35: #error directive: "CPU_CFG_DATA_SIZE illegally #defined in 'cpu.h' " #error "CPU_CFG_DATA_SIZE illegally #defined in 'cpu.h' " ..UCOSIIIUCOSIII-CONFIGos_app_hooks.c: 0 warnings, 1 error "..OBJNET_LWIP.axf" - 29 Error(s), 0 Warning(s). Target not created. Build Time Elapsed: 00:00:07 这个是什么问题啊?论坛上看到别人也有这个问题,但是都没有说是怎么解决的啊?哪位大神帮忙看一下啊?楼主小白,现在需要用到ucosiii+lwip做项目 |
|
相关推荐
3个回答
|
|
自己顶。。。。。。。。。。。。。。。。。。。。。。。。。
|
|
|
|
:):):):):):):):):):):):):):):):):):):):):):):):):):):):):):):):):)
|
|
|
|
没人呀??????????????????
|
|
|
|
只有小组成员才能发言,加入小组>>
如何使用STM32+nrf24l01架构把有线USB设备无线化?
2543 浏览 7 评论
请问能利用51单片机和nRF24L01模块实现实时语音无线传输吗?
2331 浏览 5 评论
3156 浏览 3 评论
2801 浏览 8 评论
为什么ucosii上移植lwip后系统进入了HardFault_Handler?
2759 浏览 4 评论
请教各位大咖:有没有接收频率32M左右的芯片推荐的?先感谢啦!
607浏览 1评论
852浏览 0评论
965浏览 0评论
618浏览 0评论
445浏览 0评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-11-22 07:14 , Processed in 1.187599 second(s), Total 81, Slave 64 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号