Skip to content

Commit 0e267dd

Browse files
deadprogramaykevl
authored andcommitted
targets: add serial key to JSON files for newly added rp2040 boards, and also nano-33-ble board
Signed-off-by: deadprogram <[email protected]>
1 parent 96e863f commit 0e267dd

File tree

4 files changed

+3
-5
lines changed

4 files changed

+3
-5
lines changed

src/machine/board_nano-33-ble.go

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -70,11 +70,6 @@ const (
7070
UART_TX_PIN = P1_03
7171
)
7272

73-
// Serial is the USB device
74-
var (
75-
Serial = USB
76-
)
77-
7873
// I2C pins
7974
const (
8075
SDA_PIN = P0_31

targets/feather-rp2040.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
"inherits": [
33
"rp2040"
44
],
5+
"serial": "uart",
56
"build-tags": ["feather_rp2040"],
67
"linkerscript": "targets/feather-rp2040.ld",
78
"extra-files": [

targets/nano-33-ble.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
"build-tags": ["nano_33_ble", "nrf52840_reset_bossa"],
44
"flash-command": "bossac_arduino2 -d -i -e -w -v -R --port={port} {bin}",
55
"serial-port": ["acm:2341:805a", "acm:2341:005a"],
6+
"serial": "usb",
67
"flash-1200-bps-reset": "true",
78
"linkerscript": "targets/nano-33-ble.ld"
89
}

targets/nano-rp2040.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
"inherits": [
33
"rp2040"
44
],
5+
"serial": "uart",
56
"build-tags": ["nano_rp2040"],
67
"linkerscript": "targets/pico.ld",
78
"extra-files": [

0 commit comments

Comments
 (0)