File tree Expand file tree Collapse file tree 4 files changed +8
-8
lines changed
Expand file tree Collapse file tree 4 files changed +8
-8
lines changed Original file line number Diff line number Diff line change 1818#define L2_SRAM_SIZE (DT_REG_SIZE(DT_NODELABEL(sram0)))
1919
2020#ifdef CONFIG_BOOTLOADER_MCUBOOT
21- #define SRAM_BASE (L2_SRAM_BASE + CONFIG_BOOTLOADER_SRAM_SIZE * 1K )
22- #define SRAM_SIZE (L2_SRAM_SIZE - CONFIG_BOOTLOADER_SRAM_SIZE * 1K )
21+ #define SRAM_BASE (L2_SRAM_BASE + CONFIG_BOOTLOADER_SRAM_SIZE * 1024 )
22+ #define SRAM_SIZE (L2_SRAM_SIZE - CONFIG_BOOTLOADER_SRAM_SIZE * 1024 )
2323#else
2424#define SRAM_BASE (L2_SRAM_BASE)
2525#define SRAM_SIZE (L2_SRAM_SIZE)
Original file line number Diff line number Diff line change 1515#define L2_SRAM_SIZE (DT_REG_SIZE(DT_NODELABEL(sram0)))
1616
1717#ifdef CONFIG_BOOTLOADER_MCUBOOT
18- #define SRAM_BASE (L2_SRAM_BASE + CONFIG_BOOTLOADER_SRAM_SIZE * 1K )
19- #define SRAM_SIZE (L2_SRAM_SIZE - CONFIG_BOOTLOADER_SRAM_SIZE * 1K )
18+ #define SRAM_BASE (L2_SRAM_BASE + CONFIG_BOOTLOADER_SRAM_SIZE * 1024 )
19+ #define SRAM_SIZE (L2_SRAM_SIZE - CONFIG_BOOTLOADER_SRAM_SIZE * 1024 )
2020#else
2121#define SRAM_BASE (L2_SRAM_BASE)
2222#define SRAM_SIZE (L2_SRAM_SIZE)
Original file line number Diff line number Diff line change 1515#define L2_SRAM_SIZE (DT_REG_SIZE(DT_NODELABEL(sram0)))
1616
1717#ifdef CONFIG_BOOTLOADER_MCUBOOT
18- #define SRAM_BASE (L2_SRAM_BASE + CONFIG_BOOTLOADER_SRAM_SIZE * 1K )
19- #define SRAM_SIZE (L2_SRAM_SIZE - CONFIG_BOOTLOADER_SRAM_SIZE * 1K )
18+ #define SRAM_BASE (L2_SRAM_BASE + CONFIG_BOOTLOADER_SRAM_SIZE * 1024 )
19+ #define SRAM_SIZE (L2_SRAM_SIZE - CONFIG_BOOTLOADER_SRAM_SIZE * 1024 )
2020#else
2121#define SRAM_BASE (L2_SRAM_BASE)
2222#define SRAM_SIZE (L2_SRAM_SIZE)
Original file line number Diff line number Diff line change 1515#define L2_SRAM_SIZE (DT_REG_SIZE(DT_NODELABEL(sram0)))
1616
1717#ifdef CONFIG_BOOTLOADER_MCUBOOT
18- #define SRAM_BASE (L2_SRAM_BASE + CONFIG_BOOTLOADER_SRAM_SIZE * 1K )
19- #define SRAM_SIZE (L2_SRAM_SIZE - CONFIG_BOOTLOADER_SRAM_SIZE * 1K )
18+ #define SRAM_BASE (L2_SRAM_BASE + CONFIG_BOOTLOADER_SRAM_SIZE * 1024 )
19+ #define SRAM_SIZE (L2_SRAM_SIZE - CONFIG_BOOTLOADER_SRAM_SIZE * 1024 )
2020#else
2121#define SRAM_BASE (L2_SRAM_BASE)
2222#define SRAM_SIZE (L2_SRAM_SIZE)
You can’t perform that action at this time.
0 commit comments