Skip to content

Commit

Permalink
px4/fmu-v4: update nuttx config
Browse files Browse the repository at this point in the history
  • Loading branch information
davids5 committed Oct 29, 2019
1 parent 95e5fcb commit 0dae69e
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 0 deletions.
23 changes: 23 additions & 0 deletions boards/px4/fmu-v4/nuttx-config/Kconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
#
# For a description of the syntax of this configuration file,
# see misc/tools/kconfig-language.txt.
#
config BOARD_HAS_PROBES
bool "Board provides GPIO or other Hardware for signaling to timing analyze."
default y
---help---
This board provides GPIO FMU-CH1-6 to provide timing signals from selected drivers.

config BOARD_USE_PROBES
bool "Enable the use the board provided FMU-CH1-6 as PROBE_1-6"
default n
depends on BOARD_HAS_PROBES

---help---
Select to use GPIO FMU-CH1-6 to provide timing signals from selected drivers.

# Hack to ensure ARCH_MATH_H is kept
config BOARD_HAVE_MATH_H
bool "Provide ARCH math.h (selects ARCH_HAVE_MATH_H)"
default y
select ARCH_HAVE_MATH_H
1 change: 1 addition & 0 deletions boards/px4/fmu-v4/nuttx-config/drivers/Kconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@

3 changes: 3 additions & 0 deletions boards/px4/fmu-v4/nuttx-config/nsh/defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,11 @@
# CONFIG_NSH_DISABLE_TIME is not set
# CONFIG_STM32_CCMEXCLUDE is not set
CONFIG_ARCH="arm"
CONFIG_ARCH_BOARD_CUSTOM=y
CONFIG_ARCH_BOARD_CUSTOM_DIR="../nuttx-config"
CONFIG_ARCH_BOARD_CUSTOM_DIR_RELPATH=y
CONFIG_ARCH_BOARD_CUSTOM_NAME="px4"
CONFIG_ARCH_CHIP="stm32"
CONFIG_ARCH_CHIP_STM32=y
CONFIG_ARCH_CHIP_STM32F427V=y
CONFIG_ARCH_INTERRUPTSTACK=512
Expand Down

0 comments on commit 0dae69e

Please sign in to comment.