Attempting to setup a new nrf52840 mini using this guide: https://learn.sparkfun.com/tutorials/sp … okup-guide
On both mac and PC I get everything installed (variants etc) and board can be selected, but when I compile I get this error:
/Users/john/Library/Arduino15/packages/adafruit/hardware/nrf52/0.20.1/cores/nRF5/Uart.cpp:247:48: error: 'PIN_SERIAL1_RX' was not declared in this scope
Uart Serial1( NRF_UARTE0, UARTE0_UART0_IRQn, PIN_SERIAL1_RX, PIN_SERIAL1_TX );
^~~~~~~~~~~~~~
/Users/john/Library/Arduino15/packages/adafruit/hardware/nrf52/0.20.1/cores/nRF5/Uart.cpp:247:48: note: suggested alternative: 'PIN_SERIAL_RX'
Uart Serial1( NRF_UARTE0, UARTE0_UART0_IRQn, PIN_SERIAL1_RX, PIN_SERIAL1_TX );
^~~~~~~~~~~~~~
PIN_SERIAL_RX
/Users/john/Library/Arduino15/packages/adafruit/hardware/nrf52/0.20.1/cores/nRF5/Uart.cpp:247:64: error: 'PIN_SERIAL1_TX' was not declared in this scope
Uart Serial1( NRF_UARTE0, UARTE0_UART0_IRQn, PIN_SERIAL1_RX, PIN_SERIAL1_TX );
^~~~~~~~~~~~~~
/Users/john/Library/Arduino15/packages/adafruit/hardware/nrf52/0.20.1/cores/nRF5/Uart.cpp:247:64: note: suggested alternative: 'PIN_SERIAL_TX'
Uart Serial1( NRF_UARTE0, UARTE0_UART0_IRQn, PIN_SERIAL1_RX, PIN_SERIAL1_TX );
I suspect I am missing a header file that defines these or the boards.txt copy/paste definition is missing something. Both my mac and PC arduino installs work for all of my other devices (nodemcu, arduino pro mini etc) so I am confident in my setup.
Thanks for help with this basic issue!
John-