aboutsummaryrefslogtreecommitdiffhomepage
path: root/targets
diff options
context:
space:
mode:
authorsago35 <[email protected]>2022-07-20 21:12:52 +0900
committerRon Evans <[email protected]>2022-07-21 08:31:28 +0200
commit5271bd8cfaa3c617311a3178af603a2479016923 (patch)
tree5d4aaa6689b23de4b15e16e1a1fc7c6544182a70 /targets
parent72137d663bbc94d1719e964a54b62b2798279421 (diff)
downloadtinygo-5271bd8cfaa3c617311a3178af603a2479016923.tar.gz
tinygo-5271bd8cfaa3c617311a3178af603a2479016923.zip
xiao-ble: add support for flash-1200-bps-reset
Diffstat (limited to 'targets')
-rw-r--r--targets/xiao-ble.json5
1 files changed, 3 insertions, 2 deletions
diff --git a/targets/xiao-ble.json b/targets/xiao-ble.json
index 6bfde8f83..c0818f7e7 100644
--- a/targets/xiao-ble.json
+++ b/targets/xiao-ble.json
@@ -1,8 +1,9 @@
{
"inherits": ["nrf52840"],
- "build-tags": ["xiao_ble", "softdevice", "s140v7"],
- "serial": "uart",
+ "build-tags": ["xiao_ble", "nrf52840_reset_uf2", "softdevice", "s140v7"],
+ "serial": "usb",
"serial-port": ["acm:2886:8045", "acm:2886:0045"],
+ "flash-1200-bps-reset": "true",
"flash-method": "msd",
"msd-volume-name": "XIAO-SENSE",
"msd-firmware-name": "firmware.uf2",