configs/imxrt1050-evk: enable SDRAM as a primary heap
Internal RAM does not have enough size to run TizenRT.
Let's use internal ram to locate kernel data and bss and
use SDRAM as a heap.
Note: to use SDRAM (SEMC), C99_BOOL8 config is mandatory.
Let's enable it together.
@@ -181,7 +181,7 @@ CONFIG_IMXRT_LPSPI1=y
CONFIG_IMXRT_I2S=y
CONFIG_IMXRT_I2S_TX=y
CONFIG_IMXRT_I2S_RX=y
-# CONFIG_IMXRT_SEMC is not set
+CONFIG_IMXRT_SEMC=y
# CONFIG_IMXRT_SNVS_LPSRTC is not set
# CONFIG_IMXRT_SNVS_HPRTC is not set
# CONFIG_IMXRT_USDHC is not set
@@ -190,12 +190,20 @@ CONFIG_IMXRT_I2S_RX=y
#
# Memory Configuration
#
+CONFIG_IMXRT_SEMC_SDRAM=y
+CONFIG_IMXRT_SDRAM_START=0x80000000
+CONFIG_IMXRT_SDRAM_SIZE=33554432
+# CONFIG_IMXRT_SEMC_SRAM is not set
+# CONFIG_IMXRT_SEMC_NOR is not set
CONFIG_IMXRT_BOOT_OCRAM=y
-CONFIG_IMXRT_OCRAM_PRIMARY=y
+# CONFIG_IMXRT_BOOT_SDRAM is not set
+# CONFIG_IMXRT_OCRAM_PRIMARY is not set
+CONFIG_IMXRT_SDRAM_PRIMARY=y
#
# i.MX RT Heap Configuration
#
+# CONFIG_IMXRT_OCRAM_HEAP is not set
#
# eDMA Configuration
@@ -262,8 +270,8 @@ CONFIG_BOOT_RUNFROMFLASH=y
#
# Boot Memory Configuration
#
-CONFIG_RAM_REGIONx_START="0x20200000"
-CONFIG_RAM_REGIONx_SIZE="524288"
+CONFIG_RAM_REGIONx_START="0x80000000"
+CONFIG_RAM_REGIONx_SIZE="33554432"
# CONFIG_DDR is not set
# CONFIG_ARCH_HAVE_SDRAM is not set
@@ -812,7 +820,7 @@ CONFIG_LIB_SENDFILE_BUFSIZE=512
#
# Basic CXX Support
#
-# CONFIG_C99_BOOL8 is not set
+CONFIG_C99_BOOL8=y
# CONFIG_HAVE_CXX is not set
#
