I am trying to use the make command to build APM 3.3 (or 3.2.1) for the flymaple board.
I have followed the instructions here, but when I attempt to make I can many errors about regarding "/bin/sh: -march=armv7-m: command not found'
A sample of my output from the terminal is attached below. Does anyone know how to resolve this issue?
%% libraries/AP_HAL_AVR/utility/pins_arduino_mega.o
/bin/sh: -march=armv7-m: command not found
make: [/var/folders/1d/st9rw4696px3xj6b_lkc641r0000gn/T/ArduCopter.build/libraries/AP_HAL_AVR/utility/pins_arduino_mega.o] Error 127 (ignored)
%% libraries/AP_HAL_FLYMAPLE/utility/EEPROM.o
/bin/sh: -march=armv7-m: command not found
make: [/var/folders/1d/st9rw4696px3xj6b_lkc641r0000gn/T/ArduCopter.build/libraries/AP_HAL_FLYMAPLE/utility/EEPROM.o] Error 127 (ignored)
%% libraries/AP_HAL_FLYMAPLE/utility/flash_stm32.o
/bin/sh: -march=armv7-m: command not found
make: [/var/folders/1d/st9rw4696px3xj6b_lkc641r0000gn/T/ArduCopter.build/libraries/AP_HAL_FLYMAPLE/utility/flash_stm32.o] Error 127 (ignored)
Replies
It terminates the build with the error
*** No rule to make target `/Users/jaredmuirhead/Documents/flymaple/libmaple/build/libmaple/*.o', needed by `/var/folders/1d/st9rw4696px3xj6b_lkc641r0000gn/T/ArduCopter.build/ArduCopter.elf'