nutechsoftware / AlarmDecoder-IoT

AlarmDecoder Internet Of Things
Other
18 stars 8 forks source link

Add PlatformIO #16

Closed ajschmidt8 closed 3 years ago

ajschmidt8 commented 3 years ago

This PR replaces the st-device-sdk-c-ref build process with PlatformIO (pio).

To enable pio to build correctly, it was necessary to remove the existing CMakeLists.txt files. I also removed any component.mk files. I assume these changes are okay if we're going to adopt pio as the new build system.

Also, pio added this automatically generated sdkconfig file, which seems similar to the existing sdkconfig.defaults. I'm not sure if we'll still need the sdkconfig.defaults file. I haven't done a diff on the files to see what's different, but I imagine that any settings that need to be configured in the new file can likely be done in the new platformio.ini config file (not really sure what these files do, tbh).


To Do:

ajschmidt8 commented 3 years ago

(This PR is the same as #15 except that I cut a new branch from the dev branch instead of master.)