FreeCalypso > hg > fc-magnetite
comparison src/cs/drivers/drv_core/armio/armio.c @ 637:31d2824683cb
armio.c & targets/gtamodem.h: GPIO3 and MCSI dummy outputs generalized
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Thu, 30 Jan 2020 01:30:08 +0000 |
parents | d968a3216ba0 |
children | 91d9f8506420 |
comparison
equal
deleted
inserted
replaced
636:57e67ca2e1cb | 637:31d2824683cb |
---|---|
284 #endif | 284 #endif |
285 AI_ConfigBitAsOutput(1); | 285 AI_ConfigBitAsOutput(1); |
286 #ifndef CONFIG_TARGET_LEONARDO /* GPIO 2 is an input on Leonardo! */ | 286 #ifndef CONFIG_TARGET_LEONARDO /* GPIO 2 is an input on Leonardo! */ |
287 AI_ConfigBitAsOutput(2); | 287 AI_ConfigBitAsOutput(2); |
288 #endif | 288 #endif |
289 #ifdef CONFIG_TARGET_GTAMODEM | 289 #ifdef CONFIG_GPIO3_OUTPUT |
290 AI_ConfigBitAsOutput(3); | 290 AI_ConfigBitAsOutput(3); |
291 #endif | 291 #endif |
292 #if defined(CONFIG_TARGET_GTAMODEM) || defined(CONFIG_TARGET_FCFAM) | 292 #if defined(CONFIG_TARGET_GTAMODEM) || defined(CONFIG_TARGET_FCFAM) |
293 AI_ConfigBitAsOutput(4); | 293 AI_ConfigBitAsOutput(4); |
294 #endif | 294 #endif |
299 AI_ConfigBitAsOutput(7); | 299 AI_ConfigBitAsOutput(7); |
300 #if 1 /* FreeCalypso addition for all targets */ | 300 #if 1 /* FreeCalypso addition for all targets */ |
301 AI_ConfigBitAsOutput(8); | 301 AI_ConfigBitAsOutput(8); |
302 #endif | 302 #endif |
303 AI_ConfigBitAsOutput(9); | 303 AI_ConfigBitAsOutput(9); |
304 #ifdef CONFIG_TARGET_GTAMODEM | 304 #ifdef CONFIG_MCSI_UNUSED |
305 AI_ConfigBitAsOutput(10); | 305 AI_ConfigBitAsOutput(10); |
306 AI_ConfigBitAsOutput(11); | 306 AI_ConfigBitAsOutput(11); |
307 AI_ConfigBitAsOutput(12); | 307 AI_ConfigBitAsOutput(12); |
308 #endif | 308 #endif |
309 #if 1 /* FreeCalypso addition for all targets */ | 309 #if 1 /* FreeCalypso addition for all targets */ |