|
|
|
@ -1,7 +1,8 @@
@@ -1,7 +1,8 @@
|
|
|
|
|
############################################################################ |
|
|
|
|
# configs/px4fmu/nsh/defconfig |
|
|
|
|
# |
|
|
|
|
# Copyright (C) 2011 Gregory Nutt. All rights reserved. |
|
|
|
|
# Copyright (C) 2012 PX4 Development Team. All rights reserved. |
|
|
|
|
# Copyright (C) 2011-2012 Gregory Nutt. All rights reserved. |
|
|
|
|
# Author: Gregory Nutt <gnutt@nuttx.org> |
|
|
|
|
# |
|
|
|
|
# Redistribution and use in source and binary forms, with or without |
|
|
|
@ -41,7 +42,7 @@
@@ -41,7 +42,7 @@
|
|
|
|
|
# particular chip family that the architecture is implemented |
|
|
|
|
# in. |
|
|
|
|
# CONFIG_ARCH_architecture - for use in C code. This identifies the |
|
|
|
|
# specific architecture within the chip familyl. |
|
|
|
|
# specific architecture within the chip family. |
|
|
|
|
# CONFIG_ARCH_CHIP - Identifies the arch/*/chip subdirectory |
|
|
|
|
# CONFIG_ARCH_CHIP_name - For use in C code |
|
|
|
|
# CONFIG_ARCH_BOARD - identifies the configs subdirectory and, hence, |
|
|
|
@ -51,7 +52,6 @@
@@ -51,7 +52,6 @@
|
|
|
|
|
# CONFIG_BOARD_LOOPSPERMSEC - for delay loops |
|
|
|
|
# CONFIG_DRAM_SIZE - Describes the installed DRAM. |
|
|
|
|
# CONFIG_DRAM_START - The start address of DRAM (physical) |
|
|
|
|
# CONFIG_DRAM_END - Last address+1 of installed RAM |
|
|
|
|
# CONFIG_ARCH_IRQPRIO - The STM3240xxx supports interrupt prioritization |
|
|
|
|
# CONFIG_ARCH_FPU - The STM3240xxx supports a floating point unit (FPU). |
|
|
|
|
# CONFIG_ARCH_INTERRUPTSTACK - This architecture supports an interrupt |
|
|
|
@ -70,17 +70,16 @@
@@ -70,17 +70,16 @@
|
|
|
|
|
# the delay actually is 100 seconds. |
|
|
|
|
# CONFIG_ARCH_DMA - Support DMA initialization |
|
|
|
|
# |
|
|
|
|
CONFIG_ARCH=arm |
|
|
|
|
CONFIG_ARCH="arm" |
|
|
|
|
CONFIG_ARCH_ARM=y |
|
|
|
|
CONFIG_ARCH_CORTEXM4=y |
|
|
|
|
CONFIG_ARCH_CHIP=stm32 |
|
|
|
|
CONFIG_ARCH_CHIP="stm32" |
|
|
|
|
CONFIG_ARCH_CHIP_STM32F405RG=y |
|
|
|
|
CONFIG_ARCH_BOARD=px4fmu |
|
|
|
|
CONFIG_ARCH_BOARD="px4fmu" |
|
|
|
|
CONFIG_ARCH_BOARD_PX4FMU=y |
|
|
|
|
CONFIG_BOARD_LOOPSPERMSEC=16717 |
|
|
|
|
CONFIG_DRAM_SIZE=0x00030000 |
|
|
|
|
CONFIG_DRAM_START=0x20000000 |
|
|
|
|
CONFIG_DRAM_END=(CONFIG_DRAM_START+CONFIG_DRAM_SIZE) |
|
|
|
|
CONFIG_ARCH_IRQPRIO=y |
|
|
|
|
CONFIG_ARCH_FPU=y |
|
|
|
|
CONFIG_ARCH_INTERRUPTSTACK=n |
|
|
|
@ -94,25 +93,8 @@ CONFIG_ARCH_MATH_H=y
@@ -94,25 +93,8 @@ CONFIG_ARCH_MATH_H=y
|
|
|
|
|
|
|
|
|
|
CONFIG_ARMV7M_CMNVECTOR=y |
|
|
|
|
|
|
|
|
|
# |
|
|
|
|
# LIBC printf() options |
|
|
|
|
# |
|
|
|
|
# CONFIG_LIBC_FLOATINGPOINT - Enables printf("%f") |
|
|
|
|
# CONFIG_LIBC_FIXEDPRECISION - Sets 7 digits after dot for printing: |
|
|
|
|
# 5.1234567 |
|
|
|
|
# CONFIG_HAVE_LONG_LONG - Enabled printf("%llu) |
|
|
|
|
# |
|
|
|
|
CONFIG_LIBC_FLOATINGPOINT=y |
|
|
|
|
CONFIG_HAVE_LONG_LONG=y |
|
|
|
|
#CONFIG_LIBC_FIXEDPRECISION=7 |
|
|
|
|
|
|
|
|
|
# |
|
|
|
|
# CMSIS options |
|
|
|
|
# |
|
|
|
|
# CONFIG_DSPLIB_TARGET - Target for the CMSIS DSP library, one of |
|
|
|
|
# CortexM0, CortexM3 or CortexM4 (with fpu) |
|
|
|
|
# |
|
|
|
|
CONFIG_CMSIS_DSPLIB_TARGET=CortexM4 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# |
|
|
|
|
# JTAG Enable settings (by default JTAG-DP and SW-DP are enabled): |
|
|
|
@ -131,6 +113,14 @@ CONFIG_STM32_JTAG_FULL_ENABLE=y
@@ -131,6 +113,14 @@ CONFIG_STM32_JTAG_FULL_ENABLE=y
|
|
|
|
|
CONFIG_STM32_JTAG_NOJNTRST_ENABLE=n |
|
|
|
|
CONFIG_STM32_JTAG_SW_ENABLE=n |
|
|
|
|
|
|
|
|
|
# |
|
|
|
|
# On-chip CCM SRAM configuration |
|
|
|
|
# |
|
|
|
|
# CONFIG_STM32_CCMEXCLUDE - Exclude CCM SRAM from the HEAP. You would need |
|
|
|
|
# to do this if DMA is enabled to prevent non-DMA-able CCM memory from |
|
|
|
|
# being a part of the stack. |
|
|
|
|
# |
|
|
|
|
|
|
|
|
|
# |
|
|
|
|
# On-board FSMC SRAM configuration |
|
|
|
|
# |
|
|
|
@ -181,6 +171,7 @@ CONFIG_STM32_TIM12=y
@@ -181,6 +171,7 @@ CONFIG_STM32_TIM12=y
|
|
|
|
|
CONFIG_STM32_TIM13=y |
|
|
|
|
CONFIG_STM32_TIM14=y |
|
|
|
|
CONFIG_STM32_WWDG=y |
|
|
|
|
CONFIG_STM32_IWDG=n |
|
|
|
|
CONFIG_STM32_SPI2=n |
|
|
|
|
CONFIG_STM32_SPI3=y |
|
|
|
|
CONFIG_STM32_USART2=y |
|
|
|
@ -211,40 +202,6 @@ CONFIG_STM32_TIM9=y
@@ -211,40 +202,6 @@ CONFIG_STM32_TIM9=y
|
|
|
|
|
CONFIG_STM32_TIM10=y |
|
|
|
|
CONFIG_STM32_TIM11=y |
|
|
|
|
|
|
|
|
|
# |
|
|
|
|
# Configure the ADC |
|
|
|
|
# |
|
|
|
|
CONFIG_ADC=y |
|
|
|
|
# select trigger timer |
|
|
|
|
CONFIG_STM32_TIM4_ADC3=y |
|
|
|
|
# select sample frequency 1^=1.5Msamples/second |
|
|
|
|
# 65535^=10samples/second 16bit-timer runs at 84/128 MHz |
|
|
|
|
CONFIG_STM32_ADC3_SAMPLE_FREQUENCY=6000 |
|
|
|
|
# select timer channel 0=CC1,...,3=CC4 |
|
|
|
|
CONFIG_STM32_ADC3_TIMTRIG=3 |
|
|
|
|
CONFIG_ADC_DMA=y |
|
|
|
|
# only 4 places usable! |
|
|
|
|
CONFIG_ADC_FIFOSIZE=5 |
|
|
|
|
|
|
|
|
|
# |
|
|
|
|
# Timer and I2C devices may need to the following to force power to be applied: |
|
|
|
|
# |
|
|
|
|
#CONFIG_STM32_FORCEPOWER=y |
|
|
|
|
|
|
|
|
|
# |
|
|
|
|
# I2C configuration |
|
|
|
|
# |
|
|
|
|
CONFIG_I2C=y |
|
|
|
|
CONFIG_I2C_POLLED=y |
|
|
|
|
CONFIG_I2C_TRANSFER=y |
|
|
|
|
CONFIG_I2C_WRITEREAD=y |
|
|
|
|
CONFIG_I2C_TRACE=n |
|
|
|
|
# Allow 180 us per byte, a wide margin for the 400 KHz clock we're using |
|
|
|
|
# e.g. 9.6 ms for an EEPROM page write, 0.9 ms for a MAG update |
|
|
|
|
CONFIG_STM32_I2CTIMEOUS_PER_BYTE=200 |
|
|
|
|
# Constant overhead for generating I2C start / stop conditions |
|
|
|
|
CONFIG_STM32_I2CTIMEOUS_START_STOP=700 |
|
|
|
|
CONFIG_DEBUG_I2C=n |
|
|
|
|
|
|
|
|
|
# |
|
|
|
|
# STM32F40xxx specific serial device driver settings |
|
|
|
@ -356,13 +313,6 @@ CONFIG_TONE_ALARM=y
@@ -356,13 +313,6 @@ CONFIG_TONE_ALARM=y
|
|
|
|
|
CONFIG_PWM_SERVO=n |
|
|
|
|
CONFIG_MULTIPORT=n |
|
|
|
|
|
|
|
|
|
# |
|
|
|
|
# CONFIG_UART2_RTS_CTS_AS_GPIO |
|
|
|
|
# If set, enables RTS and CTS pins as additional GPIOs 2 and 3 |
|
|
|
|
# |
|
|
|
|
CONFIG_PX4_UART2_RTS_CTS_AS_GPIO=y |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# |
|
|
|
|
# STM32F40xxx specific SPI device driver settings |
|
|
|
|
# |
|
|
|
@ -375,6 +325,8 @@ CONFIG_SPI_EXCHANGE=y
@@ -375,6 +325,8 @@ CONFIG_SPI_EXCHANGE=y
|
|
|
|
|
# |
|
|
|
|
# CONFIG_CAN - Enables CAN support (one or both of CONFIG_STM32_CAN1 or |
|
|
|
|
# CONFIG_STM32_CAN2 must also be defined) |
|
|
|
|
# CONFIG_CAN_EXTID - Enables support for the 29-bit extended ID. Default |
|
|
|
|
# Standard 11-bit IDs. |
|
|
|
|
# CONFIG_CAN_FIFOSIZE - The size of the circular buffer of CAN messages. |
|
|
|
|
# Default: 8 |
|
|
|
|
# CONFIG_CAN_NPENDINGRTR - The size of the list of pending RTR requests. |
|
|
|
@ -383,14 +335,53 @@ CONFIG_SPI_EXCHANGE=y
@@ -383,14 +335,53 @@ CONFIG_SPI_EXCHANGE=y
|
|
|
|
|
# mode for testing. The STM32 CAN driver does support loopback mode. |
|
|
|
|
# CONFIG_CAN1_BAUD - CAN1 BAUD rate. Required if CONFIG_STM32_CAN1 is defined. |
|
|
|
|
# CONFIG_CAN2_BAUD - CAN1 BAUD rate. Required if CONFIG_STM32_CAN2 is defined. |
|
|
|
|
# CONFIG_CAN_TSEG1 - The number of CAN time quanta in segment 1. Default: 6 |
|
|
|
|
# CONFIG_CAN_TSEG2 - the number of CAN time quanta in segment 2. Default: 7 |
|
|
|
|
# |
|
|
|
|
CONFIG_CAN=n |
|
|
|
|
CONFIG_CAN_EXTID=n |
|
|
|
|
#CONFIG_CAN_FIFOSIZE |
|
|
|
|
#CONFIG_CAN_NPENDINGRTR |
|
|
|
|
CONFIG_CAN_LOOPBACK=n |
|
|
|
|
CONFIG_CAN1_BAUD=700000 |
|
|
|
|
CONFIG_CAN2_BAUD=700000 |
|
|
|
|
|
|
|
|
|
# |
|
|
|
|
# I2C configuration |
|
|
|
|
# |
|
|
|
|
CONFIG_I2C=y |
|
|
|
|
CONFIG_I2C_POLLED=y |
|
|
|
|
CONFIG_I2C_TRANSFER=y |
|
|
|
|
CONFIG_I2C_TRACE=n |
|
|
|
|
# Allow 180 us per byte, a wide margin for the 400 KHz clock we're using |
|
|
|
|
# e.g. 9.6 ms for an EEPROM page write, 0.9 ms for a MAG update |
|
|
|
|
CONFIG_STM32_I2CTIMEOUS_PER_BYTE=200 |
|
|
|
|
# Constant overhead for generating I2C start / stop conditions |
|
|
|
|
CONFIG_STM32_I2CTIMEOUS_START_STOP=700 |
|
|
|
|
# XXX this is bad and we want it gone |
|
|
|
|
CONFIG_I2C_WRITEREAD=y |
|
|
|
|
|
|
|
|
|
# |
|
|
|
|
# ADC configuration |
|
|
|
|
# |
|
|
|
|
# Enable ADC driver support. |
|
|
|
|
# |
|
|
|
|
# CONFIG_ADC=y : Enable the generic ADC infrastructure |
|
|
|
|
# CONFIG_STM32_TIM1_ADC=y : Indicate that timer 1 will be used to trigger an ADC |
|
|
|
|
# CONFIG_STM32_TIM1_ADC3=y : Assign timer 1 to drive ADC3 sampling |
|
|
|
|
# CONFIG_STM32_ADC3_SAMPLE_FREQUENCY=100 : Select a sampling frequency |
|
|
|
|
# |
|
|
|
|
CONFIG_ADC=y |
|
|
|
|
CONFIG_STM32_TIM4_ADC3=y |
|
|
|
|
# select sample frequency 1^=1.5Msamples/second |
|
|
|
|
# 65535^=10samples/second 16bit-timer runs at 84/128 MHz |
|
|
|
|
CONFIG_STM32_ADC3_SAMPLE_FREQUENCY=6000 |
|
|
|
|
# select timer channel 0=CC1,...,3=CC4 |
|
|
|
|
CONFIG_STM32_ADC3_TIMTRIG=3 |
|
|
|
|
CONFIG_ADC_DMA=y |
|
|
|
|
# only 4 places usable! |
|
|
|
|
CONFIG_ADC_FIFOSIZE=5 |
|
|
|
|
|
|
|
|
|
# |
|
|
|
|
# General build options |
|
|
|
|
# |
|
|
|
@ -408,7 +399,7 @@ CONFIG_CAN2_BAUD=700000
@@ -408,7 +399,7 @@ CONFIG_CAN2_BAUD=700000
|
|
|
|
|
# CONFIG_HAVE_LIBM - toolchain supports libm.a |
|
|
|
|
# |
|
|
|
|
CONFIG_RRLOAD_BINARY=n |
|
|
|
|
CONFIG_INTELHEX_BINARY=y |
|
|
|
|
CONFIG_INTELHEX_BINARY=n |
|
|
|
|
CONFIG_MOTOROLA_SREC=n |
|
|
|
|
CONFIG_RAW_BINARY=y |
|
|
|
|
CONFIG_HAVE_LIBM=y |
|
|
|
@ -423,6 +414,9 @@ CONFIG_HAVE_LIBM=y
@@ -423,6 +414,9 @@ CONFIG_HAVE_LIBM=y
|
|
|
|
|
# CONFIG_DEBUG_SYMBOLS - build without optimization and with |
|
|
|
|
# debug symbols (needed for use with a debugger). |
|
|
|
|
# CONFIG_HAVE_CXX - Enable support for C++ |
|
|
|
|
# CONFIG_HAVE_CXXINITIALIZE - The platform-specific logic includes support |
|
|
|
|
# for initialization of static C++ instances for this architecture |
|
|
|
|
# and for the selected toolchain (via up_cxxinitialize()). |
|
|
|
|
# CONFIG_MM_REGIONS - If the architecture includes multiple |
|
|
|
|
# regions of memory to allocate from, this specifies the |
|
|
|
|
# number of memory regions that the memory manager must |
|
|
|
@ -497,7 +491,7 @@ CONFIG_HAVE_LIBM=y
@@ -497,7 +491,7 @@ CONFIG_HAVE_LIBM=y
|
|
|
|
|
# CONFIG_SCHED_WORKPRIORITY - The execution priority of the worker |
|
|
|
|
# thread. Default: 50 |
|
|
|
|
# CONFIG_SCHED_WORKPERIOD - How often the worker thread checks for |
|
|
|
|
# work in units of microseconds. Default: 50*1000 (50 MS). |
|
|
|
|
# work in units of microseconds. Default: 50000 (50 MS). |
|
|
|
|
# CONFIG_SCHED_WORKSTACKSIZE - The stack size allocated for the worker |
|
|
|
|
# thread. Default: CONFIG_IDLETHREAD_STACKSIZE. |
|
|
|
|
# CONFIG_SIG_SIGWORK - The signal number that will be used to wake-up |
|
|
|
@ -509,14 +503,20 @@ CONFIG_HAVE_LIBM=y
@@ -509,14 +503,20 @@ CONFIG_HAVE_LIBM=y
|
|
|
|
|
CONFIG_DEBUG=y |
|
|
|
|
CONFIG_DEBUG_VERBOSE=y |
|
|
|
|
CONFIG_DEBUG_SYMBOLS=y |
|
|
|
|
CONFIG_DEBUG_ANALOG=n |
|
|
|
|
CONFIG_DEBUG_FS=n |
|
|
|
|
CONFIG_DEBUG_GRAPHICS=n |
|
|
|
|
CONFIG_DEBUG_LCD=n |
|
|
|
|
CONFIG_DEBUG_USB=n |
|
|
|
|
CONFIG_DEBUG_NET=n |
|
|
|
|
CONFIG_DEBUG_RTC=n |
|
|
|
|
CONFIG_DEBUG_ANALOG=n |
|
|
|
|
CONFIG_DEBUG_PWM=n |
|
|
|
|
CONFIG_DEBUG_CAN=n |
|
|
|
|
CONFIG_DEBUG_I2C=n |
|
|
|
|
CONFIG_DEBUG_INPUT=n |
|
|
|
|
|
|
|
|
|
CONFIG_HAVE_CXX=y |
|
|
|
|
CONFIG_HAVE_CXXINITIALIZE=n |
|
|
|
|
CONFIG_MM_REGIONS=2 |
|
|
|
|
CONFIG_ARCH_LOWPUTC=y |
|
|
|
|
CONFIG_MSEC_PER_TICK=1 |
|
|
|
@ -538,13 +538,45 @@ CONFIG_FDCLONE_DISABLE=n
@@ -538,13 +538,45 @@ CONFIG_FDCLONE_DISABLE=n
|
|
|
|
|
CONFIG_FDCLONE_STDIO=y |
|
|
|
|
CONFIG_SDCLONE_DISABLE=y |
|
|
|
|
CONFIG_SCHED_WORKQUEUE=y |
|
|
|
|
CONFIG_SCHED_WORKPRIORITY=199 |
|
|
|
|
CONFIG_SCHED_WORKPRIORITY=192 |
|
|
|
|
CONFIG_SCHED_WORKPERIOD=(5*1000) |
|
|
|
|
CONFIG_SCHED_WORKSTACKSIZE=2048 |
|
|
|
|
CONFIG_SIG_SIGWORK=4 |
|
|
|
|
CONFIG_SCHED_WAITPID=y |
|
|
|
|
CONFIG_SCHED_ATEXIT=n |
|
|
|
|
|
|
|
|
|
# |
|
|
|
|
# System Logging |
|
|
|
|
# |
|
|
|
|
# CONFIG_SYSLOG - Enables the System Logging feature. |
|
|
|
|
# CONFIG_RAMLOG - Enables the RAM logging feature |
|
|
|
|
# CONFIG_RAMLOG_CONSOLE - Use the RAM logging device as a system console. |
|
|
|
|
# If this feature is enabled (along with CONFIG_DEV_CONSOLE), then all |
|
|
|
|
# console output will be re-directed to a circular buffer in RAM. This |
|
|
|
|
# is useful, for example, if the only console is a Telnet console. Then |
|
|
|
|
# in that case, console output from non-Telnet threads will go to the |
|
|
|
|
# circular buffer and can be viewed using the NSH 'dmesg' command. |
|
|
|
|
# CONFIG_RAMLOG_SYSLOG - Use the RAM logging device for the syslogging |
|
|
|
|
# interface. If this feature is enabled (along with CONFIG_SYSLOG), |
|
|
|
|
# then all debug output (only) will be re-directed to the circular |
|
|
|
|
# buffer in RAM. This RAM log can be view from NSH using the 'dmesg' |
|
|
|
|
# command. |
|
|
|
|
# CONFIG_RAMLOG_NPOLLWAITERS - The number of threads than can be waiting |
|
|
|
|
# for this driver on poll(). Default: 4 |
|
|
|
|
# |
|
|
|
|
# If CONFIG_RAMLOG_CONSOLE or CONFIG_RAMLOG_SYSLOG is selected, then the |
|
|
|
|
# following may also be provided: |
|
|
|
|
# |
|
|
|
|
# CONFIG_RAMLOG_CONSOLE_BUFSIZE - Size of the console RAM log. Default: 1024 |
|
|
|
|
# |
|
|
|
|
|
|
|
|
|
CONFIG_SYSLOG=n |
|
|
|
|
CONFIG_RAMLOG=n |
|
|
|
|
CONFIG_RAMLOG_CONSOLE=n |
|
|
|
|
CONFIG_RAMLOG_SYSLOG=n |
|
|
|
|
#CONFIG_RAMLOG_NPOLLWAITERS |
|
|
|
|
#CONFIG_RAMLOG_CONSOLE_BUFSIZE |
|
|
|
|
|
|
|
|
|
# |
|
|
|
|
# The following can be used to disable categories of |
|
|
|
|
# APIs supported by the OS. If the compiler supports |
|
|
|
@ -574,8 +606,14 @@ CONFIG_DISABLE_POLL=n
@@ -574,8 +606,14 @@ CONFIG_DISABLE_POLL=n
|
|
|
|
|
# |
|
|
|
|
# CONFIG_NOPRINTF_FIELDWIDTH - sprintf-related logic is a |
|
|
|
|
# little smaller if we do not support fieldwidthes |
|
|
|
|
# CONFIG_LIBC_FLOATINGPOINT - Enables printf("%f") |
|
|
|
|
# CONFIG_LIBC_FIXEDPRECISION - Sets 7 digits after dot for printing: |
|
|
|
|
# 5.1234567 |
|
|
|
|
# CONFIG_HAVE_LONG_LONG - Enabled printf("%llu) |
|
|
|
|
# |
|
|
|
|
CONFIG_NOPRINTF_FIELDWIDTH=n |
|
|
|
|
CONFIG_LIBC_FLOATINGPOINT=y |
|
|
|
|
CONFIG_HAVE_LONG_LONG=y |
|
|
|
|
|
|
|
|
|
# |
|
|
|
|
# Allow for architecture optimized implementations |
|
|
|
@ -788,42 +826,6 @@ CONFIG_USBDEV_MAXPOWER=500
@@ -788,42 +826,6 @@ CONFIG_USBDEV_MAXPOWER=500
|
|
|
|
|
CONFIG_USBDEV_TRACE=n |
|
|
|
|
CONFIG_USBDEV_TRACE_NRECORDS=512 |
|
|
|
|
|
|
|
|
|
# |
|
|
|
|
# USB Serial Device Configuration (Prolifics PL2303 emulation) |
|
|
|
|
# |
|
|
|
|
# CONFIG_PL2303 |
|
|
|
|
# Enable compilation of the USB serial driver |
|
|
|
|
# CONFIG_PL2303_EPINTIN |
|
|
|
|
# The logical 7-bit address of a hardware endpoint that supports |
|
|
|
|
# interrupt IN operation |
|
|
|
|
# CONFIG_PL2303_EPBULKOUT |
|
|
|
|
# The logical 7-bit address of a hardware endpoint that supports |
|
|
|
|
# bulk OUT operation |
|
|
|
|
# CONFIG_PL2303_EPBULKIN |
|
|
|
|
# The logical 7-bit address of a hardware endpoint that supports |
|
|
|
|
# bulk IN operation |
|
|
|
|
# # CONFIG_PL2303_NWRREQS and CONFIG_PL2303_NRDREQS |
|
|
|
|
# The number of write/read requests that can be in flight |
|
|
|
|
# CONFIG_PL2303_VENDORID and CONFIG_PL2303_VENDORSTR |
|
|
|
|
# The vendor ID code/string |
|
|
|
|
# CONFIG_PL2303_PRODUCTID and CONFIG_PL2303_PRODUCTSTR |
|
|
|
|
# The product ID code/string |
|
|
|
|
# CONFIG_PL2303_RXBUFSIZE and CONFIG_PL2303_TXBUFSIZE |
|
|
|
|
# Size of the serial receive/transmit buffers |
|
|
|
|
# |
|
|
|
|
CONFIG_PL2303=n |
|
|
|
|
CONFIG_PL2303_EPINTIN=1 |
|
|
|
|
CONFIG_PL2303_EPBULKOUT=2 |
|
|
|
|
CONFIG_PL2303_EPBULKIN=3 |
|
|
|
|
CONFIG_PL2303_NWRREQS=4 |
|
|
|
|
CONFIG_PL2303_NRDREQS=4 |
|
|
|
|
CONFIG_PL2303_VENDORID=0x067b |
|
|
|
|
CONFIG_PL2303_PRODUCTID=0x2303 |
|
|
|
|
CONFIG_PL2303_VENDORSTR="Nuttx" |
|
|
|
|
CONFIG_PL2303_PRODUCTSTR="USBdev Serial" |
|
|
|
|
CONFIG_PL2303_RXBUFSIZE=512 |
|
|
|
|
CONFIG_PL2303_TXBUFSIZE=512 |
|
|
|
|
|
|
|
|
|
# |
|
|
|
|
# USB serial device class driver (Standard CDC ACM class) |
|
|
|
|
# |
|
|
|
@ -896,44 +898,6 @@ CONFIG_CDCACM_PRODUCTSTR="PX4 FMU v1.6"
@@ -896,44 +898,6 @@ CONFIG_CDCACM_PRODUCTSTR="PX4 FMU v1.6"
|
|
|
|
|
#CONFIG_CDCACM_RXBUFSIZE |
|
|
|
|
#CONFIG_CDCACM_TXBUFSIZE |
|
|
|
|
|
|
|
|
|
# |
|
|
|
|
# USB Storage Device Configuration |
|
|
|
|
# |
|
|
|
|
# CONFIG_USBMSC |
|
|
|
|
# Enable compilation of the USB storage driver |
|
|
|
|
# CONFIG_USBMSC_EP0MAXPACKET |
|
|
|
|
# Max packet size for endpoint 0 |
|
|
|
|
# CONFIG_USBMSC_EPBULKOUT and CONFIG_USBMSC_EPBULKIN |
|
|
|
|
# The logical 7-bit address of a hardware endpoints that support |
|
|
|
|
# bulk OUT and IN operations |
|
|
|
|
# CONFIG_USBMSC_NWRREQS and CONFIG_USBMSC_NRDREQS |
|
|
|
|
# The number of write/read requests that can be in flight |
|
|
|
|
# CONFIG_USBMSC_BULKINREQLEN and CONFIG_USBMSC_BULKOUTREQLEN |
|
|
|
|
# The size of the buffer in each write/read request. This |
|
|
|
|
# value needs to be at least as large as the endpoint |
|
|
|
|
# maxpacket and ideally as large as a block device sector. |
|
|
|
|
# CONFIG_USBMSC_VENDORID and CONFIG_USBMSC_VENDORSTR |
|
|
|
|
# The vendor ID code/string |
|
|
|
|
# CONFIG_USBMSC_PRODUCTID and CONFIG_USBMSC_PRODUCTSTR |
|
|
|
|
# The product ID code/string |
|
|
|
|
# CONFIG_USBMSC_REMOVABLE |
|
|
|
|
# Select if the media is removable |
|
|
|
|
# |
|
|
|
|
CONFIG_USBMSC=n |
|
|
|
|
CONFIG_USBMSC_EP0MAXPACKET=64 |
|
|
|
|
CONFIG_USBMSC_EPBULKOUT=2 |
|
|
|
|
CONFIG_USBMSC_EPBULKIN=5 |
|
|
|
|
CONFIG_USBMSC_NRDREQS=2 |
|
|
|
|
CONFIG_USBMSC_NWRREQS=2 |
|
|
|
|
CONFIG_USBMSC_BULKINREQLEN=256 |
|
|
|
|
CONFIG_USBMSC_BULKOUTREQLEN=256 |
|
|
|
|
CONFIG_USBMSC_VENDORID=0x584e |
|
|
|
|
CONFIG_USBMSC_VENDORSTR="NuttX" |
|
|
|
|
CONFIG_USBMSC_PRODUCTID=0x5342 |
|
|
|
|
CONFIG_USBMSC_PRODUCTSTR="USBdev Storage" |
|
|
|
|
CONFIG_USBMSC_VERSIONNO=0x0399 |
|
|
|
|
CONFIG_USBMSC_REMOVABLE=y |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# |
|
|
|
|
# Settings for apps/nshlib |
|
|
|
@ -944,7 +908,6 @@ CONFIG_USBMSC_REMOVABLE=y
@@ -944,7 +908,6 @@ CONFIG_USBMSC_REMOVABLE=y
|
|
|
|
|
# CONFIG_NSH_FILEIOSIZE - Size of a static I/O buffer |
|
|
|
|
# CONFIG_NSH_STRERROR - Use strerror(errno) |
|
|
|
|
# CONFIG_NSH_LINELEN - Maximum length of one command line |
|
|
|
|
# CONFIG_NSH_STACKSIZE - Stack size to use for new threads. |
|
|
|
|
# CONFIG_NSH_NESTDEPTH - Max number of nested if-then[-else]-fi |
|
|
|
|
# CONFIG_NSH_DISABLESCRIPT - Disable scripting support |
|
|
|
|
# CONFIG_NSH_DISABLEBG - Disable background commands |
|
|
|
@ -989,9 +952,9 @@ CONFIG_NSH_ARCHINIT=y
@@ -989,9 +952,9 @@ CONFIG_NSH_ARCHINIT=y
|
|
|
|
|
CONFIG_NSH_IOBUFFER_SIZE=512 |
|
|
|
|
CONFIG_NSH_DHCPC=n |
|
|
|
|
CONFIG_NSH_NOMAC=y |
|
|
|
|
CONFIG_NSH_IPADDR=(10<<24|0<<16|0<<8|2) |
|
|
|
|
CONFIG_NSH_DRIPADDR=(10<<24|0<<16|0<<8|1) |
|
|
|
|
CONFIG_NSH_NETMASK=(255<<24|255<<16|255<<8|0) |
|
|
|
|
CONFIG_NSH_IPADDR=0x0a000002 |
|
|
|
|
CONFIG_NSH_DRIPADDR=0x0a000001 |
|
|
|
|
CONFIG_NSH_NETMASK=0xffffff00 |
|
|
|
|
CONFIG_NSH_ROMFSMOUNTPT="/etc" |
|
|
|
|
CONFIG_NSH_INITSCRIPT="init.d/rcS" |
|
|
|
|
CONFIG_NSH_ROMFSDEVNO=0 |
|
|
|
@ -1008,13 +971,6 @@ CONFIG_NSH_MMCSDSPIPORTNO=3
@@ -1008,13 +971,6 @@ CONFIG_NSH_MMCSDSPIPORTNO=3
|
|
|
|
|
CONFIG_NSH_MMCSDSLOTNO=0 |
|
|
|
|
CONFIG_NSH_MMCSDMINOR=0 |
|
|
|
|
|
|
|
|
|
# |
|
|
|
|
# Settings for mavlink |
|
|
|
|
# |
|
|
|
|
# CONFIG_MAVLINK - Enable MAVLINK app |
|
|
|
|
# CONFIG_NSH_BUILTIN_APPS - Build the ADC test as an NSH built-in function. |
|
|
|
|
# Default: Built as a standalone problem |
|
|
|
|
CONFIG_MAVLINK=y |
|
|
|
|
|
|
|
|
|
# |
|
|
|
|
# Stack and heap information |
|
|
|
|