FBT: devboard_flash to update WiFi devboard (#2968)
This commit is contained in:
		
							parent
							
								
									2702c00ba4
								
							
						
					
					
						commit
						c40e4ba01e
					
				@ -327,6 +327,9 @@ distenv.PhonyTarget(
 | 
				
			|||||||
    "cli", "${PYTHON3} ${FBT_SCRIPT_DIR}/serial_cli.py  -p ${FLIP_PORT}"
 | 
					    "cli", "${PYTHON3} ${FBT_SCRIPT_DIR}/serial_cli.py  -p ${FLIP_PORT}"
 | 
				
			||||||
)
 | 
					)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# Update WiFi devboard firmware
 | 
				
			||||||
 | 
					distenv.PhonyTarget("devboard_flash", "${PYTHON3} ${FBT_SCRIPT_DIR}/wifi_board.py")
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# Find blackmagic probe
 | 
					# Find blackmagic probe
 | 
				
			||||||
distenv.PhonyTarget(
 | 
					distenv.PhonyTarget(
 | 
				
			||||||
 | 
				
			|||||||
@ -69,6 +69,7 @@ To run cleanup (think of `make clean`) for specified targets, add the `-c` optio
 | 
				
			|||||||
- `debug` - build and flash firmware, then attach with gdb with firmware's .elf loaded.
 | 
					- `debug` - build and flash firmware, then attach with gdb with firmware's .elf loaded.
 | 
				
			||||||
- `debug_other`, `debug_other_blackmagic` - attach GDB without loading any `.elf`. It will allow you to manually add external `.elf` files with `add-symbol-file` in GDB.
 | 
					- `debug_other`, `debug_other_blackmagic` - attach GDB without loading any `.elf`. It will allow you to manually add external `.elf` files with `add-symbol-file` in GDB.
 | 
				
			||||||
- `updater_debug` - attach GDB with the updater's `.elf` loaded.
 | 
					- `updater_debug` - attach GDB with the updater's `.elf` loaded.
 | 
				
			||||||
 | 
					- `devboard_flash` - update WiFi dev board with the latest firmware.
 | 
				
			||||||
- `blackmagic` - debug firmware with Blackmagic probe (WiFi dev board).
 | 
					- `blackmagic` - debug firmware with Blackmagic probe (WiFi dev board).
 | 
				
			||||||
- `openocd` - just start OpenOCD.
 | 
					- `openocd` - just start OpenOCD.
 | 
				
			||||||
- `get_blackmagic` - output the blackmagic address in the GDB remote format. Useful for IDE integration.
 | 
					- `get_blackmagic` - output the blackmagic address in the GDB remote format. Useful for IDE integration.
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user