How to upgrade esp-idf component

Ritu21
Posts: 123
Joined: Sat Aug 04, 2018 9:58 am

How to upgrade esp-idf component

Postby Ritu21 » Tue Jun 11, 2019 5:35 am

Hi,

I want to upgrade cJSON version to latest i.e 1.7.12 in esp-idf. How do I do that ?

How to add external library to esp-idf ?

Thanks
Ritu.

Ritesh
Posts: 1383
Joined: Tue Sep 06, 2016 9:37 am
Location: India
Contact:

Re: How to upgrade esp-idf component

Postby Ritesh » Tue Jun 11, 2019 8:10 am

Ritu21 wrote:
Tue Jun 11, 2019 5:35 am
Hi,

I want to upgrade cJSON version to latest i.e 1.7.12 in esp-idf. How do I do that ?

How to add external library to esp-idf ?

Thanks
Ritu.
Hi,

As you might have idea like cJSON component has been included as submodule into ESP32 IDF itself.

[submodule "components/json/cJSON"]
path = components/json/cJSON
url = https://github.com/DaveGamble/cJSON.git

So, you can overwrite that component and add same cJSON component which you want into your application component.
Regards,
Ritesh Prajapati

Who is online

Users browsing this forum: Bing [Bot] and 124 guests