summaryrefslogtreecommitdiff
path: root/hw
diff options
context:
space:
mode:
authormainr <[email protected]>2021-08-26 07:46:23 -0400
committerhathach <[email protected]>2021-08-29 22:51:46 +0700
commitb169db3fd6359a127ba92d4bd5cd48a3a5286fd7 (patch)
treecce1c7c7efb1c99d48746f3517505fbeac9c688c /hw
parent90af8562b1e361c213d70242fc3ae5883e54f33a (diff)
Add PYOCD_OPTION
Added PYOCD_OPTION to pass board-specific options to build
Diffstat (limited to 'hw')
-rw-r--r--hw/bsp/samd21/boards/curiosity_nano/board.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/bsp/samd21/boards/curiosity_nano/board.mk b/hw/bsp/samd21/boards/curiosity_nano/board.mk
index 05257e88c..767788b86 100644
--- a/hw/bsp/samd21/boards/curiosity_nano/board.mk
+++ b/hw/bsp/samd21/boards/curiosity_nano/board.mk
@@ -10,4 +10,5 @@ JLINK_DEVICE = atsamd21g17a
#flash: flash-jlink
PYOCD_TARGET = atsamd21g17a
+PYOCD_OPTION = -O dap_protocol=swd
flash: flash-pyocd