|
我上个stm32CubeIDE版本是1.8.0,工程编译正常,升级到1.9.0后,编译出现了两个waring和两个error,报错如下: ../LWIP/Target/ethernetif.h:43:13: warning: 'ethernetif_input' declared 'static' but never defined [-Wunused-function] 43 | static void ethernetif_input(void const * argument); | ^~~~~~~~~~~~~~~~ (这个waring,我对比了新老文件,发现新文件给 “void ethernetif_input”增加了 static) --- --- c:\st\stm32cubeide_1.9.0\stm32cubeide\plugins\com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.10.3-2021.10.win32_1.0.0.202111181127\tools\arm-none-eabi\bin\ld.exe: c:/st/stm32cubeide_1.9.0/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.10.3-2021.10.win32_1.0.0.202111181127/tools/bin/../lib/gcc/arm-none-eabi/10.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp\libc_nano.a(lib_a-reent.o) .bss.errno+0x0): multiple definition of `errno'; ./Middlewares/Third_Party/LwIP/system/OS/sys_arch.o:C:/Users/lee/STM32CubeIDE/workspace_1.9.0/control_stm32f207zgt6/Debug/../Middlewares/Third_Party/LwIP/system/OS/sys_arch.c:45: first defined herecollect2.exe: error: ld returned 1 exit status make: *** [makefile:78: control_stm32f207zgt6.elf] Error 1 --- 附件是我的ioc文件,用它升级到MX6.5以后生成代码,编译就有报错  |
control_stm32f207zgt6.zip
下载3.67 KB, 下载次数: 4, 下载积分: ST金币 -1
简单聊聊STM32的SPI外设
STM32CUBEIDE登陆报错:this session has expired! Please try to login again by going to myST-login,应如何处理?
update STM32cubeide 到2.0.0版本,找不到pinout view了!? 哪里出错了??
STM32CubeIDE release v2.0.0更新了
cubeide的代码怎么编译到内部+外部FLASH里面去
CubeIDE2.0.0更新无法打开.ioc文件
有没有大佬更新了CubeIDE2.0.0,在软件内更新后体积大了一倍
有人用过正式版的STM32CubeIDE for Visual Studio Code了吗?
STM32CUBE调试中出现没有 “uwTickPrio() at 0x20000004” 对应的源文件
在STM32CUBEIDE中配置完以后直接编译然后再运行出现《没有 “_end() at 0x20000108” 对应的源文件》
微信公众号
手机版
解决了没
我也是这样,我在errno 定义处添加了extern 就可以顺利编译了