Closed randomdude583 closed 4 days ago
I have updated this to be compatible with both PlatformIO and the Arduino IDE. I've also updated the README to have detailed instructions on how to set up the project, build, and upload using either environment.
Overview
This pull request transitions the existing Arduino-based project to utilize PlatformIO for enhanced build management and dependency handling. The migration aims to streamline development workflows, ensure consistent builds, and simplify future maintenance.
Changes Made
Project Structure:
Configuration:
platformio.ini
file specifying the ESP32 platform, board type, Arduino framework, and necessary library dependencies.Code Adjustments:
Documentation:
README.md
to provide clear instructions for setting up the development environment, building the project, and uploading firmware to the ESP32 using both PlatformIO and the Arduino IDE.Motivation
Migrating to PlatformIO offers several advantages over the traditional Arduino IDE:
Additional Notes
I have compiled and uploaded to an ESP32, and all seems to work. However, I do not yet have a kv4p-ht board yet, so I am unable to do a full test and make sure everything works correctly. I would greatly appreciate if someone could validate that!
I will work on doing the same refactor to @wsciaroni's refactor branch.
Let me know of any questions or comments!