Debian Codegraph @

ports/stm32/boards/NUCLEO_F767ZI/board_init.c

raw
1 #include "py/mphal.h"
2
3 void NUCLEO_F767ZI_board_early_init(void) {
4 // Turn off the USB switch
5 #define USB_PowerSwitchOn pin_G6
6 mp_hal_pin_output(USB_PowerSwitchOn);
7 mp_hal_pin_low(USB_PowerSwitchOn);
8 }