From 1dd22acd128622550bc6c074c3704d7da254bbac Mon Sep 17 00:00:00 2001 From: David Sidrane Date: Wed, 25 Nov 2020 03:24:46 -0800 Subject: [PATCH] nxp_fmurt1062-v1:Fix memory overflow --- boards/nxp/fmurt1062-v1/default.cmake | 1 - boards/nxp/fmurt1062-v1/nuttx-config/scripts/ocram-script.ld | 3 +++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/boards/nxp/fmurt1062-v1/default.cmake b/boards/nxp/fmurt1062-v1/default.cmake index 7cff5629c6..7e8ec61258 100644 --- a/boards/nxp/fmurt1062-v1/default.cmake +++ b/boards/nxp/fmurt1062-v1/default.cmake @@ -9,7 +9,6 @@ px4_add_board( ROMFSROOT px4fmu_common LINKER_PREFIX ocram # UAVCAN_INTERFACES 2 - CONSTRAINED_FLASH SERIAL_PORTS GPS1:/dev/ttyS1 TEL1:/dev/ttyS3 diff --git a/boards/nxp/fmurt1062-v1/nuttx-config/scripts/ocram-script.ld b/boards/nxp/fmurt1062-v1/nuttx-config/scripts/ocram-script.ld index c464edf34e..92bb59da9d 100644 --- a/boards/nxp/fmurt1062-v1/nuttx-config/scripts/ocram-script.ld +++ b/boards/nxp/fmurt1062-v1/nuttx-config/scripts/ocram-script.ld @@ -120,10 +120,13 @@ SECTIONS *(.text.*probe*) *(.text.*thread_main*); *(.text.*listener*) + *(.text.*BlockLocalPositionEstimator*) *(.text.nsh_*) *(.text.lib_vscanf) + *(.text.lib_vsprintf) *(.text.*configure_streams_to_default*) *(.text.*_main) + *(.text.*GPSDriverAshtech*) *(.rodata .rodata.*) KEEP(*(__param*)) *(.fixup)