aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulian Oes <julian@oes.ch>2013-07-18 13:23:14 +0200
committerJulian Oes <julian@oes.ch>2013-07-18 13:23:14 +0200
commit3bea32af8d41585976b78c6dad2701df4180659f (patch)
treebfe705841597eaaf91700dbbb60b3d922f52aaec
parente7f732b2e667d843b41315be1c8a96340e2770ef (diff)
downloadpx4-firmware-3bea32af8d41585976b78c6dad2701df4180659f.tar.gz
px4-firmware-3bea32af8d41585976b78c6dad2701df4180659f.tar.bz2
px4-firmware-3bea32af8d41585976b78c6dad2701df4180659f.zip
Add HRT and PPM again in IO defconfig
-rwxr-xr-xnuttx-configs/px4io-v2/nsh/defconfig22
-rwxr-xr-xnuttx-configs/px4io-v2/test/defconfig22
2 files changed, 44 insertions, 0 deletions
diff --git a/nuttx-configs/px4io-v2/nsh/defconfig b/nuttx-configs/px4io-v2/nsh/defconfig
index 846ea8fb9..4111e70eb 100755
--- a/nuttx-configs/px4io-v2/nsh/defconfig
+++ b/nuttx-configs/px4io-v2/nsh/defconfig
@@ -196,6 +196,28 @@ CONFIG_USART2_RXDMA=n
CONFIG_USART3_RXDMA=y
#
+# PX4IO specific driver settings
+#
+# CONFIG_HRT_TIMER
+# Enables the high-resolution timer. The board definition must
+# set HRT_TIMER and HRT_TIMER_CHANNEL to the timer and capture/
+# compare channels to be used.
+# CONFIG_HRT_PPM
+# Enables R/C PPM input using the HRT. The board definition must
+# set HRT_PPM_CHANNEL to the timer capture/compare channel to be
+# used, and define GPIO_PPM_IN to configure the appropriate timer
+# GPIO.
+# CONFIG_PWM_SERVO
+# Enables the PWM servo driver. The driver configuration must be
+# supplied by the board support at initialisation time.
+# Note that USART2 must be disabled on the PX4 board for this to
+# be available.
+#
+#
+CONFIG_HRT_TIMER=y
+CONFIG_HRT_PPM=y
+
+#
# General build options
#
# CONFIG_RRLOAD_BINARY - make the rrload binary format used with
diff --git a/nuttx-configs/px4io-v2/test/defconfig b/nuttx-configs/px4io-v2/test/defconfig
index 19dfefdf8..132c40d80 100755
--- a/nuttx-configs/px4io-v2/test/defconfig
+++ b/nuttx-configs/px4io-v2/test/defconfig
@@ -188,6 +188,28 @@ CONFIG_USART2_2STOP=0
CONFIG_USART3_2STOP=0
#
+# PX4IO specific driver settings
+#
+# CONFIG_HRT_TIMER
+# Enables the high-resolution timer. The board definition must
+# set HRT_TIMER and HRT_TIMER_CHANNEL to the timer and capture/
+# compare channels to be used.
+# CONFIG_HRT_PPM
+# Enables R/C PPM input using the HRT. The board definition must
+# set HRT_PPM_CHANNEL to the timer capture/compare channel to be
+# used, and define GPIO_PPM_IN to configure the appropriate timer
+# GPIO.
+# CONFIG_PWM_SERVO
+# Enables the PWM servo driver. The driver configuration must be
+# supplied by the board support at initialisation time.
+# Note that USART2 must be disabled on the PX4 board for this to
+# be available.
+#
+#
+CONFIG_HRT_TIMER=y
+CONFIG_HRT_PPM=y
+
+#
# General build options
#
# CONFIG_RRLOAD_BINARY - make the rrload binary format used with