diff --git a/boards/px4/fmu-v6u/nuttx-config/nsh/defconfig b/boards/px4/fmu-v6u/nuttx-config/nsh/defconfig index f558bf4384..0c5ec40f82 100644 --- a/boards/px4/fmu-v6u/nuttx-config/nsh/defconfig +++ b/boards/px4/fmu-v6u/nuttx-config/nsh/defconfig @@ -92,6 +92,7 @@ CONFIG_MMCSD=y CONFIG_MMCSD_SDIO=y CONFIG_MMCSD_SDIOWAIT_WRCOMPLETE=y CONFIG_MM_IOB=y +CONFIG_MM_REGIONS=4 CONFIG_MTD=y CONFIG_MTD_BYTE_WRITE=y CONFIG_MTD_PARTITION=y @@ -160,8 +161,6 @@ CONFIG_STM32H7_BKPSRAM=y CONFIG_STM32H7_DMA1=y CONFIG_STM32H7_DMA2=y CONFIG_STM32H7_DMACAPABLE=y -CONFIG_STM32H7_DTCMEXCLUDE=y -CONFIG_STM32H7_DTCM_PROCFS=y CONFIG_STM32H7_FLASH_OVERRIDE_I=y CONFIG_STM32H7_FLOWCONTROL_BROKEN=y CONFIG_STM32H7_I2C1=y diff --git a/boards/px4/fmu-v6u/nuttx-config/scripts/script.ld b/boards/px4/fmu-v6u/nuttx-config/scripts/script.ld index 225983ecd9..18b6c69cd8 100644 --- a/boards/px4/fmu-v6u/nuttx-config/scripts/script.ld +++ b/boards/px4/fmu-v6u/nuttx-config/scripts/script.ld @@ -200,10 +200,14 @@ SECTIONS /* Emit the the D3 power domain section for locating BDMA data */ - .sram4 (NOLOAD) : + .sram4_reserve (NOLOAD) : { + *(.sram4) + . = ALIGN(4); + _sram4_heap_start = ABSOLUTE(.); } > sram4 + /* Stabs debugging sections. */ .stab 0 : { *(.stab) } .stabstr 0 : { *(.stabstr) }