Apparently, the define PIN_SERIAL1_TX and the define PIN_SERIAL1_RX cannot be found. This can be bypassed by adding the two defines in the variant.h file of the “Sparkfun Pro nRF52840 mini” has non-significant values.
However, I think that this is not the right solution and that there is a possibility to solve this in different ways.
In the variant.h file, scroll down to these lines, and change the SERIAL to SERIAL1 in both lines. This change also matches the section on the Sparkfun web site titled “Why the Sparkfun Pro nRF52840 Mini board definitions?” (this section has a blue background). After making these changes, the compile errors went away. i have not gone past getting the code to complile.
However, I can’t use the serial interface with all the terminals … For example, it works with RealTearm, Tera Term or the Arduino terminal, but impossible to work with Termite.