ST意法半导体
直播中

云达贞

8年用户 957经验值
私信 关注
[问答]

请问在keil5里生成的.lib文件能否在cubeide中使用?

在移植工程时一直报lib文件的错误。
make -j12 all arm-none-eabi-gcc -o "1.elf" @"objects.list" D:/user/32cubeibework/1/Core/Src/RDM_TGD_CP_CK.lib -l"D:/user/32cubeibework/1/Core/Src/RDM_TGD_CP_CK.lib" -mcpu=cortex-m0 -T"D:\user\32cubeibework\1\STM32F030C8TX_FLASH.ld" --specs=nosys.specs -Wl,-Map="1.map" -Wl,--gc-sections -static -L"D:\user\32cubeibework\1\Core\Src" D:\user\32cubeibework\1\Core\Src\RDM_TGD_CP_CK.lib  -mfloat-abi=soft -mthumb -u _printf_float -u _scanf_float -Wl,--start-group -lc -lm -Wl,--end-grouparm-none-eabi-gcc: error: D:user32cubeibework1CoreSrcRDM_TGD_CP_CK.lib: No such file or directorymake: *** [makefile:65: 1.elf] Error 1"make -j12 all" terminated with exit code 2. Build might be incomplete.


更多回帖

发帖
×
20
完善资料,
赚取积分