2016-07-12 69 views
0

我從愛特梅爾Studio提供的例子庫下載FreeRTOS的基本示例-EVK1100並嘗試構建它,我得到這個錯誤愛特梅爾工作室7:無法識別選項'-mrelax」

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`unrecognized選項-mrelax。 This reference表明,我要檢查放鬆分支機構,但我無法找到我的版本

我不知道是否有適用於我的連接,因此它可以識別此選項或檢查補丁/取消一些選項在項目文件或選項....

我'使用

愛特梅爾工作室7(7.0.934版)

的Windows 10

在此先感謝

+0

你考慮升級到最新的愛特梅爾工作室,打造1006? – unwind

+0

好的,我會更新Atmel版本,並給你反饋 – fedi

+0

@unwind感謝它現在的作品 – fedi

回答

0

將Atmel Studio升級到最新版本後,示例項目已成功構建。

要獲取最新版本:

幫助>檢查更新

相關問題