Skip to content

Commit bbf27d6

Browse files
committed
boards: mro pixracerpro Add remaining SRAM4 & DTCM to heap
1 parent 43da43d commit bbf27d6

File tree

3 files changed

+7
-30
lines changed

3 files changed

+7
-30
lines changed

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,13 +53,11 @@ CONFIG_CDCACM_VENDORSTR="mRo"
5353
CONFIG_CLOCK_MONOTONIC=y
5454
CONFIG_DEBUG_FULLOPT=y
5555
CONFIG_DEBUG_HARDFAULT_ALERT=y
56-
CONFIG_DEBUG_MEMFAULT=y
5756
CONFIG_DEBUG_SYMBOLS=y
5857
CONFIG_DEFAULT_SMALL=y
5958
CONFIG_DEV_FIFO_SIZE=0
6059
CONFIG_DEV_PIPE_MAXSIZE=1024
6160
CONFIG_DEV_PIPE_SIZE=70
62-
CONFIG_DISABLE_MQUEUE=y
6361
CONFIG_EXPERIMENTAL=y
6462
CONFIG_FAT_DMAMEMORY=y
6563
CONFIG_FAT_LCNAMES=y
@@ -237,3 +235,4 @@ CONFIG_USBDEV_MAXPOWER=500
237235
CONFIG_USEC_PER_TICK=1000
238236
CONFIG_USERMAIN_STACKSIZE=2944
239237
CONFIG_USER_ENTRYPOINT="nsh_main"
238+
CONFIG_WATCHDOG=y

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

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -196,15 +196,6 @@ SECTIONS
196196
_ebss = ABSOLUTE(.);
197197
} > AXI_SRAM
198198

199-
/* Emit the the D3 power domain section for locating BDMA data */
200-
201-
.sram4_reserve (NOLOAD) :
202-
{
203-
*(.sram4)
204-
. = ALIGN(4);
205-
_sram4_heap_start = ABSOLUTE(.);
206-
} > SRAM4
207-
208199
/* Stabs debugging sections. */
209200
.stab 0 : { *(.stab) }
210201
.stabstr 0 : { *(.stabstr) }
@@ -218,13 +209,4 @@ SECTIONS
218209
.debug_line 0 : { *(.debug_line) }
219210
.debug_pubnames 0 : { *(.debug_pubnames) }
220211
.debug_aranges 0 : { *(.debug_aranges) }
221-
222-
.ramfunc : {
223-
_sramfuncs = .;
224-
*(.ramfunc .ramfunc.*)
225-
. = ALIGN(4);
226-
_eramfuncs = .;
227-
} > ITCM_RAM AT > FLASH
228-
229-
_framfuncs = LOADADDR(.ramfunc);
230212
}

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

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -167,6 +167,7 @@ SECTIONS
167167
_einit = ABSOLUTE(.);
168168
} > FLASH
169169

170+
170171
.ARM.extab : {
171172
*(.ARM.extab*)
172173
} > FLASH
@@ -197,8 +198,12 @@ SECTIONS
197198
} > AXI_SRAM
198199

199200
/* Emit the the D3 power domain section for locating BDMA data */
200-
.sram4 (NOLOAD) :
201+
202+
.sram4_reserve (NOLOAD) :
201203
{
204+
*(.sram4)
205+
. = ALIGN(4);
206+
_sram4_heap_start = ABSOLUTE(.);
202207
} > SRAM4
203208

204209
/* Stabs debugging sections. */
@@ -214,13 +219,4 @@ SECTIONS
214219
.debug_line 0 : { *(.debug_line) }
215220
.debug_pubnames 0 : { *(.debug_pubnames) }
216221
.debug_aranges 0 : { *(.debug_aranges) }
217-
218-
.ramfunc : {
219-
_sramfuncs = .;
220-
*(.ramfunc .ramfunc.*)
221-
. = ALIGN(4);
222-
_eramfuncs = .;
223-
} > ITCM_RAM AT > FLASH
224-
225-
_framfuncs = LOADADDR(.ramfunc);
226222
}

0 commit comments

Comments
 (0)