soc: esp32: move board config to soc context

log and libc optimization default config are soc related
and should be moved out from board context.

Signed-off-by: Sylvio Alves <sylvio.alves@espressif.com>
This commit is contained in:
Sylvio Alves 2021-08-16 20:24:32 -03:00 committed by Christopher Friedt
commit 57e7fba288
5 changed files with 18 additions and 8 deletions

View file

@ -10,13 +10,6 @@ config BOARD
config ENTROPY_ESP32_RNG
default y if ENTROPY_GENERATOR
if LOG
config LOG_DETECT_MISSED_STRDUP
default n
endif
if BT
config HEAP_MEM_POOL_SIZE

View file

@ -32,4 +32,3 @@ CONFIG_I2C_1=y
CONFIG_CLOCK_CONTROL=y
CONFIG_BOOTLOADER_ESP_IDF=y
CONFIG_MINIMAL_LIBC_OPTIMIZE_STRING_FOR_SIZE=n

View file

@ -32,4 +32,10 @@ config ISR_STACK_SIZE
config ATOMIC_OPERATIONS_C
default y
config MINIMAL_LIBC_OPTIMIZE_STRING_FOR_SIZE
default n
config LOG_DETECT_MISSED_STRDUP
default n
endif

View file

@ -14,4 +14,10 @@ config IRQ_OFFLOAD_INTNUM
config MP_NUM_CPUS
default 2
config MINIMAL_LIBC_OPTIMIZE_STRING_FOR_SIZE
default n
config LOG_DETECT_MISSED_STRDUP
default n
endif

View file

@ -26,4 +26,10 @@ config IRQ_OFFLOAD_INTNUM
config MP_NUM_CPUS
default 1
config MINIMAL_LIBC_OPTIMIZE_STRING_FOR_SIZE
default n
config LOG_DETECT_MISSED_STRDUP
default n
endif