Building for NRF52 boards

oh! I see why you were so confused. When I added RAK815 support I somehow mismerged the ppr/variant.h file. I’m fixing now, but in the meantime you can look at the correct version:

Also - you will need to do one manual hack to get your new board type building - because the upstream arduinonrf52 library doesn’t yet have the variants for your board (and it currently assumes that all variants live within that directory - I’m working with them to change this).

You will need to add a symbolic link to your particular new board variants directory. Here’s how I do it for the PPR board. You only need to do this nasty hack once.

$ ln -s ~/development/meshtastic/meshtastic-esp32/variants/ppr ~/.platformio/packages/framework-arduinoadafruitnrf52/variants

1 Like