don't register ID pin (#1438)
This commit is contained in:
parent
e3ee77b58a
commit
0c142921d6
|
@ -37,7 +37,6 @@
|
||||||
#define BOARD_NAME "STM32 Nucleo144-F746ZI for RusEFI"
|
#define BOARD_NAME "STM32 Nucleo144-F746ZI for RusEFI"
|
||||||
|
|
||||||
#define EFI_USB_AF 10U
|
#define EFI_USB_AF 10U
|
||||||
#define EFI_USB_SERIAL_ID GPIOA_10
|
|
||||||
#define EFI_USB_SERIAL_DM GPIOA_11
|
#define EFI_USB_SERIAL_DM GPIOA_11
|
||||||
#define EFI_USB_SERIAL_DP GPIOA_12
|
#define EFI_USB_SERIAL_DP GPIOA_12
|
||||||
|
|
||||||
|
|
|
@ -37,7 +37,6 @@
|
||||||
#define BOARD_NAME "STM32 Nucleo144-F767ZI for RusEFI"
|
#define BOARD_NAME "STM32 Nucleo144-F767ZI for RusEFI"
|
||||||
|
|
||||||
#define EFI_USB_AF 10U
|
#define EFI_USB_AF 10U
|
||||||
#define EFI_USB_SERIAL_ID GPIOA_10
|
|
||||||
#define EFI_USB_SERIAL_DM GPIOA_11
|
#define EFI_USB_SERIAL_DM GPIOA_11
|
||||||
#define EFI_USB_SERIAL_DP GPIOA_12
|
#define EFI_USB_SERIAL_DP GPIOA_12
|
||||||
|
|
||||||
|
|
|
@ -33,7 +33,6 @@
|
||||||
#define BOARD_NAME "STM32F407 for RusEFI"
|
#define BOARD_NAME "STM32F407 for RusEFI"
|
||||||
|
|
||||||
#define EFI_USB_AF 10U
|
#define EFI_USB_AF 10U
|
||||||
#define EFI_USB_SERIAL_ID GPIOA_10
|
|
||||||
#define EFI_USB_SERIAL_DM GPIOA_11
|
#define EFI_USB_SERIAL_DM GPIOA_11
|
||||||
#define EFI_USB_SERIAL_DP GPIOA_12
|
#define EFI_USB_SERIAL_DP GPIOA_12
|
||||||
|
|
||||||
|
|
|
@ -40,7 +40,6 @@ void usb_serial_start(void) {
|
||||||
usbConnectBus(serusbcfg.usbp);
|
usbConnectBus(serusbcfg.usbp);
|
||||||
|
|
||||||
#if HAL_USE_SERIAL
|
#if HAL_USE_SERIAL
|
||||||
efiSetPadMode("USB ID", EFI_USB_SERIAL_ID, PAL_MODE_ALTERNATE(EFI_USB_AF));
|
|
||||||
efiSetPadMode("USB DM", EFI_USB_SERIAL_DM, PAL_MODE_ALTERNATE(EFI_USB_AF));
|
efiSetPadMode("USB DM", EFI_USB_SERIAL_DM, PAL_MODE_ALTERNATE(EFI_USB_AF));
|
||||||
efiSetPadMode("USB DP", EFI_USB_SERIAL_DP, PAL_MODE_ALTERNATE(EFI_USB_AF));
|
efiSetPadMode("USB DP", EFI_USB_SERIAL_DP, PAL_MODE_ALTERNATE(EFI_USB_AF));
|
||||||
/*
|
/*
|
||||||
|
|
Loading…
Reference in New Issue