File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -94,6 +94,7 @@ MBED_WEAK void TargetBSP_Init(void) {
94
94
/** Do nothing */
95
95
}
96
96
97
+ #ifndef MBED_DEBUG
97
98
#if MBED_CONF_TARGET_GPIO_RESET_AT_INIT
98
99
void GPIO_Full_Init (void ) {
99
100
GPIO_InitTypeDef GPIO_InitStruct ;
@@ -162,6 +163,7 @@ void GPIO_Full_Init(void) {
162
163
#endif
163
164
}
164
165
#endif
166
+ #endif
165
167
166
168
// This function is called after RAM initialization and before main.
167
169
void mbed_sdk_init ()
@@ -313,9 +315,11 @@ void mbed_sdk_init()
313
315
#endif /* ! MBED_CONF_TARGET_LSE_AVAILABLE */
314
316
#endif /* DEVICE_RTC */
315
317
318
+ #ifndef MBED_DEBUG
316
319
#if MBED_CONF_TARGET_GPIO_RESET_AT_INIT
317
320
/* Reset all GPIO */
318
321
GPIO_Full_Init ();
322
+ #endif
319
323
#endif
320
324
321
325
/* BSP initialization hook (external RAM, etc) */
You can’t perform that action at this time.
0 commit comments