Questions tagged [esp-idf-sys]
11 questions
1
vote
0 answers
ESP32 does not read data from AHT25 sensor?
I am using ESP32 to read temperature and humidity from AHT25 sensor. I am using ESP-IDF 5.1 tool. I am new to this tool.
This is my source code,
#include
#include "freertos/FreeRTOS.h"
#include "freertos/task.h"
#include…

Kuralmozhi
- 47
- 7
0
votes
0 answers
I'm using ESP32 and have problem with flashing
I'm using debian12 system in that i want to run and debug my hello world example given by ESP32-S2-kaluga-1 manual I have downloaded esp-idf extension in visual studio and while setting up OpenOCD I'm facing issue as below
I tried these…

teju
- 1
- 2
0
votes
1 answer
WiFi not connected in ESP-IDF?
I'm trying to create an ESP32 application using ESP-IDF framework. I am new to ESP-IDF and Embedded C.
This is main.c file
#include
#include "esp_log.h"
#include "esp_system.h"
#include "nvs_flash.h"
#include "esp_wifi.h"
#include…

Kuralmozhi
- 47
- 7
0
votes
0 answers
fatal error: DHT22.h: No such file or directory
I am work with espressif ide this id's shows an error
fatal error: DHT22.h: No such file or directory
How to solve this type of error and how to take a output
please guide me and try to solve this error and how to add a library file for this ide

Saranya
- 1
0
votes
0 answers
Is there a way I can configure esp32 as a broker
I want to configure an esp32 as a MQTT broker and connect other devices as clients is there any way to do this. i searched the internet but couldn't find any reliable answer and tried chatgpt it says it can't be done due to, esp32 does not have…
0
votes
0 answers
ESP-IDF components directories errors
I'm having error to compile my project inside the Espresssif IDE.
The errors were like this :
Building in: C:\Espressif\frameworks\esp-idf-v4.4.3\mesh_network\build
Configuring in: C:\Espressif\frameworks\esp-idf-v4.4.3\mesh_network\build
cmake -G…

naziera
- 1
0
votes
0 answers
ESP IDF4.3 showing ccache: error: Failed to create temporary file
i am facing below error for visual studio
ccache: error: Failed to create temporary file for esp-idf/libsodium/CMakeFiles/__idf_libsodium.dir/libsodium/src/libsodium/crypto_box/curve25519xchacha20poly1305/box_seal_curve25519xchacha20poly1305.c.obj:…
0
votes
0 answers
How do I wrap a pub extern "C" fn such that such that I can call a method of a struct?
I have hit a wall recently. The summary would be the following: I would like to wrap a pub extern "C" fn on_sync() { ... } such that when it is called I can also call a method named pub fn on_sync(&self) { ... } defined in an impl of a struct…

Mihai Bojescu
- 13
- 5
0
votes
1 answer
Sharing values between functions in rust
I'm trying to learn Rust, but have hit a wall, tying to do something I expected to be relatively straightforward. I'm trying to write a simple blink example for the ESP32c3 MCU. I got a basic example working, but started running into compilation…

Tadej Gašparovič
- 17
- 4
0
votes
1 answer
given the same frequency, why does the pwm period decrease when the resolution decreases
I've got an ESP32-C3 and the following Rust code. Retaining the frequency but decreasing the resolution, I expected the accuracy of the pulse width to decrease but it unfortunately also decreases the period (speeds up). I expected the period to stay…

Tino
- 325
- 1
- 8
0
votes
1 answer
`self` is a captured variable in an `FnMut` closure
I'm trying to create a struct that enables a pin and then disables it after a period of time. I'm running into an issue of ownership and I'm not quite sure how to resolve it.
Here's the code I'm working with:
pub trait PumpPin {
fn…

Chris Woolum
- 2,854
- 20
- 20