From efc4f0826708568cec83b8e0ea6723a99f4ffd64 Mon Sep 17 00:00:00 2001 From: Karl Palsson Date: Sun, 6 Sep 2020 21:52:26 +0000 Subject: [PATCH] tests: gadget0-f3: allow custom local stlink --- tests/gadget-zero/openocd.stm32f3-disco.cfg | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tests/gadget-zero/openocd.stm32f3-disco.cfg b/tests/gadget-zero/openocd.stm32f3-disco.cfg index 835d4669..8c0361ac 100644 --- a/tests/gadget-zero/openocd.stm32f3-disco.cfg +++ b/tests/gadget-zero/openocd.stm32f3-disco.cfg @@ -2,8 +2,9 @@ source [find interface/stlink-v2.cfg] set WORKAREASIZE 0x4000 source [find target/stm32f3x.cfg] -# serial of my f3 disco board. -hla_serial "S?n\x06gePQ6G%g" +# Include a local serial config file if available +source openocd.common.cfg +optional_local "openocd.stm32f3-disco.local.cfg" tpiu config internal swodump.stm32f3-disco.log uart off 72000000