Search found 79 matches

by a2800276
Tue Dec 10, 2024 12:45 pm
Forum: ESP-IDF
Topic: MQTT
Replies: 1
Views: 953

Re: MQTT

1.) The ESP-IDF MQTT documentation: https://docs.espressif.com/projects/esp-idf/en/stable/esp32/api-reference/protocols/mqtt.html

The IDF itself also contains sample code: https://github.com/espressif/esp-idf/tree/v5.3.2/examples/protocols/mqtt

2.) A number of MQTT brokers have publicly accessible ...
by a2800276
Mon Aug 12, 2024 10:23 am
Forum: General Discussion
Topic: How to start GDB Server in Esp32c6?
Replies: 2
Views: 2185

Re: How to start GDB Server in Esp32c6?

Have you checked the IDF docs https://docs.espressif.com/projects/esp-idf/en/v5.3/esp32c6/api-guides/jtag-debugging/using-debugger.html ? There is nothing specific to Segger tools, but they should provide enough info to figure it out. Espressif have their own openocd which would provide the gdb ...
by a2800276
Thu Aug 08, 2024 9:53 pm
Forum: General Discussion
Topic: Custom OTA; with one OTA partition
Replies: 1
Views: 1887

Re: Custom OTA; with one OTA partition

In this scenario, I would skip the factory partition and use two OTA partitions. I believe it just works(tm) if you change the factory partition to OTA.

You no longer have the ability to fall back to a factory state, but that seems less important than being able to recover from an interrupted ...
by a2800276
Sat Jul 13, 2024 6:37 am
Forum: ESP-IDF
Topic: How to prevent ESP_ERROR_CHECK from aborting
Replies: 4
Views: 3817

Re: How to prevent ESP_ERROR_CHECK from aborting

I think it might be worth pointing out that you don't have to use the ERROR_CHECK macro, you can just check the response of your function and implement custom code.

These standard macros are there to help you cut down writing tedious boilerplate if you are handling errors in typical ways. Check out ...
by a2800276
Thu Jul 04, 2024 8:37 am
Forum: ESP-IDF
Topic: How Do I Disable the ESP-IDF Component That Is Not Used in a Project?
Replies: 6
Views: 4539

Re: How Do I Disable the ESP-IDF Component That Is Not Used in a Project?

This can be accomplished via cmake. Have a look at the COMPONENTS bullets here: https://docs.espressif.com/projects/esp ... -variables
by a2800276
Sun Dec 10, 2023 11:50 am
Forum: ESP-IDF
Topic: Compilation error
Replies: 3
Views: 10152

Re: Compilation error

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: 1162

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: 1509

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 ...
by a2800276
Tue Jul 18, 2023 2:08 pm
Forum: ESP-IDF
Topic: OTA firmware update error
Replies: 37
Views: 104787

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: 4202

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 ...

Go to advanced search