Browse Source

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>
pull/1969/head
deadprogram 3 years ago
committed by Ayke
parent
commit
0e267dd230
  1. 5
      src/machine/board_nano-33-ble.go
  2. 1
      targets/feather-rp2040.json
  3. 1
      targets/nano-33-ble.json
  4. 1
      targets/nano-rp2040.json

5
src/machine/board_nano-33-ble.go

@ -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
targets/feather-rp2040.json

@ -2,6 +2,7 @@
"inherits": [
"rp2040"
],
"serial": "uart",
"build-tags": ["feather_rp2040"],
"linkerscript": "targets/feather-rp2040.ld",
"extra-files": [

1
targets/nano-33-ble.json

@ -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
targets/nano-rp2040.json

@ -2,6 +2,7 @@
"inherits": [
"rp2040"
],
"serial": "uart",
"build-tags": ["nano_rp2040"],
"linkerscript": "targets/pico.ld",
"extra-files": [

Loading…
Cancel
Save