Skip to content

Commit 5d2344d

Browse files
committed
cc3200: Change safe-boot pin to GPIO28.
1 parent 2b899b6 commit 5d2344d

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

cc3200/bootmgr/main.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -67,9 +67,9 @@
6767
#define BOOTMGR_PINS_PRCM PRCM_GPIOA3
6868
#define BOOTMGR_PINS_PORT GPIOA3_BASE
6969
#define BOOTMGR_LED_PIN_NUM PIN_21
70-
#define BOOTMGR_SFE_PIN_NUM PIN_45
70+
#define BOOTMGR_SFE_PIN_NUM PIN_18
7171
#define BOOTMGR_LED_PORT_PIN GPIO_PIN_1 // GPIO25
72-
#define BOOTMGR_SFE_PORT_PIN GPIO_PIN_7 // GPIO31
72+
#define BOOTMGR_SFE_PORT_PIN GPIO_PIN_4 // GPIO28
7373

7474

7575
//*****************************************************************************
@@ -165,7 +165,7 @@ static void bootmgr_board_init(void) {
165165

166166
// Configure the safe mode pin
167167
MAP_PinTypeGPIO(BOOTMGR_SFE_PIN_NUM, PIN_MODE_0, false);
168-
MAP_PinConfigSet(BOOTMGR_SFE_PIN_NUM, PIN_STRENGTH_6MA, PIN_TYPE_STD_PU);
168+
MAP_PinConfigSet(BOOTMGR_SFE_PIN_NUM, PIN_STRENGTH_4MA, PIN_TYPE_STD_PU);
169169
MAP_GPIODirModeSet(BOOTMGR_PINS_PORT, BOOTMGR_SFE_PORT_PIN, GPIO_DIR_MODE_IN);
170170
}
171171

0 commit comments

Comments
 (0)