FBT: devboard_flash to update WiFi devboard (#2968)

This commit is contained in:
Sergey Gavrilov 2023-08-10 12:53:12 +03:00 committed by GitHub
parent 2702c00ba4
commit c40e4ba01e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 0 deletions

View file

@ -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(

View file

@ -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.