a0cd18c1a5
This commit creates a new stm32 board for the NUCLEO_H743ZI2, which is the current version of this from ST. This is a modified copy of the NUCLEO_H743ZI board, and the ZI2 board differs in a few minor ways: - LED2 has moved from PB7 to PE1 and is now yellow rather than blue - the USB power enable has moved from PG6 to PG10 - the USER button is now pulled down
8 lines
187 B
C
8 lines
187 B
C
#include "py/mphal.h"
|
|
|
|
void NUCLEO_H743ZI_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);
|
|
}
|