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