micropython/ports/stm32/boards/NUCLEO_H723ZG/board_init.c

8 wiersze
188 B
C

#include "py/mphal.h"
void NUCLEO_H723ZG_board_early_init(void) {
// Turn off the USB switch.
mp_hal_pin_output(pyb_pin_OTG_FS_POWER);
mp_hal_pin_low(pyb_pin_OTG_FS_POWER);
}