aboutsummaryrefslogtreecommitdiff
path: root/nuttx-configs
diff options
context:
space:
mode:
authorLorenz Meier <lm@inf.ethz.ch>2014-11-12 10:48:35 +0100
committerDavid Sidrane <david_s5@nscdg.com>2015-04-07 07:12:02 -1000
commiteeb4619f69682ee113fcc6cc99a7dbf141a444c8 (patch)
tree060fa3faffd1a230108bafb62a7b9840d0848fc6 /nuttx-configs
parent4d0ed5e04500589fe3c745165d28ee42f3d76462 (diff)
downloadpx4-firmware-eeb4619f69682ee113fcc6cc99a7dbf141a444c8.tar.gz
px4-firmware-eeb4619f69682ee113fcc6cc99a7dbf141a444c8.tar.bz2
px4-firmware-eeb4619f69682ee113fcc6cc99a7dbf141a444c8.zip
PX4IOv1: Modernize config
Diffstat (limited to 'nuttx-configs')
-rw-r--r--nuttx-configs/px4io-v1/nsh/Make.defs1
-rwxr-xr-xnuttx-configs/px4io-v1/nsh/defconfig14
2 files changed, 11 insertions, 4 deletions
diff --git a/nuttx-configs/px4io-v1/nsh/Make.defs b/nuttx-configs/px4io-v1/nsh/Make.defs
index 74f38c0cb..09a36ea6d 100644
--- a/nuttx-configs/px4io-v1/nsh/Make.defs
+++ b/nuttx-configs/px4io-v1/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-v1/nsh/defconfig b/nuttx-configs/px4io-v1/nsh/defconfig
index 385b8d6a8..a03166478 100755
--- a/nuttx-configs/px4io-v1/nsh/defconfig
+++ b/nuttx-configs/px4io-v1/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
@@ -80,9 +80,10 @@ CONFIG_ARCH_CHIP_STM32F100C8=y
CONFIG_ARCH_BOARD_PX4IO_V1=y
# CONFIG_ARCH_BOARD_CUSTOM is not set
CONFIG_ARCH_BOARD="px4io-v1"
+CONFIG_ARCH_BOARD_PX4IO_V1=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
@@ -201,6 +202,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
+
#
# General build options
#