mirror of
				https://github.com/ayabusa/Numworks-zeta-os.git
				synced 2025-11-04 10:07:15 +00:00 
			
		
		
		
	added make flash
This commit is contained in:
		@@ -90,3 +90,7 @@ clean:
 | 
				
			|||||||
	rm -f $(BUILD_DIR)/Laplace/*.o
 | 
						rm -f $(BUILD_DIR)/Laplace/*.o
 | 
				
			||||||
	rm -f $(BUILD_DIR)/$(TARGET).elf
 | 
						rm -f $(BUILD_DIR)/$(TARGET).elf
 | 
				
			||||||
	rm -f $(BUILD_DIR)/$(TARGET).bin
 | 
						rm -f $(BUILD_DIR)/$(TARGET).bin
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					.PHONY: flash
 | 
				
			||||||
 | 
					flash:
 | 
				
			||||||
 | 
						dfu-util -a 0 -i 0 -s 0x90400000 -D build/main.bin
 | 
				
			||||||
@@ -5,7 +5,7 @@ This is a bare metal os attempt on the numworks n0110
 | 
				
			|||||||
1. Download the arm-none-eabi toolchain
 | 
					1. Download the arm-none-eabi toolchain
 | 
				
			||||||
2. run ```make clean && make```
 | 
					2. run ```make clean && make```
 | 
				
			||||||
3. the output file is located in build/main.bin
 | 
					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 !
 | 
					5. That's it !
 | 
				
			||||||
 | 
					
 | 
				
			||||||
## TODO
 | 
					## TODO
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user