Does anyone have this working on PlatformIO ESP-IDF?
Does anyone have this working on PlatformIO ESP-IDF?
Does anyone have this working on PlatformIO ESP-IDF? I'm not sure where to put the esp-rainmaker folder in PlatformIO
Re: Does anyone have this working on PlatformIO ESP-IDF?
A quick update, I don't recommend using PlatformIO for Rainmaker because the Menuconfig in PlatformIO does not contain the required options that Rainmaker needs so it will not work until the Devs at PlatformIO update it
-
- Posts: 16
- Joined: Mon Oct 25, 2021 4:15 am
Re: Does anyone have this working on PlatformIO ESP-IDF?
I have been able to setup, compile and run rainmaker as a component in platformIO project.
I am however using esp-idf and NOT arduino as a framework.
I am however using esp-idf and NOT arduino as a framework.
-
- Posts: 16
- Joined: Mon Oct 25, 2021 4:15 am
Re: Does anyone have this working on PlatformIO ESP-IDF?
Also make sure to have this in your platform.ini file
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
Re: Does anyone have this working on PlatformIO ESP-IDF?
Good 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):
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:
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
-
- Posts: 27
- Joined: Mon Dec 12, 2016 12:22 pm
Re: Does anyone have this working on PlatformIO ESP-IDF?
Check my branch's CMakefiles: https://github.com/brainstorm/yigedianq ... -rainmaker
I had the same problem as you did just 1-2 days ago, good luck
I had the same problem as you did just 1-2 days ago, good luck
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
Who is online
Users browsing this forum: No registered users and 60 guests