esp32/esp32-core: Fix #ifdef warning and update MM_SECTIONS

This commit is contained in:
Alan C. Assis 2020-12-01 14:15:37 -03:00 committed by Abdelatif Guettouche
parent 86e41979b4
commit 3865960b89
2 changed files with 2 additions and 2 deletions

View File

@ -70,7 +70,7 @@
/* How many 32KB pages will be reserved for bank switch */
#if CONFIG_ESP32_SPIRAM_BANKSWITCH_ENABLE
#ifdef CONFIG_ESP32_SPIRAM_BANKSWITCH_ENABLE
# define SPIRAM_BANKSWITCH_RESERVE CONFIG_SPIRAM_BANKSWITCH_RESERVE
#else
# define SPIRAM_BANKSWITCH_RESERVE 0

View File

@ -35,7 +35,7 @@ CONFIG_HEAP2_SIZE=4194304
CONFIG_IDLETHREAD_STACKSIZE=3072
CONFIG_INTELHEX_BINARY=y
CONFIG_MAX_TASKS=16
CONFIG_MM_REGIONS=2
CONFIG_MM_REGIONS=3
CONFIG_NETDB_DNSCLIENT=y
CONFIG_NETDB_DNSSERVER_IPv4ADDR=0x08080808
CONFIG_NETDB_HOSTFILE=y