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:
parent
d04a58bd1e
commit
57e7fba288
5 changed files with 18 additions and 8 deletions
|
@ -10,13 +10,6 @@ config BOARD
|
||||||
config ENTROPY_ESP32_RNG
|
config ENTROPY_ESP32_RNG
|
||||||
default y if ENTROPY_GENERATOR
|
default y if ENTROPY_GENERATOR
|
||||||
|
|
||||||
if LOG
|
|
||||||
|
|
||||||
config LOG_DETECT_MISSED_STRDUP
|
|
||||||
default n
|
|
||||||
|
|
||||||
endif
|
|
||||||
|
|
||||||
if BT
|
if BT
|
||||||
|
|
||||||
config HEAP_MEM_POOL_SIZE
|
config HEAP_MEM_POOL_SIZE
|
||||||
|
|
|
@ -32,4 +32,3 @@ CONFIG_I2C_1=y
|
||||||
CONFIG_CLOCK_CONTROL=y
|
CONFIG_CLOCK_CONTROL=y
|
||||||
|
|
||||||
CONFIG_BOOTLOADER_ESP_IDF=y
|
CONFIG_BOOTLOADER_ESP_IDF=y
|
||||||
CONFIG_MINIMAL_LIBC_OPTIMIZE_STRING_FOR_SIZE=n
|
|
||||||
|
|
|
@ -32,4 +32,10 @@ config ISR_STACK_SIZE
|
||||||
config ATOMIC_OPERATIONS_C
|
config ATOMIC_OPERATIONS_C
|
||||||
default y
|
default y
|
||||||
|
|
||||||
|
config MINIMAL_LIBC_OPTIMIZE_STRING_FOR_SIZE
|
||||||
|
default n
|
||||||
|
|
||||||
|
config LOG_DETECT_MISSED_STRDUP
|
||||||
|
default n
|
||||||
|
|
||||||
endif
|
endif
|
||||||
|
|
|
@ -14,4 +14,10 @@ config IRQ_OFFLOAD_INTNUM
|
||||||
config MP_NUM_CPUS
|
config MP_NUM_CPUS
|
||||||
default 2
|
default 2
|
||||||
|
|
||||||
|
config MINIMAL_LIBC_OPTIMIZE_STRING_FOR_SIZE
|
||||||
|
default n
|
||||||
|
|
||||||
|
config LOG_DETECT_MISSED_STRDUP
|
||||||
|
default n
|
||||||
|
|
||||||
endif
|
endif
|
||||||
|
|
|
@ -26,4 +26,10 @@ config IRQ_OFFLOAD_INTNUM
|
||||||
config MP_NUM_CPUS
|
config MP_NUM_CPUS
|
||||||
default 1
|
default 1
|
||||||
|
|
||||||
|
config MINIMAL_LIBC_OPTIMIZE_STRING_FOR_SIZE
|
||||||
|
default n
|
||||||
|
|
||||||
|
config LOG_DETECT_MISSED_STRDUP
|
||||||
|
default n
|
||||||
|
|
||||||
endif
|
endif
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue