Search found 12 matches

by kurtwerbrouck
Tue Jul 07, 2026 7:30 pm
Forum: Report Bugs
Topic: 6.0.2 Failed to resolve component 'json' required by component 'esp-sr': unknown
Replies: 2
Views: 90

Re: 6.0.2 Failed to resolve component 'json' required by component 'esp-sr': unknown

hello

cmakeList.txt:

idf_component_register(SRCS "WifiScan.c")
register_component()

idf_component

dependencies:
espressif/cjson: "^1.7.19"

WifiScan.c

#include <stdio.h>
#include <string.h>
#include "freertos/FreeRTOS.h"
#include "freertos/task.h"
#include "freertos/event_groups.h ...
by kurtwerbrouck
Mon Jul 06, 2026 8:07 pm
Forum: Report Bugs
Topic: 6.0.2 Failed to resolve component 'json' required by component 'esp-sr': unknown
Replies: 2
Views: 90

6.0.2 Failed to resolve component 'json' required by component 'esp-sr': unknown

Hello

I upgraded to 6.0.2, but i have the next error when "build the project". I noticed that the cjson wasnt included in the 6.0.2.

"Removed Built-in JSON Component
The built-in json component has been removed from ESP-IDF. Users should migrate to using the espressif/cjson component from the IDF ...
by kurtwerbrouck
Mon May 01, 2023 8:52 am
Forum: ESP-IDF
Topic: #include <vector>
Replies: 3
Views: 4815

Re: #include <vector>

Hello

The file has a .c

Kurt
by kurtwerbrouck
Fri Apr 28, 2023 5:25 pm
Forum: ESP-IDF
Topic: #include <vector>
Replies: 3
Views: 4815

#include <vector>

hello

i want to use the #include <vector>,but i get a fatal error,

fatal error: vector: No such file or directory
11 | #include <vector>

i am using esp-idf,under visual code.

Any solutions?

Thanks
by kurtwerbrouck
Sat Mar 25, 2023 5:22 pm
Forum: ESP-IDF
Topic: Bitset header
Replies: 3
Views: 3528

Bitset header

Hello

I want to shift 80 bits into a esp32 - i saw some examples that are using the #include <bitset>.

#include <stdio.h>
#include <iostream>
#include <bitset>

void app_main(void)
{
std::bitset<80> b("01000000000000000000000000000000");
b >>= 12;
}

For some reason the #include <bitset> is ...
by kurtwerbrouck
Mon Nov 14, 2022 6:45 pm
Forum: ESP-IDF
Topic: Install FastLED under esp-idf visual code
Replies: 0
Views: 3413

Install FastLED under esp-idf visual code

Goodevening
I am try to use the fastled under esp-idf (visual code). I copied all the needed folder under the components folder.
I got when using #include "FastLED.h" the next error message -> Include file not found in Path.
Is there a way / or how can i add the subfolders for Fastled to the Path ...
by kurtwerbrouck
Thu Jun 09, 2022 6:24 pm
Forum: IDEs for ESP-IDF
Topic: Http request to an https site
Replies: 2
Views: 4722

Http request to an https site

Hello
In visual code i updated to frame work esp platform 4.4,
before this update i could do an http request to get the position of the ISS station.

void http_iss(void * pvParam)
{
esp_http_client_config_t config ;

config.url = ISS_SERVER.serverName;
config.transport_type = HTTP_TRANSPORT ...
by kurtwerbrouck
Mon Aug 02, 2021 1:36 pm
Forum: ESP-IDF
Topic: ESP32 - IDF - HTTP request
Replies: 4
Views: 5246

Re: ESP32 - IDF - HTTP request

hello mbratch

I assume you're looking at an ESP-IDF example for http client , Yes indeed

i used the wifi arduino in other programs, but i am converting them all to the idf API, with the help of the APi reference.
now i am trying to use the idf HTTP, I will try this evening with removing the wifi ...
by kurtwerbrouck
Mon Aug 02, 2021 9:15 am
Forum: ESP-IDF
Topic: ESP32 - IDF - HTTP request
Replies: 4
Views: 5246

ESP32 - IDF - HTTP request

Hello

I used the example in the doc for creating a HTTP request for openweathermap.
When i used the the http request in the setup() and in the loop(), all seems to be running OK
When i used only the http request in the loop() (delete the http request part in the setup), the esp32 keeps on rebooting ...
by kurtwerbrouck
Fri Jun 18, 2021 3:34 pm
Forum: ESP32 Arduino
Topic: esp32 - I2C
Replies: 1
Views: 3494

esp32 - I2C

hello

i am trying to run the next example from the i2c api datasheet @ docs.espressif.com - API I2C.

#include ""driver/i2c.h""

#define I2C_SCL_IO 22
#define I2C_SDA_IO 21
#define I2C_FREQ_HZ 100000
#define I2C_PORT_NUM I2C_NUM_0
#define I2C_TX_BUF_DISABLE 0
#define I2C_RX_BUF_DISABLE 0
#define ...

Go to advanced search