ndfred / sputnik

A low power ESP32 temperature sensor firmware
MIT License
0 stars 0 forks source link

Platform.io integration #1

Open ndfred opened 4 years ago

ndfred commented 4 years ago

Looks like beta SDKs are not supported: https://community.platformio.org/t/how-to-use-esp-idf-current-version-from-https-github-com-espressif-esp-idf/4598/5

ndfred commented 4 years ago

Looks like you can exit through CTRL+T then X which makes it more bearable to use, but that is only in master: https://github.com/espressif/esp-idf/pull/4167

Maybe setting up the legacy build system will allow Platform.io integration.

ndfred commented 4 years ago

Also looks like ULP support has been added to Platform.io recently, I'll need to rework my directory layout to get both ESP-IDF and Platform.io going but this should work: https://github.com/platformio/platform-espressif32/issues/95 https://github.com/platformio/platform-espressif32/tree/develop/examples/espidf-ulp-adc https://github.com/platformio/platform-espressif32/tree/develop/examples/espidf-ulp-pulse

ndfred commented 4 years ago

Platform.io doesn't work well with the console either, and requires too many quirks to really do what I want. It looks like we can get direct VSCode integration support: https://github.com/espressif/esp-idf/issues/303 https://github.com/Deous/VSC-Guide-for-esp32

ndfred commented 4 years ago

Espressif now has a new VSCode integration for the 4.0 SDK, worth a look: https://github.com/espressif/vscode-esp-idf-extension