targets: add serial key to JSON files for newly added rp2040 boards, and also nano-33-ble board

Signed-off-by: deadprogram <ron@hybridgroup.com>
This commit is contained in:
deadprogram
2021-06-25 18:20:44 +02:00
committed by Ayke
parent 96e863f0f3
commit 0e267dd230
4 changed files with 3 additions and 5 deletions
-5
View File
@@ -70,11 +70,6 @@ const (
UART_TX_PIN = P1_03
)
// Serial is the USB device
var (
Serial = USB
)
// I2C pins
const (
SDA_PIN = P0_31
+1
View File
@@ -2,6 +2,7 @@
"inherits": [
"rp2040"
],
"serial": "uart",
"build-tags": ["feather_rp2040"],
"linkerscript": "targets/feather-rp2040.ld",
"extra-files": [
+1
View File
@@ -3,6 +3,7 @@
"build-tags": ["nano_33_ble", "nrf52840_reset_bossa"],
"flash-command": "bossac_arduino2 -d -i -e -w -v -R --port={port} {bin}",
"serial-port": ["acm:2341:805a", "acm:2341:005a"],
"serial": "usb",
"flash-1200-bps-reset": "true",
"linkerscript": "targets/nano-33-ble.ld"
}
+1
View File
@@ -2,6 +2,7 @@
"inherits": [
"rp2040"
],
"serial": "uart",
"build-tags": ["nano_rp2040"],
"linkerscript": "targets/pico.ld",
"extra-files": [