]> git.ayabusa.dev Git - numworks-zeta-os.git/commitdiff
added make flash
authorayabusa <lebgpub@gmail.com>
Tue, 2 Apr 2024 14:57:22 +0000 (16:57 +0200)
committerayabusa <lebgpub@gmail.com>
Tue, 2 Apr 2024 14:57:22 +0000 (16:57 +0200)
numworks_port/Makefile
numworks_port/README.md

index 1e1ca642964f6a5b27973febb6d4c195456a2aeb..44faedeac6728a815dc16eba881eaa6f96d756f0 100644 (file)
@@ -89,4 +89,8 @@ clean:
        rm -f $(BUILD_DIR)/*.o
        rm -f $(BUILD_DIR)/Laplace/*.o
        rm -f $(BUILD_DIR)/$(TARGET).elf
-       rm -f $(BUILD_DIR)/$(TARGET).bin
\ No newline at end of file
+       rm -f $(BUILD_DIR)/$(TARGET).bin
+
+.PHONY: flash
+flash:
+       dfu-util -a 0 -i 0 -s 0x90400000 -D build/main.bin
\ No newline at end of file
index ddcec103c33e5e85934125cbd4362d584d475cc7..7e8ef89d53c128feec10c1e3131c96c331058cab 100644 (file)
@@ -5,7 +5,7 @@ This is a bare metal os attempt on the numworks n0110
 1. Download the arm-none-eabi toolchain
 2. run ```make clean && make```
 3. the output file is located in build/main.bin
-4. you can flash it to slot B using the Web DFU from TI Planet
+4. you can flash it to slot B using the Web DFU from TI Planet, or by using the command ```make flash``` (unstable)
 5. That's it !
 
 ## TODO