machine, targets: ninafw support for arduino-nano33 and nano-rp2040 boards

Signed-off-by: deadprogram <ron@hybridgroup.com>
This commit is contained in:
deadprogram
2024-01-05 15:46:53 +01:00
committed by Ayke
parent 3d9a1ca22a
commit 81c56c3ab8
4 changed files with 24 additions and 4 deletions
+9
View File
@@ -93,6 +93,12 @@ const (
NINA_RTS Pin = GPIO11
)
// NINA-W102 settings
const (
NINA_BAUDRATE = 115200
NINA_RESET_INVERTED = true
)
// Onboard crystal oscillator frequency, in MHz.
const (
xoscFreq = 12 // MHz
@@ -131,6 +137,9 @@ var (
Buffer: NewRingBuffer(),
Bus: rp.UART1,
}
// UART_NINA on the Arduino Nano RP2040 connects to the NINA HCI.
UART_NINA = UART1
)
var DefaultUART = UART0