Questions tagged [espressif-idf]

Official development framework for the ESP32 microcontroller, usually abbreviated ESP-IDF (Espressif IoT Development Framework).

54 questions
3
votes
1 answer

Running Multiple Versions of ESP-IDF concurrently

Just had a go at running up the most recent version of ESP-IDF on my machine. All good. Current Version = 4.3.2 Latest Version = 5.0.1 I work in Visual Studio, but use the ESP cmd terminal directly to build etc. Haven't managed to figure out the…
monkey
  • 1,213
  • 2
  • 13
  • 35
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
1
vote
1 answer

Setting ESP-IDF Component directory

I'm using ESP-IDF extension for Visual Studio Code. I create new project by choosing template, but what does ESP-IDF Component directory means? What I should put there?
vico
  • 17,051
  • 45
  • 159
  • 315
1
vote
1 answer

how to interface esp32S3 with MEMS Microphone Breakout - SPH0645LM4H and stream the audio to server using http or UDP

I found an example in esp-adf/examples/recorder/pipeline_raw_http. The example is intended for audio development boards such as the Krovo 2 board, and it uses the built-in analog microphone. I want to update this code for the ESP32-S3 and interface…
warrior
  • 21
  • 3
1
vote
1 answer

memcpy misses one byte when copying to struct

I am trying to extract a particular region of my message and interpret it as a struct. void app_main(void) { esp_err_t err; uint8_t injected_input[]={0xCE,0x33,0xE1,0x00,0x11,0x22,0x33,0x44,0x55,0x66}; model_sensor_data_t stuff = {0}; …
Iberico
  • 162
  • 2
  • 15
1
vote
1 answer

Log idf.py monitor to file

https://docs.espressif.com/projects/esp-idf/en/latest/esp32/api-guides/tools/idf-monitor.html Indicates CTRL+L will log to a file in the project directory. Using Windows10 and VSCode, CTRL+L stoops the logging, but I cannot find the file. Is there a…
MikeF
  • 764
  • 9
  • 26
1
vote
1 answer

How to send data between two ESP32's over same LAN?

I want to send data(I think I can achieve it sending http requests) between two ESP's that are connected to the same LAN. I don't want to use one as an access point! I have one esp that is acting as a homekit device, and I want to send data(for…
Zhekich
  • 11
  • 1
1
vote
0 answers

Error while installing Python virtual environment for ESP-IDF using the Espressif IDF extension for Visual Studio Code

I tried to install ESP-IDF and its tools with the Visual Studio Code extension but I got errors because there are spaces in my user name in Windows (I'm using Windows 10). So I used the online installer version 2.16; it installed all the components…
0
votes
0 answers

PID Controller in esp32 using Espressif-IDE

Hi i want to learn how esp32 works. Now a days I'm working on PID Controller in esp32 use FreeRTOS by default and for this I need to wrtie the whole PID controller by myself. I went through the documentation of esp32 but not really helpfull. I look…
Osama Billah
  • 101
  • 10
0
votes
1 answer

ESP32-S3 with Coded PHY using Arduino

I am using a M5AtomS3, which is a variant of the ESP32 using BLE 5. I would like to use the CODED_PHY function to extend the range of my project and develop in Arduino. Based on this example I need to set CONFIG_BT_BLE_50_FEATURES_SUPPORTED which is…
0
votes
0 answers

How can I fix ninja: error: loading 'build.ninja': The system cannot find the file specified

I installed esp-idf extension(version 1.6.4) using VsCode then I configured it by choosing Express option then I selected v5.1 (release version) after that I clicked on install. I created a project using hello_world template but when I click on…
0
votes
1 answer

IP Address cannot obtain in ESP-IDF?

I am making application using ESP32 in ESP-IDF. I am new to ESP-IDF. I am trying to get temperature and humidity data from AHT25 and update that into server. This is main.c #include #include "freertos/FreeRTOS.h" #include…
0
votes
0 answers

How to use psa_import_key correctly

I need to import a JSON element which in this case is public_key_alice I store it in an array called keyp const char *cla = cJSON_GetArrayItem(public_key_alice, 0); if (cJSON_IsString(cla)) { const…
Geko66
  • 1
  • 1
0
votes
0 answers

'west espressif update' returns a usage error

I am trying to set up zephyr on my esp32 by following this tutorial. Unfortunaly, when I try west espressif update as it is written, I get the following error: usage: west espressif [-h] [-b BAUD] [-p PORT] [-e ELF] [-n EOL] {monitor} west…
Sygall
  • 33
  • 1
  • 5
0
votes
0 answers

Why does output say Invalid ESP-IDF when I follow recommended official installation instructions to the letter?

I followed the recommeded installation instructions of the official ESP-IDF in Visual Studio Code for Windows and after downloading and installing through the Visual Studio Code ESP-IDF extension, the output is Invalid ESP-IDF. I tried to install…
1
2 3 4