aboutsummaryrefslogtreecommitdiff
path: root/nuttx-configs
diff options
context:
space:
mode:
authorLorenz Meier <lm@inf.ethz.ch>2014-11-12 10:48:51 +0100
committerLorenz Meier <lm@inf.ethz.ch>2014-11-12 10:48:51 +0100
commit6456007d7fa668d95edbd3db7843d66429894370 (patch)
tree97759cf572ba94602b66cfe800730e93d3cf7d12 /nuttx-configs
parentacc5ae740ee9213dd33cec5d15ac0651f66a19b2 (diff)
downloadpx4-firmware-6456007d7fa668d95edbd3db7843d66429894370.tar.gz
px4-firmware-6456007d7fa668d95edbd3db7843d66429894370.tar.bz2
px4-firmware-6456007d7fa668d95edbd3db7843d66429894370.zip
PX4IOv2: Modernize config
Diffstat (limited to 'nuttx-configs')
-rw-r--r--nuttx-configs/px4io-v2/nsh/Make.defs1
-rwxr-xr-xnuttx-configs/px4io-v2/nsh/defconfig19
2 files changed, 16 insertions, 4 deletions
diff --git a/nuttx-configs/px4io-v2/nsh/Make.defs b/nuttx-configs/px4io-v2/nsh/Make.defs
index cd2d8eba3..996f1bc79 100644
--- a/nuttx-configs/px4io-v2/nsh/Make.defs
+++ b/nuttx-configs/px4io-v2/nsh/Make.defs
@@ -35,6 +35,7 @@
include ${TOPDIR}/.config
include ${TOPDIR}/tools/Config.mk
+include ${TOPDIR}/arch/arm/src/armv7-m/Toolchain.defs
#
# We only support building with the ARM bare-metal toolchain from
diff --git a/nuttx-configs/px4io-v2/nsh/defconfig b/nuttx-configs/px4io-v2/nsh/defconfig
index 02b51e3d7..1bfea7b93 100755
--- a/nuttx-configs/px4io-v2/nsh/defconfig
+++ b/nuttx-configs/px4io-v2/nsh/defconfig
@@ -50,8 +50,8 @@
# CONFIG_ARCH_BOARD_name - for use in C code
# CONFIG_ENDIAN_BIG - define if big endian (default is little endian)
# CONFIG_BOARD_LOOPSPERMSEC - for delay loops
-# CONFIG_DRAM_SIZE - Describes the installed DRAM.
-# CONFIG_DRAM_START - The start address of DRAM (physical)
+# CONFIG_RAM_SIZE - Describes the installed DRAM.
+# CONFIG_RAM_START - The start address of DRAM (physical)
# CONFIG_ARCH_IRQPRIO - The ST32F100CB supports interrupt prioritization
# CONFIG_ARCH_INTERRUPTSTACK - This architecture supports an interrupt
# stack. If defined, this symbol is the size of the interrupt
@@ -77,8 +77,8 @@ CONFIG_ARCH_CHIP_STM32F100C8=y
CONFIG_ARCH_BOARD="px4io-v2"
CONFIG_ARCH_BOARD_PX4IO_V2=y
CONFIG_BOARD_LOOPSPERMSEC=2000
-CONFIG_DRAM_SIZE=0x00002000
-CONFIG_DRAM_START=0x20000000
+CONFIG_RAM_SIZE=0x00002000
+CONFIG_RAM_START=0x20000000
CONFIG_ARCH_INTERRUPTSTACK=n
CONFIG_ARCH_STACKDUMP=y
CONFIG_ARCH_BOOTLOADER=n
@@ -90,6 +90,8 @@ CONFIG_ARCH_MATH_H=y
CONFIG_ARMV7M_CMNVECTOR=y
+CONFIG_HOST_LINUX=y
+
#
# JTAG Enable settings (by default JTAG-DP and SW-DP are disabled):
#
@@ -194,6 +196,11 @@ SERIAL_HAVE_CONSOLE_DMA=y
CONFIG_USART2_RXDMA=n
CONFIG_USART3_RXDMA=y
+# CONFIG_ARMV7M_TOOLCHAIN_CODEREDL is not set
+# CONFIG_ARMV7M_TOOLCHAIN_CODESOURCERYL is not set
+CONFIG_ARMV7M_TOOLCHAIN_GNU_EABIL=y
+# CONFIG_ARMV7M_ITMSYSLOG is not set
+
#
# PX4IO specific driver settings
#
@@ -335,6 +342,7 @@ CONFIG_HAVE_LIBM=n
#
CONFIG_USER_ENTRYPOINT="user_start"
#CONFIG_APPS_DIR=
+CONFIG_BUILD_FLAT=y
CONFIG_DEBUG=n
CONFIG_DEBUG_VERBOSE=n
CONFIG_DEBUG_SYMBOLS=y
@@ -382,6 +390,9 @@ CONFIG_SIG_SIGWORK=4
CONFIG_SCHED_WAITPID=n
CONFIG_SCHED_ATEXIT=n
+CONFIG_ARCH_HAVE_CUSTOMOPT=y
+CONFIG_DEBUG_NOOPT=y
+
#
# The following can be used to disable categories of
# APIs supported by the OS. If the compiler supports