please help me resolving this issue during buil process
arm-none-eabi-gcc -DUSE_STDPERIPH_DRIVER -I"H:/embedded systems/arm projects/template_project/inc" -I"H:/embedded systems/arm projects/template_project/../STM32F0xx_StdPeriph_Lib_V1.5.0/Libraries/CMSIS/Device/ST/STM32F0xx/Include" -I"H:/embedded systems/arm projects/template_project/../STM32F0xx_StdPeriph_Lib_V1.5.0/Libraries/CMSIS/Include" -I"H:/embedded systems/arm projects/template_project/../STM32F0-Discovery_FW_V1.0.0/Utilities/STM32F0-Discovery" -I"H:/embedded systems/arm projects/template_project/../STM32F0xx_StdPeriph_Lib_V1.5.0/Libraries/STM32F0xx_StdPeriph_Driver/inc" -O0 -g3 -Wall -c -fmessage-length=0-mthumb -mcpu=cortex-m0 -MMD -MP -MF"src/main.d" -MT"src/main.d" -o "src/main.o" "../src/main.c"
arm-none-eabi-gcc: error: argument to '-fmessage-length=' should be a non-negative integer
make: *** [src/main.o] Error 1
see i ha09:41:41 **** Incremental Build of configuration Debug for project template_project ****make all 'Building file: ../src/main.c''Invoking: Cross GCC Compiler'arm-none-eabi-gcc -DUSE_STDPERIPH_DRIVER -I"H:/embedded systems/arm projects/template_project/inc" -I"H:/embedded systems/arm projects/template_project/../STM32F0xx_StdPeriph_Lib_V1.5.0/Libraries/CMSIS/Device/ST/STM32F0xx/Include" -I"H:/embedded systems/arm projects/template_project/../STM32F0xx_StdPeriph_Lib_V1.5.0/Libraries/CMSIS/Include" -I"H:/embedded systems/arm projects/template_project/../STM32F0-Discovery_FW_V1.0.0/Utilities/STM32F0-Discovery" -I"H:/embedded systems/arm projects/template_project/../STM32F0xx_StdPeriph_Lib_V1.5.0/Libraries/STM32F0xx_StdPeriph_Driver/inc" -O0 -g3 -Wall -c -fmessage-length=0 -mthumb -mcpu=cortex-m0 -MMD -MP -MF"src/main.d" -MT"src/main.d" -o "src/main.o" "../src/main.c"In file included from H:/embedded systems/arm projects/template_project/inc/main.h:33:0, from ../src/main.c:29:h:\embedded systems\arm projects\stm32f0xx_stdperiph_lib_v1.5.0\libraries\cmsis\device\st\stm32f0xx\include\stm32f0xx.h:111:3: error: #error "Please select first the target STM32F0xx device used in your application (in stm32f0xx.h file)" #error "Please select first the target STM32F0xx device used in your application (in stm32f0xx.h file)" ^make: *** Error 1ve resolved the space thing then also i am getiing these errors
From: peterharris <community@arm.com>
To: dhanpal singh <dhanpal.singh97@yahoo.com>
Sent: Saturday, 20 June 2015, 4:06
Subject: Re: - regarding arm gcc compiler
#yiv8378438475 * #yiv8378438475 a #yiv8378438475 body {font-family:Helvetica, Arial, sans-serif;}#yiv8378438475 #yiv8378438475 h1, #yiv8378438475 h2, #yiv8378438475 h3, #yiv8378438475 h4, #yiv8378438475 h5, #yiv8378438475 h6, #yiv8378438475 p, #yiv8378438475 hr {}#yiv8378438475 .yiv8378438475button td {}
|
regarding arm gcc compiler
reply from Peter Harris in Software Development Tools - View the full discussion
-fmessage-length=0-mthumb
You're missing a space between -fmessage-length=0 and -mthumb.
Reply to this message by replying to this email, or go to the message on ARM Connected Community
Start a new discussion in Software Development Tools by email or at ARM Connected Community
Following regarding arm gcc compiler in these streams: Inbox
Not interested in these emails anymore, or want to change how often they come? Update your email preferences. You will need to login to access your user preferences.