feat(log): Adds ESP_LOG_ATTR macro to control section placement

This commit is contained in:
Konstantin Kondrashov
2025-07-01 19:22:16 +03:00
parent dcf486359e
commit 16d73cdab3
2 changed files with 5 additions and 1 deletions

View File

@@ -134,7 +134,9 @@ void spi_flash_dump_counters(void)
#define IO_STR_LEN 10
static const char io_mode_str[][IO_STR_LEN] = {
// Used only for logging, do not use for other purposes or remove ESP_LOG_ATTR.
// (this can be placed in noload section for bin logging mode).
static ESP_LOG_ATTR const char io_mode_str[][IO_STR_LEN] = {
"slowrd",
"fastrd",
"dout",