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