首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >Atmel studio 7:无法识别的选项`-mrelax‘

Atmel studio 7:无法识别的选项`-mrelax‘
EN

Stack Overflow用户
提问于 2016-07-12 17:30:46
回答 0查看 172关注 0票数 0

我从Atmel Studio提供的Example Gallery下载了freeRTOS Basic example -EVK1100,并尝试构建它,得到以下错误

代码语言:javascript
复制
recipe for target 'src/asf/avr32/utils/startup/trampoline_uc3.o' failed 

构建输出给出了:

代码语言:javascript
复制
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

我相信链接器会抱怨option -mrelax`unrecognized option -mrelax。This reference显示我必须检查relax分支,但在我的版本中找不到该选项

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

我正在使用

Atmel Studio 7(版本7.0.934)

Windows 10

提前感谢

EN

回答

页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/38324973

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档