[STM32CubeIDE 1.3.1] How to remove "--specs=nano.specs" option for GCC assembler arm-none-eabi-as.exe ?
In my STM32CubeIDE version 1.3.1 Build: 6291_20200406_0752 (UTC), the IDE automatically added the "--specs=nano.specs" for the GCC assembler.
However, the GCC assembler doesn't recognized the "--specs=nano.specs" option.
I want to remove or disable the "--specs=nano.specs" for the GCC assembler as.
My STM32 mcu is ARM cortex-m4 STM32WB55.
My EVB is STM32WB55 Nucleo Pack.
The GCC assembler version is GNU assembler version 2.30.0 (arm-none-eabi) using BFD version (GNU Tools for STM32 7-2018-q2-update.20190328-1800) 2.30.0.20180329
The build error message is as following.
make all
arm-none-eabi-as -mcpu=cortex-m4 -mthumb -g -c --specs=nano.specs -mfloat-abi=soft -mthumb -o "MDK-ARM/startup_stm32wb55xx_cm4.o" "../MDK-ARM/startup_stm32wb55xx_cm4.s"
arm-none-eabi-as: unrecognized option `--specs=nano.specs'
make: *** [MDK-ARM/subdir.mk:15: MDK-ARM/startup_stm32wb55xx_cm4.o] Error 1
"make all" terminated with exit code 2. Build might be incomplete.
Thanks.
Karl