micropython/ports/stm32/boards/NUCLEO_F722ZE/board_init.c

9 lines
204 B
C

#include "py/mphal.h"
void board_early_init(void) {
// Turn off the USB switch
#define USB_PowerSwitchOn pin_G6
mp_hal_pin_output(USB_PowerSwitchOn);
mp_hal_pin_low(USB_PowerSwitchOn);
}