gpt4 book ai didi

c - 爱特梅尔工作室7 : unrecognized option `-mrelax'

转载 作者:行者123 更新时间:2023-11-30 16:59:10 27 4
gpt4 key购买 nike

我从 Atmel Studio 提供的示例库下载了 freeRTOS 基本示例 -EVK1100 并尝试构建它,但出现此错误

recipe for target 'src/asf/avr32/utils/startup/trampoline_uc3.o' failed 

构建输出给出:

Building file: ../src/asf/avr32/utils/startup/trampoline_uc3.s
Invoking: AVR32/GNU Assembler : 4.4.7
C:\Program Files (x86)\Atmel\Studio\7.0\toolchain\avr32\avr32-gnu-toolchain\bin\avr32-as.exe: unrecognized option `-mrelax'
make: *** [src/asf/avr32/utils/startup/trampoline_uc3.o] Error 1
"C:\Program Files (x86)\Atmel\Studio\7.0\toolchain\avr32\avr32-gnu-toolchain\bin\avr32-as.exe" -mpart=uc3a0512 -mrelax -I "C:\Program Files (x86)\Atmel\Studio\7.0\Packs\atmel\UC3A_DFP\1.0.53\include\AT32UC3A0512" -I "../thirdparty/freertos/demo/avr32_uc3_example/at32uc3a0512_evk1105" -I "../src/ASF/avr32/utils" -I "../src/config" -I "../src/ASF/avr32/boards/evk1105" -I "../src/ASF/thirdparty/freertos/demo/common/include" -I "../src/ASF/common/utils" -I "../src" -I "../src/ASF/avr32/boards" -I "../src/ASF/thirdparty/freertos/demo/avr32_uc3_example" -I "../src/ASF/avr32/drivers/tc" -I "../src/ASF/avr32/drivers/gpio" -I "../src/ASF/thirdparty/freertos/freertos-7.0.0/source/include" -I "../src/ASF/common/boards" -I "../src/ASF/thirdparty/freertos/demo/avr32_uc3_example/at32uc3a0512_evk1105" -I "../src/ASF/avr32/utils/preprocessor" -I "../src/ASF/avr32/drivers/intc" -I "../src/ASF/thirdparty/freertos/freertos-7.0.0/source/portable/gcc/avr32_uc3" -I "../src/ASF/avr32/drivers/pm" -I "../src/ASF/avr32/drivers/usart" -I "../src/ASF/avr32/drivers/flashc" -g -o "src/asf/avr32/utils/startup/trampoline_uc3.o" "../src/asf/avr32/utils/startup/trampoline_uc3.s"
C:\Users\xxx\Documents\Atmel Studio\7.0\FREERTOS_UC3_EXAMPLE2\FREERTOS_UC3_EXAMPLE2\Debug\Makefile(518,1): error: recipe for target 'src/asf/avr32/utils/startup/trampoline_uc3.o' failed

我相信链接器提示选项 -mrelax`无法识别的选项 -mrelax。 This reference显示我必须检查放松分支,但我在我的版本中找不到该选项

我想知道是否有一个补丁可以应用于我的链接器,以便它可以识别此选项或检查/取消选中项目文件中的某些选项或......

我正在使用

Atmel Studio 7(版本 7.0.934)

Windows 10

提前致谢

最佳答案

将 Atmel Studio 升级到最新版本后,示例项目已成功构建。

获取最新版本:

帮助>检查更新

关于c - 爱特梅尔工作室7 : unrecognized option `-mrelax' ,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/38324973/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com