tests: extract serials to optional local config
Instead of having committed files containing a single developer's serials, use optional includes to include a local config file for each board. If you have only a single board connected, simply: $ make -f Makefile.<board> clean all flash If you have multiple boards connected, make sure to fill in the appropriate hla_serial in your openocd.<board>.local.cfg file, and then run the same commands.
This commit is contained in:
@@ -2,8 +2,8 @@ source [find interface/stlink-v2.cfg]
|
||||
set WORKAREASIZE 0x4000
|
||||
source [find target/stm32f4x.cfg]
|
||||
|
||||
# serial of "your" f429i disco board.
|
||||
hla_serial "xxxxxW?k\x06IgHV0H\x10?"
|
||||
source openocd.common.cfg
|
||||
optional_local "openocd.stm32f429i-disco.local.cfg"
|
||||
|
||||
tpiu config internal swodump.stm32f429i-disco.log uart off 168000000
|
||||
|
||||
|
||||
Reference in New Issue
Block a user