Browse Source

NuttX boards fix mkfatfs and rcS logic

master
Daniel Agar 4 years ago
parent
commit
40e5477edb
  1. 39
      ROMFS/px4fmu_common/init.d/rcS
  2. 1
      boards/airmind/mindpx-v2/nuttx-config/nsh/defconfig
  3. 1
      boards/ark/can-flow/nuttx-config/nsh/defconfig
  4. 1
      boards/ark/can-gps/nuttx-config/nsh/defconfig
  5. 1
      boards/atl/mantis-edu/nuttx-config/nsh/defconfig
  6. 1
      boards/bitcraze/crazyflie/nuttx-config/nsh/defconfig
  7. 1
      boards/bitcraze/crazyflie21/nuttx-config/nsh/defconfig
  8. 1
      boards/cuav/can-gps-v1/nuttx-config/nsh/defconfig
  9. 1
      boards/cuav/nora/nuttx-config/nsh/defconfig
  10. 1
      boards/cuav/x7pro/nuttx-config/nsh/defconfig
  11. 3
      boards/cubepilot/cubeorange/nuttx-config/nsh/defconfig
  12. 3
      boards/cubepilot/cubeorange/nuttx-config/test/defconfig
  13. 1
      boards/cubepilot/cubeyellow/nuttx-config/nsh/defconfig
  14. 1
      boards/cubepilot/cubeyellow/nuttx-config/test/defconfig
  15. 1
      boards/freefly/can-rtk-gps/nuttx-config/nsh/defconfig
  16. 1
      boards/holybro/can-gps-v1/nuttx-config/nsh/defconfig
  17. 1
      boards/holybro/durandal-v1/nuttx-config/nsh/defconfig
  18. 1
      boards/holybro/kakutef7/nuttx-config/nsh/defconfig
  19. 1
      boards/holybro/pix32v5/nuttx-config/nsh/defconfig
  20. 1
      boards/modalai/fc-v1/nuttx-config/nsh/defconfig
  21. 1
      boards/modalai/fc-v2/nuttx-config/nsh/defconfig
  22. 1
      boards/mro/ctrl-zero-f7-oem/nuttx-config/nsh/defconfig
  23. 1
      boards/mro/ctrl-zero-f7/nuttx-config/nsh/defconfig
  24. 1
      boards/mro/ctrl-zero-h7-oem/nuttx-config/nsh/defconfig
  25. 1
      boards/mro/ctrl-zero-h7/nuttx-config/nsh/defconfig
  26. 1
      boards/mro/pixracerpro/nuttx-config/nsh/defconfig
  27. 1
      boards/mro/x21-777/nuttx-config/nsh/defconfig
  28. 1
      boards/mro/x21/nuttx-config/nsh/defconfig
  29. 1
      boards/px4/fmu-v3/nuttx-config/nsh/defconfig
  30. 1
      boards/px4/fmu-v4/nuttx-config/nsh/defconfig
  31. 1
      boards/px4/fmu-v4pro/nuttx-config/nsh/defconfig
  32. 3
      boards/px4/fmu-v5/nuttx-config/debug/defconfig
  33. 3
      boards/px4/fmu-v5/nuttx-config/nsh/defconfig
  34. 5
      boards/px4/fmu-v5/nuttx-config/optimized/defconfig
  35. 3
      boards/px4/fmu-v5/nuttx-config/stackcheck/defconfig
  36. 1
      boards/px4/fmu-v5/nuttx-config/uavcanv1/defconfig
  37. 4
      boards/px4/fmu-v5/optimized.cmake
  38. 1
      boards/px4/fmu-v5x/nuttx-config/base_phy_DP83848C/defconfig
  39. 3
      boards/px4/fmu-v5x/nuttx-config/nsh/defconfig
  40. 3
      boards/px4/fmu-v6u/nuttx-config/nsh/defconfig
  41. 4
      boards/px4/fmu-v6x/default.cmake
  42. 1
      boards/px4/fmu-v6x/nuttx-config/bootloader/defconfig
  43. 3
      boards/px4/fmu-v6x/nuttx-config/nsh/defconfig
  44. 1
      boards/px4/io-v2/nuttx-config/nsh/defconfig
  45. 1
      boards/spracing/h7extreme/nuttx-config/nsh/defconfig
  46. 1
      boards/uvify/core/nuttx-config/nsh/defconfig
  47. 1
      src/drivers/smart_battery/batmon/CMakeLists.txt

39
ROMFS/px4fmu_common/init.d/rcS

@ -69,26 +69,35 @@ ver all @@ -69,26 +69,35 @@ ver all
#
# Try to mount the microSD card.
#
set SDCARD_AVAILABLE no
# REBOOTWORK this needs to start after the flight control loop.
if mount -t vfat /dev/mmcsd0 /fs/microsd
then
if hardfault_log check
set PX4_INIT_TEST_FILE "/fs/microsd/.px4_init_test_file"
date >> $PX4_INIT_TEST_FILE
if [ -f $PX4_INIT_TEST_FILE ]
then
# Error tune.
set STARTUP_TUNE 2
if hardfault_log commit
cat $PX4_INIT_TEST_FILE
rm $PX4_INIT_TEST_FILE
if [ ! -f $PX4_INIT_TEST_FILE ]
then
hardfault_log reset
set SDCARD_AVAILABLE yes
fi
fi
else
# tune SD_INIT
fi
if [ $SDCARD_AVAILABLE = no ]
then
set STARTUP_TUNE 14 # tune 14 = SD_INIT
if mkfatfs /dev/mmcsd0
if mkfatfs -F 32 /dev/mmcsd0
then
if mount -t vfat /dev/mmcsd0 /fs/microsd
then
set SDCARD_AVAILABLE yes
echo "INFO [init] card formatted"
else
set STARTUP_TUNE 15 # tune 15 = SD_ERROR
echo "ERROR [init] format failed"
@ -96,6 +105,20 @@ else @@ -96,6 +105,20 @@ else
fi
fi
if [ $SDCARD_AVAILABLE = yes ]
then
if hardfault_log check
then
# Error tune.
set STARTUP_TUNE 2
if hardfault_log commit
then
hardfault_log reset
fi
fi
fi
unset SDCARD_AVAILABLE
#
# Look for an init script on the microSD card.
# Disable autostart if the script found.

1
boards/airmind/mindpx-v2/nuttx-config/nsh/defconfig

@ -19,6 +19,7 @@ @@ -19,6 +19,7 @@
# CONFIG_NSH_DISABLE_GET is not set
# CONFIG_NSH_DISABLE_ITEF is not set
# CONFIG_NSH_DISABLE_LOOPS is not set
# CONFIG_NSH_DISABLE_MKFATFS is not set
# CONFIG_NSH_DISABLE_SEMICOLON is not set
# CONFIG_NSH_DISABLE_TIME is not set
# CONFIG_STM32_CCMEXCLUDE is not set

1
boards/ark/can-flow/nuttx-config/nsh/defconfig

@ -15,6 +15,7 @@ @@ -15,6 +15,7 @@
# CONFIG_NSH_DISABLE_GET is not set
# CONFIG_NSH_DISABLE_ITEF is not set
# CONFIG_NSH_DISABLE_LOOPS is not set
# CONFIG_NSH_DISABLE_MKFATFS is not set
# CONFIG_NSH_DISABLE_SEMICOLON is not set
# CONFIG_NSH_DISABLE_TIME is not set
# CONFIG_STM32_DMACAPABLE is not set

1
boards/ark/can-gps/nuttx-config/nsh/defconfig

@ -15,6 +15,7 @@ @@ -15,6 +15,7 @@
# CONFIG_NSH_DISABLE_GET is not set
# CONFIG_NSH_DISABLE_ITEF is not set
# CONFIG_NSH_DISABLE_LOOPS is not set
# CONFIG_NSH_DISABLE_MKFATFS is not set
# CONFIG_NSH_DISABLE_SEMICOLON is not set
# CONFIG_NSH_DISABLE_TIME is not set
# CONFIG_STM32_DMACAPABLE is not set

1
boards/atl/mantis-edu/nuttx-config/nsh/defconfig

@ -20,6 +20,7 @@ @@ -20,6 +20,7 @@
# CONFIG_NSH_DISABLE_GET is not set
# CONFIG_NSH_DISABLE_ITEF is not set
# CONFIG_NSH_DISABLE_LOOPS is not set
# CONFIG_NSH_DISABLE_MKFATFS is not set
# CONFIG_NSH_DISABLE_SEMICOLON is not set
# CONFIG_NSH_DISABLE_TIME is not set
CONFIG_ARCH="arm"

1
boards/bitcraze/crazyflie/nuttx-config/nsh/defconfig

@ -18,6 +18,7 @@ @@ -18,6 +18,7 @@
# CONFIG_NSH_DISABLE_GET is not set
# CONFIG_NSH_DISABLE_ITEF is not set
# CONFIG_NSH_DISABLE_LOOPS is not set
# CONFIG_NSH_DISABLE_MKFATFS is not set
# CONFIG_NSH_DISABLE_SEMICOLON is not set
# CONFIG_NSH_DISABLE_TIME is not set
# CONFIG_SPI_CALLBACK is not set

1
boards/bitcraze/crazyflie21/nuttx-config/nsh/defconfig

@ -17,6 +17,7 @@ @@ -17,6 +17,7 @@
# CONFIG_NSH_DISABLE_GET is not set
# CONFIG_NSH_DISABLE_ITEF is not set
# CONFIG_NSH_DISABLE_LOOPS is not set
# CONFIG_NSH_DISABLE_MKFATFS is not set
# CONFIG_NSH_DISABLE_SEMICOLON is not set
# CONFIG_NSH_DISABLE_TIME is not set
# CONFIG_SPI_CALLBACK is not set

1
boards/cuav/can-gps-v1/nuttx-config/nsh/defconfig

@ -15,6 +15,7 @@ @@ -15,6 +15,7 @@
# CONFIG_NSH_DISABLE_GET is not set
# CONFIG_NSH_DISABLE_ITEF is not set
# CONFIG_NSH_DISABLE_LOOPS is not set
# CONFIG_NSH_DISABLE_MKFATFS is not set
# CONFIG_NSH_DISABLE_SEMICOLON is not set
# CONFIG_NSH_DISABLE_TIME is not set
# CONFIG_STM32_DMACAPABLE is not set

1
boards/cuav/nora/nuttx-config/nsh/defconfig

@ -19,6 +19,7 @@ @@ -19,6 +19,7 @@
# CONFIG_NSH_DISABLE_GET is not set
# CONFIG_NSH_DISABLE_ITEF is not set
# CONFIG_NSH_DISABLE_LOOPS is not set
# CONFIG_NSH_DISABLE_MKFATFS is not set
# CONFIG_NSH_DISABLE_SEMICOLON is not set
# CONFIG_NSH_DISABLE_TIME is not set
CONFIG_ARCH="arm"

1
boards/cuav/x7pro/nuttx-config/nsh/defconfig

@ -19,6 +19,7 @@ @@ -19,6 +19,7 @@
# CONFIG_NSH_DISABLE_GET is not set
# CONFIG_NSH_DISABLE_ITEF is not set
# CONFIG_NSH_DISABLE_LOOPS is not set
# CONFIG_NSH_DISABLE_MKFATFS is not set
# CONFIG_NSH_DISABLE_SEMICOLON is not set
# CONFIG_NSH_DISABLE_TIME is not set
CONFIG_ARCH="arm"

3
boards/cubepilot/cubeorange/nuttx-config/nsh/defconfig

@ -20,6 +20,7 @@ @@ -20,6 +20,7 @@
# CONFIG_NSH_DISABLE_GET is not set
# CONFIG_NSH_DISABLE_ITEF is not set
# CONFIG_NSH_DISABLE_LOOPS is not set
# CONFIG_NSH_DISABLE_MKFATFS is not set
# CONFIG_NSH_DISABLE_SEMICOLON is not set
# CONFIG_NSH_DISABLE_TIME is not set
CONFIG_ARCH="arm"
@ -71,6 +72,7 @@ CONFIG_FS_FAT=y @@ -71,6 +72,7 @@ CONFIG_FS_FAT=y
CONFIG_FS_FATTIME=y
CONFIG_FS_PROCFS=y
CONFIG_FS_PROCFS_INCLUDE_PROGMEM=y
CONFIG_FS_PROCFS_MAX_TASKS=64
CONFIG_FS_PROCFS_REGISTER=y
CONFIG_FS_ROMFS=y
CONFIG_GRAN=y
@ -83,7 +85,6 @@ CONFIG_IDLETHREAD_STACKSIZE=750 @@ -83,7 +85,6 @@ CONFIG_IDLETHREAD_STACKSIZE=750
CONFIG_LIBC_FLOATINGPOINT=y
CONFIG_LIBC_LONG_LONG=y
CONFIG_LIBC_STRERROR=y
CONFIG_FS_PROCFS_MAX_TASKS=64
CONFIG_MEMSET_64BIT=y
CONFIG_MEMSET_OPTSPEED=y
CONFIG_MMCSD=y

3
boards/cubepilot/cubeorange/nuttx-config/test/defconfig

@ -19,6 +19,7 @@ @@ -19,6 +19,7 @@
# CONFIG_NSH_DISABLE_GET is not set
# CONFIG_NSH_DISABLE_ITEF is not set
# CONFIG_NSH_DISABLE_LOOPS is not set
# CONFIG_NSH_DISABLE_MKFATFS is not set
# CONFIG_NSH_DISABLE_SEMICOLON is not set
# CONFIG_NSH_DISABLE_TIME is not set
CONFIG_ARCH="arm"
@ -70,6 +71,7 @@ CONFIG_FS_FAT=y @@ -70,6 +71,7 @@ CONFIG_FS_FAT=y
CONFIG_FS_FATTIME=y
CONFIG_FS_PROCFS=y
CONFIG_FS_PROCFS_INCLUDE_PROGMEM=y
CONFIG_FS_PROCFS_MAX_TASKS=64
CONFIG_FS_PROCFS_REGISTER=y
CONFIG_FS_ROMFS=y
CONFIG_GRAN=y
@ -82,7 +84,6 @@ CONFIG_IDLETHREAD_STACKSIZE=750 @@ -82,7 +84,6 @@ CONFIG_IDLETHREAD_STACKSIZE=750
CONFIG_LIBC_FLOATINGPOINT=y
CONFIG_LIBC_LONG_LONG=y
CONFIG_LIBC_STRERROR=y
CONFIG_FS_PROCFS_MAX_TASKS=64
CONFIG_MEMSET_64BIT=y
CONFIG_MEMSET_OPTSPEED=y
CONFIG_MMCSD=y

1
boards/cubepilot/cubeyellow/nuttx-config/nsh/defconfig

@ -21,6 +21,7 @@ @@ -21,6 +21,7 @@
# CONFIG_NSH_DISABLE_GET is not set
# CONFIG_NSH_DISABLE_ITEF is not set
# CONFIG_NSH_DISABLE_LOOPS is not set
# CONFIG_NSH_DISABLE_MKFATFS is not set
# CONFIG_NSH_DISABLE_SEMICOLON is not set
# CONFIG_NSH_DISABLE_TIME is not set
CONFIG_ARCH="arm"

1
boards/cubepilot/cubeyellow/nuttx-config/test/defconfig

@ -20,6 +20,7 @@ @@ -20,6 +20,7 @@
# CONFIG_NSH_DISABLE_GET is not set
# CONFIG_NSH_DISABLE_ITEF is not set
# CONFIG_NSH_DISABLE_LOOPS is not set
# CONFIG_NSH_DISABLE_MKFATFS is not set
# CONFIG_NSH_DISABLE_SEMICOLON is not set
# CONFIG_NSH_DISABLE_TIME is not set
CONFIG_ARCH="arm"

1
boards/freefly/can-rtk-gps/nuttx-config/nsh/defconfig

@ -15,6 +15,7 @@ @@ -15,6 +15,7 @@
# CONFIG_NSH_DISABLE_GET is not set
# CONFIG_NSH_DISABLE_ITEF is not set
# CONFIG_NSH_DISABLE_LOOPS is not set
# CONFIG_NSH_DISABLE_MKFATFS is not set
# CONFIG_NSH_DISABLE_SEMICOLON is not set
# CONFIG_NSH_DISABLE_TIME is not set
CONFIG_ARCH="arm"

1
boards/holybro/can-gps-v1/nuttx-config/nsh/defconfig

@ -15,6 +15,7 @@ @@ -15,6 +15,7 @@
# CONFIG_NSH_DISABLE_GET is not set
# CONFIG_NSH_DISABLE_ITEF is not set
# CONFIG_NSH_DISABLE_LOOPS is not set
# CONFIG_NSH_DISABLE_MKFATFS is not set
# CONFIG_NSH_DISABLE_SEMICOLON is not set
# CONFIG_NSH_DISABLE_TIME is not set
# CONFIG_STM32_DMACAPABLE is not set

1
boards/holybro/durandal-v1/nuttx-config/nsh/defconfig

@ -19,6 +19,7 @@ @@ -19,6 +19,7 @@
# CONFIG_NSH_DISABLE_GET is not set
# CONFIG_NSH_DISABLE_ITEF is not set
# CONFIG_NSH_DISABLE_LOOPS is not set
# CONFIG_NSH_DISABLE_MKFATFS is not set
# CONFIG_NSH_DISABLE_SEMICOLON is not set
# CONFIG_NSH_DISABLE_TIME is not set
CONFIG_ARCH="arm"

1
boards/holybro/kakutef7/nuttx-config/nsh/defconfig

@ -18,6 +18,7 @@ @@ -18,6 +18,7 @@
# CONFIG_NSH_DISABLE_GET is not set
# CONFIG_NSH_DISABLE_ITEF is not set
# CONFIG_NSH_DISABLE_LOOPS is not set
# CONFIG_NSH_DISABLE_MKFATFS is not set
# CONFIG_NSH_DISABLE_SEMICOLON is not set
# CONFIG_NSH_DISABLE_TIME is not set
# CONFIG_SPI_CALLBACK is not set

1
boards/holybro/pix32v5/nuttx-config/nsh/defconfig

@ -20,6 +20,7 @@ @@ -20,6 +20,7 @@
# CONFIG_NSH_DISABLE_GET is not set
# CONFIG_NSH_DISABLE_ITEF is not set
# CONFIG_NSH_DISABLE_LOOPS is not set
# CONFIG_NSH_DISABLE_MKFATFS is not set
# CONFIG_NSH_DISABLE_SEMICOLON is not set
# CONFIG_NSH_DISABLE_TIME is not set
CONFIG_ARCH="arm"

1
boards/modalai/fc-v1/nuttx-config/nsh/defconfig

@ -19,6 +19,7 @@ @@ -19,6 +19,7 @@
# CONFIG_NSH_DISABLE_GET is not set
# CONFIG_NSH_DISABLE_ITEF is not set
# CONFIG_NSH_DISABLE_LOOPS is not set
# CONFIG_NSH_DISABLE_MKFATFS is not set
# CONFIG_NSH_DISABLE_SEMICOLON is not set
# CONFIG_NSH_DISABLE_TIME is not set
CONFIG_ARCH="arm"

1
boards/modalai/fc-v2/nuttx-config/nsh/defconfig

@ -19,6 +19,7 @@ @@ -19,6 +19,7 @@
# CONFIG_NSH_DISABLE_GET is not set
# CONFIG_NSH_DISABLE_ITEF is not set
# CONFIG_NSH_DISABLE_LOOPS is not set
# CONFIG_NSH_DISABLE_MKFATFS is not set
# CONFIG_NSH_DISABLE_SEMICOLON is not set
# CONFIG_NSH_DISABLE_TIME is not set
CONFIG_ARCH="arm"

1
boards/mro/ctrl-zero-f7-oem/nuttx-config/nsh/defconfig

@ -19,6 +19,7 @@ @@ -19,6 +19,7 @@
# CONFIG_NSH_DISABLE_GET is not set
# CONFIG_NSH_DISABLE_ITEF is not set
# CONFIG_NSH_DISABLE_LOOPS is not set
# CONFIG_NSH_DISABLE_MKFATFS is not set
# CONFIG_NSH_DISABLE_SEMICOLON is not set
# CONFIG_NSH_DISABLE_TIME is not set
CONFIG_ARCH="arm"

1
boards/mro/ctrl-zero-f7/nuttx-config/nsh/defconfig

@ -19,6 +19,7 @@ @@ -19,6 +19,7 @@
# CONFIG_NSH_DISABLE_GET is not set
# CONFIG_NSH_DISABLE_ITEF is not set
# CONFIG_NSH_DISABLE_LOOPS is not set
# CONFIG_NSH_DISABLE_MKFATFS is not set
# CONFIG_NSH_DISABLE_SEMICOLON is not set
# CONFIG_NSH_DISABLE_TIME is not set
CONFIG_ARCH="arm"

1
boards/mro/ctrl-zero-h7-oem/nuttx-config/nsh/defconfig

@ -19,6 +19,7 @@ @@ -19,6 +19,7 @@
# CONFIG_NSH_DISABLE_GET is not set
# CONFIG_NSH_DISABLE_ITEF is not set
# CONFIG_NSH_DISABLE_LOOPS is not set
# CONFIG_NSH_DISABLE_MKFATFS is not set
# CONFIG_NSH_DISABLE_SEMICOLON is not set
# CONFIG_NSH_DISABLE_TIME is not set
CONFIG_ARCH="arm"

1
boards/mro/ctrl-zero-h7/nuttx-config/nsh/defconfig

@ -19,6 +19,7 @@ @@ -19,6 +19,7 @@
# CONFIG_NSH_DISABLE_GET is not set
# CONFIG_NSH_DISABLE_ITEF is not set
# CONFIG_NSH_DISABLE_LOOPS is not set
# CONFIG_NSH_DISABLE_MKFATFS is not set
# CONFIG_NSH_DISABLE_SEMICOLON is not set
# CONFIG_NSH_DISABLE_TIME is not set
CONFIG_ARCH="arm"

1
boards/mro/pixracerpro/nuttx-config/nsh/defconfig

@ -19,6 +19,7 @@ @@ -19,6 +19,7 @@
# CONFIG_NSH_DISABLE_GET is not set
# CONFIG_NSH_DISABLE_ITEF is not set
# CONFIG_NSH_DISABLE_LOOPS is not set
# CONFIG_NSH_DISABLE_MKFATFS is not set
# CONFIG_NSH_DISABLE_SEMICOLON is not set
# CONFIG_NSH_DISABLE_TIME is not set
CONFIG_ARCH="arm"

1
boards/mro/x21-777/nuttx-config/nsh/defconfig

@ -19,6 +19,7 @@ @@ -19,6 +19,7 @@
# CONFIG_NSH_DISABLE_GET is not set
# CONFIG_NSH_DISABLE_ITEF is not set
# CONFIG_NSH_DISABLE_LOOPS is not set
# CONFIG_NSH_DISABLE_MKFATFS is not set
# CONFIG_NSH_DISABLE_SEMICOLON is not set
# CONFIG_NSH_DISABLE_TIME is not set
CONFIG_ARCH="arm"

1
boards/mro/x21/nuttx-config/nsh/defconfig

@ -19,6 +19,7 @@ @@ -19,6 +19,7 @@
# CONFIG_NSH_DISABLE_GET is not set
# CONFIG_NSH_DISABLE_ITEF is not set
# CONFIG_NSH_DISABLE_LOOPS is not set
# CONFIG_NSH_DISABLE_MKFATFS is not set
# CONFIG_NSH_DISABLE_SEMICOLON is not set
# CONFIG_NSH_DISABLE_TIME is not set
# CONFIG_STM32_CCMEXCLUDE is not set

1
boards/px4/fmu-v3/nuttx-config/nsh/defconfig

@ -19,6 +19,7 @@ @@ -19,6 +19,7 @@
# CONFIG_NSH_DISABLE_GET is not set
# CONFIG_NSH_DISABLE_ITEF is not set
# CONFIG_NSH_DISABLE_LOOPS is not set
# CONFIG_NSH_DISABLE_MKFATFS is not set
# CONFIG_NSH_DISABLE_SEMICOLON is not set
# CONFIG_NSH_DISABLE_TIME is not set
# CONFIG_STM32_CCMEXCLUDE is not set

1
boards/px4/fmu-v4/nuttx-config/nsh/defconfig

@ -19,6 +19,7 @@ @@ -19,6 +19,7 @@
# CONFIG_NSH_DISABLE_GET is not set
# CONFIG_NSH_DISABLE_ITEF is not set
# CONFIG_NSH_DISABLE_LOOPS is not set
# CONFIG_NSH_DISABLE_MKFATFS is not set
# CONFIG_NSH_DISABLE_SEMICOLON is not set
# CONFIG_NSH_DISABLE_TIME is not set
# CONFIG_STM32_CCMEXCLUDE is not set

1
boards/px4/fmu-v4pro/nuttx-config/nsh/defconfig

@ -19,6 +19,7 @@ @@ -19,6 +19,7 @@
# CONFIG_NSH_DISABLE_GET is not set
# CONFIG_NSH_DISABLE_ITEF is not set
# CONFIG_NSH_DISABLE_LOOPS is not set
# CONFIG_NSH_DISABLE_MKFATFS is not set
# CONFIG_NSH_DISABLE_SEMICOLON is not set
# CONFIG_NSH_DISABLE_TIME is not set
# CONFIG_STM32_CCMEXCLUDE is not set

3
boards/px4/fmu-v5/nuttx-config/debug/defconfig

@ -20,6 +20,7 @@ @@ -20,6 +20,7 @@
# CONFIG_NSH_DISABLE_GET is not set
# CONFIG_NSH_DISABLE_ITEF is not set
# CONFIG_NSH_DISABLE_LOOPS is not set
# CONFIG_NSH_DISABLE_MKFATFS is not set
# CONFIG_NSH_DISABLE_SEMICOLON is not set
# CONFIG_NSH_DISABLE_TIME is not set
CONFIG_ARCH="arm"
@ -115,6 +116,7 @@ CONFIG_FS_FAT=y @@ -115,6 +116,7 @@ CONFIG_FS_FAT=y
CONFIG_FS_FATTIME=y
CONFIG_FS_PROCFS=y
CONFIG_FS_PROCFS_INCLUDE_PROGMEM=y
CONFIG_FS_PROCFS_MAX_TASKS=64
CONFIG_FS_PROCFS_REGISTER=y
CONFIG_FS_ROMFS=y
CONFIG_GRAN=y
@ -127,7 +129,6 @@ CONFIG_IDLETHREAD_STACKSIZE=864 @@ -127,7 +129,6 @@ CONFIG_IDLETHREAD_STACKSIZE=864
CONFIG_LIBC_FLOATINGPOINT=y
CONFIG_LIBC_LONG_LONG=y
CONFIG_LIBC_STRERROR=y
CONFIG_FS_PROCFS_MAX_TASKS=64
CONFIG_MEMSET_64BIT=y
CONFIG_MEMSET_OPTSPEED=y
CONFIG_MMCSD=y

3
boards/px4/fmu-v5/nuttx-config/nsh/defconfig

@ -20,6 +20,7 @@ @@ -20,6 +20,7 @@
# CONFIG_NSH_DISABLE_GET is not set
# CONFIG_NSH_DISABLE_ITEF is not set
# CONFIG_NSH_DISABLE_LOOPS is not set
# CONFIG_NSH_DISABLE_MKFATFS is not set
# CONFIG_NSH_DISABLE_SEMICOLON is not set
# CONFIG_NSH_DISABLE_TIME is not set
CONFIG_ARCH="arm"
@ -71,6 +72,7 @@ CONFIG_FS_FAT=y @@ -71,6 +72,7 @@ CONFIG_FS_FAT=y
CONFIG_FS_FATTIME=y
CONFIG_FS_PROCFS=y
CONFIG_FS_PROCFS_INCLUDE_PROGMEM=y
CONFIG_FS_PROCFS_MAX_TASKS=64
CONFIG_FS_PROCFS_REGISTER=y
CONFIG_FS_ROMFS=y
CONFIG_GRAN=y
@ -83,7 +85,6 @@ CONFIG_IDLETHREAD_STACKSIZE=750 @@ -83,7 +85,6 @@ CONFIG_IDLETHREAD_STACKSIZE=750
CONFIG_LIBC_FLOATINGPOINT=y
CONFIG_LIBC_LONG_LONG=y
CONFIG_LIBC_STRERROR=y
CONFIG_FS_PROCFS_MAX_TASKS=64
CONFIG_MEMSET_64BIT=y
CONFIG_MEMSET_OPTSPEED=y
CONFIG_MMCSD=y

5
boards/px4/fmu-v5/nuttx-config/optimized/defconfig

@ -20,6 +20,7 @@ @@ -20,6 +20,7 @@
# CONFIG_NSH_DISABLE_GET is not set
# CONFIG_NSH_DISABLE_ITEF is not set
# CONFIG_NSH_DISABLE_LOOPS is not set
# CONFIG_NSH_DISABLE_MKFATFS is not set
# CONFIG_NSH_DISABLE_SEMICOLON is not set
# CONFIG_NSH_DISABLE_TIME is not set
CONFIG_ARCH="arm"
@ -72,6 +73,7 @@ CONFIG_FS_FAT=y @@ -72,6 +73,7 @@ CONFIG_FS_FAT=y
CONFIG_FS_FATTIME=y
CONFIG_FS_PROCFS=y
CONFIG_FS_PROCFS_INCLUDE_PROGMEM=y
CONFIG_FS_PROCFS_MAX_TASKS=64
CONFIG_FS_PROCFS_REGISTER=y
CONFIG_FS_ROMFS=y
CONFIG_GRAN=y
@ -83,8 +85,6 @@ CONFIG_I2C_RESET=y @@ -83,8 +85,6 @@ CONFIG_I2C_RESET=y
CONFIG_IDLETHREAD_STACKSIZE=750
CONFIG_LIBC_FLOATINGPOINT=y
CONFIG_LIBC_LONG_LONG=y
CONFIG_LIBC_STRERROR=n
CONFIG_FS_PROCFS_MAX_TASKS=64
CONFIG_MEMSET_64BIT=y
CONFIG_MEMSET_OPTSPEED=y
CONFIG_MMCSD=y
@ -111,7 +111,6 @@ CONFIG_NSH_NESTDEPTH=8 @@ -111,7 +111,6 @@ CONFIG_NSH_NESTDEPTH=8
CONFIG_NSH_QUOTE=y
CONFIG_NSH_ROMFSETC=y
CONFIG_NSH_ROMFSSECTSIZE=128
CONFIG_NSH_STRERROR=y
CONFIG_NSH_VARS=y
CONFIG_OTG_ID_GPIO_DISABLE=y
CONFIG_PIPES=y

3
boards/px4/fmu-v5/nuttx-config/stackcheck/defconfig

@ -20,6 +20,7 @@ @@ -20,6 +20,7 @@
# CONFIG_NSH_DISABLE_GET is not set
# CONFIG_NSH_DISABLE_ITEF is not set
# CONFIG_NSH_DISABLE_LOOPS is not set
# CONFIG_NSH_DISABLE_MKFATFS is not set
# CONFIG_NSH_DISABLE_SEMICOLON is not set
# CONFIG_NSH_DISABLE_TIME is not set
CONFIG_ARCH="arm"
@ -72,6 +73,7 @@ CONFIG_FS_FAT=y @@ -72,6 +73,7 @@ CONFIG_FS_FAT=y
CONFIG_FS_FATTIME=y
CONFIG_FS_PROCFS=y
CONFIG_FS_PROCFS_INCLUDE_PROGMEM=y
CONFIG_FS_PROCFS_MAX_TASKS=64
CONFIG_FS_PROCFS_REGISTER=y
CONFIG_FS_ROMFS=y
CONFIG_GRAN=y
@ -84,7 +86,6 @@ CONFIG_IDLETHREAD_STACKSIZE=864 @@ -84,7 +86,6 @@ CONFIG_IDLETHREAD_STACKSIZE=864
CONFIG_LIBC_FLOATINGPOINT=y
CONFIG_LIBC_LONG_LONG=y
CONFIG_LIBC_STRERROR=y
CONFIG_FS_PROCFS_MAX_TASKS=64
CONFIG_MEMSET_64BIT=y
CONFIG_MEMSET_OPTSPEED=y
CONFIG_MMCSD=y

1
boards/px4/fmu-v5/nuttx-config/uavcanv1/defconfig

@ -20,6 +20,7 @@ @@ -20,6 +20,7 @@
# CONFIG_NSH_DISABLE_GET is not set
# CONFIG_NSH_DISABLE_ITEF is not set
# CONFIG_NSH_DISABLE_LOOPS is not set
# CONFIG_NSH_DISABLE_MKFATFS is not set
# CONFIG_NSH_DISABLE_SEMICOLON is not set
# CONFIG_NSH_DISABLE_TIME is not set
CONFIG_ARCH="arm"

4
boards/px4/fmu-v5/optimized.cmake

@ -21,8 +21,8 @@ px4_add_board( @@ -21,8 +21,8 @@ px4_add_board(
adc/ads1115
adc/board_adc
barometer # all available barometer drivers
batt_smbus
camera_capture
#batt_smbus
#camera_capture
camera_trigger
differential_pressure # all available differential pressure drivers
distance_sensor # all available distance sensor drivers

1
boards/px4/fmu-v5x/nuttx-config/base_phy_DP83848C/defconfig

@ -19,6 +19,7 @@ @@ -19,6 +19,7 @@
# CONFIG_NSH_DISABLE_GET is not set
# CONFIG_NSH_DISABLE_ITEF is not set
# CONFIG_NSH_DISABLE_LOOPS is not set
# CONFIG_NSH_DISABLE_MKFATFS is not set
# CONFIG_NSH_DISABLE_SEMICOLON is not set
# CONFIG_NSH_DISABLE_TIME is not set
CONFIG_ARCH="arm"

3
boards/px4/fmu-v5x/nuttx-config/nsh/defconfig

@ -19,6 +19,7 @@ @@ -19,6 +19,7 @@
# CONFIG_NSH_DISABLE_GET is not set
# CONFIG_NSH_DISABLE_ITEF is not set
# CONFIG_NSH_DISABLE_LOOPS is not set
# CONFIG_NSH_DISABLE_MKFATFS is not set
# CONFIG_NSH_DISABLE_SEMICOLON is not set
# CONFIG_NSH_DISABLE_TIME is not set
CONFIG_ARCH="arm"
@ -72,6 +73,7 @@ CONFIG_FS_FAT=y @@ -72,6 +73,7 @@ CONFIG_FS_FAT=y
CONFIG_FS_FATTIME=y
CONFIG_FS_PROCFS=y
CONFIG_FS_PROCFS_INCLUDE_PROGMEM=y
CONFIG_FS_PROCFS_MAX_TASKS=64
CONFIG_FS_PROCFS_REGISTER=y
CONFIG_FS_ROMFS=y
CONFIG_GRAN=y
@ -89,7 +91,6 @@ CONFIG_IPCFG_PATH="/fs/mtd_net" @@ -89,7 +91,6 @@ CONFIG_IPCFG_PATH="/fs/mtd_net"
CONFIG_LIBC_FLOATINGPOINT=y
CONFIG_LIBC_LONG_LONG=y
CONFIG_LIBC_STRERROR=y
CONFIG_FS_PROCFS_MAX_TASKS=64
CONFIG_MEMSET_64BIT=y
CONFIG_MEMSET_OPTSPEED=y
CONFIG_MMCSD=y

3
boards/px4/fmu-v6u/nuttx-config/nsh/defconfig

@ -19,6 +19,7 @@ @@ -19,6 +19,7 @@
# CONFIG_NSH_DISABLE_GET is not set
# CONFIG_NSH_DISABLE_ITEF is not set
# CONFIG_NSH_DISABLE_LOOPS is not set
# CONFIG_NSH_DISABLE_MKFATFS is not set
# CONFIG_NSH_DISABLE_SEMICOLON is not set
# CONFIG_NSH_DISABLE_TIME is not set
CONFIG_ARCH="arm"
@ -71,6 +72,7 @@ CONFIG_FS_FAT=y @@ -71,6 +72,7 @@ CONFIG_FS_FAT=y
CONFIG_FS_FATTIME=y
CONFIG_FS_PROCFS=y
CONFIG_FS_PROCFS_INCLUDE_PROGMEM=y
CONFIG_FS_PROCFS_MAX_TASKS=64
CONFIG_FS_PROCFS_REGISTER=y
CONFIG_FS_ROMFS=y
CONFIG_GRAN=y
@ -85,7 +87,6 @@ CONFIG_IOB_NCHAINS=24 @@ -85,7 +87,6 @@ CONFIG_IOB_NCHAINS=24
CONFIG_LIBC_FLOATINGPOINT=y
CONFIG_LIBC_LONG_LONG=y
CONFIG_LIBC_STRERROR=y
CONFIG_FS_PROCFS_MAX_TASKS=64
CONFIG_MEMSET_64BIT=y
CONFIG_MEMSET_OPTSPEED=y
CONFIG_MMCSD=y

4
boards/px4/fmu-v6x/default.cmake

@ -47,7 +47,7 @@ px4_add_board( @@ -47,7 +47,7 @@ px4_add_board(
pwm_out
px4io
rc_input
roboclaw
#roboclaw
rpm
safety_button
#smart_battery/batmon
@ -92,7 +92,7 @@ px4_add_board( @@ -92,7 +92,7 @@ px4_add_board(
SYSTEMCMDS
bl_update
dmesg
dumpfile
#dumpfile
esc_calib
gpio
hardfault_log

1
boards/px4/fmu-v6x/nuttx-config/bootloader/defconfig

@ -51,7 +51,6 @@ CONFIG_LIBC_FLOATINGPOINT=y @@ -51,7 +51,6 @@ CONFIG_LIBC_FLOATINGPOINT=y
CONFIG_LIBC_LONG_LONG=y
CONFIG_LIBC_STRERROR=y
CONFIG_LIB_BOARDCTL=y
CONFIG_FS_PROCFS_MAX_TASKS=8
CONFIG_MEMSET_64BIT=y
CONFIG_MEMSET_OPTSPEED=y
CONFIG_PREALLOC_TIMERS=50

3
boards/px4/fmu-v6x/nuttx-config/nsh/defconfig

@ -19,6 +19,7 @@ @@ -19,6 +19,7 @@
# CONFIG_NSH_DISABLE_GET is not set
# CONFIG_NSH_DISABLE_ITEF is not set
# CONFIG_NSH_DISABLE_LOOPS is not set
# CONFIG_NSH_DISABLE_MKFATFS is not set
# CONFIG_NSH_DISABLE_SEMICOLON is not set
# CONFIG_NSH_DISABLE_TIME is not set
CONFIG_ARCH="arm"
@ -73,6 +74,7 @@ CONFIG_FS_FAT=y @@ -73,6 +74,7 @@ CONFIG_FS_FAT=y
CONFIG_FS_FATTIME=y
CONFIG_FS_PROCFS=y
CONFIG_FS_PROCFS_INCLUDE_PROGMEM=y
CONFIG_FS_PROCFS_MAX_TASKS=64
CONFIG_FS_PROCFS_REGISTER=y
CONFIG_FS_ROMFS=y
CONFIG_GRAN=y
@ -90,7 +92,6 @@ CONFIG_IPCFG_PATH="/fs/mtd_net" @@ -90,7 +92,6 @@ CONFIG_IPCFG_PATH="/fs/mtd_net"
CONFIG_LIBC_FLOATINGPOINT=y
CONFIG_LIBC_LONG_LONG=y
CONFIG_LIBC_STRERROR=y
CONFIG_FS_PROCFS_MAX_TASKS=64
CONFIG_MEMSET_64BIT=y
CONFIG_MEMSET_OPTSPEED=y
CONFIG_MMCSD=y

1
boards/px4/io-v2/nuttx-config/nsh/defconfig

@ -28,7 +28,6 @@ CONFIG_FDCLONE_STDIO=y @@ -28,7 +28,6 @@ CONFIG_FDCLONE_STDIO=y
CONFIG_HAVE_CXX=y
CONFIG_HAVE_CXXINITIALIZE=y
CONFIG_IDLETHREAD_STACKSIZE=316
CONFIG_FS_PROCFS_MAX_TASKS=2
CONFIG_MM_FILL_ALLOCATIONS=y
CONFIG_MM_SMALL=y
CONFIG_NAME_MAX=12

1
boards/spracing/h7extreme/nuttx-config/nsh/defconfig

@ -19,6 +19,7 @@ @@ -19,6 +19,7 @@
# CONFIG_NSH_DISABLE_GET is not set
# CONFIG_NSH_DISABLE_ITEF is not set
# CONFIG_NSH_DISABLE_LOOPS is not set
# CONFIG_NSH_DISABLE_MKFATFS is not set
# CONFIG_NSH_DISABLE_SEMICOLON is not set
# CONFIG_NSH_DISABLE_TIME is not set
CONFIG_ARCH="arm"

1
boards/uvify/core/nuttx-config/nsh/defconfig

@ -19,6 +19,7 @@ @@ -19,6 +19,7 @@
# CONFIG_NSH_DISABLE_GET is not set
# CONFIG_NSH_DISABLE_ITEF is not set
# CONFIG_NSH_DISABLE_LOOPS is not set
# CONFIG_NSH_DISABLE_MKFATFS is not set
# CONFIG_NSH_DISABLE_SEMICOLON is not set
# CONFIG_NSH_DISABLE_TIME is not set
# CONFIG_STM32_CCMEXCLUDE is not set

1
src/drivers/smart_battery/batmon/CMakeLists.txt

@ -40,4 +40,5 @@ px4_add_module( @@ -40,4 +40,5 @@ px4_add_module(
DEPENDS
drivers__smbus_sbs
drivers__smbus
)

Loading…
Cancel
Save