circuitpython/ports/stm32/boards/NUCLEO_F767ZI/board_init.c

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

9 lines
218 B
C
Raw Normal View History

#include "py/mphal.h"
void NUCLEO_F767ZI_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);
}