I’ve just retitled this thread (and using this post rather than the RAK815 channel @ScriptBlock and I have going in Slack because I want this to be persistent and searchable):
So I just did a fair amount of arduino/nrf library plumbing so that the various NRF52 based boards can ‘just work’ and build in platformio without needing to make symbolic links or apply other hacks. I also cleaned up some bitrot that had crept in - where code was assuming ESP32 when that isn’t always true.
These changes are in the “post1” branch on meshtastic, This branch is where all features/work that are after 1.0 will be applied (I’m doing this NRF52 stuff now to help out @ScriptBlock on getting his RAK815 board working, but I didn’t want to break anything in 1.0).
You should now be able to build for nrf52840dk or feather_nrf52832 boards and platformio will automatically pull down all tools and dependencies that are required.
I’ve updated the continuous integration rule on this branch so that it builds for the four most different targets we have (“platformio run -e tbeam -e heltec -e nrf52840dk -e feather_nrf52832”).
Tomorrow I’ll get the adafruit bootloader running on the RAK815, then work on getting the RAK815 so it runs all the usual meshastic goo.