changeset 285:504c9dcbffb2

GTA0x target: GPIOs 3, 10, 11 and 12 are unconnected, so drive them as outputs
author Mychaela Falconia <falcon@freecalypso.org>
date Tue, 08 Aug 2017 01:28:52 +0000
parents ece3ecbcd4f1
children 840113655bbf
files src/cs/drivers/drv_core/armio/armio.c
diffstat 1 files changed, 8 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/cs/drivers/drv_core/armio/armio.c	Mon Aug 07 07:14:10 2017 +0000
+++ b/src/cs/drivers/drv_core/armio/armio.c	Tue Aug 08 01:28:52 2017 +0000
@@ -245,12 +245,20 @@
     AI_ConfigBitAsOutput(1);	
 // end
     AI_ConfigBitAsOutput(2);
+    #ifdef CONFIG_TARGET_GTAMODEM
+      AI_ConfigBitAsOutput(3);
+    #endif
     AI_ConfigBitAsOutput(4);	/* FreeCalypso addition */
     AI_ConfigBitAsOutput(5);
     AI_ConfigBitAsOutput(6);	/* FreeCalypso addition */
     AI_ConfigBitAsOutput(7);
     AI_ConfigBitAsOutput(8);	/* FreeCalypso addition */
     AI_ConfigBitAsOutput(9);
+    #ifdef CONFIG_TARGET_GTAMODEM
+      AI_ConfigBitAsOutput(10);
+      AI_ConfigBitAsOutput(11);
+      AI_ConfigBitAsOutput(12);
+    #endif
     AI_ConfigBitAsOutput(13);	/* FreeCalypso addition */
     AI_ConfigBitAsOutput(14);
     AI_ConfigBitAsOutput(15);