summaryrefslogtreecommitdiff
path: root/nuttx/arch/arm/src/lpc214x/lpc214x_head.S
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/arch/arm/src/lpc214x/lpc214x_head.S')
-rw-r--r--nuttx/arch/arm/src/lpc214x/lpc214x_head.S12
1 files changed, 12 insertions, 0 deletions
diff --git a/nuttx/arch/arm/src/lpc214x/lpc214x_head.S b/nuttx/arch/arm/src/lpc214x/lpc214x_head.S
index b1fd603f7..58b852e60 100644
--- a/nuttx/arch/arm/src/lpc214x/lpc214x_head.S
+++ b/nuttx/arch/arm/src/lpc214x/lpc214x_head.S
@@ -433,6 +433,14 @@
#endif
.endm
+ .macro configfastport, base, tmp
+#ifdef CONFIG_LPC214x_FIO
+ ldr \base, =LPC214X_SCS
+ mov \tmp, #0x03
+ str \tmp,[\base]
+#endif
+ .endm
+
/*****************************************************************************
* Text
*****************************************************************************/
@@ -534,6 +542,10 @@ __start:
configdac r0, r1
+ /* Configure Fast GPIO Port */
+
+ configfastport r0, r1
+
/* Configure the uart so that we can get debug output as soon
* as possible. Modifies r0, r1, r2, and r14.
*/