Search found 20 matches
- Sat Nov 09, 2024 8:42 pm
- Forum: ESP-IDF
- Topic: Create custom *.bin file name
- Replies: 2
- Views: 653
Create custom *.bin file name
Hello everyone. How to use Cmake commands (or some other way) to create your own custom named *.bin file. I defined the variables inside CmakeList.tx: set(application_name "Device_Test") set(application_version "1.0") set(MY_PROJECT_VER "${application_version}") set(MY_PROJECT_NAME "${application_na...
- Sat Oct 12, 2024 8:35 pm
- Forum: ESP-IDF
- Topic: Wrap around ESP function
- Replies: 4
- Views: 1107
Re: Wrap around ESP function
When an abort occurs, what function prints "0x4200e011: HelpBtn_EventCb at E:/Program/Screen/TestScreen.c:294" I need to override that function, because I want to save that data in NVS in the call point of the abort() function. This is the result of printing log messages when abort() occurs: abort()...
- Thu Oct 10, 2024 7:17 pm
- Forum: ESP-IDF
- Topic: Wrap around ESP function
- Replies: 4
- Views: 1107
Re: Wrap around ESP function
It's exactly what I need. Linking is a problem.
Error: C:/Espressif/frameworks/esp-idf-v5.0/components/esp_system/port/panic_handler.c:189: undefined reference to `__wrap_esp_panic_handler'
Please can someone check with esp-idf v5.0.7? Tnx
Error: C:/Espressif/frameworks/esp-idf-v5.0/components/esp_system/port/panic_handler.c:189: undefined reference to `__wrap_esp_panic_handler'
Please can someone check with esp-idf v5.0.7? Tnx
- Thu Oct 10, 2024 7:28 am
- Forum: ESP-IDF
- Topic: Wrap around ESP function
- Replies: 4
- Views: 1107
Wrap around ESP function
Hello everyone. I want to build a wrapper around some ESP function. Inside the function wrapper, I will execute my own code and call the original function. For example i want to wrap esp_panic_handler function. Inside the main CMakeLists.txt I have the following commands: cmake_minimum_required(VERS...
- Wed Oct 09, 2024 10:31 am
- Forum: ESP-IDF
- Topic: Function assert, panic, abort, IWDT... question
- Replies: 1
- Views: 543
Function assert, panic, abort, IWDT... question
Hello everyone. I am working on a commercial project with ESP32C3. I would like to avoid unpleasant situations, if the "application" freezes, I would like to properly configure the ESP internal functions assert, panic, abort, reset, IWDT... Which of the above functions can cause freezing, i.e. which...
- Thu Aug 08, 2024 7:58 pm
- Forum: General Discussion
- Topic: Custom OTA; with one OTA partition
- Replies: 1
- Views: 839
Custom OTA; with one OTA partition
Hello everyone. I use ESP32-C3-MINI, which has a max. 4MB of flash memory. That memory is not enough for me to organize the partition table with two OTA partitions and use the classic OTA. I wanted to organize flash memory in the following way: # ESP-IDF Partition Table # Name, Type, SubType, Offset...
- Mon Aug 05, 2024 7:24 pm
- Forum: ESP-IDF
- Topic: Simple OTA - does not work in the project
- Replies: 0
- Views: 552
Simple OTA - does not work in the project
Hello everyone. Official example "simple_ota_example" (\Espressif\frameworks\esp-idf-v5.0\examples\system\ota) it compiles and runs without error. I use Espressif-IDE Version: 3.0.0, and ESP-IDF v5.0. When I copy the c file "simple_ota_example.c" into my own project that is being compiled, errors oc...
- Fri Mar 22, 2024 12:14 pm
- Forum: ESP-IDF
- Topic: Cpp code with errors, same c code without errors
- Replies: 2
- Views: 663
Cpp code with errors, same c code without errors
Hey. The code inside the *.c file compiles without errors, the same code inside the *.cpp file has many errors, warnings.. The code is an official LEDC example: #include <stdio.h> #include "esp_system.h" #include "esp_log.h" #include "esp_err.h" #include "driver/ledc.h" #define LEDC_TIMER LEDC_TIMER...
- Thu Jan 25, 2024 7:43 am
- Forum: ESP-IDF
- Topic: Freertos task, required large stack for one ESP_LOG printout
- Replies: 1
- Views: 809
Freertos task, required large stack for one ESP_LOG printout
Hi. I am creating a task. In the task function, within the for(;;) loop, I periodically print one LOG message via the ESP_LOGI function-definition. In order for it to work, without crash and ESP reset, a stack of "1650" (stack is defined in words) size is required. 6.44kB is the task necessary? Why ...
- Wed Apr 12, 2023 12:23 pm
- Forum: ESP-IDF
- Topic: ESP32-C3 JTAG/USB
- Replies: 1
- Views: 1220
ESP32-C3 JTAG/USB
Hello everyone. I am using ESP32-C3-MINI-1, on my own project. By default, the D+ and D- (USB) lines are used internally for programming/debugging. Can I use the USB lines for my project, without permanently programming the bits inside the "fuse" register. I don't want to permanently disable JTAG/US...