1
完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
这听起来很愚蠢。
SDK 4.3没有* .a文件吗? 如何正确导入和操作AC6? 编译时我有以下错误: 做所有 '构建目标:STM32F30x_UserProject.elf' '调用:MCU GCC Linker' ARM-none-eabi-gcc -mcpu = cortex-m4 -mthumb -mfloat-abi = hard -mfpu = fpv4-sp-d16 -L''C: Program Files(x86) STMicroelectronics FOC SDK v4.3.0 STM32 PMSM FOC LIB Web Project AC6 MC库编译''-L''C: Program Files(x86) STMicroelectronics FOC SDK v4.3.0 STM32 PMSM FOC LIB Web Project AC6 MC库已编译 MCO_SD'' - specs = rdimon.specs -T''C: Program Files(x86) STMicroelectronics FOC SDK v4.3.0 STM32 PMSM FOC LIB Web Project AC6 STM32F30x_UserProject STM32F302R8Tx_FLASH .ld'' - Wl,-Map = output.map -Wl, - gc-sections -lm -o''STM32F30x_UserProject.elf''@''objects.list''-lMC_Library_STM32F302x8_single_drive -lMC_Lib_PS_CM4 C:/ac6/systemworkbench/plugins/fr.ac6.mcu.externaltools.arm-none.win32_1.7.0.201602121829/tools/compiler/bin /../ LIB / GCC /臂-NONE-EABI / 5.2.1 / ../../../../arm-none-eabi/bin/ld.exe: collect2.exe:错误:ld返回1退出状态 make:*** [STM32F30x_UserProject.elf]错误1 以上来自于谷歌翻译 以下为原文 It sounds stupid. Does SDK 4.3 have no *.a files? How do I import and operate the AC6 correctly? When compiling I have the following errors: make all 'Building target: STM32F30x_UserProject.elf' 'Invoking: MCU GCC Linker' arm-none-eabi-gcc -mcpu=cortex-m4 -mthumb -mfloat-abi=hard -mfpu=fpv4-sp-d16 -L''C:Program Files (x86)STMicroelectronicsFOC SDKv4.3.0STM32 PMSM FOC LIBWebProjectAC6MC Library Compiled'' -L''C:Program Files (x86)STMicroelectronicsFOC SDKv4.3.0STM32 PMSM FOC LIBWebProjectAC6MC Library CompiledMCO_SD'' --specs=rdimon.specs -T''C:Program Files (x86)STMicroelectronicsFOC SDKv4.3.0STM32 PMSM FOC LIBWebProjectAC6STM32F30x_UserProjectSTM32F302R8Tx_FLASH.ld'' -Wl,-Map=output.map -Wl,--gc-sections -lm -o ''STM32F30x_UserProject.elf'' @''objects.list'' -lMC_Library_STM32F302x8_single_drive -lMC_Lib_PS_CM4 c:/ac6/systemworkbench/plugins/fr.ac6.mcu.externaltools.arm-none.win32_1.7.0.201602121829/tools/compiler/bin/../lib/gcc/arm-none-eabi/5.2.1/../../../../arm-none-eabi/bin/ld.exe: collect2.exe: error: ld returned 1 exit status make: *** [STM32F30x_UserProject.elf] Error 1 |
|
相关推荐
6个回答
|
|
你能编译一下吗?
我不能! ''没有为项目STM32F30x_MC库构建'' - 这是我尝试编译lib时编译器显示的消息。 你能告诉我如何处理sdk 4.3中的现有文件吗? 以上来自于谷歌翻译 以下为原文 Can you compile this? I can not! ''Nothing to build for project STM32F30x_MC Library'' - this is the message the compiler shows when I try to compile the lib. Can you show me how to do with existing files in sdk 4.3? |
|
|
|
再见
是的,我刚刚从全新安装开始做到了。 我在工作区中导入了两个项目。 选择了STM32F30x_MC库 单击工具箱中锤子附近的黑色三角形,然后选择STM32F302x8_SINGLE_DRIVE。编译从控制台中的很多句子开始。最后我得到了这个: ... '构建目标:.. .. MC库已编译 libMC_Library_STM32F302x8_single_drive.a' '调用:MCU GCC Archiver' arm-none-eabi-ar -r ''.. .. MC Library Compiled libMC_Library_STM32F302x8_single_drive.a''@''objects.list'' arm-none-eabi-ar:创建.. .. MC Library Compiled libMC_Library_STM32F302x8_single_drive.a '完成建筑目标:.. .. MC Library Compiled libMC_Library_STM32F302x8_single_drive.a' 然后我选择了STM32F30x_UserProject 单击相同的三角形并选择P-NUCLEO-IHM001-SINGLEDRIVE 经过长时间的编译,我得到了 '构建目标:STM32F30x_UserProject.elf' '调用:MCU GCC Linker' arm-none-eabi-gcc -mcpu = cortex-m4 -mthumb -mfloat-abi = hard -mfpu = fpv4-sp-d16 -L''C: VSS MC 3PH 0051.15 SOFTWARE FIRMWARE trunk ProtectedSources Project AC6 MC Library编译''-L''C: VSS MC 3PH 0051.15 SOFTWARE FIRMWARE trunk ProtectedSources Project AC6 MC Library Compiled MCO_SD'' --specs = rdimon.specs -T''C: VSS MC 3PH 0051.15 SOFTWARE FIRMWARE trunk ProtectedSources Project AC6 STM32F30x_UserProject STM32F302R8Tx_FLASH.ld''-WI,-Map = output.map -Wl, - gc-sections -lm -o''STM32F30x_UserProject.elf''@''objects.list'' -lMC_Library_STM32F302x8_single_drive -lMC_Lib_PS_CM4 '完成建筑目标:STM32F30x_UserProject.elf' '' make --no-print-directory post-build '生成二进制和打印尺寸信息:' arm-none-eabi-objcopy -O binary''STM32F30x_UserProject.elf''''STM32F30x_UserProject.bin'' arm-none-eabi-size''STM32F30x_UserProject.elf'' 文本 数据 BSS 十二月 十六进制 文件名 34048 1140 4280 39468 9a2c STM32F30x_UserProject.elf '' 15:39:01构建完成(耗时36s.848ms) 以上来自于谷歌翻译 以下为原文 Ciao Yes, I did it just now starting from a fresh installation. I imported both projects in the workspace. Selected STM32F30x_MC Library Clicked on the black triangle near the hammer in the tool box and select STM32F302x8_SINGLE_DRIVE. The compilation start with a lot o sentences in the console. At the end I get this: … 'Building target: ....MC Library CompiledlibMC_Library_STM32F302x8_single_drive.a' 'Invoking: MCU GCC Archiver' arm-none-eabi-ar -r ''....MC Library CompiledlibMC_Library_STM32F302x8_single_drive.a'' @''objects.list'' arm-none-eabi-ar: creating ....MC Library CompiledlibMC_Library_STM32F302x8_single_drive.a 'Finished building target: ....MC Library CompiledlibMC_Library_STM32F302x8_single_drive.a' Then I selected STM32F30x_UserProject Click in the same triangle and select P-NUCLEO-IHM001-SINGLEDRIVE After a long compilation I get 'Building target: STM32F30x_UserProject.elf' 'Invoking: MCU GCC Linker' arm-none-eabi-gcc -mcpu=cortex-m4 -mthumb -mfloat-abi=hard -mfpu=fpv4-sp-d16 -L''C:VSSMC3PH 051.15SOFTWAREFIRMWAREtrunkProtectedSourcesProjectAC6MC Library Compiled'' -L''C:VSSMC3PH 051.15SOFTWAREFIRMWAREtrunkProtectedSourcesProjectAC6MC Library CompiledMCO_SD'' --specs=rdimon.specs -T''C:VSSMC3PH 051.15SOFTWAREFIRMWAREtrunkProtectedSourcesProjectAC6STM32F30x_UserProjectSTM32F302R8Tx_FLASH.ld'' -Wl,-Map=output.map -Wl,--gc-sections -lm -o ''STM32F30x_UserProject.elf'' @''objects.list'' -lMC_Library_STM32F302x8_single_drive -lMC_Lib_PS_CM4 'Finished building target: STM32F30x_UserProject.elf' ' ' make --no-print-directory post-build 'Generating binary and Printing size information:' arm-none-eabi-objcopy -O binary ''STM32F30x_UserProject.elf'' ''STM32F30x_UserProject.bin'' arm-none-eabi-size ''STM32F30x_UserProject.elf'' text data bss dec hex filename 34048 1140 4280 39468 9a2c STM32F30x_UserProject.elf ' ' 15:39:01 Build Finished (took 36s.848ms) |
|
|
|
|
|
|
|
您的SRC文件夹(MC_Library)是否包含任何文件?
我甚至无法开... 我无法编译这个...... 以上来自于谷歌翻译 以下为原文 Does your SRC folder (MC_Library) contain any files? Mine can not even open ... I can not compile this ... |
|
|
|
Probaby我明白了
缺少源的路径: 右键单击src并选择Properties 点击“编辑”按钮并设置 PROJECT_LOC .. .. .. MCLibrary SRC 再见 梁咏琪 以上来自于谷歌翻译 以下为原文 Probaby I understood The path for the sources is missing: Right Click on src and select Properties Click ''edit'' button and set PROJECT_LOC......MCLibrarysrc Ciao Gigi |
|
|
|
由于某些原因,我不能包含''project''文件夹。
我不得不将stm32f30x_conf文件复制到''Web MCLibrary inc''文件夹中。 你知道为什么吗? 谢谢 以上来自于谷歌翻译 以下为原文 For some reason now, I can not include the ''project'' folder. I had to copy the stm32f30x_conf file to the ''WebMCLibraryinc'' folder. Do you know why? Thank you |
|
|
|
只有小组成员才能发言,加入小组>>
请教:在使用UDE STK时,单片机使用SPC560D30L1,在配置文件怎么设置或选择?里面只有SPC560D40的选项
2730 浏览 1 评论
3239 浏览 1 评论
请问是否有通过UART连接的两个微处理器之间实现双向值交换的方法?
1808 浏览 1 评论
3647 浏览 6 评论
6035 浏览 21 评论
1339浏览 4评论
198浏览 3评论
对H747I-DISCO写程序时将CN2的st-link复用为usart1,再次烧录时无法检测到stlink怎么解决?
350浏览 2评论
STM32G474RE芯片只是串口发个数据就发烫严重是怎么回事?
442浏览 2评论
STM32处理增量式编码器Z信号如何判断中断是正转的还是反向转的?
273浏览 2评论
小黑屋| 手机版| Archiver| 德赢Vwin官网 ( 湘ICP备2023018690号 )
GMT+8, 2024-12-23 12:26 , Processed in 1.320720 second(s), Total 90, Slave 73 queries .
Powered by 德赢Vwin官网 网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
德赢Vwin官网 观察
版权所有 © 湖南华秋数字科技有限公司
德赢Vwin官网 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号