make build error

Discussions and support about ChibiOS/RT, the free embedded RTOS.
skylin008
Posts: 2
Joined: Thu Sep 28, 2023 10:28 am

make build error

Postby skylin008 » Thu Sep 28, 2023 11:09 am

I used the make not chibistudio to compile the RT-STM32F103-MAPLEMINI demo with MAC OS,but any issue show ,how to solve this issue.Thanks!

xllin@xllindeMacBook-Pro RT-STM32F103-MAPLEMINI % make
Compiler Options
arm-none-eabi-gcc -c -mcpu=cortex-m3 -mthumb -O2 -ggdb -fomit-frame-pointer -falign-functions=16 -DUSE_MAPLEMINI_BOOTLOADER= -ffunction-sections -fdata-sections -fno-common -flto -Wall -Wextra -Wundef -Wstrict-prototypes -Wa,-alms=./build/lst/ -DCORTEX_USE_FPU=FALSE -MD -MP -MF ./.dep/build.d -I. -I./cfg -I../../../os/license -I../../../os/common/portability/GCC -I../../../os/common/startup/ARMCMx/compilers/GCC -I../../../os/common/startup/ARMCMx/devices/STM32F1xx -I../../../os/common/ext/ARM/CMSIS/Core/Include -I../../../os/common/ext/ST/STM32F1xx -I../../../os/hal/include -I../../../os/hal/ports/common/ARMCMx -I../../../os/hal/ports/STM32/STM32F1xx -I../../../os/hal/ports/STM32/LLD/CANv1 -I../../../os/hal/ports/STM32/LLD/DACv1 -I../../../os/hal/ports/STM32/LLD/DMAv1 -I../../../os/hal/ports/STM32/LLD/GPIOv1 -I../../../os/hal/ports/STM32/LLD/I2Cv1 -I../../../os/hal/ports/STM32/LLD/RTCv1 -I../../../os/hal/ports/STM32/LLD/SDIOv1 -I../../../os/hal/ports/STM32/LLD/SPIv1 -I../../../os/hal/ports/STM32/LLD/SYSTICKv1 -I../../../os/hal/ports/STM32/LLD/TIMv1 -I../../../os/hal/ports/STM32/LLD/USART -I../../../os/hal/ports/STM32/LLD/USARTv1 -I../../../os/hal/ports/STM32/LLD/USBv1 -I../../../os/hal/ports/STM32/LLD/xWDGv1 -I../../../os/hal/boards/MAPLEMINI_STM32_F103 -I../../../os/hal/osal/rt-nil -I../../../os/rt/include -I../../../os/oslib/include -I../../../os/common/portability/GCC -I../../../os/common/ports/ARM-common -I../../../os/common/ports/ARMv7-M -I./source/ -I../../../os/hal/lib/streams -I../../../os/various/shell -I../../../os/test/include -I../../../test/rt/source/test -I../../../test/oslib/source/test main.c -o main.o

Compiling crt0_v7m.S
/Users/xllin/software_develop/armtool/bin/arm-none-eabi-gcc: /Users/xllin/software_develop/armtool/bin/arm-none-eabi-gcc: cannot execute binary file
make: *** [build/obj/crt0_v7m.o] Error 126

User avatar
Giovanni
Site Admin
Posts: 14425
Joined: Wed May 27, 2009 8:48 am
Location: Salerno, Italy
Has thanked: 1073 times
Been thanked: 916 times
Contact:

Re: make build error

Postby Giovanni » Thu Sep 28, 2023 2:39 pm

Hi,

Looks like a compiler installation problem. It should fail to compile any demo if this is the case.

Giovanni


Return to “ChibiOS/RT”

Who is online

Users browsing this forum: No registered users and 1 guest