From 8bd33441df8ecb4108e69362665f22a2ccf470e8 Mon Sep 17 00:00:00 2001 From: Vasil Zlatanov Date: Sat, 6 May 2017 19:47:07 +0100 Subject: add upload directive --- Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Makefile b/Makefile index 94542db..9de49eb 100644 --- a/Makefile +++ b/Makefile @@ -146,6 +146,10 @@ clean: $(RM) $(TARGET).$(TARGET_EXT) $(TARGET).bin $(TARGET).map $(OBJ_FOLDER)*.* $(OBJ_FOLDER) @echo ' ' +upload: clean all + @echo 'Uploading to board!' + mv ./build/mbed.bin /run/media/vsz/MBED/mbed.bin + print_info: @echo 'Printing size' arm-none-eabi-size --totals $(OBJ_FOLDER)$(TARGET).$(TARGET_EXT) -- cgit v1.2.3-54-g00ecf