Unattended compilation test with different boards and features using PlatformIO #195
aviateur17
started this conversation in
Ideas
Replies: 1 comment
-
I usually just waste my free time compiling and reconfiguring in Arduino, but this is a much smarter idea😂. I think I've considered a batch file setup with Arduino CLI but never looked into it further. Seems like I kinda review PIO every year or so, but I'm overdue right now. I'll get it going and check this out at some point. If you think it's something other people could use, feel free to make a folder in the 'extras' directory for it. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I've been thinking about how to test code compilation with the different gateway scenarios including different features (ESP-NOW, LoRa, RTC, GPS, OLED, DEBUG) and different micro processor architectures (ESP8266, ESP32, Pico, SAMD21) and I came up with a platformio.ini file that tests different combinations of the above. It doesn't have every possible combination but many of the common ones. I'll attach the platformio.ini file that I'm using and the main.cpp file that I use. If you have any questions let me know and if you want to improve on the platformio.ini file that would be awesome too. This file only compiles the different gateway possibilities at this time. I haven't added in the controller/sensor combinations yet.
Sample output:
platformio.ini.txt
main.cpp.txt
Beta Was this translation helpful? Give feedback.
All reactions