You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
9 lines
218 B
9 lines
218 B
4 years ago
|
#include "py/mphal.h"
|
||
|
|
||
|
void NUCLEO_H743ZI_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);
|
||
|
}
|