summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordanicampora <danicampora@gmail.com>2015-02-16 17:53:43 +0100
committerdanicampora <danicampora@gmail.com>2015-02-20 16:40:19 +0100
commit5d2344d0096200a5fbd8a3fa05ff86c7b25ebd96 (patch)
tree4cd7441750411af478d9cf1f9044ee5a5de59f7a
parent2b899b6708470a9e2473eb4cf9120c64519fb4ef (diff)
cc3200: Change safe-boot pin to GPIO28.
-rw-r--r--cc3200/bootmgr/main.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/cc3200/bootmgr/main.c b/cc3200/bootmgr/main.c
index 7929f1648..a84302b39 100644
--- a/cc3200/bootmgr/main.c
+++ b/cc3200/bootmgr/main.c
@@ -67,9 +67,9 @@
#define BOOTMGR_PINS_PRCM PRCM_GPIOA3
#define BOOTMGR_PINS_PORT GPIOA3_BASE
#define BOOTMGR_LED_PIN_NUM PIN_21
-#define BOOTMGR_SFE_PIN_NUM PIN_45
+#define BOOTMGR_SFE_PIN_NUM PIN_18
#define BOOTMGR_LED_PORT_PIN GPIO_PIN_1 // GPIO25
-#define BOOTMGR_SFE_PORT_PIN GPIO_PIN_7 // GPIO31
+#define BOOTMGR_SFE_PORT_PIN GPIO_PIN_4 // GPIO28
//*****************************************************************************
@@ -165,7 +165,7 @@ static void bootmgr_board_init(void) {
// Configure the safe mode pin
MAP_PinTypeGPIO(BOOTMGR_SFE_PIN_NUM, PIN_MODE_0, false);
- MAP_PinConfigSet(BOOTMGR_SFE_PIN_NUM, PIN_STRENGTH_6MA, PIN_TYPE_STD_PU);
+ MAP_PinConfigSet(BOOTMGR_SFE_PIN_NUM, PIN_STRENGTH_4MA, PIN_TYPE_STD_PU);
MAP_GPIODirModeSet(BOOTMGR_PINS_PORT, BOOTMGR_SFE_PORT_PIN, GPIO_DIR_MODE_IN);
}