Browse Source

cuav x7pro:Add remaining SRAM4 & DTCM to heap

release/1.12
David Sidrane 4 years ago committed by Daniel Agar
parent
commit
55ed76522e
  1. 3
      boards/cuav/x7pro/nuttx-config/nsh/defconfig
  2. 6
      boards/cuav/x7pro/nuttx-config/scripts/script.ld

3
boards/cuav/x7pro/nuttx-config/nsh/defconfig

@ -88,6 +88,7 @@ CONFIG_MEMSET_OPTSPEED=y @@ -88,6 +88,7 @@ CONFIG_MEMSET_OPTSPEED=y
CONFIG_MMCSD=y
CONFIG_MMCSD_SDIO=y
CONFIG_MMCSD_SDIOWAIT_WRCOMPLETE=y
CONFIG_MM_REGIONS=4
CONFIG_MTD=y
CONFIG_MTD_BYTE_WRITE=y
CONFIG_MTD_PARTITION=y
@ -162,8 +163,6 @@ CONFIG_STM32H7_BKPSRAM=y @@ -162,8 +163,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_FLOWCONTROL_BROKEN=y
CONFIG_STM32H7_I2C1=y
CONFIG_STM32H7_I2C2=y

6
boards/cuav/x7pro/nuttx-config/scripts/script.ld

@ -199,11 +199,13 @@ SECTIONS @@ -199,11 +199,13 @@ 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) }

Loading…
Cancel
Save