Re: unknown cpu 'cortex-m0'

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

Here is the complete logging of my build:

**** Build of configuration Default for project GDR216 ****

make all 
make -C ../../Libs/C/GNU_STM32/Libraries
make[1]: Entering directory `/home/evert/sandbox/Libs/C/GNU_STM32/Libraries'
arm-none-eabi-gcc -g -O2 -Wall -mlittle-endian -mthumb -mcpu=cortex-m0
-march=armv6s-m -ffreestanding -nostdlib -includestm32f0xx_conf.h
-ICMSIS/Include -ICMSIS/Device/ST/STM32F0xx/Include
-ISTM32F0xx_StdPeriph_Driver/inc -c -o stm32f0xx_adc.o
STM32F0xx_StdPeriph_Driver/src/stm32f0xx_adc.c
arm-none-eabi-gcc -g -O2 -Wall -mlittle-endian -mthumb -mcpu=cortex-m0
-march=armv6s-m -ffreestanding -nostdlib -includestm32f0xx_conf.h
-ICMSIS/Include -ICMSIS/Device/ST/STM32F0xx/Include
-ISTM32F0xx_StdPeriph_Driver/inc -c -o stm32f0xx_cec.o
STM32F0xx_StdPeriph_Driver/src/stm32f0xx_cec.c
arm-none-eabi-gcc -g -O2 -Wall -mlittle-endian -mthumb -mcpu=cortex-m0
-march=armv6s-m -ffreestanding -nostdlib -includestm32f0xx_conf.h
-ICMSIS/Include -ICMSIS/Device/ST/STM32F0xx/Include
-ISTM32F0xx_StdPeriph_Driver/inc -c -o stm32f0xx_comp.o
STM32F0xx_StdPeriph_Driver/src/stm32f0xx_comp.c
arm-none-eabi-gcc -g -O2 -Wall -mlittle-endian -mthumb -mcpu=cortex-m0
-march=armv6s-m -ffreestanding -nostdlib -includestm32f0xx_conf.h
-ICMSIS/Include -ICMSIS/Device/ST/STM32F0xx/Include
-ISTM32F0xx_StdPeriph_Driver/inc -c -o stm32f0xx_crc.o
STM32F0xx_StdPeriph_Driver/src/stm32f0xx_crc.c
arm-none-eabi-gcc -g -O2 -Wall -mlittle-endian -mthumb -mcpu=cortex-m0
-march=armv6s-m -ffreestanding -nostdlib -includestm32f0xx_conf.h
-ICMSIS/Include -ICMSIS/Device/ST/STM32F0xx/Include
-ISTM32F0xx_StdPeriph_Driver/inc -c -o stm32f0xx_dac.o
STM32F0xx_StdPeriph_Driver/src/stm32f0xx_dac.c
arm-none-eabi-gcc -g -O2 -Wall -mlittle-endian -mthumb -mcpu=cortex-m0
-march=armv6s-m -ffreestanding -nostdlib -includestm32f0xx_conf.h
-ICMSIS/Include -ICMSIS/Device/ST/STM32F0xx/Include
-ISTM32F0xx_StdPeriph_Driver/inc -c -o stm32f0xx_dbgmcu.o
STM32F0xx_StdPeriph_Driver/src/stm32f0xx_dbgmcu.c
arm-none-eabi-gcc -g -O2 -Wall -mlittle-endian -mthumb -mcpu=cortex-m0
-march=armv6s-m -ffreestanding -nostdlib -includestm32f0xx_conf.h
-ICMSIS/Include -ICMSIS/Device/ST/STM32F0xx/Include
-ISTM32F0xx_StdPeriph_Driver/inc -c -o stm32f0xx_dma.o
STM32F0xx_StdPeriph_Driver/src/stm32f0xx_dma.c
arm-none-eabi-gcc -g -O2 -Wall -mlittle-endian -mthumb -mcpu=cortex-m0
-march=armv6s-m -ffreestanding -nostdlib -includestm32f0xx_conf.h
-ICMSIS/Include -ICMSIS/Device/ST/STM32F0xx/Include
-ISTM32F0xx_StdPeriph_Driver/inc -c -o stm32f0xx_exti.o
STM32F0xx_StdPeriph_Driver/src/stm32f0xx_exti.c
arm-none-eabi-gcc -g -O2 -Wall -mlittle-endian -mthumb -mcpu=cortex-m0
-march=armv6s-m -ffreestanding -nostdlib -includestm32f0xx_conf.h
-ICMSIS/Include -ICMSIS/Device/ST/STM32F0xx/Include
-ISTM32F0xx_StdPeriph_Driver/inc -c -o stm32f0xx_flash.o
STM32F0xx_StdPeriph_Driver/src/stm32f0xx_flash.c
arm-none-eabi-gcc -g -O2 -Wall -mlittle-endian -mthumb -mcpu=cortex-m0
-march=armv6s-m -ffreestanding -nostdlib -includestm32f0xx_conf.h
-ICMSIS/Include -ICMSIS/Device/ST/STM32F0xx/Include
-ISTM32F0xx_StdPeriph_Driver/inc -c -o stm32f0xx_gpio.o
STM32F0xx_StdPeriph_Driver/src/stm32f0xx_gpio.c
arm-none-eabi-gcc -g -O2 -Wall -mlittle-endian -mthumb -mcpu=cortex-m0
-march=armv6s-m -ffreestanding -nostdlib -includestm32f0xx_conf.h
-ICMSIS/Include -ICMSIS/Device/ST/STM32F0xx/Include
-ISTM32F0xx_StdPeriph_Driver/inc -c -o stm32f0xx_i2c.o
STM32F0xx_StdPeriph_Driver/src/stm32f0xx_i2c.c
arm-none-eabi-gcc -g -O2 -Wall -mlittle-endian -mthumb -mcpu=cortex-m0
-march=armv6s-m -ffreestanding -nostdlib -includestm32f0xx_conf.h
-ICMSIS/Include -ICMSIS/Device/ST/STM32F0xx/Include
-ISTM32F0xx_StdPeriph_Driver/inc -c -o stm32f0xx_iwdg.o
STM32F0xx_StdPeriph_Driver/src/stm32f0xx_iwdg.c
arm-none-eabi-gcc -g -O2 -Wall -mlittle-endian -mthumb -mcpu=cortex-m0
-march=armv6s-m -ffreestanding -nostdlib -includestm32f0xx_conf.h
-ICMSIS/Include -ICMSIS/Device/ST/STM32F0xx/Include
-ISTM32F0xx_StdPeriph_Driver/inc -c -o stm32f0xx_misc.o
STM32F0xx_StdPeriph_Driver/src/stm32f0xx_misc.c
arm-none-eabi-gcc -g -O2 -Wall -mlittle-endian -mthumb -mcpu=cortex-m0
-march=armv6s-m -ffreestanding -nostdlib -includestm32f0xx_conf.h
-ICMSIS/Include -ICMSIS/Device/ST/STM32F0xx/Include
-ISTM32F0xx_StdPeriph_Driver/inc -c -o stm32f0xx_pwr.o
STM32F0xx_StdPeriph_Driver/src/stm32f0xx_pwr.c
arm-none-eabi-gcc -g -O2 -Wall -mlittle-endian -mthumb -mcpu=cortex-m0
-march=armv6s-m -ffreestanding -nostdlib -includestm32f0xx_conf.h
-ICMSIS/Include -ICMSIS/Device/ST/STM32F0xx/Include
-ISTM32F0xx_StdPeriph_Driver/inc -c -o stm32f0xx_rcc.o
STM32F0xx_StdPeriph_Driver/src/stm32f0xx_rcc.c
arm-none-eabi-gcc -g -O2 -Wall -mlittle-endian -mthumb -mcpu=cortex-m0
-march=armv6s-m -ffreestanding -nostdlib -includestm32f0xx_conf.h
-ICMSIS/Include -ICMSIS/Device/ST/STM32F0xx/Include
-ISTM32F0xx_StdPeriph_Driver/inc -c -o stm32f0xx_rtc.o
STM32F0xx_StdPeriph_Driver/src/stm32f0xx_rtc.c
STM32F0xx_StdPeriph_Driver/src/stm32f0xx_rtc.c: In function 'RTC_DeInit':
STM32F0xx_StdPeriph_Driver/src/stm32f0xx_rtc.c:311:17: warning: unused
variable 'wutcounter' [-Wunused-variable]
arm-none-eabi-gcc -g -O2 -Wall -mlittle-endian -mthumb -mcpu=cortex-m0
-march=armv6s-m -ffreestanding -nostdlib -includestm32f0xx_conf.h
-ICMSIS/Include -ICMSIS/Device/ST/STM32F0xx/Include
-ISTM32F0xx_StdPeriph_Driver/inc -c -o stm32f0xx_spi.o
STM32F0xx_StdPeriph_Driver/src/stm32f0xx_spi.c
arm-none-eabi-gcc -g -O2 -Wall -mlittle-endian -mthumb -mcpu=cortex-m0
-march=armv6s-m -ffreestanding -nostdlib -includestm32f0xx_conf.h
-ICMSIS/Include -ICMSIS/Device/ST/STM32F0xx/Include
-ISTM32F0xx_StdPeriph_Driver/inc -c -o stm32f0xx_syscfg.o
STM32F0xx_StdPeriph_Driver/src/stm32f0xx_syscfg.c
arm-none-eabi-gcc -g -O2 -Wall -mlittle-endian -mthumb -mcpu=cortex-m0
-march=armv6s-m -ffreestanding -nostdlib -includestm32f0xx_conf.h
-ICMSIS/Include -ICMSIS/Device/ST/STM32F0xx/Include
-ISTM32F0xx_StdPeriph_Driver/inc -c -o stm32f0xx_tim.o
STM32F0xx_StdPeriph_Driver/src/stm32f0xx_tim.c
arm-none-eabi-gcc -g -O2 -Wall -mlittle-endian -mthumb -mcpu=cortex-m0
-march=armv6s-m -ffreestanding -nostdlib -includestm32f0xx_conf.h
-ICMSIS/Include -ICMSIS/Device/ST/STM32F0xx/Include
-ISTM32F0xx_StdPeriph_Driver/inc -c -o stm32f0xx_usart.o
STM32F0xx_StdPeriph_Driver/src/stm32f0xx_usart.c
arm-none-eabi-gcc -g -O2 -Wall -mlittle-endian -mthumb -mcpu=cortex-m0
-march=armv6s-m -ffreestanding -nostdlib -includestm32f0xx_conf.h
-ICMSIS/Include -ICMSIS/Device/ST/STM32F0xx/Include
-ISTM32F0xx_StdPeriph_Driver/inc -c -o stm32f0xx_wwdg.o
STM32F0xx_StdPeriph_Driver/src/stm32f0xx_wwdg.c
arm-none-eabi-ar -r libstm32f0.a stm32f0xx_adc.o stm32f0xx_cec.o
stm32f0xx_comp.o stm32f0xx_crc.o stm32f0xx_dac.o stm32f0xx_dbgmcu.o
stm32f0xx_dma.o stm32f0xx_exti.o stm32f0xx_flash.o stm32f0xx_gpio.o
stm32f0xx_i2c.o stm32f0xx_iwdg.o stm32f0xx_misc.o stm32f0xx_pwr.o
stm32f0xx_rcc.o stm32f0xx_rtc.o stm32f0xx_spi.o stm32f0xx_syscfg.o
stm32f0xx_tim.o stm32f0xx_usart.o stm32f0xx_wwdg.o
arm-none-eabi-ar: creating libstm32f0.a
make[1]: Leaving directory `/home/evert/sandbox/Libs/C/GNU_STM32/Libraries'
/home/evert/sandbox/GDR216/C/scripts/toolchain/bin/arm-axon-eabi-gcc -Wall
-std=c99 -Os -g  -mlittle-endian -mcpu=cortex-m0 -march=armv6-m -mthumb 
-ffunction-sections -fdata-sections  -Wl,--gc-sections
-Wl,-Map=gdr216-01xx.map -I inc -I ../../Libs/C/GNU_STM32/Libraries -I
../../Libs/C/GNU_STM32/Libraries/CMSIS/Device/ST/STM32F0xx/Include -I
../../Libs/C/GNU_STM32/Libraries/CMSIS/Include -I ../../Libs/C/GNU_STM32 -I
../../Libs/C/GNU_STM32/Libraries/STM32F0xx_StdPeriph_Driver/inc 
-I/home/evert/sandbox/GDR216/C/scripts/toolchain/arm-axon-eabi/include
-DGDR216 -DSTM32F0xx_CONF -DDEBUG -DSLACK_ENUM_ITEMS 
../../Libs/C/GNU_STM32/SynapseMain.c src/system_stm32f0xx.c
../../Libs/C/GNU_STM32/Axon.c ../../Libs/C/GNU_STM32/AxonNet_DL.c
../../Libs/C/GNU_STM32/AxonNet_AL.c ../../Libs/C/GNU_STM32/SmallTimers.c
../../Libs/C/GNU_STM32/Eeprom.c ../../Libs/C/GNU_STM32/Interface_DL.c
../../Libs/C/GNU_STM32/ledo.c ../../Libs/C/GNU_STM32/watchdog.c
src/Menu_GDR216.c ../../Libs/C/GNU_STM32/SerialNum.c src/Application.c
../../Libs/C/GNU_STM32/usart.c ../../Libs/C/GNU_STM32/syscalls.c
../../Libs/C/GNU_STM32/Spi.c src/Config.c
../../Libs/C/GNU_STM32/Libraries/CMSIS/Device/ST/STM32F0xx/Source/Templates/TrueSTUDIO/startup_stm32f0xx.s
-o gdr216-01xx.elf -L../../Libs/C/GNU_STM32/Libraries -lstm32f0 -lm -lgcc
-LDevice -Tstm32_flash.ld
In file included from
../../Libs/C/GNU_STM32/Libraries/CMSIS/Include/core_cm0.h:121:0,
                 from
../../Libs/C/GNU_STM32/Libraries/CMSIS/Device/ST/STM32F0xx/Include/stm32f0xx.h:216,
                 from
../../Libs/C/GNU_STM32/Libraries/STM32F0xx_StdPeriph_Driver/inc/stm32f0xx_rcc.h:38,
                 from ../../Libs/C/GNU_STM32/SynapseMain.c:7:
/home/evert/sandbox/GDR216/C/scripts/toolchain/lib/gcc/arm-axon-eabi/4.6.3/include/stdint.h:3:26:
fatal error: stdint.h: No such file or directory
compilation terminated.
In file included from
../../Libs/C/GNU_STM32/Libraries/CMSIS/Include/core_cm0.h:121:0,
                 from
../../Libs/C/GNU_STM32/Libraries/CMSIS/Device/ST/STM32F0xx/Include/stm32f0xx.h:216,
                 from src/system_stm32f0xx.c:84:
/home/evert/sandbox/GDR216/C/scripts/toolchain/lib/gcc/arm-axon-eabi/4.6.3/include/stdint.h:3:26:
fatal error: stdint.h: No such file or directory
compilation terminated.
Assembler messages:
Error: unknown cpu `cortex-m0'
Error: unrecognized option -mcpu=cortex-m0
In file included from
../../Libs/C/GNU_STM32/Libraries/CMSIS/Include/core_cm0.h:121:0,
                 from
../../Libs/C/GNU_STM32/Libraries/CMSIS/Device/ST/STM32F0xx/Include/stm32f0xx.h:216,
                 from
../../Libs/C/GNU_STM32/Libraries/STM32F0xx_StdPeriph_Driver/inc/stm32f0xx_usart.h:38,
                 from ../../Libs/C/GNU_STM32/AxonNet_DL.c:7:
/home/evert/sandbox/GDR216/C/scripts/toolchain/lib/gcc/arm-axon-eabi/4.6.3/include/stdint.h:3:26:
fatal error: stdint.h: No such file or directory
compilation terminated.
../../Libs/C/GNU_STM32/AxonNet_AL.c:10:20: fatal error: string.h: No such
file or directory
compilation terminated.
In file included from
../../Libs/C/GNU_STM32/Libraries/CMSIS/Include/core_cm0.h:121:0,
                 from
../../Libs/C/GNU_STM32/Libraries/CMSIS/Device/ST/STM32F0xx/Include/stm32f0xx.h:216,
                 from
../../Libs/C/GNU_STM32/Libraries/STM32F0xx_StdPeriph_Driver/inc/stm32f0xx_tim.h:38,
                 from ../../Libs/C/GNU_STM32/SmallTimers.c:10:
/home/evert/sandbox/GDR216/C/scripts/toolchain/lib/gcc/arm-axon-eabi/4.6.3/include/stdint.h:3:26:
fatal error: stdint.h: No such file or directory
compilation terminated.
In file included from
../../Libs/C/GNU_STM32/Libraries/CMSIS/Include/core_cm0.h:121:0,
                 from
../../Libs/C/GNU_STM32/Libraries/CMSIS/Device/ST/STM32F0xx/Include/stm32f0xx.h:216,
                 from
../../Libs/C/GNU_STM32/Libraries/STM32F0xx_StdPeriph_Driver/inc/stm32f0xx_cec.h:38,
                 from ../../Libs/C/GNU_STM32/Libraries/stm32f0xx_conf.h:35,
                 from inc/Config.h:12,
                 from ../../Libs/C/GNU_STM32/Axon.h:8,
                 from ../../Libs/C/GNU_STM32/AxonNet_AL.h:8,
                 from inc/Application.h:99,
                 from ../../Libs/C/GNU_STM32/Eeprom.c:17:
/home/evert/sandbox/GDR216/C/scripts/toolchain/lib/gcc/arm-axon-eabi/4.6.3/include/stdint.h:3:26:
fatal error: stdint.h: No such file or directory
compilation terminated.
In file included from ../../Libs/C/GNU_STM32/Interface_DL.c:10:0:
/home/evert/sandbox/GDR216/C/scripts/toolchain/lib/gcc/arm-axon-eabi/4.6.3/include/stdint.h:3:26:
fatal error: stdint.h: No such file or directory
compilation terminated.
In file included from
../../Libs/C/GNU_STM32/Libraries/CMSIS/Include/core_cm0.h:121:0,
                 from
../../Libs/C/GNU_STM32/Libraries/CMSIS/Device/ST/STM32F0xx/Include/stm32f0xx.h:216,
                 from
../../Libs/C/GNU_STM32/Libraries/STM32F0xx_StdPeriph_Driver/inc/stm32f0xx_gpio.h:38,
                 from ../../Libs/C/GNU_STM32/ledo.c:8:
/home/evert/sandbox/GDR216/C/scripts/toolchain/lib/gcc/arm-axon-eabi/4.6.3/include/stdint.h:3:26:
fatal error: stdint.h: No such file or directory
compilation terminated.
In file included from
../../Libs/C/GNU_STM32/Libraries/CMSIS/Include/core_cm0.h:121:0,
                 from
../../Libs/C/GNU_STM32/Libraries/CMSIS/Device/ST/STM32F0xx/Include/stm32f0xx.h:216,
                 from
../../Libs/C/GNU_STM32/Libraries/STM32F0xx_StdPeriph_Driver/inc/stm32f0xx_iwdg.h:38,
                 from ../../Libs/C/GNU_STM32/watchdog.c:5:
/home/evert/sandbox/GDR216/C/scripts/toolchain/lib/gcc/arm-axon-eabi/4.6.3/include/stdint.h:3:26:
fatal error: stdint.h: No such file or directory
compilation terminated.
In file included from
../../Libs/C/GNU_STM32/Libraries/CMSIS/Include/core_cm0.h:121:0,
                 from
../../Libs/C/GNU_STM32/Libraries/CMSIS/Device/ST/STM32F0xx/Include/stm32f0xx.h:216,
                 from
../../Libs/C/GNU_STM32/Libraries/STM32F0xx_StdPeriph_Driver/inc/stm32f0xx_cec.h:38,
                 from ../../Libs/C/GNU_STM32/Libraries/stm32f0xx_conf.h:35,
                 from inc/Config.h:12,
                 from ../../Libs/C/GNU_STM32/Axon.h:8,
                 from ../../Libs/C/GNU_STM32/AxonNet_AL.h:8,
                 from inc/Application.h:99,
                 from src/Menu_GDR216.c:1:
/home/evert/sandbox/GDR216/C/scripts/toolchain/lib/gcc/arm-axon-eabi/4.6.3/include/stdint.h:3:26:
fatal error: stdint.h: No such file or directory
compilation terminated.
In file included from
../../Libs/C/GNU_STM32/Libraries/CMSIS/Include/core_cm0.h:121:0,
                 from
../../Libs/C/GNU_STM32/Libraries/CMSIS/Device/ST/STM32F0xx/Include/stm32f0xx.h:216,
                 from
../../Libs/C/GNU_STM32/Libraries/STM32F0xx_StdPeriph_Driver/inc/stm32f0xx_cec.h:38,
                 from ../../Libs/C/GNU_STM32/Libraries/stm32f0xx_conf.h:35,
                 from inc/Config.h:12,
                 from ../../Libs/C/GNU_STM32/Axon.h:8,
                 from ../../Libs/C/GNU_STM32/AxonNet_AL.h:8,
                 from inc/Application.h:99,
                 from ../../Libs/C/GNU_STM32/SerialNum.c:8:
/home/evert/sandbox/GDR216/C/scripts/toolchain/lib/gcc/arm-axon-eabi/4.6.3/include/stdint.h:3:26:
fatal error: stdint.h: No such file or directory
compilation terminated.
src/Application.c:3:19: fatal error: stdio.h: No such file or directory
compilation terminated.
../../Libs/C/GNU_STM32/usart.c:3:19: fatal error: stdio.h: No such file or
directory
compilation terminated.
../../Libs/C/GNU_STM32/syscalls.c:13:22: fatal error: sys/stat.h: No such
file or directory
compilation terminated.
In file included from
../../Libs/C/GNU_STM32/Libraries/CMSIS/Include/core_cm0.h:121:0,
                 from
../../Libs/C/GNU_STM32/Libraries/CMSIS/Device/ST/STM32F0xx/Include/stm32f0xx.h:216,
                 from
../../Libs/C/GNU_STM32/Libraries/STM32F0xx_StdPeriph_Driver/inc/stm32f0xx_spi.h:38,
                 from ../../Libs/C/GNU_STM32/Spi.c:11:
/home/evert/sandbox/GDR216/C/scripts/toolchain/lib/gcc/arm-axon-eabi/4.6.3/include/stdint.h:3:26:
fatal error: stdint.h: No such file or directory
compilation terminated.
In file included from
../../Libs/C/GNU_STM32/Libraries/CMSIS/Include/core_cm0.h:121:0,
                 from
../../Libs/C/GNU_STM32/Libraries/CMSIS/Device/ST/STM32F0xx/Include/stm32f0xx.h:216,
                 from
../../Libs/C/GNU_STM32/Libraries/STM32F0xx_StdPeriph_Driver/inc/stm32f0xx_cec.h:38,
                 from ../../Libs/C/GNU_STM32/Libraries/stm32f0xx_conf.h:35,
                 from inc/Config.h:12,
                 from src/Config.c:1:
/home/evert/sandbox/GDR216/C/scripts/toolchain/lib/gcc/arm-axon-eabi/4.6.3/include/stdint.h:3:26:
fatal error: stdint.h: No such file or directory
compilation terminated.
Assembler messages:
Error: unknown cpu `cortex-m0'
Error: unrecognized option -mcpu=cortex-m0
make: *** [gdr216-01xx.elf] Error 1

**** Build Finished ****



--
View this message in context: http://gcc.1065356.n5.nabble.com/unknown-cpu-cortex-m0-tp916014p916076.html
Sent from the gcc - Help mailing list archive at Nabble.com.


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux