diff options
author | Vasil Zlatanov <v@skozl.com> | 2017-05-06 19:47:07 +0100 |
---|---|---|
committer | Vasil Zlatanov <v@skozl.com> | 2017-05-06 19:47:07 +0100 |
commit | 8bd33441df8ecb4108e69362665f22a2ccf470e8 (patch) | |
tree | 3141cfedc60feae9d327d0d1ad2a37eee80c1247 /Makefile | |
parent | 523f047b1b3c42b0aa40305291ca5d29a1b543f5 (diff) | |
download | e2-switch-8bd33441df8ecb4108e69362665f22a2ccf470e8.tar.gz e2-switch-8bd33441df8ecb4108e69362665f22a2ccf470e8.tar.bz2 e2-switch-8bd33441df8ecb4108e69362665f22a2ccf470e8.zip |
add upload directive
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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) |