Search found 74 matches

by a2800276
Sun Dec 10, 2023 11:50 am
Forum: ESP-IDF
Topic: Compilation error
Replies: 3
Views: 4225

Re: Compilation error

gamename wrote:
Sun Dec 10, 2023 10:33 am
found the problem.
It really helps out forum ecosystems if you add a quick summary about what the problem was and how you solved it :)
by a2800276
Wed Nov 08, 2023 12:51 pm
Forum: General Discussion
Topic: Forum Search broken for 'esp_modem'
Replies: 0
Views: 504

Forum Search broken for 'esp_modem'

I'm experiencing some strange issues with the forum search. Searching for the term: `esp_modem` returns a 500 with an empty body. The forum software seems to be as displeased with esp_modem as I am :lol:
by a2800276
Wed Sep 13, 2023 2:57 pm
Forum: ESP-IDF
Topic: component manager downward compatibility ( idf4/5 mdns)
Replies: 0
Views: 803

component manager downward compatibility ( idf4/5 mdns)

I have a component which has a dependency on `mdns`. In IDF version 4.x `mdns` is part of the IDF so it's a component dependency which needs to be resolved from CMake. Starting with IDF 5 it's a "proper", managed component. I declared the dependency in both the component manager / yml and the `CMake...
by a2800276
Tue Jul 18, 2023 2:08 pm
Forum: ESP-IDF
Topic: OTA firmware update error
Replies: 37
Views: 80903

Re: OTA firmware update error

It looks as though something went wrong during the upload. Can you provide the logs from the point in time you are uploading the replacement firmware?


How are you flashing the firmware bin file? Probably the web interface provided by the example? Which file are you flashing?
by a2800276
Wed Jul 05, 2023 1:30 pm
Forum: General Discussion
Topic: IDF build as library ?
Replies: 5
Views: 1680

Re: IDF build as library ?

Is there any documentation or examples on how to modify the CMakeLists.txt to generate a static library? Half-baked answer: You don't need to change anything. All components that constitute a firmware are compiled to static library archives that are located under `build/esp-idf` in your project. Wh...
by a2800276
Thu Jun 29, 2023 8:41 am
Forum: ESP-IDF
Topic: Esp32S3 : How to place environment variables in a ESP-IDF project ?
Replies: 3
Views: 1773

Re: Esp32S3 : How to place environment variables in a ESP-IDF project ?

You can add custom 'menuconfig' pages containing options/macro definitions you can access from code. Is that what you are looking for? https://docs.espressif.com/projects/esp-idf/en/latest/esp32/api-guides/build-system.html#component-configuration Or are you looking to include Unix shell environment...
by a2800276
Fri Jun 23, 2023 12:16 pm
Forum: ESP-IDF
Topic: Esp32S3 : Question concerning NVS
Replies: 11
Views: 2959

Re: Esp32S3 : Question concerning NVS

The internal structure is described here.
by a2800276
Fri Jun 23, 2023 12:10 pm
Forum: ESP-IDF
Topic: Esp32s3 : Question about the Task Watch Dog Timer
Replies: 4
Views: 1703

Re: Esp32s3 : Question about the Task Watch Dog Timer

Here's the documentation for `esp_task_wdt_add`. You need to call `esp_task_wdt_reset` periodically from each of the (in your case) 5 registered tasks.


And here's a sample project from the IDF that demonstrates usage of the necessary code.
by a2800276
Sun Jun 11, 2023 7:20 am
Forum: ESP-IDF
Topic: mqtt_client keepalive
Replies: 5
Views: 2645

Re: mqtt_client keepalive

This seems to be a clear case of "parameter does not mean what I want it to mean" :D Read section "3.1.2.10 Keep Alive" of the MQTT spec : the client has to send a message every keep alive at the latest, like microcontroller said. And the server must close the connection at one-and-a-half times keep...