I use ESP-IDF for my projects, and cannot tolerate using Arduino. Mainly because they give no access to menuconfig.
On the flip side Arduino does have allot of libs out there, and why re-invent the wheel if I can just somehow pull them into my ESP-IDF project.
I have tried a Arduino project using ArduinoJson, and it works well.
https://github.com/bblanchon/ArduinoJson
Is there a way to put this into an ESP-IDF project ?
Adding a Arduino library to ESP-IDF Project
Re: Adding a Arduino library to ESP-IDF Project
Yes, you can use arduino as component. There is a lot info on internet about it, but to be honest i dont recommend to use ArduinoJson library, because it has not good memory handling. Instead you can use cJSON from esp-idf, which is easy to use. I am using cJSON even in arduino projects whenever i can.
Re: Adding a Arduino library to ESP-IDF Project
Thanks for the tip. I should have looked first, but II just assumed there would not be anything like that in the examples.Instead you can use cJSON from esp-idf, which is easy to use
Who is online
Users browsing this forum: No registered users and 86 guests