mimxrt1024_evk.conf:
CONFIG_DCACHE=n
# Use the ROM bootloader to load the image to RAM
CONFIG_XIP=n
CONFIG_NXP_FLEXSPI_ROM_RAMLOADER=y
mimxrt1024_evk.overlay:
/delete-node/ &sdram0;
/ {
chosen {
zephyr,flash = &sdram_code;
zephyr,sram = &sdram_data;
};
/* Divide SDRAM into two partitions for Code and Data */
/* ISSI IS42S16160J-6TLI */
sdram_code: memory@80000000 {
device_type = "memory";
reg = <0x80000000 DT_SIZE_M(16)>;
};
sdram_data: memory@81000000 {
device_type = "memory";
reg = <0x81000000 DT_SIZE_M(16)>;
};
};
build:
[805/805] Linking C executable zephyr/zephyr.elf
Memory region Used Size Region Size %age Used
FLASH: 0 GB 16 MB 0.00%
RAM: 2413964 B 16 MB 14.39%
ITCM: 0 GB 64 KB 0.00%
DTCM: 106624 B 128 KB 81.35%
OCRAM: 0 GB 64 KB 0.00%
IDT_LIST: 0 GB 32 KB 0.00%