Lurkars / esp-ena

Covid-19 contact tracing with Exposure Notification API on ESP32
https://www.champonthis.de/projects/esp-ena
GNU Affero General Public License v3.0
42 stars 4 forks source link

added support for platformio #7

Closed pinkit-cwa closed 4 years ago

pinkit-cwa commented 4 years ago

CovidBracelet was moved to platformio.

PlatformIO is a framework that supports a lot of embedded development platforms, inluding esp-idf as well as zephyr.

One drawback is that PlaformIO is using esp-idf v4.0.1 instead of v4.1. That is why I had to downgrade wifi.c to esp-idf v4.0 API. I am not sure if my implementation is correct - cannot test because I do not yet have a suitable board.

I implemented this switch by converting wifi.c into a directory with various implementations - in this case two different esp-idf versions. I intend to do the same for bluetooth support for esp-idf vs. zephyr.

Lurkars commented 4 years ago

merged into new branch 'zephyr'