1 2 3 4 5 6 7 8 9
#!/bin/bash echo "Compilation de : " $SRC_NAME cp /exp/$SRC_DIR/$SRC_NAME /arm/mbed-os-example-blinky/main.cpp cd ./mbed-os-example-blinky mbed compile -t GCC_ARM -m NUCLEO_F401RE cd ./BUILD/NUCLEO_F401RE/GCC_ARM mv mbed-os-example-blinky.bin out.bin cp out.bin /exp/$SRC_DIR/