diff options
author | sago35 <[email protected]> | 2020-08-24 22:24:25 +0900 |
---|---|---|
committer | Ayke <[email protected]> | 2020-08-25 14:18:01 +0200 |
commit | b132b5bc602271b47b024a1516012e325002b242 (patch) | |
tree | a888ceca488f384368d1db549d8db5bd7252f39b /targets | |
parent | 743254d5bcdd355932a7d4c29cab54817deac77c (diff) | |
download | tinygo-b132b5bc602271b47b024a1516012e325002b242.tar.gz tinygo-b132b5bc602271b47b024a1516012e325002b242.zip |
flash: add openocd settings to atsamd21 / atsamd51
Diffstat (limited to 'targets')
-rw-r--r-- | targets/atsamd21e18a.json | 4 | ||||
-rw-r--r-- | targets/atsamd21g18a.json | 4 | ||||
-rw-r--r-- | targets/atsamd51g19a.json | 4 | ||||
-rw-r--r-- | targets/atsamd51j19a.json | 4 | ||||
-rw-r--r-- | targets/atsamd51j20a.json | 4 | ||||
-rw-r--r-- | targets/atsamd51p19a.json | 4 |
6 files changed, 18 insertions, 6 deletions
diff --git a/targets/atsamd21e18a.json b/targets/atsamd21e18a.json index eab5e7880..ea84dfc77 100644 --- a/targets/atsamd21e18a.json +++ b/targets/atsamd21e18a.json @@ -9,5 +9,7 @@ "linkerscript": "targets/atsamd21.ld", "extra-files": [ "src/device/sam/atsamd21e18a.s" - ] + ], + "openocd-transport": "swd", + "openocd-target": "at91samdXX" } diff --git a/targets/atsamd21g18a.json b/targets/atsamd21g18a.json index 31c91ce98..fdba2e4e2 100644 --- a/targets/atsamd21g18a.json +++ b/targets/atsamd21g18a.json @@ -9,5 +9,7 @@ "linkerscript": "targets/atsamd21.ld", "extra-files": [ "src/device/sam/atsamd21g18a.s" - ] + ], + "openocd-transport": "swd", + "openocd-target": "at91samdXX" } diff --git a/targets/atsamd51g19a.json b/targets/atsamd51g19a.json index c3ac81608..232e42d16 100644 --- a/targets/atsamd51g19a.json +++ b/targets/atsamd51g19a.json @@ -7,5 +7,7 @@ "linkerscript": "targets/atsamd51.ld", "extra-files": [ "src/device/sam/atsamd51g19a.s" - ] + ], + "openocd-transport": "swd", + "openocd-target": "atsame5x" } diff --git a/targets/atsamd51j19a.json b/targets/atsamd51j19a.json index 1bd42a0ad..3f69b9b48 100644 --- a/targets/atsamd51j19a.json +++ b/targets/atsamd51j19a.json @@ -7,5 +7,7 @@ "linkerscript": "targets/atsamd51.ld", "extra-files": [ "src/device/sam/atsamd51j19a.s" - ] + ], + "openocd-transport": "swd", + "openocd-target": "atsame5x" } diff --git a/targets/atsamd51j20a.json b/targets/atsamd51j20a.json index 2089b5d6e..40893bc96 100644 --- a/targets/atsamd51j20a.json +++ b/targets/atsamd51j20a.json @@ -7,5 +7,7 @@ "linkerscript": "targets/atsamd51j20a.ld", "extra-files": [ "src/device/sam/atsamd51j20a.s" - ] + ], + "openocd-transport": "swd", + "openocd-target": "atsame5x" } diff --git a/targets/atsamd51p19a.json b/targets/atsamd51p19a.json index 23c1777ca..bbf40cac1 100644 --- a/targets/atsamd51p19a.json +++ b/targets/atsamd51p19a.json @@ -7,5 +7,7 @@ "linkerscript": "targets/atsamd51.ld", "extra-files": [ "src/device/sam/atsamd51p19a.s" - ] + ], + "openocd-transport": "swd", + "openocd-target": "atsame5x" } |