summaryrefslogtreecommitdiff
path: root/nuttx/configs/eagle100/src
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2009-05-08 21:12:33 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2009-05-08 21:12:33 +0000
commit77c4a4d3e9f5a8f9c8d6c921e05dfae965512117 (patch)
tree1fbdded94bf80f8b3710c7590573fff28c250a86 /nuttx/configs/eagle100/src
parent637a7d82473a76f00af93d16c38624b4960e8575 (diff)
downloadpx4-nuttx-77c4a4d3e9f5a8f9c8d6c921e05dfae965512117.tar.gz
px4-nuttx-77c4a4d3e9f5a8f9c8d6c921e05dfae965512117.tar.bz2
px4-nuttx-77c4a4d3e9f5a8f9c8d6c921e05dfae965512117.zip
lm3s6918 update
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1764 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/configs/eagle100/src')
-rw-r--r--nuttx/configs/eagle100/src/up_leds.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/nuttx/configs/eagle100/src/up_leds.c b/nuttx/configs/eagle100/src/up_leds.c
index 2b8dcfb6b..bf23b1eaa 100644
--- a/nuttx/configs/eagle100/src/up_leds.c
+++ b/nuttx/configs/eagle100/src/up_leds.c
@@ -70,6 +70,10 @@
#ifdef CONFIG_ARCH_LEDS
void up_ledinit(void)
{
+ /* Make sure that the GPIOE peripheral is enabled */
+
+ modifyreg32(LM3S_SYSCON_RCGC2_OFFSET, 0, SYSCON_RCGC2_GPIOE);
+
/* Configure Port E, Bit 1 as an output, initial value=OFF */
lm3s_configgpio(GPIO_DIR_OUTPUT | GPIO_VALUE_ZERO | GPIO_PORTE | 1);