Skip to content

Commit 222e82a

Browse files
sylvioalvesnashif
authored andcommitted
log: fix log crash due to missing strdup
ESP32 requires some content as fatal.c rodata to be placed into RAM to allow cache disabled exceptions. The consequence is that it will trigger missing log_strdup call when normal exception is called. Disabling that by default fix the error and stops terminal output flooding warning event. Signed-off-by: Sylvio Alves <[email protected]>
1 parent 13b9f8a commit 222e82a

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

boards/xtensa/esp32/Kconfig.defconfig

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,10 @@ config BOARD
99

1010
config ENTROPY_ESP32_RNG
1111
default y if ENTROPY_GENERATOR
12+
13+
if LOG
14+
15+
config LOG_DETECT_MISSED_STRDUP
16+
default n
17+
18+
endif

0 commit comments

Comments
 (0)