Does anyone have this working on PlatformIO ESP-IDF?
Posted: Fri Oct 22, 2021 5:51 am
Does anyone have this working on PlatformIO ESP-IDF? I'm not sure where to put the esp-rainmaker folder in PlatformIO
ESP32 Official Forum
http://forum.esp32.com/
Code: Select all
board_build.embed_txtfiles =
components/esp_rainmaker/server_certs/rmaker_mqtt_server.crt
components/esp_rainmaker/server_certs/rmaker_claim_service_server.crt
components/esp_rainmaker/server_certs/rmaker_ota_server.crt
components/esp_insights/server_certs/mqtt_server.crt
Code: Select all
examples/switch/main/app_main.c:27:10: fatal error: app_wifi.h: No such file or directory
Code: Select all
[platformio]
src_dir = examples/switch/main
[env:esp32]
platform = espressif32
board = esp-wrover-kit
framework = espidf
upload_speed = 115200
board_build.embed_txtfiles =
components/esp_rainmaker/server_certs/rmaker_mqtt_server.crt
components/esp_rainmaker/server_certs/rmaker_claim_service_server.crt
components/esp_rainmaker/server_certs/rmaker_ota_server.crt
; components/esp_insights/server_certs/mqtt_server.crt
itymoneus wrote: ↑Tue Mar 22, 2022 9:03 amGood morning,
the info with the certificates helped a bit.
But still struggling with the very beginnings, making inclusion of headers/components work (cmake still quite new too me).
Any idea where platform.ini needs to be located ? And whether cmake config needs adjustments ?
Thanks a lot!
Symptons:Config (platform.ini lying in folder above components and examples):Code: Select all
examples/switch/main/app_main.c:27:10: fatal error: app_wifi.h: No such file or directory
Code: Select all
[platformio] src_dir = examples/switch/main [env:esp32] platform = espressif32 board = esp-wrover-kit framework = espidf upload_speed = 115200 board_build.embed_txtfiles = components/esp_rainmaker/server_certs/rmaker_mqtt_server.crt components/esp_rainmaker/server_certs/rmaker_claim_service_server.crt components/esp_rainmaker/server_certs/rmaker_ota_server.crt ; components/esp_insights/server_certs/mqtt_server.crt