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
+13 -2
View File
@@ -63,6 +63,9 @@ var UART1 = &sercomUSART3
// UART2 on the Arduino Nano 33 connects to the normal TX/RX pins.
var UART2 = &sercomUSART5
// UART_NINA on the Arduino Nano 33 connects to the NINA HCI.
var UART_NINA = &sercomUSART2
// I2C pins
const (
SDA_PIN Pin = A4 // SDA: SERCOM4/PAD[1]
@@ -99,8 +102,16 @@ const (
NINA_GPIO0 Pin = PA27
NINA_RESETN Pin = PA08
NINA_ACK Pin = PA28
NINA_TX Pin = PA22
NINA_RX Pin = PA23
NINA_TX Pin = PA12
NINA_RX Pin = PA13
NINA_RTS Pin = PA14
NINA_CTS Pin = PA15
)
// NINA-W102 settings
const (
NINA_BAUDRATE = 912600
NINA_RESET_INVERTED = true
)
// I2S pins