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 /*