boards: cc1352p7_lp: Adds a way to select the board to flash

This updates openocd.cfg file to support flashing multiple boards
attached to the host computer.

Signed-off-by: Alexandre Bailon <abailon@baylibre.com>
This commit is contained in:
Alexandre Bailon 2024-11-27 10:41:10 +01:00 committed by Benjamin Cabé
parent e04bc90e0f
commit 851bda1bb3

View File

@ -1 +1,7 @@
# Serial could be found using the following command:
# lsusb -d 0451:bef3 -v | grep -i iserial
if { [info exists _ZEPHYR_BOARD_SERIAL] } {
adapter serial $_ZEPHYR_BOARD_SERIAL
}
source [find board/ti_cc26x2x7_launchpad.cfg]