From 8cb1fe5a54c1ca72525c24603bceef13a833adbe Mon Sep 17 00:00:00 2001 From: David Sidrane Date: Wed, 17 Jun 2020 14:32:28 -0700 Subject: [PATCH] px4_io-v2 Updates for NuttX 9.1.0- --- boards/px4/io-v2/nuttx-config/nsh/defconfig | 2 +- boards/px4/io-v2/nuttx-config/scripts/script.ld | 5 ----- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/boards/px4/io-v2/nuttx-config/nsh/defconfig b/boards/px4/io-v2/nuttx-config/nsh/defconfig index f9f4b24e81..040106ac18 100644 --- a/boards/px4/io-v2/nuttx-config/nsh/defconfig +++ b/boards/px4/io-v2/nuttx-config/nsh/defconfig @@ -34,7 +34,7 @@ CONFIG_MM_FILL_ALLOCATIONS=y CONFIG_MM_SMALL=y CONFIG_NAME_MAX=12 CONFIG_NFILE_DESCRIPTORS=3 -CONFIG_NFILE_STREAMS=0 +CONFIG_NFILE_STREAMS=1 CONFIG_PREALLOC_TIMERS=0 CONFIG_PREALLOC_WDOGS=1 CONFIG_RAM_SIZE=8192 diff --git a/boards/px4/io-v2/nuttx-config/scripts/script.ld b/boards/px4/io-v2/nuttx-config/scripts/script.ld index 54e3fc73f9..c84215389d 100644 --- a/boards/px4/io-v2/nuttx-config/scripts/script.ld +++ b/boards/px4/io-v2/nuttx-config/scripts/script.ld @@ -72,11 +72,6 @@ SECTIONS *(.gcc_except_table) *(.gnu.linkonce.r.*) _etext = ABSOLUTE(.); - /* - * This is a hack to make the newlib libm __errno() call - * use the NuttX get_errno_ptr() function. - */ - __errno = get_errno_ptr; } > flash /*