Search found 78 matches

by a2800276
Mon Aug 12, 2024 10:23 am
Forum: General Discussion
Topic: How to start GDB Server in Esp32c6?
Replies: 2
Views: 1056

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 serv...
by a2800276
Thu Aug 08, 2024 9:53 pm
Forum: General Discussion
Topic: Custom OTA; with one OTA partition
Replies: 1
Views: 813

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 firmwa...
by a2800276
Sat Jul 13, 2024 6:37 am
Forum: ESP-IDF
Topic: How to prevent ESP_ERROR_CHECK from aborting
Replies: 4
Views: 1782

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

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

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

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

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

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

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

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