m5stack / M5Dial-UserDemo

M5Dial user demo for hardware evaluation.
MIT License
44 stars 16 forks source link

Refactor for PlatformIO #20

Open SergeBakharev opened 2 months ago

SergeBakharev commented 2 months ago

Completely understand if this is unwanted, please feel no pressure to accept this PR.

I really liked the M5Dial-UserDemo but wasn't able to compile it on my own system. I found that it needed some minor changes (some discussed in open Issues of this repo), and for ease of use I wanted to make use of PlatformIO to manage the dependencies and toolchains. This lead me to restructure the repo and move dependent external library code to references.

I believe this project benefits from these changes to make it easier for newcomers to start their M5Dial projects that might be based on this code base. PlatformIO handles the toolchain management, so going from zero to a M5Dial project is as simple as installing the PlatformIO IDE plugin, and pushing build.