From c8e231bc0b9aa276b2fb50050f4c1b412cfe77e5 Mon Sep 17 00:00:00 2001 From: sago35 Date: Sat, 26 Jun 2021 14:46:54 +0900 Subject: [PATCH] targets: add serial and serial-port key to JSON files for seeed boards --- targets/wioterminal.json | 1 + targets/xiao.json | 2 ++ 2 files changed, 3 insertions(+) diff --git a/targets/wioterminal.json b/targets/wioterminal.json index 1f81b928..5564d076 100644 --- a/targets/wioterminal.json +++ b/targets/wioterminal.json @@ -2,6 +2,7 @@ "inherits": ["atsamd51p19a"], "build-tags": ["wioterminal"], "serial": "usb", + "serial-port": ["acm:2886:002d", "acm:2886:802d"], "flash-1200-bps-reset": "true", "flash-method": "msd", "msd-volume-name": "Arduino", diff --git a/targets/xiao.json b/targets/xiao.json index 50dee8f2..80cc99d3 100644 --- a/targets/xiao.json +++ b/targets/xiao.json @@ -1,6 +1,8 @@ { "inherits": ["atsamd21g18a"], "build-tags": ["xiao"], + "serial": "usb", + "serial-port": ["acm:2886:802f", "acm:2886:002f"], "flash-1200-bps-reset": "true", "flash-method": "msd", "msd-volume-name": "Arduino",