2018-05-29 08:28:09 -04:00
|
|
|
#include "py/mphal.h"
|
2018-02-20 17:35:05 -05:00
|
|
|
|
|
|
|
void NUCLEO_H743ZI_board_early_init(void) {
|
|
|
|
// Turn off the USB switch
|
2018-05-29 08:28:09 -04:00
|
|
|
#define USB_PowerSwitchOn pin_G6
|
|
|
|
mp_hal_pin_output(USB_PowerSwitchOn);
|
|
|
|
mp_hal_pin_low(USB_PowerSwitchOn);
|
2018-02-20 17:35:05 -05:00
|
|
|
}
|