From 34aabed5e5eadac8440ec7d5abf43273ca562f45 Mon Sep 17 00:00:00 2001
From: David Sidrane <david_s5@nscdg.com>
Date: Mon, 17 Dec 2018 09:19:04 -0800
Subject: [PATCH] auav_esc35-v1: Inital commit NuttX 7.27+

---
 .../auav/esc35-v1/nuttx-config/nsh/defconfig  | 329 +++++++++++++-----
 boards/auav/esc35-v1/src/init.c               |   5 +
 2 files changed, 252 insertions(+), 82 deletions(-)

diff --git a/boards/auav/esc35-v1/nuttx-config/nsh/defconfig b/boards/auav/esc35-v1/nuttx-config/nsh/defconfig
index 1c4a0a4373..fcedf2ec10 100644
--- a/boards/auav/esc35-v1/nuttx-config/nsh/defconfig
+++ b/boards/auav/esc35-v1/nuttx-config/nsh/defconfig
@@ -9,7 +9,7 @@
 # CONFIG_EXPERIMENTAL is not set
 # CONFIG_DEFAULT_SMALL is not set
 CONFIG_HOST_LINUX=y
-# CONFIG_HOST_OSX is not set
+# CONFIG_HOST_MACOS is not set
 # CONFIG_HOST_WINDOWS is not set
 # CONFIG_HOST_OTHER is not set
 
@@ -17,6 +17,7 @@ CONFIG_HOST_LINUX=y
 # Build Configuration
 #
 CONFIG_APPS_DIR="../apps"
+# CONFIG_BUILD_LOADABLE is not set
 CONFIG_BUILD_FLAT=y
 # CONFIG_BUILD_2PASS is not set
 
@@ -71,45 +72,58 @@ CONFIG_ARCH_ARM=y
 # CONFIG_ARCH_XTENSA is not set
 # CONFIG_ARCH_Z16 is not set
 # CONFIG_ARCH_Z80 is not set
+# CONFIG_ARCH_OR1K is not set
 CONFIG_ARCH="arm"
 
 #
 # ARM Options
 #
 # CONFIG_ARCH_CHIP_A1X is not set
+# CONFIG_ARCH_CHIP_BCM2708 is not set
 # CONFIG_ARCH_CHIP_C5471 is not set
 # CONFIG_ARCH_CHIP_DM320 is not set
 # CONFIG_ARCH_CHIP_EFM32 is not set
 # CONFIG_ARCH_CHIP_IMX1 is not set
 # CONFIG_ARCH_CHIP_IMX6 is not set
+# CONFIG_ARCH_CHIP_IMXRT is not set
 # CONFIG_ARCH_CHIP_KINETIS is not set
 # CONFIG_ARCH_CHIP_KL is not set
 # CONFIG_ARCH_CHIP_LC823450 is not set
 # CONFIG_ARCH_CHIP_LM is not set
-# CONFIG_ARCH_CHIP_TIVA is not set
 # CONFIG_ARCH_CHIP_LPC11XX is not set
 # CONFIG_ARCH_CHIP_LPC17XX is not set
 # CONFIG_ARCH_CHIP_LPC214X is not set
 # CONFIG_ARCH_CHIP_LPC2378 is not set
 # CONFIG_ARCH_CHIP_LPC31XX is not set
 # CONFIG_ARCH_CHIP_LPC43XX is not set
+# CONFIG_ARCH_CHIP_LPC54XX is not set
+# CONFIG_ARCH_CHIP_MAX326XX is not set
 # CONFIG_ARCH_CHIP_MOXART is not set
+# CONFIG_ARCH_CHIP_NRF52 is not set
 # CONFIG_ARCH_CHIP_NUC1XX is not set
 # CONFIG_ARCH_CHIP_SAMA5 is not set
-# CONFIG_ARCH_CHIP_SAMD is not set
-# CONFIG_ARCH_CHIP_SAML is not set
+# CONFIG_ARCH_CHIP_SAMD2X is not set
+# CONFIG_ARCH_CHIP_SAML2X is not set
+# CONFIG_ARCH_CHIP_SAMD5X is not set
+# CONFIG_ARCH_CHIP_SAME5X is not set
 # CONFIG_ARCH_CHIP_SAM34 is not set
 # CONFIG_ARCH_CHIP_SAMV7 is not set
 CONFIG_ARCH_CHIP_STM32=y
 # CONFIG_ARCH_CHIP_STM32F0 is not set
+# CONFIG_ARCH_CHIP_STM32L0 is not set
 # CONFIG_ARCH_CHIP_STM32F7 is not set
+# CONFIG_ARCH_CHIP_STM32H7 is not set
 # CONFIG_ARCH_CHIP_STM32L4 is not set
 # CONFIG_ARCH_CHIP_STR71X is not set
 # CONFIG_ARCH_CHIP_TMS570 is not set
+# CONFIG_ARCH_CHIP_TIVA is not set
 # CONFIG_ARCH_CHIP_XMC4 is not set
 # CONFIG_ARCH_ARM7TDMI is not set
-# CONFIG_ARCH_ARM926EJS is not set
 # CONFIG_ARCH_ARM920T is not set
+# CONFIG_ARCH_ARM926EJS is not set
+# CONFIG_ARCH_ARM1136J is not set
+# CONFIG_ARCH_ARM1156T2 is not set
+# CONFIG_ARCH_ARM1176JZ is not set
 # CONFIG_ARCH_CORTEXM0 is not set
 # CONFIG_ARCH_CORTEXM23 is not set
 # CONFIG_ARCH_CORTEXM3 is not set
@@ -127,22 +141,25 @@ CONFIG_ARCH_CORTEXM4=y
 # CONFIG_ARCH_CORTEXR7F is not set
 CONFIG_ARCH_FAMILY="armv7-m"
 CONFIG_ARCH_CHIP="stm32"
-CONFIG_ARMV7M_USEBASEPRI=y
-CONFIG_ARCH_HAVE_CMNVECTOR=y
-CONFIG_ARMV7M_CMNVECTOR=y
-# CONFIG_ARMV7M_LAZYFPU is not set
 CONFIG_ARCH_HAVE_FPU=y
 # CONFIG_ARCH_HAVE_DPFPU is not set
+CONFIG_ARCH_HAVE_LAZYFPU=y
 CONFIG_ARCH_FPU=y
 # CONFIG_ARCH_HAVE_TRUSTZONE is not set
 CONFIG_ARM_HAVE_MPU_UNIFIED=y
 # CONFIG_ARM_MPU is not set
+CONFIG_ARCH_HAVE_HARDFAULT_DEBUG=y
+CONFIG_DEBUG_HARDFAULT_ALERT=y
+CONFIG_ARCH_HAVE_MEMFAULT_DEBUG=y
+# CONFIG_ARM_SEMIHOSTING_SYSLOG is not set
 
 #
 # ARMV7M Configuration Options
 #
 # CONFIG_ARMV7M_HAVE_ICACHE is not set
 # CONFIG_ARMV7M_HAVE_DCACHE is not set
+# CONFIG_ARMV7M_LAZYFPU is not set
+CONFIG_ARMV7M_USEBASEPRI=y
 # CONFIG_ARMV7M_HAVE_ITCM is not set
 # CONFIG_ARMV7M_HAVE_DTCM is not set
 # CONFIG_ARMV7M_TOOLCHAIN_IARL is not set
@@ -179,6 +196,14 @@ CONFIG_ARMV7M_HAVE_STACKCHECK=y
 # CONFIG_ARCH_CHIP_STM32L152CC is not set
 # CONFIG_ARCH_CHIP_STM32L152RC is not set
 # CONFIG_ARCH_CHIP_STM32L152VC is not set
+# CONFIG_ARCH_CHIP_STM32L151RE is not set
+# CONFIG_ARCH_CHIP_STM32L152RE is not set
+# CONFIG_ARCH_CHIP_STM32L151VE is not set
+# CONFIG_ARCH_CHIP_STM32L152VE is not set
+# CONFIG_ARCH_CHIP_STM32L151QE is not set
+# CONFIG_ARCH_CHIP_STM32L152QE is not set
+# CONFIG_ARCH_CHIP_STM32L151ZE is not set
+# CONFIG_ARCH_CHIP_STM32L152ZE is not set
 # CONFIG_ARCH_CHIP_STM32L162ZD is not set
 # CONFIG_ARCH_CHIP_STM32L162VE is not set
 # CONFIG_ARCH_CHIP_STM32F100C8 is not set
@@ -214,10 +239,24 @@ CONFIG_ARMV7M_HAVE_STACKCHECK=y
 # CONFIG_ARCH_CHIP_STM32F105RB is not set
 # CONFIG_ARCH_CHIP_STM32F107VC is not set
 # CONFIG_ARCH_CHIP_STM32F205RG is not set
+# CONFIG_ARCH_CHIP_STM32F207VC is not set
+# CONFIG_ARCH_CHIP_STM32F207VE is not set
+# CONFIG_ARCH_CHIP_STM32F207VF is not set
+# CONFIG_ARCH_CHIP_STM32F207VG is not set
+# CONFIG_ARCH_CHIP_STM32F207IC is not set
+# CONFIG_ARCH_CHIP_STM32F207IE is not set
+# CONFIG_ARCH_CHIP_STM32F207IF is not set
 # CONFIG_ARCH_CHIP_STM32F207IG is not set
+# CONFIG_ARCH_CHIP_STM32F207ZC is not set
 # CONFIG_ARCH_CHIP_STM32F207ZE is not set
+# CONFIG_ARCH_CHIP_STM32F207ZF is not set
+# CONFIG_ARCH_CHIP_STM32F207ZG is not set
 # CONFIG_ARCH_CHIP_STM32F302K6 is not set
 # CONFIG_ARCH_CHIP_STM32F302K8 is not set
+# CONFIG_ARCH_CHIP_STM32F302C6 is not set
+# CONFIG_ARCH_CHIP_STM32F302C8 is not set
+# CONFIG_ARCH_CHIP_STM32F302R6 is not set
+# CONFIG_ARCH_CHIP_STM32F302R8 is not set
 # CONFIG_ARCH_CHIP_STM32F302CB is not set
 # CONFIG_ARCH_CHIP_STM32F302CC is not set
 # CONFIG_ARCH_CHIP_STM32F302RB is not set
@@ -236,6 +275,10 @@ CONFIG_ARCH_CHIP_STM32F303CC=y
 # CONFIG_ARCH_CHIP_STM32F303RE is not set
 # CONFIG_ARCH_CHIP_STM32F303VB is not set
 # CONFIG_ARCH_CHIP_STM32F303VC is not set
+# CONFIG_ARCH_CHIP_STM32F303VD is not set
+# CONFIG_ARCH_CHIP_STM32F303VE is not set
+# CONFIG_ARCH_CHIP_STM32F303ZD is not set
+# CONFIG_ARCH_CHIP_STM32F303ZE is not set
 # CONFIG_ARCH_CHIP_STM32F334K4 is not set
 # CONFIG_ARCH_CHIP_STM32F334K6 is not set
 # CONFIG_ARCH_CHIP_STM32F334K8 is not set
@@ -263,7 +306,18 @@ CONFIG_ARCH_CHIP_STM32F303CC=y
 # CONFIG_ARCH_CHIP_STM32F373CC is not set
 # CONFIG_ARCH_CHIP_STM32F373RC is not set
 # CONFIG_ARCH_CHIP_STM32F373VC is not set
+# CONFIG_ARCH_CHIP_STM32F401CB is not set
+# CONFIG_ARCH_CHIP_STM32F401RB is not set
+# CONFIG_ARCH_CHIP_STM32F401VB is not set
+# CONFIG_ARCH_CHIP_STM32F401CC is not set
+# CONFIG_ARCH_CHIP_STM32F401RC is not set
+# CONFIG_ARCH_CHIP_STM32F401VC is not set
+# CONFIG_ARCH_CHIP_STM32F401CD is not set
+# CONFIG_ARCH_CHIP_STM32F401RD is not set
+# CONFIG_ARCH_CHIP_STM32F401VD is not set
+# CONFIG_ARCH_CHIP_STM32F401CE is not set
 # CONFIG_ARCH_CHIP_STM32F401RE is not set
+# CONFIG_ARCH_CHIP_STM32F401VE is not set
 # CONFIG_ARCH_CHIP_STM32F410RB is not set
 # CONFIG_ARCH_CHIP_STM32F411RE is not set
 # CONFIG_ARCH_CHIP_STM32F411VE is not set
@@ -297,6 +351,7 @@ CONFIG_STM32_FLASH_CONFIG_DEFAULT=y
 # CONFIG_STM32_FLASH_CONFIG_6 is not set
 # CONFIG_STM32_FLASH_CONFIG_8 is not set
 # CONFIG_STM32_FLASH_CONFIG_B is not set
+# CONFIG_STM32_FLASH_CONFIG_Z is not set
 # CONFIG_STM32_FLASH_CONFIG_C is not set
 # CONFIG_STM32_FLASH_CONFIG_D is not set
 # CONFIG_STM32_FLASH_CONFIG_E is not set
@@ -322,6 +377,8 @@ CONFIG_STM32_STM32F303=y
 # CONFIG_STM32_STM32F33XX is not set
 # CONFIG_STM32_STM32F37XX is not set
 # CONFIG_STM32_STM32F4XXX is not set
+# CONFIG_STM32_STM32F401xBC is not set
+# CONFIG_STM32_STM32F401xDE is not set
 # CONFIG_STM32_STM32F401 is not set
 # CONFIG_STM32_STM32F410 is not set
 # CONFIG_STM32_STM32F411 is not set
@@ -340,6 +397,7 @@ CONFIG_STM32_HAVE_CCM=y
 CONFIG_STM32_HAVE_USBDEV=y
 # CONFIG_STM32_HAVE_OTGFS is not set
 # CONFIG_STM32_HAVE_FSMC is not set
+# CONFIG_STM32_HAVE_IOCOMPENSATION is not set
 # CONFIG_STM32_HAVE_HRTIM1 is not set
 # CONFIG_STM32_HAVE_LTDC is not set
 CONFIG_STM32_HAVE_USART3=y
@@ -368,8 +426,8 @@ CONFIG_STM32_HAVE_TIM17=y
 CONFIG_STM32_HAVE_ADC2=y
 CONFIG_STM32_HAVE_ADC3=y
 CONFIG_STM32_HAVE_ADC4=y
-# CONFIG_STM32_HAVE_ADC1_DMA is not set
-# CONFIG_STM32_HAVE_ADC2_DMA is not set
+CONFIG_STM32_HAVE_ADC1_DMA=y
+CONFIG_STM32_HAVE_ADC2_DMA=y
 # CONFIG_STM32_HAVE_ADC3_DMA is not set
 # CONFIG_STM32_HAVE_ADC4_DMA is not set
 # CONFIG_STM32_HAVE_SDADC1 is not set
@@ -405,6 +463,14 @@ CONFIG_STM32_HAVE_SPI3=y
 # CONFIG_STM32_HAVE_OPAMP2 is not set
 # CONFIG_STM32_HAVE_OPAMP3 is not set
 # CONFIG_STM32_HAVE_OPAMP4 is not set
+CONFIG_STM32_HAVE_IP_DMA_V1=y
+# CONFIG_STM32_HAVE_IP_DMA_V2 is not set
+# CONFIG_STM32_HAVE_IP_TIMERS_V1 is not set
+CONFIG_STM32_HAVE_IP_TIMERS_V2=y
+# CONFIG_STM32_HAVE_IP_ADC_V1 is not set
+# CONFIG_STM32_HAVE_IP_ADC_V1_BASIC is not set
+CONFIG_STM32_HAVE_IP_ADC_V2=y
+# CONFIG_STM32_HAVE_IP_ADC_V2_BASIC is not set
 # CONFIG_STM32_ADC1 is not set
 # CONFIG_STM32_ADC2 is not set
 # CONFIG_STM32_ADC3 is not set
@@ -415,9 +481,10 @@ CONFIG_STM32_DMA1=y
 CONFIG_STM32_DMA2=y
 # CONFIG_STM32_DAC1 is not set
 # CONFIG_STM32_DAC2 is not set
+# CONFIG_STM32_HRTIM is not set
 # CONFIG_STM32_I2C1 is not set
 # CONFIG_STM32_I2C2 is not set
-# CONFIG_STM32_OPAMP is not set
+# CONFIG_STM32_RTC is not set
 CONFIG_STM32_PWR=y
 # CONFIG_STM32_SDIO is not set
 # CONFIG_STM32_SPI1 is not set
@@ -441,12 +508,14 @@ CONFIG_STM32_TIM2=y
 CONFIG_STM32_USB=y
 # CONFIG_STM32_IWDG is not set
 # CONFIG_STM32_WWDG is not set
+CONFIG_STM32_TIM=y
+# CONFIG_STM32_PWM is not set
+# CONFIG_STM32_OPAMP is not set
 # CONFIG_STM32_NOEXT_VECTORS is not set
 
 #
 # Alternate Pin Mapping
 #
-# CONFIG_STM32_FLASH_WORKAROUND_DATA_CACHE_CORRUPTION_ON_RWW is not set
 # CONFIG_STM32_JTAG_DISABLE is not set
 # CONFIG_STM32_JTAG_FULL_ENABLE is not set
 # CONFIG_STM32_JTAG_NOJNTRST_ENABLE is not set
@@ -462,32 +531,24 @@ CONFIG_STM32_CCMEXCLUDE=y
 #
 # CONFIG_STM32_ONESHOT is not set
 # CONFIG_STM32_FREERUN is not set
+# CONFIG_STM32_PWM_LL_OPS is not set
 # CONFIG_STM32_TIM1_PWM is not set
 # CONFIG_STM32_TIM2_PWM is not set
+# CONFIG_STM32_TIM_PWM_TRGO is not set
 # CONFIG_STM32_TIM1_CAP is not set
-# CONFIG_STM32_TIM3_CAP is not set
-# CONFIG_STM32_TIM4_CAP is not set
-# CONFIG_STM32_TIM8_CAP is not set
-# CONFIG_STM32_HAVE_RTC_COUNTER is not set
-# CONFIG_STM32_HAVE_RTC_SUBSECONDS is not set
-CONFIG_RTC_MAGIC_REG=1
-CONFIG_RTC_MAGIC=0xfacefeee
-CONFIG_RTC_MAGIC_TIME_SET=0xfacefeef
-# CONFIG_RTC_LSECLOCK is not set
-# CONFIG_RTC_LSICLOCK is not set
-CONFIG_RTC_HSECLOCK=y
+# CONFIG_STM32_TIM2_CAP is not set
 
 #
-# USB FS Host Configuration
-#
-
-#
-# USB HS Host Configuration
-#
-
-#
-# USB Host Debug Configuration
+# STM32 TIMx Outputs Configuration
 #
+# CONFIG_STM32_USART is not set
+# CONFIG_STM32_USART_RXDMA is not set
+# CONFIG_STM32_SERIALDRIVER is not set
+# CONFIG_STM32_1WIREDRIVER is not set
+# CONFIG_STM32_HCIUART is not set
+# CONFIG_STM32_HCIUART_RXDMA is not set
+# CONFIG_STM32_HAVE_RTC_COUNTER is not set
+# CONFIG_STM32_HAVE_RTC_SUBSECONDS is not set
 
 #
 # USB Device Configuration
@@ -495,12 +556,14 @@ CONFIG_RTC_HSECLOCK=y
 # CONFIG_STM32_USB_ITRMP is not set
 # CONFIG_ARCH_TOOLCHAIN_IAR is not set
 CONFIG_ARCH_TOOLCHAIN_GNU=y
+# CONFIG_ARCH_GNU_NO_WEAKFUNCTIONS is not set
 
 #
 # Architecture Options
 #
 # CONFIG_ARCH_NOINTC is not set
 # CONFIG_ARCH_VECNOTIRQ is not set
+CONFIG_ARCH_HAVE_IRQTRIGGER=y
 CONFIG_ARCH_DMA=y
 CONFIG_ARCH_HAVE_IRQPRIO=y
 # CONFIG_ARCH_L2CACHE is not set
@@ -514,8 +577,12 @@ CONFIG_ARCH_HAVE_MPU=y
 # CONFIG_ARCH_NAND_HWECC is not set
 # CONFIG_ARCH_HAVE_EXTCLK is not set
 # CONFIG_ARCH_HAVE_POWEROFF is not set
+CONFIG_ARCH_HAVE_PROGMEM=y
 CONFIG_ARCH_HAVE_RESET=y
+CONFIG_ARCH_HAVE_FETCHADD=y
 # CONFIG_ARCH_HAVE_RTC_SUBSECONDS is not set
+# CONFIG_ARCH_HAVE_GARBAGE is not set
+# CONFIG_ARCH_GLOBAL_IRQDISABLE is not set
 # CONFIG_ARCH_USE_MPU is not set
 # CONFIG_ARCH_IRQPRIO is not set
 CONFIG_ARCH_STACKDUMP=y
@@ -530,7 +597,6 @@ CONFIG_ARCH_HAVE_RAMVECTORS=y
 # Board Settings
 #
 CONFIG_BOARD_LOOPSPERMSEC=5483
-# CONFIG_ARCH_CALIBRATION is not set
 
 #
 # Interrupt options
@@ -559,15 +625,15 @@ CONFIG_RAM_SIZE=131072
 #
 # Board Selection
 #
-CONFIG_ARCH_BOARD_AUAV_ESC35_V1=y
-CONFIG_ARCH_BOARD="auav_esc35-v1"
+CONFIG_ARCH_BOARD_CUSTOM=y
 
 #
 # Custom Board Configuration
 #
-CONFIG_BOARD_CRASHDUMP=y
-CONFIG_BOARD_RESET_ON_CRASH=y
-# CONFIG_BOARD_CUSTOM_LEDS is not set
+CONFIG_ARCH_BOARD_CUSTOM_NAME="px4"
+CONFIG_ARCH_BOARD_CUSTOM_DIR="../nuttx-config"
+CONFIG_ARCH_BOARD_CUSTOM_DIR_RELPATH=y
+CONFIG_BOARD_CUSTOM_LEDS=y
 # CONFIG_BOARD_CUSTOM_BUTTONS is not set
 
 #
@@ -575,20 +641,19 @@ CONFIG_BOARD_RESET_ON_CRASH=y
 #
 CONFIG_ARCH_HAVE_LEDS=y
 CONFIG_ARCH_LEDS=y
-CONFIG_BOARD_HAS_PROBES=y
-# CONFIG_BOARD_USE_PROBES is not set
 
 #
 # Board-Specific Options
 #
-CONFIG_BOARD_CRASHDUMP=y
-CONFIG_BOARD_RESET_ON_CRASH=y
+# CONFIG_BOARD_CRASHDUMP is not set
 CONFIG_LIB_BOARDCTL=y
+# CONFIG_BOARDCTL_FINALINIT is not set
 CONFIG_BOARDCTL_RESET=y
+CONFIG_BOARD_RESET_ON_ASSERT=0
+CONFIG_BOARD_ASSERT_RESET_VALUE=0
 # CONFIG_BOARDCTL_UNIQUEID is not set
+# CONFIG_BOARDCTL_APP_SYMTAB is not set
 CONFIG_BOARDCTL_USBDEVCTRL=y
-# CONFIG_BOARDCTL_TSCTEST is not set
-# CONFIG_BOARDCTL_GRAPHICS is not set
 # CONFIG_BOARDCTL_IOCTL is not set
 
 #
@@ -606,7 +671,7 @@ CONFIG_USEC_PER_TICK=1000
 # CONFIG_CLOCK_MONOTONIC is not set
 CONFIG_ARCH_HAVE_TIMEKEEPING=y
 # CONFIG_JULIAN_TIME is not set
-CONFIG_START_YEAR=2016
+CONFIG_START_YEAR=2018
 CONFIG_START_MONTH=11
 CONFIG_START_DAY=30
 CONFIG_MAX_WDOGPARMS=2
@@ -618,10 +683,13 @@ CONFIG_PREALLOC_TIMERS=20
 # Tasks and Scheduling
 #
 # CONFIG_SPINLOCK is not set
+# CONFIG_IRQCHAIN is not set
+# CONFIG_IRQCOUNT is not set
 # CONFIG_INIT_NONE is not set
 CONFIG_INIT_ENTRYPOINT=y
 # CONFIG_INIT_FILEPATH is not set
 CONFIG_USER_ENTRYPOINT="nsh_main"
+CONFIG_USERMAIN_PRIORITY=100
 CONFIG_RR_INTERVAL=0
 # CONFIG_SCHED_SPORADIC is not set
 CONFIG_TASK_NAME_SIZE=24
@@ -632,17 +700,19 @@ CONFIG_SCHED_WAITPID=y
 #
 # Pthread Options
 #
+CONFIG_NPTHREAD_KEYS=4
 # CONFIG_PTHREAD_MUTEX_TYPES is not set
 CONFIG_PTHREAD_MUTEX_ROBUST=y
 # CONFIG_PTHREAD_MUTEX_UNSAFE is not set
 # CONFIG_PTHREAD_MUTEX_BOTH is not set
-CONFIG_NPTHREAD_KEYS=4
 # CONFIG_PTHREAD_CLEANUP is not set
 # CONFIG_CANCELLATION_POINTS is not set
 
 #
 # Performance Monitoring
 #
+CONFIG_SCHED_SUSPENDSCHEDULER=y
+CONFIG_SCHED_RESUMESCHEDULER=y
 # CONFIG_SCHED_CPULOAD is not set
 CONFIG_SCHED_INSTRUMENTATION=y
 # CONFIG_SCHED_INSTRUMENTATION_PREEMPTION is not set
@@ -673,14 +743,27 @@ CONFIG_BOARD_INITIALIZE=y
 CONFIG_SCHED_ATEXIT=y
 CONFIG_SCHED_ATEXIT_MAX=1
 # CONFIG_SCHED_ONEXIT is not set
+
+#
+# Signal Configuration
+#
 # CONFIG_SIG_EVTHREAD is not set
+# CONFIG_SIG_DEFAULT is not set
 
 #
 # Signal Numbers
 #
+
+#
+# Standard Signal Numbers
+#
 CONFIG_SIG_SIGUSR1=1
 CONFIG_SIG_SIGUSR2=2
-CONFIG_SIG_SIGALARM=3
+CONFIG_SIG_SIGALRM=3
+
+#
+# Non-standard Signal Numbers
+#
 CONFIG_SIG_SIGCONDTIMEDOUT=16
 CONFIG_SIG_SIGWORK=4
 
@@ -696,14 +779,14 @@ CONFIG_MQ_MAXMSGSIZE=32
 #
 CONFIG_SCHED_WORKQUEUE=y
 CONFIG_SCHED_HPWORK=y
+CONFIG_SCHED_HPNTHREADS=1
 CONFIG_SCHED_HPWORKPRIORITY=192
-CONFIG_SCHED_HPWORKPERIOD=5000
 CONFIG_SCHED_HPWORKSTACKSIZE=4096
+# CONFIG_WQUEUE_NOTIFIER is not set
 CONFIG_SCHED_LPWORK=y
 CONFIG_SCHED_LPNTHREADS=1
 CONFIG_SCHED_LPWORKPRIORITY=50
 CONFIG_SCHED_LPWORKPRIOMAX=176
-CONFIG_SCHED_LPWORKPERIOD=50000
 CONFIG_SCHED_LPWORKSTACKSIZE=4096
 
 #
@@ -747,16 +830,14 @@ CONFIG_ARCH_HAVE_SPI_BITORDER=y
 #
 # CONFIG_TIMER is not set
 # CONFIG_ONESHOT is not set
-CONFIG_RTC=y
-CONFIG_RTC_DATETIME=y
-# CONFIG_RTC_ALARM is not set
-# CONFIG_RTC_DRIVER is not set
-# CONFIG_RTC_EXTERNAL is not set
+# CONFIG_RTC is not set
 CONFIG_WATCHDOG=y
 CONFIG_WATCHDOG_DEVPATH="/dev/watchdog0"
 # CONFIG_ANALOG is not set
-# CONFIG_AUDIO_DEVICES is not set
-# CONFIG_VIDEO_DEVICES is not set
+# CONFIG_DRIVERS_AUDIO is not set
+# CONFIG_FB_CMAP is not set
+# CONFIG_FB_TRANSPARENCY is not set
+# CONFIG_DRIVERS_VIDEO is not set
 # CONFIG_BCH is not set
 # CONFIG_INPUT is not set
 
@@ -775,9 +856,16 @@ CONFIG_WATCHDOG_DEVPATH="/dev/watchdog0"
 #
 # LED Support
 #
+# CONFIG_USERLED is not set
+# CONFIG_LEDS_APA102 is not set
+# CONFIG_LEDS_MAX7219 is not set
 # CONFIG_RGBLED is not set
 # CONFIG_PCA9635PW is not set
 # CONFIG_NCP5623C is not set
+# CONFIG_ARCH_HAVE_SDIO is not set
+# CONFIG_ARCH_HAVE_SDIOWAIT_WRCOMPLETE is not set
+# CONFIG_ARCH_HAVE_SDIO_PREFLIGHT is not set
+# CONFIG_ARCH_HAVE_SDIO_DELAYED_INVLDT is not set
 # CONFIG_MMCSD is not set
 # CONFIG_MODEM is not set
 # CONFIG_MTD is not set
@@ -787,7 +875,9 @@ CONFIG_DEV_PIPE_MAXSIZE=1024
 CONFIG_DEV_PIPE_SIZE=70
 CONFIG_DEV_FIFO_SIZE=0
 # CONFIG_PM is not set
+# CONFIG_DRIVERS_POWERLED is not set
 # CONFIG_DRIVERS_SMPS is not set
+# CONFIG_DRIVERS_MOTOR is not set
 # CONFIG_POWER is not set
 # CONFIG_SENSORS is not set
 # CONFIG_SERIAL is not set
@@ -812,7 +902,8 @@ CONFIG_USBDEV_MAXPOWER=500
 # CONFIG_USBDEV_COMPOSITE is not set
 # CONFIG_PL2303 is not set
 CONFIG_CDCACM=y
-# CONFIG_CDCACM_CONSOLE is not set
+CONFIG_CDCACM_CONSOLE=y
+# CONFIG_CDCACM_IFLOWCONTROL is not set
 CONFIG_CDCACM_EP0MAXPACKET=64
 CONFIG_CDCACM_EPINTIN=1
 CONFIG_CDCACM_EPINTIN_FSSIZE=64
@@ -833,11 +924,15 @@ CONFIG_CDCACM_PRODUCTID=0xa4a7
 CONFIG_CDCACM_VENDORSTR="Auav"
 CONFIG_CDCACM_PRODUCTSTR="AUAV ESC35"
 # CONFIG_USBMSC is not set
+# CONFIG_RNDIS is not set
+# CONFIG_DFU is not set
+# CONFIG_NET_CDCECM is not set
 # CONFIG_USBHOST is not set
 # CONFIG_USBMISC is not set
 # CONFIG_HAVE_USBTRACE is not set
 # CONFIG_DRIVERS_WIRELESS is not set
 # CONFIG_DRIVERS_CONTACTLESS is not set
+# CONFIG_1WIRE is not set
 
 #
 # System Logging
@@ -848,6 +943,7 @@ CONFIG_SYSLOG_WRITE=y
 # CONFIG_SYSLOG_BUFFER is not set
 # CONFIG_SYSLOG_INTBUFFER is not set
 # CONFIG_SYSLOG_TIMESTAMP is not set
+# CONFIG_SYSLOG_PREFIX is not set
 # CONFIG_SYSLOG_SERIAL_CONSOLE is not set
 # CONFIG_SYSLOG_CHAR is not set
 CONFIG_SYSLOG_CONSOLE=y
@@ -860,6 +956,9 @@ CONFIG_SYSLOG_CONSOLE=y
 #
 # CONFIG_ARCH_HAVE_NET is not set
 # CONFIG_ARCH_HAVE_PHY is not set
+# CONFIG_NET_WRITE_BUFFERS is not set
+# CONFIG_NET_READAHEAD is not set
+# CONFIG_NET_MCASTGROUP is not set
 # CONFIG_NET is not set
 
 #
@@ -884,19 +983,41 @@ CONFIG_SYSLOG_CONSOLE=y
 # CONFIG_FS_NAMED_SEMAPHORES is not set
 CONFIG_FS_MQUEUE_MPATH="/var/mqueue"
 # CONFIG_FS_RAMMAP is not set
+
+#
+# Partition Table
+#
+# CONFIG_PTABLE_PARTITION is not set
 # CONFIG_FS_FAT is not set
 # CONFIG_FS_NXFFS is not set
 # CONFIG_FS_ROMFS is not set
+# CONFIG_FS_CROMFS is not set
 # CONFIG_FS_TMPFS is not set
 # CONFIG_FS_SMARTFS is not set
 # CONFIG_FS_BINFS is not set
 # CONFIG_FS_PROCFS is not set
+# CONFIG_FS_SPIFFS is not set
 # CONFIG_FS_UNIONFS is not set
+# CONFIG_FS_HOSTFS is not set
 
 #
 # Graphics Support
 #
 # CONFIG_NX is not set
+# CONFIG_NXFONTS is not set
+
+#
+# Font Cache Pixel Depths
+#
+# CONFIG_NXFONTS_DISABLE_1BPP is not set
+# CONFIG_NXFONTS_DISABLE_2BPP is not set
+# CONFIG_NXFONTS_DISABLE_4BPP is not set
+# CONFIG_NXFONTS_DISABLE_8BPP is not set
+# CONFIG_NXFONTS_DISABLE_16BPP is not set
+# CONFIG_NXFONTS_DISABLE_24BPP is not set
+# CONFIG_NXFONTS_DISABLE_32BPP is not set
+CONFIG_NXFONTS_PACKEDMSFIRST=y
+# CONFIG_NXGLIB is not set
 
 #
 # Memory Management
@@ -905,6 +1026,7 @@ CONFIG_FS_MQUEUE_MPATH="/var/mqueue"
 CONFIG_MM_REGIONS=1
 # CONFIG_ARCH_HAVE_HEAP2 is not set
 # CONFIG_GRAN is not set
+# CONFIG_MM_FILL_ALLOCATIONS is not set
 
 #
 # Common I/O Buffer Support
@@ -925,11 +1047,11 @@ CONFIG_MM_REGIONS=1
 # Binary Loader
 #
 # CONFIG_BINFMT_DISABLE is not set
-# CONFIG_BINFMT_EXEPATH is not set
+# CONFIG_BINFMT_LOADABLE is not set
+# CONFIG_PIC is not set
 # CONFIG_NXFLAT is not set
 # CONFIG_ELF is not set
 CONFIG_BUILTIN=y
-# CONFIG_PIC is not set
 CONFIG_SYMTAB_ORDEREDBYNAME=y
 
 #
@@ -947,7 +1069,6 @@ CONFIG_SYMTAB_ORDEREDBYNAME=y
 CONFIG_STDIO_BUFFER_SIZE=64
 CONFIG_STDIO_LINEBUFFER=y
 CONFIG_NUNGET_CHARS=2
-# CONFIG_NOPRINTF_FIELDWIDTH is not set
 CONFIG_LIBC_FLOATINGPOINT=y
 CONFIG_LIBC_LONG_LONG=y
 # CONFIG_LIBC_SCANSET is not set
@@ -1003,6 +1124,7 @@ CONFIG_MEMSET_64BIT=y
 # CONFIG_LIBC_MODLIB is not set
 # CONFIG_LIBC_WCHAR is not set
 # CONFIG_LIBC_LOCALE is not set
+# CONFIG_LIBC_LZF is not set
 
 #
 # Time/Time Zone Support
@@ -1026,6 +1148,7 @@ CONFIG_ARCH_HAVE_TLS=y
 #
 # NETDB Support
 #
+# CONFIG_LIBC_GAISTRERROR is not set
 # CONFIG_LIBC_IOCTL_VARIADIC is not set
 CONFIG_LIB_SENDFILE_BUFSIZE=512
 
@@ -1035,6 +1158,7 @@ CONFIG_LIB_SENDFILE_BUFSIZE=512
 # CONFIG_LIB_CRC64_FAST is not set
 # CONFIG_LIB_KBDCODEC is not set
 # CONFIG_LIB_SLCDCODEC is not set
+# CONFIG_LIB_ENVPATH is not set
 # CONFIG_LIB_HEX2BIN is not set
 
 #
@@ -1053,6 +1177,7 @@ CONFIG_HAVE_CXX=y
 # uClibc++ Standard C++ Library
 #
 # CONFIG_UCLIBCXX is not set
+# CONFIG_LIBDSP is not set
 
 #
 # Application Configuration
@@ -1066,43 +1191,48 @@ CONFIG_BUILTIN_PROXY_STACKSIZE=4096
 #
 # CAN Utilities
 #
-# CONFIG_CANUTILS_LIBUAVCAN is not set
 
 #
 # Examples
 #
+# CONFIG_EXAMPLES_ADXL372_TEST is not set
+# CONFIG_EXAMPLES_APA102 is not set
+# CONFIG_EXAMPLES_CALIB_UDELAY is not set
 # CONFIG_EXAMPLES_CCTYPE is not set
 # CONFIG_EXAMPLES_CHAT is not set
 # CONFIG_EXAMPLES_CONFIGDATA is not set
 # CONFIG_EXAMPLES_CPUHOG is not set
 # CONFIG_EXAMPLES_CXXTEST is not set
 # CONFIG_EXAMPLES_DHCPD is not set
-# CONFIG_EXAMPLES_ELF is not set
+# CONFIG_EXAMPLES_DHTXX is not set
+# CONFIG_EXAMPLES_DSPTEST is not set
 # CONFIG_EXAMPLES_FTPC is not set
 # CONFIG_EXAMPLES_FTPD is not set
+# CONFIG_EXAMPLES_GPS is not set
 # CONFIG_EXAMPLES_HELLO is not set
 # CONFIG_EXAMPLES_HELLOXX is not set
 # CONFIG_EXAMPLES_HIDKBD is not set
 # CONFIG_EXAMPLES_IGMP is not set
+# CONFIG_EXAMPLES_INA219 is not set
+# CONFIG_EXAMPLES_INA226 is not set
 # CONFIG_EXAMPLES_JSON is not set
+# CONFIG_EXAMPLES_LSM330SPI_TEST is not set
+# CONFIG_EXAMPLES_LVGLDEMO is not set
+# CONFIG_EXAMPLES_MAX31855 is not set
 # CONFIG_EXAMPLES_MEDIA is not set
+# CONFIG_EXAMPLES_MLX90614 is not set
 # CONFIG_EXAMPLES_MM is not set
 # CONFIG_EXAMPLES_MODBUS is not set
 # CONFIG_EXAMPLES_MOUNT is not set
-CONFIG_EXAMPLES_NSH=y
-# CONFIG_EXAMPLES_NSH_CXXINITIALIZE is not set
 # CONFIG_EXAMPLES_NULL is not set
+# CONFIG_EXAMPLES_NXDEMO is not set
 # CONFIG_EXAMPLES_NXFFS is not set
-# CONFIG_EXAMPLES_NXHELLO is not set
-# CONFIG_EXAMPLES_NXIMAGE is not set
-# CONFIG_EXAMPLES_NX is not set
-# CONFIG_EXAMPLES_NXLINES is not set
-# CONFIG_EXAMPLES_NXTERM is not set
-# CONFIG_EXAMPLES_NXTEXT is not set
-# CONFIG_EXAMPLES_OSTEST is not set
+# CONFIG_EXAMPLES_OBD2 is not set
 # CONFIG_EXAMPLES_PCA9635 is not set
+# CONFIG_EXAMPLES_PDCURSES is not set
 # CONFIG_EXAMPLES_PIPE is not set
 # CONFIG_EXAMPLES_POSIXSPAWN is not set
+# CONFIG_EXAMPLES_POWERLED is not set
 # CONFIG_EXAMPLES_POWERMONITOR is not set
 # CONFIG_EXAMPLES_PPPD is not set
 # CONFIG_EXAMPLES_RFID_READUID is not set
@@ -1115,11 +1245,13 @@ CONFIG_EXAMPLES_NSH=y
 # CONFIG_EXAMPLES_SMART is not set
 # CONFIG_EXAMPLES_SMART_TEST is not set
 # CONFIG_EXAMPLES_SMP is not set
+# CONFIG_EXAMPLES_SMPS is not set
 # CONFIG_EXAMPLES_STAT is not set
 # CONFIG_EXAMPLES_TCPECHO is not set
 # CONFIG_EXAMPLES_TIFF is not set
 # CONFIG_EXAMPLES_TOUCHSCREEN is not set
 # CONFIG_EXAMPLES_USBSERIAL is not set
+# CONFIG_EXAMPLES_USERFS is not set
 # CONFIG_EXAMPLES_WATCHDOG is not set
 # CONFIG_EXAMPLES_WEBSERVER is not set
 # CONFIG_EXAMPLES_XBC_TEST is not set
@@ -1137,14 +1269,31 @@ CONFIG_EXAMPLES_NSH=y
 #
 # Graphics Support
 #
+# CONFIG_GRAPHICS_FT80X is not set
+# CONFIG_GRAPHICS_LVGL is not set
+
+#
+# NxWidgets/NxWM
+#
+
+#
+# NxWidgets
+#
+
+#
+# NxWM
+#
+
+#
+# Unit Tests
+#
+# CONFIG_GRAPHICS_PDCURSES is not set
 # CONFIG_TIFF is not set
-# CONFIG_GRAPHICS_TRAVELER is not set
 
 #
 # Interpreters
 #
 # CONFIG_INTERPRETERS_FICL is not set
-# CONFIG_INTERPRETERS_MICROPYTHON is not set
 # CONFIG_INTERPRETERS_MINIBASIC is not set
 # CONFIG_INTERPRETERS_PCODE is not set
 
@@ -1172,10 +1321,12 @@ CONFIG_NSH_LIBRARY=y
 #
 # Command Line Configuration
 #
+CONFIG_NSH_PROMPT_STRING="nsh> "
 CONFIG_NSH_READLINE=y
 # CONFIG_NSH_CLE is not set
 CONFIG_NSH_LINELEN=128
 # CONFIG_NSH_DISABLE_SEMICOLON is not set
+CONFIG_NSH_QUOTE=y
 CONFIG_NSH_CMDPARMS=y
 CONFIG_NSH_MAXARGUMENTS=12
 CONFIG_NSH_ARGCAT=y
@@ -1196,8 +1347,10 @@ CONFIG_NSH_DISABLE_BASENAME=y
 # CONFIG_NSH_DISABLE_DF is not set
 CONFIG_NSH_DISABLE_DIRNAME=y
 # CONFIG_NSH_DISABLE_ECHO is not set
+# CONFIG_NSH_DISABLE_ENV is not set
 # CONFIG_NSH_DISABLE_EXEC is not set
 # CONFIG_NSH_DISABLE_EXIT is not set
+# CONFIG_NSH_DISABLE_EXPORT is not set
 # CONFIG_NSH_DISABLE_FREE is not set
 # CONFIG_NSH_DISABLE_GET is not set
 # CONFIG_NSH_DISABLE_HELP is not set
@@ -1231,6 +1384,7 @@ CONFIG_NSH_DISABLE_SHUTDOWN=y
 CONFIG_NSH_DISABLE_TIME=y
 # CONFIG_NSH_DISABLE_TEST is not set
 CONFIG_NSH_DISABLE_TELNETD=y
+CONFIG_NSH_DISABLE_TRUNCATE=y
 # CONFIG_NSH_DISABLE_UMOUNT is not set
 # CONFIG_NSH_DISABLE_UNAME is not set
 # CONFIG_NSH_DISABLE_UNSET is not set
@@ -1242,7 +1396,7 @@ CONFIG_NSH_MMCSDMINOR=0
 #
 # Configure Command Options
 #
-# CONFIG_NSH_CMDOPT_DF_H is not set
+# CONFIG_NSH_VARS is not set
 # CONFIG_NSH_CMDOPT_DD_STATS is not set
 CONFIG_NSH_CODECS_BUFSIZE=128
 # CONFIG_NSH_CMDOPT_HEXDUMP is not set
@@ -1266,10 +1420,6 @@ CONFIG_NSH_ARCHINIT=y
 # CONFIG_NSH_LOGIN is not set
 # CONFIG_NSH_CONSOLE_LOGIN is not set
 
-#
-# NxWidgets/NxWM
-#
-
 #
 # Platform-specific Support
 #
@@ -1283,10 +1433,14 @@ CONFIG_SYSTEM_CDCACM=y
 CONFIG_SYSTEM_CDCACM_DEVMINOR=0
 # CONFIG_SYSTEM_CLE is not set
 # CONFIG_SYSTEM_CUTERM is not set
-# CONFIG_SYSTEM_FREE is not set
+# CONFIG_SYSTEM_EMBEDLOG is not set
 # CONFIG_SYSTEM_HEX2BIN is not set
 # CONFIG_SYSTEM_HEXED is not set
-# CONFIG_SYSTEM_INSTALL is not set
+CONFIG_SYSTEM_NSH=y
+CONFIG_SYSTEM_NSH_PRIORITY=100
+CONFIG_SYSTEM_NSH_STACKSIZE=2048
+# CONFIG_SYSTEM_NSH_CXXINITIALIZE is not set
+# CONFIG_SYSTEM_POPEN is not set
 # CONFIG_SYSTEM_RAMTEST is not set
 CONFIG_READLINE_HAVE_EXTMATCH=y
 CONFIG_SYSTEM_READLINE=y
@@ -1297,7 +1451,7 @@ CONFIG_READLINE_MAX_EXTCMDS=64
 CONFIG_READLINE_CMD_HISTORY=y
 CONFIG_READLINE_CMD_HISTORY_LINELEN=64
 CONFIG_READLINE_CMD_HISTORY_LEN=4
-# CONFIG_SYSTEM_STACKMONITOR is not set
+# CONFIG_SYSTEM_SETLOGMASK is not set
 # CONFIG_SYSTEM_SUDOKU is not set
 # CONFIG_SYSTEM_SYSTEM is not set
 # CONFIG_SYSTEM_TEE is not set
@@ -1305,10 +1459,21 @@ CONFIG_READLINE_CMD_HISTORY_LEN=4
 # CONFIG_SYSTEM_VI is not set
 # CONFIG_SYSTEM_ZMODEM is not set
 
+#
+# Testing
+#
+# CONFIG_TESTING_OSTEST is not set
+# CONFIG_TESTING_UNITY is not set
+
 #
 # Wireless Libraries and NSH Add-Ons
 #
 
+#
+# Bluetooth applications
+#
+# CONFIG_BTSAK is not set
+
 #
 # IEEE 802.15.4 applications
 #
diff --git a/boards/auav/esc35-v1/src/init.c b/boards/auav/esc35-v1/src/init.c
index a87f0c51c3..345386f09e 100644
--- a/boards/auav/esc35-v1/src/init.c
+++ b/boards/auav/esc35-v1/src/init.c
@@ -203,3 +203,8 @@ __EXPORT int board_app_initialize(uintptr_t arg)
 __EXPORT void board_crashdump(uintptr_t currentsp, FAR void *tcb, FAR const uint8_t *filename, int lineno)
 {
 }
+
+__EXPORT int fsync(int fd)
+{
+	return 0;
+}
-- 
GitLab