Search found 2 matches

by matsumoto
Thu Aug 29, 2024 2:24 pm
Forum: ESP-IDF
Topic: How do I use extram_bss in CMakeLists?
Replies: 2
Views: 3449

Re: How do I use extram_bss in CMakeLists?

Hi, you have to create a linker fragment file and tell CMake where it is within your CMakeLists.txt. See ESP-IDF API - Linker Script Generation . There you can also read about the different schemes and how to create your own. See also ESP-IDF/components/esp_system/app.lf for the "default" scheme, wh...
by matsumoto
Fri Oct 14, 2022 3:51 pm
Forum: ESP32 Arduino
Topic: How to use ARDUHAL_SHORT_LOG_FORMAT
Replies: 1
Views: 1540

Re: How to use ARDUHAL_SHORT_LOG_FORMAT

Hi, I was wondering the same and I found one solution. I didn't wanted to change the file esp_hal_log.h, so instead I just added this into my own application file (for example main.cpp): #include <esp32-hal-log.h> #undef ARDUHAL_LOG_FORMAT #define ARDUHAL_LOG_FORMAT(letter, format) ARDUHAL_SHORT_LOG...