Logo
Explore Help
Register Sign In
fengqi/lv_micropython
1
0
Fork 0
You've already forked lv_micropython
Code Issues Pull Requests 1 Actions Packages Projects Releases Wiki Activity
lv_micropython/ports/stm32/boards/NUCLEO_H743ZI/board_init.c

9 lines
218 B
C
Raw Normal View History

stm32/boards: Ensure USB OTG power is off for NUCLEO_F767ZI. And update the GPIO init for NUCLEO_H743ZI to consistently use the mphal functions.
2018-05-29 14:28:09 +02:00
#include "py/mphal.h"
stm32/boards: Add new NUCLEO_H743ZI board configuration files. USB serial and mass storage works, and the REPL is also available via the UART through the on-board ST-LINK.
2018-02-21 00:35:05 +02:00
void NUCLEO_H743ZI_board_early_init(void) {
// Turn off the USB switch
stm32/boards: Ensure USB OTG power is off for NUCLEO_F767ZI. And update the GPIO init for NUCLEO_H743ZI to consistently use the mphal functions.
2018-05-29 14:28:09 +02:00
#define USB_PowerSwitchOn pin_G6
mp_hal_pin_output(USB_PowerSwitchOn);
mp_hal_pin_low(USB_PowerSwitchOn);
stm32/boards: Add new NUCLEO_H743ZI board configuration files. USB serial and mass storage works, and the REPL is also available via the UART through the on-board ST-LINK.
2018-02-21 00:35:05 +02:00
}
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.23.8 Page: 32ms Template: 1ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API