Skip to content

Commit 961bac7

Browse files
davids5dagar
authored andcommitted
mro pixracerpro:Add remaining SRAM4 & DTCM to heap
1 parent 2f9a57c commit 961bac7

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

boards/mro/pixracerpro/nuttx-config/nsh/defconfig

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,7 @@ CONFIG_MEMSET_OPTSPEED=y
9090
CONFIG_MMCSD=y
9191
CONFIG_MMCSD_SDIO=y
9292
CONFIG_MMCSD_SDIOWAIT_WRCOMPLETE=y
93+
CONFIG_MM_REGIONS=4
9394
CONFIG_MTD=y
9495
CONFIG_MTD_BYTE_WRITE=y
9596
CONFIG_MTD_PARTITION=y
@@ -164,8 +165,6 @@ CONFIG_STM32H7_BKPSRAM=y
164165
CONFIG_STM32H7_DMA1=y
165166
CONFIG_STM32H7_DMA2=y
166167
CONFIG_STM32H7_DMACAPABLE=y
167-
CONFIG_STM32H7_DTCMEXCLUDE=y
168-
CONFIG_STM32H7_DTCM_PROCFS=y
169168
CONFIG_STM32H7_FLOWCONTROL_BROKEN=y
170169
CONFIG_STM32H7_I2C1=y
171170
CONFIG_STM32H7_I2C_DYNTIMEO=y

boards/mro/pixracerpro/nuttx-config/scripts/bootloader_script.ld

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,8 +197,12 @@ SECTIONS
197197
} > AXI_SRAM
198198

199199
/* Emit the the D3 power domain section for locating BDMA data */
200-
.sram4 (NOLOAD) :
200+
201+
.sram4_reserve (NOLOAD) :
201202
{
203+
*(.sram4)
204+
. = ALIGN(4);
205+
_sram4_heap_start = ABSOLUTE(.);
202206
} > SRAM4
203207

204208
/* Stabs debugging sections. */

0 commit comments

Comments
 (0)