diff --git a/boards/bitcraze/crazyflie/nuttx-config/nsh/defconfig b/boards/bitcraze/crazyflie/nuttx-config/nsh/defconfig index ec929d0ae4..86a03b52ef 100644 --- a/boards/bitcraze/crazyflie/nuttx-config/nsh/defconfig +++ b/boards/bitcraze/crazyflie/nuttx-config/nsh/defconfig @@ -76,11 +76,9 @@ CONFIG_IDLETHREAD_STACKSIZE=750 CONFIG_LIBC_FLOATINGPOINT=y CONFIG_LIBC_LONG_LONG=y CONFIG_LIBC_STRERROR=y -CONFIG_MAX_WDOGPARMS=2 CONFIG_MEMSET_64BIT=y CONFIG_MEMSET_OPTSPEED=y CONFIG_MMCSD=y -CONFIG_MMCSD_MULTIBLOCK_DISABLE=y CONFIG_MM_REGIONS=2 CONFIG_MTD=y CONFIG_MTD_AT24XX=y @@ -112,7 +110,6 @@ CONFIG_NSH_STRERROR=y CONFIG_NSH_VARS=y CONFIG_PIPES=y CONFIG_PREALLOC_TIMERS=50 -CONFIG_PREALLOC_WDOGS=50 CONFIG_PRIORITY_INHERITANCE=y CONFIG_PTHREAD_MUTEX_ROBUST=y CONFIG_PTHREAD_STACK_MIN=512 @@ -175,7 +172,6 @@ CONFIG_STM32_WWDG=y CONFIG_SYSTEM_CDCACM=y CONFIG_SYSTEM_NSH=y CONFIG_TASK_NAME_SIZE=24 -CONFIG_TIME_EXTENDED=y CONFIG_USART2_BAUD=57600 CONFIG_USART2_RXBUFSIZE=300 CONFIG_USART2_RXDMA=y diff --git a/boards/bitcraze/crazyflie/nuttx-config/scripts/script.ld b/boards/bitcraze/crazyflie/nuttx-config/scripts/script.ld index 0e83e42853..83d5c12a93 100644 --- a/boards/bitcraze/crazyflie/nuttx-config/scripts/script.ld +++ b/boards/bitcraze/crazyflie/nuttx-config/scripts/script.ld @@ -87,11 +87,6 @@ SECTIONS *(.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 /* diff --git a/boards/bitcraze/crazyflie/src/init.c b/boards/bitcraze/crazyflie/src/init.c index 8c037b9ce2..97e05c090e 100644 --- a/boards/bitcraze/crazyflie/src/init.c +++ b/boards/bitcraze/crazyflie/src/init.c @@ -74,7 +74,7 @@ ****************************************************************************/ /* - * Ideally we'd be able to get these from up_internal.h, + * Ideally we'd be able to get these from arm_internal.h, * but since we want to be able to disable the NuttX use * of leds for system indication at will and there is no * separate switch, we need to build independent of the diff --git a/boards/bitcraze/crazyflie/src/led.c b/boards/bitcraze/crazyflie/src/led.c index 58a4f6b05e..b2ea621131 100644 --- a/boards/bitcraze/crazyflie/src/led.c +++ b/boards/bitcraze/crazyflie/src/led.c @@ -47,7 +47,7 @@ #include /* - * Ideally we'd be able to get these from up_internal.h, + * Ideally we'd be able to get these from arm_internal.h, * but since we want to be able to disable the NuttX use * of leds for system indication at will and there is no * separate switch, we need to build independent of the diff --git a/boards/bitcraze/crazyflie/src/spi.cpp b/boards/bitcraze/crazyflie/src/spi.cpp index 90ad19f19d..e9beabbdb3 100644 --- a/boards/bitcraze/crazyflie/src/spi.cpp +++ b/boards/bitcraze/crazyflie/src/spi.cpp @@ -44,7 +44,7 @@ #include #include -#include +#include #include #include #include "board_config.h" diff --git a/boards/bitcraze/crazyflie/src/usb.c b/boards/bitcraze/crazyflie/src/usb.c index 7be63567cb..af187d8df6 100644 --- a/boards/bitcraze/crazyflie/src/usb.c +++ b/boards/bitcraze/crazyflie/src/usb.c @@ -51,7 +51,7 @@ #include #include -#include +#include #include #include "board_config.h"