Closed mike6000 closed 2 years ago
It looks like that should be possible.
I'm not sure whether this board is (directly) supported in PlatformIO Espressif 32 platform (ESP32 Arduino Core). If not you may select a basic ESP32 board like esp32dev or one of the other basic ESP32 boards already supported by LMIC-node.
You will have to edit an existing BSF in LMIC-node for that (or add a new board definition and BSF yourself). Important settings to adjust for your board are the LMIC pinmappings, probably the SPI pins (if these do not match the standard SPI pins defined in the Arduino BSP) and the pins for the onboard LED (if present).
If you need to explicitly set custom SPI pins (other than defined in the board's Arduino BSP) then have a look at the BSF for the Lopy4 board boardInit()
function for an example.
Is it possible to get this board running with LMIC-node? https://www.sparkfun.com/products/18074