targets: add ninafw pins and settings to Adafruit Metro M4 Airlift board

Signed-off-by: deadprogram <ron@hybridgroup.com>
This commit is contained in:
deadprogram
2024-01-15 17:25:41 +01:00
committed by BCG
parent 9c77a38358
commit d92a31b440
2 changed files with 14 additions and 2 deletions
+13 -1
View File
@@ -62,6 +62,15 @@ var (
UART2 = &sercomUSART0
DefaultUART = UART1
UART_NINA = UART2
)
// NINA-W102 settings
const (
NINA_BAUDRATE = 115200
NINA_RESET_INVERTED = true
NINA_SOFT_FLOWCONTROL = true
)
const (
@@ -70,9 +79,12 @@ const (
NINA_GPIO0 = PB01
NINA_RESETN = PB05
// pins used for the ESP32 connection do not allow hardware
// flow control, which is required. have to emulate with software.
NINA_TX = PA04
NINA_RX = PA07
NINA_RTS = PB23
NINA_CTS = NINA_ACK
NINA_RTS = NINA_GPIO0
)
// I2C pins
+1 -1
View File
@@ -1,6 +1,6 @@
{
"inherits": ["atsamd51j19a"],
"build-tags": ["metro_m4_airlift"],
"build-tags": ["metro_m4_airlift", "ninafw"],
"serial": "usb",
"serial-port": ["239A:8037"],
"flash-1200-bps-reset": "true",