summaryrefslogtreecommitdiff
path: root/nuttx/configs
diff options
context:
space:
mode:
authorGregory Nutt <gnutt@nuttx.org>2015-01-13 16:17:07 -0600
committerGregory Nutt <gnutt@nuttx.org>2015-01-13 16:17:07 -0600
commit197a1a4b18cd24b645c86e7b66835c0c000729fc (patch)
tree6186c22f7fd6d6beeb576f8e48c0a7d0a2b349e2 /nuttx/configs
parent6e39c232448916903bff89434b005f09455b42ab (diff)
downloadpx4-nuttx-197a1a4b18cd24b645c86e7b66835c0c000729fc.tar.gz
px4-nuttx-197a1a4b18cd24b645c86e7b66835c0c000729fc.tar.bz2
px4-nuttx-197a1a4b18cd24b645c86e7b66835c0c000729fc.zip
Update README
Diffstat (limited to 'nuttx/configs')
-rw-r--r--nuttx/configs/dk-tm4c129x/README.txt39
1 files changed, 39 insertions, 0 deletions
diff --git a/nuttx/configs/dk-tm4c129x/README.txt b/nuttx/configs/dk-tm4c129x/README.txt
index 4de213b61..46e633c31 100644
--- a/nuttx/configs/dk-tm4c129x/README.txt
+++ b/nuttx/configs/dk-tm4c129x/README.txt
@@ -36,6 +36,7 @@ Contents
- Buttons and LEDs
- Serial Console
- Networking Support
+ - Timers
- Temperature Sensor
- DK-TM4129X Configuration Options
- Configurations
@@ -649,6 +650,44 @@ f Application Configuration -> Network Utilities
CONFIG_NSH_NETINIT_RETRYMSEC=2000 : Configure the network monitor as you like
CONFIG_NSH_NETINIT_SIGNO=18
+Timers
+======
+
+ Tiva timers may be enbled in 32-bit periodic mode using these settings.
+
+ This settings enables the "upper half" timer driver:
+
+ Devices Drivers -> Timer Support
+ CONFIG_TIMER=y
+
+ These settings enable Tiva timer driver support
+
+ System Type -> Tiva/Stellaris Peripheral Support
+ CONFIG_TIVA_TIMER1=y : For timer 1
+
+ System Type -> Tiva Timer Configuration (using Timer 1)
+ CONFIG_TIVA_TIMER_32BIT=y
+ CONFIG_TIVA_TIMER32_PERIODIC=y
+
+ These setting enable board-specific logic to initialize the timer logic
+ (using Timer 1):
+
+ Board Selection -> Timer driver selection
+ CONFIG_DK_TM4C129X_TIMER1=y
+ CONFIG_DK_TM4C129X_TIMER_DEVNAME="/dev/timer0"
+ CONFIG_DK_TM4C129X_TIMER_TIMEOUT=10000
+
+ There is a simple example at apps/examples/timer that can be used to
+ exercise the timers. The following configuration options can be
+ selected to enable that example:
+
+ Application Configure -> Examples -> Timer Example
+ CONFIG_EXAMPLES_TIMER=y
+ CONFIG_EXAMPLE_TIMER_DEVNAME="/dev/timer0"
+ CONFIG_EXAMPLE_TIMER_INTERVAL=1000000
+ CONFIG_EXAMPLE_TIMER_DELAY=100000
+ CONFIG_EXAMPLE_TIMER_NSAMPLES=20
+
Temperature Sensor
==================