diff options
Diffstat (limited to 'nuttx/configs/spark/nsh/defconfig')
-rw-r--r-- | nuttx/configs/spark/nsh/defconfig | 108 |
1 files changed, 63 insertions, 45 deletions
diff --git a/nuttx/configs/spark/nsh/defconfig b/nuttx/configs/spark/nsh/defconfig index 28fb705d8..63e076bdd 100644 --- a/nuttx/configs/spark/nsh/defconfig +++ b/nuttx/configs/spark/nsh/defconfig @@ -23,9 +23,9 @@ CONFIG_HOST_LINUX=y # Binary Output Formats # # CONFIG_RRLOAD_BINARY is not set -# CONFIG_INTELHEX_BINARY is not set +CONFIG_INTELHEX_BINARY=y # CONFIG_MOTOROLA_SREC is not set -CONFIG_RAW_BINARY=y +# CONFIG_RAW_BINARY is not set # # Customize Header Files @@ -189,7 +189,7 @@ CONFIG_STM32_MEDIUMDENSITY=y # CONFIG_STM32_STM32F20XX is not set # CONFIG_STM32_STM32F30XX is not set # CONFIG_STM32_STM32F40XX is not set -CONFIG_STM32_DFU=y +# CONFIG_STM32_DFU is not set # # STM32 Peripheral Support @@ -226,13 +226,12 @@ CONFIG_STM32_USART2=y CONFIG_STM32_USB=y # CONFIG_STM32_IWDG is not set # CONFIG_STM32_WWDG is not set -# CONFIG_STM32_I2C is not set +CONFIG_STM32_SPI=y # # Alternate Pin Mapping # -# CONFIG_STM32_I2C1_REMAP is not set -# CONFIG_STM32_USART1_REMAP is not set +# CONFIG_STM32_USART2_REMAP is not set # CONFIG_STM32_JTAG_DISABLE is not set CONFIG_STM32_JTAG_FULL_ENABLE=y # CONFIG_STM32_JTAG_NOJNTRST_ENABLE is not set @@ -245,18 +244,15 @@ CONFIG_STM32_USART=y # # U[S]ART Configuration # -# CONFIG_USART1_RS485 is not set +# CONFIG_USART2_RS485 is not set # CONFIG_SERIAL_DISABLE_REORDERING is not set # CONFIG_STM32_USART_SINGLEWIRE is not set # -# I2C Configuration +# SPI Configuration # -# CONFIG_STM32_I2C_DYNTIMEO is not set -# CONFIG_STM32_I2CTIMEOSEC is not set -# CONFIG_STM32_I2CTIMEOMS is not set -# CONFIG_STM32_I2CTIMEOTICKS is not set -# CONFIG_STM32_I2C_DUTY16_9 is not set +# CONFIG_STM32_SPI_INTERRUPTS is not set +# CONFIG_STM32_SPI_DMA is not set # # USB Host Configuration @@ -308,6 +304,7 @@ CONFIG_RAM_SIZE=20480 # # Board Selection # +# CONFIG_ARCH_BOARD_MAPLE is not set CONFIG_ARCH_BOARD_SPARK=y # CONFIG_ARCH_BOARD_CUSTOM is not set CONFIG_ARCH_BOARD="spark" @@ -321,17 +318,16 @@ CONFIG_ARCH_HAVE_BUTTONS=y CONFIG_ARCH_BUTTONS=y CONFIG_ARCH_HAVE_IRQBUTTONS=y CONFIG_ARCH_IRQBUTTONS=y +CONFIG_NSH_MMCSDMINOR=0 # # Board-Specific Options # CONFIG_SPARK_FLASH=y CONFIG_SPARK_FLASH_SPI=2 - CONFIG_SPARK_FLASH_MINOR=0 CONFIG_SPARK_FLASH_PART=y CONFIG_SPARK_FLASH_PART_LIST="256,768" -CONFIG_SPARK_FLASH_MOUNT_POINT="/mnt/p%d" # # RTOS Features @@ -366,6 +362,7 @@ CONFIG_SIG_SIGUSR1=1 CONFIG_SIG_SIGUSR2=2 CONFIG_SIG_SIGALARM=3 CONFIG_SIG_SIGCONDTIMEDOUT=16 +CONFIG_SIG_SIGWORK=17 # # Sizes of configurable things (0 disables) @@ -385,10 +382,10 @@ CONFIG_PREALLOC_TIMERS=4 # # Stack and heap information # -CONFIG_IDLETHREAD_STACKSIZE=1024 -CONFIG_USERMAIN_STACKSIZE=2048 +CONFIG_IDLETHREAD_STACKSIZE=512 +CONFIG_USERMAIN_STACKSIZE=1024 CONFIG_PTHREAD_STACK_MIN=256 -CONFIG_PTHREAD_STACK_DEFAULT=1024 +CONFIG_PTHREAD_STACK_DEFAULT=512 # # Device Drivers @@ -401,45 +398,56 @@ CONFIG_DEV_NULL=y # CONFIG_CAN is not set # CONFIG_PWM is not set # CONFIG_I2C is not set -# CONFIG_I2C_SLAVE is not set -# CONFIG_I2C_TRANSFER is not set -# CONFIG_I2C_WRITEREAD is not set -# CONFIG_I2C_POLLED is not set -# CONFIG_I2C_TRACE is not set -# CONFIG_ARCH_HAVE_I2CRESET is not set -# CONFIG_I2C_RESET is not set +CONFIG_ARCH_HAVE_I2CRESET=y CONFIG_SPI=y +# CONFIG_SPI_OWNBUS is not set +CONFIG_SPI_EXCHANGE=y +# CONFIG_SPI_CMDDATA is not set +# CONFIG_SPI_BITBANG is not set # CONFIG_RTC is not set # CONFIG_WATCHDOG is not set CONFIG_ANALOG=y +# CONFIG_ADC is not set +# CONFIG_DAC is not set # CONFIG_AUDIO_DEVICES is not set # CONFIG_BCH is not set # CONFIG_INPUT is not set # CONFIG_LCD is not set # CONFIG_MMCSD is not set +CONFIG_MTD=y # # MTD Configuration # -CONFIG_MTD=y CONFIG_MTD_PARTITION=y CONFIG_MTD_BYTE_WRITE=y # # MTD Device Drivers # +# CONFIG_RAMMTD is not set +# CONFIG_MTD_AT24XX is not set +# CONFIG_MTD_AT25 is not set +# CONFIG_MTD_AT45DB is not set +# CONFIG_MTD_M25P is not set +# CONFIG_MTD_SMART is not set +# CONFIG_MTD_RAMTRON is not set CONFIG_MTD_SST25=y CONFIG_SST25_SPIMODE=1 CONFIG_SST25_SPIFREQUENCY=20000000 -CONFIG_SST25_SECTOR512=n - - +# CONFIG_SST25_READONLY is not set +# CONFIG_SST25_SECTOR512 is not set +CONFIG_SST25_SLOWWRITE=y +# CONFIG_SST25_SLOWREAD is not set +# CONFIG_MTD_SST39FV is not set +# CONFIG_MTD_W25 is not set # CONFIG_PIPES is not set # CONFIG_PM is not set # CONFIG_POWER is not set # CONFIG_SENSORS is not set CONFIG_SERIAL=y # CONFIG_DEV_LOWCONSOLE is not set +CONFIG_SERIAL_REMOVABLE=y # CONFIG_16550_UART is not set CONFIG_ARCH_HAVE_USART2=y @@ -450,11 +458,10 @@ CONFIG_USART2_ISUART=y CONFIG_MCU_SERIAL=y CONFIG_STANDARD_SERIAL=y CONFIG_USART2_SERIAL_CONSOLE=y - # CONFIG_NO_SERIAL_CONSOLE is not set # -# USART1 Configuration +# USART2 Configuration # CONFIG_USART2_RXBUFSIZE=256 CONFIG_USART2_TXBUFSIZE=256 @@ -462,8 +469,8 @@ CONFIG_USART2_BAUD=115200 CONFIG_USART2_BITS=8 CONFIG_USART2_PARITY=0 CONFIG_USART2_2STOP=0 -# CONFIG_USART1_IFLOWCONTROL is not set -# CONFIG_USART1_OFLOWCONTROL is not set +# CONFIG_USART2_IFLOWCONTROL is not set +# CONFIG_USART2_OFLOWCONTROL is not set # CONFIG_SERIAL_IFLOWCONTROL is not set # CONFIG_SERIAL_OFLOWCONTROL is not set CONFIG_USBDEV=y @@ -496,7 +503,7 @@ CONFIG_COMPOSITE_CONFIGSTR="NuttX COMPOSITE config" CONFIG_COMPOSITE_VERSIONNO=0x1010 # CONFIG_PL2303 is not set CONFIG_CDCACM=y -CONFIG_CDCACM_CONSOLE=n +# CONFIG_CDCACM_CONSOLE is not set CONFIG_CDCACM_COMPOSITE=y CONFIG_CDCACM_IFNOBASE=0 CONFIG_CDCACM_STRBASE=0 @@ -540,7 +547,11 @@ CONFIG_USBMSC_VERSIONNO=0x399 CONFIG_WIRELESS=y # CONFIG_WL_CC1101 is not set CONFIG_WL_CC3000=y -# CONFIG_WL_CC3000_DUMMY is not set +# CONFIG_CC3000_MULTIPLE is not set +CONFIG_CC3000_SPIDEV=2 +CONFIG_CC3000_DEVMINOR=0 +CONFIG_CC3000_SPI_MODE=0 +CONFIG_CC3000_SPI_FREQUENCY=16000000 # CONFIG_WL_NRF24L01 is not set # @@ -571,7 +582,7 @@ CONFIG_FAT_LCNAMES=y CONFIG_FAT_LFN=y CONFIG_FAT_MAXFNAME=32 CONFIG_FS_FATTIME=y - +# CONFIG_FAT_DMAMEMORY is not set # CONFIG_FS_NXFFS is not set # CONFIG_FS_ROMFS is not set # CONFIG_FS_SMARTFS is not set @@ -644,7 +655,12 @@ CONFIG_LIB_SENDFILE_BUFSIZE=512 # # Non-standard Library Support # -# CONFIG_SCHED_WORKQUEUE is not set +CONFIG_SCHED_WORKQUEUE=y +CONFIG_SCHED_HPWORK=y +CONFIG_SCHED_WORKPRIORITY=192 +CONFIG_SCHED_WORKPERIOD=50000 +CONFIG_SCHED_WORKSTACKSIZE=2048 +# CONFIG_SCHED_LPWORK is not set # CONFIG_LIB_KBDCODEC is not set # CONFIG_LIB_SLCDCODEC is not set @@ -668,6 +684,7 @@ CONFIG_BUILTIN_PROXY_STACKSIZE=1024 # # CONFIG_EXAMPLES_BUTTONS is not set # CONFIG_EXAMPLES_CAN is not set +CONFIG_EXAMPLES_CC3000BASIC=y # CONFIG_EXAMPLES_DHCPD is not set # CONFIG_EXAMPLES_ELF is not set # CONFIG_EXAMPLES_FTPC is not set @@ -682,6 +699,7 @@ CONFIG_BUILTIN_PROXY_STACKSIZE=1024 # CONFIG_EXAMPLES_MM is not set # CONFIG_EXAMPLES_MODBUS is not set # CONFIG_EXAMPLES_MOUNT is not set +# CONFIG_EXAMPLES_MTDPART is not set # CONFIG_EXAMPLES_NRF24L01TERM is not set CONFIG_EXAMPLES_NSH=y # CONFIG_EXAMPLES_NULL is not set @@ -762,11 +780,13 @@ CONFIG_NSH_BUILTIN_APPS=y # # Disable Individual commands # +# CONFIG_NSH_DISABLE_ADDROUTE is not set # CONFIG_NSH_DISABLE_CAT is not set # CONFIG_NSH_DISABLE_CD is not set # CONFIG_NSH_DISABLE_CP is not set # CONFIG_NSH_DISABLE_CMP is not set # CONFIG_NSH_DISABLE_DD is not set +# CONFIG_NSH_DISABLE_DELROUTE is not set # CONFIG_NSH_DISABLE_ECHO is not set # CONFIG_NSH_DISABLE_EXEC is not set # CONFIG_NSH_DISABLE_EXIT is not set @@ -822,7 +842,7 @@ CONFIG_NSH_CONSOLE=y # # CONFIG_NSH_USBDEV_TRACE is not set # CONFIG_NSH_CONDEV is not set -# CONFIG_NSH_ARCHINIT is not set +CONFIG_NSH_ARCHINIT=y # # NxWidgets/NxWM @@ -835,10 +855,12 @@ CONFIG_NSH_CONSOLE=y # # USB CDC/ACM Device Commands # +# CONFIG_SYSTEM_CDCACM is not set # # USB Composite Device Commands # +# CONFIG_SYSTEM_COMPOSITE is not set # # Custom Free Memory Command @@ -848,13 +870,6 @@ CONFIG_NSH_CONSOLE=y # # I2C tool # -# CONFIG_SYSTEM_I2CTOOL is not set -# CONFIG_I2CTOOL_MINBUS is not set -# CONFIG_I2CTOOL_MAXBUS is not set -# CONFIG_I2CTOOL_MINADDR is not set -# CONFIG_I2CTOOL_MAXADDR is not set -# CONFIG_I2CTOOL_MAXREGADDR is not set -# CONFIG_I2CTOOL_DEFFREQ is not set # # FLASH Program Installation @@ -864,6 +879,7 @@ CONFIG_NSH_CONSOLE=y # # FLASH Erase-all Command # +# CONFIG_SYSTEM_FLASH_ERASEALL is not set # # RAM test @@ -895,6 +911,7 @@ CONFIG_READLINE_ECHO=y # Sysinfo # CONFIG_SYSTEM_SYSINFO=y +CONFIG_SYSTEM_SYSINFO_STACKSIZE=1024 # # USB Monitor @@ -908,6 +925,7 @@ CONFIG_SYSTEM_SYSINFO=y # # USB Mass Storage Device Commands # +# CONFIG_SYSTEM_USBMSC is not set # # Zmodem Commands |