aboutsummaryrefslogtreecommitdiffhomepage
path: root/compileopts/target.go
diff options
context:
space:
mode:
authorsago35 <[email protected]>2022-03-24 18:37:29 +0900
committerRon Evans <[email protected]>2022-04-09 17:49:54 +0200
commit09a3c6a16b37a23f0f753b606bd32eabb842f012 (patch)
tree421c1925ab925763185c831290f087215cd03bf0 /compileopts/target.go
parentf613cb41a3d3a7b049ac0a1f7d2e500b694ba0a7 (diff)
downloadtinygo-09a3c6a16b37a23f0f753b606bd32eabb842f012.tar.gz
tinygo-09a3c6a16b37a23f0f753b606bd32eabb842f012.zip
flash: add openocd-verify
Diffstat (limited to 'compileopts/target.go')
-rw-r--r--compileopts/target.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/compileopts/target.go b/compileopts/target.go
index 796310012..06ad66edc 100644
--- a/compileopts/target.go
+++ b/compileopts/target.go
@@ -59,6 +59,7 @@ type TargetSpec struct {
OpenOCDTarget string `json:"openocd-target"`
OpenOCDTransport string `json:"openocd-transport"`
OpenOCDCommands []string `json:"openocd-commands"`
+ OpenOCDVerify *bool `json:"openocd-verify"` // enable verify when flashing with openocd
JLinkDevice string `json:"jlink-device"`
CodeModel string `json:"code-model"`
RelocationModel string `json:"relocation-model"`