disk91 / WioLoRaWANFieldTester

86 stars 32 forks source link

PlatformIO support including automated library patching #56

Closed xoseperez closed 2 years ago

xoseperez commented 2 years ago

This pull requests provide PlatformIO support.

PlatformIO will install all the required dependencies (board, framework and libraries) automatically. After installation but before building the firmware, it will also patch the libraries following the instructions in the DEVELOPMENT.md page. The platformio.ini file is configured to build using slave role and the patch for the LMIC library configures the device using EU868 band, but both are easy to change without having to mess with code in 3rd party dependencies.

xoseperez commented 2 years ago

BTW, tested in Linux, should work on MacOS but not sure about the changed required to make it work under Windows, specially since it uses patch and touch utilities...

disk91 commented 2 years ago

Thank you for the contribution