mirror of
https://github.com/DarkFlippers/unleashed-firmware
synced 2024-09-20 06:31:55 +00:00
FBT: devboard_flash to update WiFi devboard (#2968)
This commit is contained in:
parent
2702c00ba4
commit
c40e4ba01e
2 changed files with 4 additions and 0 deletions
|
@ -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…
Reference in a new issue