Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
9 years ago.
ninja error on first installation may be due to spark core
I have just tried the yotta installation for the bbc microbit. Finally stalled at a ninja error which I think is connected to my existing use of arm-none-eabi-gcc for spark core programming. The console log is below:
GCC version is: 4.9.3
The ASM compiler identification is GNU
Found assembler: C:/sparkcoreprograms/GNU Tools ARM Embedded/4.9 2014q4/bin/a
rm-none-eabi-gcc.exe
suppressing warnings from ble-nrf51822
suppressing warnings from nrf51-sdk
suppressing ALL warnings from mbed-classic, ble, ble-nrf51822 & nrf51-sdk
Configuring done
Generating done
Build files have been written to: C:/Documents and Settings/stephen/My Docume
nts/bitprog/microbit-samples/build/bbc-microbit-classic-gcc
[159/159] Linking CXX executable source/microbit-samples
FAILED: cmd.exe /C "cd . && C:\SPARKC1\GNUTOO1\40C001.920\bin\ARA5B31.EXE
-fno-exceptions -fno-unwind-tables -Wl,gc-sections -Wl,sort-common -Wl,sor
t-section=alignment -Wl,-wrap,main -mcpu=cortex-m0 -mthumb -T"C:/Documents and S
ettings/stephen/My Documents/bitprog/microbit-samples/yotta_targets/bbc-microbit
-classic-gcc/CMake/../ld/NRF51822.ld" -Wl,-Map,source/microbit-samples.map -Wl,-
-start-group source/CMakeFiles/microbit-samples.dir/C_/Documents_and_Settings/st
ephen/My_Documents/bitprog/microbit-samples/source/main.cpp.o ym/microbit/sourc
e/microbit.a ym/microbit-dal/source/microbit-dal.a ym/ble/source/ble.a ym/ble-nr
f51822/source/ble-nrf51822.a ym/ble/source/ble.a ym/ble-nrf51822/source/ble-nrf5
1822.a ym/nrf51-sdk/source/nrf51-sdk.a ym/mbed-classic/existing/mbed-classic.a -
lnosys -lstdc++ -lsupc++ -lm -lc -lgcc -lstdc++ -lsupc++ -lm -lc -lgcc -Wl,en
d-group specs=nano.specs -o source/microbit-samples && cmd.exe /C "cd /D "C:/
Documents and Settings/stephen/My Documents/bitprog/microbit-samples/build/bbc-m
icrobit-classic-gcc/source" && arm-none-eabi-objcopy -O ihex microbit-samples mi
crobit-samples.hex && srec_cat "C:/Documents and Settings/stephen/My Documents/b
itprog/microbit-samples/yotta_targets/bbc-microbit-classic-gcc/CMake/../bootload
er/BLE_BOOTLOADER_RESERVED.hex" -intel "C:/Documents and Settings/stephen/My Doc
uments/bitprog/microbit-samples/yotta_targets/bbc-microbit-classic-gcc/CMake/../
softdevice/s110_nrf51822_8.0.0_softdevice.hex" -intel microbit-samples.hex -inte
l -o microbit-samples-combined.hex -intel line-length=44 && cd /D "C:/Document
s and Settings/stephen/My Documents/bitprog/microbit-samples/build/bbc-microbit-
classic-gcc/source" && "C:/sparkcoreprograms/GNU Tools ARM Embedded/4.9 2014q4/b
in/arm-none-eabi-objcopy.exe" -O binary microbit-samples microbit-samples.bin""
The system cannot find the path specified.
ninja: build stopped: subcommand failed.
error: command ['ninja'] failed