diff --git a/boards/mro/pixracerpro/nuttx-config/nsh/defconfig b/boards/mro/pixracerpro/nuttx-config/nsh/defconfig index 98643df140..5ecc9462bc 100644 --- a/boards/mro/pixracerpro/nuttx-config/nsh/defconfig +++ b/boards/mro/pixracerpro/nuttx-config/nsh/defconfig @@ -53,13 +53,11 @@ CONFIG_CDCACM_VENDORSTR="mRo" CONFIG_CLOCK_MONOTONIC=y CONFIG_DEBUG_FULLOPT=y CONFIG_DEBUG_HARDFAULT_ALERT=y -CONFIG_DEBUG_MEMFAULT=y CONFIG_DEBUG_SYMBOLS=y CONFIG_DEFAULT_SMALL=y CONFIG_DEV_FIFO_SIZE=0 CONFIG_DEV_PIPE_MAXSIZE=1024 CONFIG_DEV_PIPE_SIZE=70 -CONFIG_DISABLE_MQUEUE=y CONFIG_EXPERIMENTAL=y CONFIG_FAT_DMAMEMORY=y CONFIG_FAT_LCNAMES=y @@ -237,3 +235,4 @@ CONFIG_USBDEV_MAXPOWER=500 CONFIG_USEC_PER_TICK=1000 CONFIG_USERMAIN_STACKSIZE=2944 CONFIG_USER_ENTRYPOINT="nsh_main" +CONFIG_WATCHDOG=y diff --git a/boards/mro/pixracerpro/nuttx-config/scripts/bootloader_script.ld b/boards/mro/pixracerpro/nuttx-config/scripts/bootloader_script.ld index f5a14e147d..0b9772c878 100644 --- a/boards/mro/pixracerpro/nuttx-config/scripts/bootloader_script.ld +++ b/boards/mro/pixracerpro/nuttx-config/scripts/bootloader_script.ld @@ -196,15 +196,6 @@ SECTIONS _ebss = ABSOLUTE(.); } > AXI_SRAM - /* Emit the the D3 power domain section for locating BDMA data */ - - .sram4_reserve (NOLOAD) : - { - *(.sram4) - . = ALIGN(4); - _sram4_heap_start = ABSOLUTE(.); - } > SRAM4 - /* Stabs debugging sections. */ .stab 0 : { *(.stab) } .stabstr 0 : { *(.stabstr) } @@ -218,13 +209,4 @@ SECTIONS .debug_line 0 : { *(.debug_line) } .debug_pubnames 0 : { *(.debug_pubnames) } .debug_aranges 0 : { *(.debug_aranges) } - - .ramfunc : { - _sramfuncs = .; - *(.ramfunc .ramfunc.*) - . = ALIGN(4); - _eramfuncs = .; - } > ITCM_RAM AT > FLASH - - _framfuncs = LOADADDR(.ramfunc); } diff --git a/boards/mro/pixracerpro/nuttx-config/scripts/script.ld b/boards/mro/pixracerpro/nuttx-config/scripts/script.ld index bdb091a0ca..68343681c0 100644 --- a/boards/mro/pixracerpro/nuttx-config/scripts/script.ld +++ b/boards/mro/pixracerpro/nuttx-config/scripts/script.ld @@ -167,6 +167,7 @@ SECTIONS _einit = ABSOLUTE(.); } > FLASH + .ARM.extab : { *(.ARM.extab*) } > FLASH @@ -197,8 +198,12 @@ SECTIONS } > AXI_SRAM /* 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. */ @@ -214,13 +219,4 @@ SECTIONS .debug_line 0 : { *(.debug_line) } .debug_pubnames 0 : { *(.debug_pubnames) } .debug_aranges 0 : { *(.debug_aranges) } - - .ramfunc : { - _sramfuncs = .; - *(.ramfunc .ramfunc.*) - . = ALIGN(4); - _eramfuncs = .; - } > ITCM_RAM AT > FLASH - - _framfuncs = LOADADDR(.ramfunc); }