Convert target.h
This commit is contained in:
parent
78bc3f52ad
commit
3983902efb
|
@ -65,7 +65,8 @@
|
|||
#define M25P16_SPI_INSTANCE SPI2
|
||||
|
||||
#define USE_VCP
|
||||
#define VBUS_SENSING_PIN PD2
|
||||
#define USE_USB_DETECT
|
||||
#define USB_DETECT_PIN PD2
|
||||
|
||||
#define USE_UART1
|
||||
#define UART1_RX_PIN PA10
|
||||
|
|
|
@ -60,7 +60,8 @@
|
|||
#define USABLE_TIMER_CHANNEL_COUNT 16
|
||||
|
||||
#define USE_VCP
|
||||
#define VBUS_SENSING_PIN PA8
|
||||
#define USE_USB_DETECT
|
||||
#define USB_DETECT_PIN PA8
|
||||
|
||||
#define USE_UART1
|
||||
#define UART1_RX_PIN PA10
|
||||
|
|
|
@ -56,7 +56,8 @@
|
|||
#define USABLE_TIMER_CHANNEL_COUNT 16
|
||||
|
||||
#define USE_VCP
|
||||
#define VBUS_SENSING_PIN PA8
|
||||
#define USE_USB_DETECT
|
||||
#define USB_DETECT_PIN PA8
|
||||
|
||||
#define USE_UART1
|
||||
#define UART1_RX_PIN PA10
|
||||
|
|
|
@ -73,8 +73,8 @@
|
|||
#define SDCARD_DMA_CHANNEL 0
|
||||
|
||||
#define USE_VCP
|
||||
#define VBUS_SENSING_ENABLED
|
||||
#define VBUS_SENSING_PIN PC5
|
||||
#define USE_USB_DETECT
|
||||
#define USB_DETECT_PIN PC5
|
||||
|
||||
#define USE_UART1
|
||||
#define UART1_RX_PIN PA10
|
||||
|
|
|
@ -68,7 +68,8 @@
|
|||
#define USE_FLASH_M25P16
|
||||
|
||||
#define USE_VCP
|
||||
#define VBUS_SENSING_PIN PC5
|
||||
#define USE_USB_DETECT
|
||||
#define USB_DETECT_PIN PC5
|
||||
|
||||
|
||||
#define USE_UART1
|
||||
|
|
|
@ -97,8 +97,8 @@
|
|||
#define USE_FLASH_M25P16
|
||||
|
||||
#define USE_VCP
|
||||
//#define VBUS_SENSING_PIN PA8
|
||||
//#define VBUS_SENSING_ENABLED
|
||||
//#define USB_DETECT_PIN PA8
|
||||
//#define USE_USB_DETECT
|
||||
|
||||
#define USE_UART1
|
||||
#define UART1_RX_PIN PA10
|
||||
|
|
|
@ -87,7 +87,8 @@
|
|||
|
||||
|
||||
#define USE_VCP
|
||||
#define VBUS_SENSING_PIN PC5
|
||||
#define USE_USB_DETECT
|
||||
#define USB_DETECT_PIN PC5
|
||||
|
||||
#define USE_UART1
|
||||
#define UART1_RX_PIN PA10
|
||||
|
|
|
@ -70,7 +70,8 @@
|
|||
|
||||
|
||||
#define USE_VCP
|
||||
#define VBUS_SENSING_PIN PA9
|
||||
#define USE_USB_DETECT
|
||||
#define USB_DETECT_PIN PA9
|
||||
|
||||
#define USE_UART1
|
||||
#define UART1_RX_PIN PB7
|
||||
|
|
|
@ -71,7 +71,8 @@
|
|||
|
||||
|
||||
#define USE_VCP
|
||||
#define VBUS_SENSING_PIN PA9
|
||||
#define USE_USB_DETECT
|
||||
#define USB_DETECT_PIN PA9
|
||||
|
||||
#define USE_UART1
|
||||
#define UART1_RX_PIN PB7
|
||||
|
|
|
@ -96,8 +96,8 @@
|
|||
|
||||
/*-----------USB-UARTs-------------*/
|
||||
#define USE_VCP
|
||||
//#define VBUS_SENSING_PIN PA8
|
||||
//#define VBUS_SENSING_ENABLED
|
||||
//#define USB_DETECT_PIN PA8
|
||||
//#define USE_USB_DETECT
|
||||
|
||||
#define USE_UART1
|
||||
#define UART1_RX_PIN PA10
|
||||
|
|
|
@ -101,8 +101,8 @@
|
|||
|
||||
/*-----------USB-UARTs-------------*/
|
||||
#define USE_VCP
|
||||
//#define VBUS_SENSING_PIN PA8
|
||||
//#define VBUS_SENSING_ENABLED
|
||||
//#define USB_DETECT_PIN PA8
|
||||
//#define USE_USB_DETECT
|
||||
|
||||
#define USE_UART1
|
||||
#define UART1_RX_PIN PA10
|
||||
|
|
|
@ -51,8 +51,8 @@
|
|||
|
||||
// *************** UART *****************************
|
||||
#define USE_VCP
|
||||
#define VBUS_SENSING_PIN PA8
|
||||
#define VBUS_SENSING_ENABLED
|
||||
#define USB_DETECT_PIN PA8
|
||||
#define USE_USB_DETECT
|
||||
|
||||
#define USE_UART1
|
||||
#define UART1_RX_PIN PA10
|
||||
|
|
|
@ -68,7 +68,8 @@
|
|||
#define SDCARD_DMA_CHANNEL 0
|
||||
|
||||
#define USE_VCP
|
||||
#define VBUS_SENSING_PIN PC5
|
||||
#define USE_USB_DETECT
|
||||
#define USB_DETECT_PIN PC5
|
||||
|
||||
#define USE_UART1
|
||||
#define UART1_RX_PIN PA10
|
||||
|
|
|
@ -119,8 +119,8 @@
|
|||
#define M25P16_SPI_INSTANCE SPI3
|
||||
|
||||
#define USE_VCP
|
||||
#define VBUS_SENSING_PIN PC5
|
||||
#define VBUS_SENSING_ENABLED
|
||||
#define USB_DETECT_PIN PC5
|
||||
#define USE_USB_DETECT
|
||||
|
||||
#define USE_UART1
|
||||
#define UART1_RX_PIN PA10
|
||||
|
|
|
@ -93,7 +93,8 @@
|
|||
#define M25P16_SPI_INSTANCE SPI3
|
||||
|
||||
#define USE_VCP
|
||||
#define VBUS_SENSING_PIN PC5
|
||||
#define USE_USB_DETECT
|
||||
#define USB_DETECT_PIN PC5
|
||||
|
||||
#define USE_UART1
|
||||
#define UART1_RX_PIN PA10
|
||||
|
|
|
@ -85,8 +85,8 @@
|
|||
#define USE_FLASH_M25P16
|
||||
|
||||
#define USE_VCP
|
||||
#define VBUS_SENSING_PIN PA8
|
||||
#define VBUS_SENSING_ENABLED
|
||||
#define USB_DETECT_PIN PA8
|
||||
#define USE_USB_DETECT
|
||||
|
||||
#define USE_UART1
|
||||
#define UART1_RX_PIN PA10
|
||||
|
|
|
@ -63,7 +63,8 @@
|
|||
#define USE_EXTI
|
||||
|
||||
#define USE_VCP
|
||||
#define VBUS_SENSING_PIN PA8
|
||||
#define USE_USB_DETECT
|
||||
#define USB_DETECT_PIN PA8
|
||||
|
||||
#define USE_UART1
|
||||
#define UART1_TX_PIN PA9
|
||||
|
|
|
@ -106,8 +106,8 @@
|
|||
#endif
|
||||
|
||||
#define USE_VCP
|
||||
#define VBUS_SENSING_PIN PC5
|
||||
#define VBUS_SENSING_ENABLED
|
||||
#define USB_DETECT_PIN PC5
|
||||
#define USE_USB_DETECT
|
||||
|
||||
#define USE_UART1
|
||||
#define UART1_RX_PIN PA10
|
||||
|
|
|
@ -95,7 +95,8 @@
|
|||
#define CURRENT_METER_OFFSET_DEFAULT 0
|
||||
|
||||
#define USE_VCP
|
||||
//#define VBUS_SENSING_PIN PA9
|
||||
#define USE_USB_DETECT
|
||||
//#define USB_DETECT_PIN PA9
|
||||
|
||||
#define USE_UART1
|
||||
#define UART1_RX_PIN PA10
|
||||
|
|
|
@ -126,8 +126,8 @@
|
|||
|
||||
// *************** UART *****************************
|
||||
#define USE_VCP
|
||||
#define VBUS_SENSING_PIN PB12
|
||||
#define VBUS_SENSING_ENABLED
|
||||
#define USB_DETECT_PIN PB12
|
||||
#define USE_USB_DETECT
|
||||
|
||||
#define USE_UART1
|
||||
#define UART1_RX_PIN PA10
|
||||
|
|
|
@ -73,8 +73,8 @@
|
|||
|
||||
// *************** UART *****************************
|
||||
#define USE_VCP
|
||||
#define VBUS_SENSING_PIN PC15
|
||||
#define VBUS_SENSING_ENABLED
|
||||
#define USB_DETECT_PIN PC15
|
||||
#define USE_USB_DETECT
|
||||
|
||||
#define USE_UART1
|
||||
#define UART1_RX_PIN PA10
|
||||
|
|
|
@ -110,8 +110,8 @@
|
|||
#define MAX7456_SPI_CS_PIN PB10
|
||||
// *************** UART *****************************
|
||||
#define USE_VCP
|
||||
#define VBUS_SENSING_PIN PB12
|
||||
#define VBUS_SENSING_ENABLED
|
||||
#define USB_DETECT_PIN PB12
|
||||
#define USE_USB_DETECT
|
||||
|
||||
#define USE_UART1
|
||||
#define UART1_RX_PIN PA10
|
||||
|
|
|
@ -66,8 +66,8 @@
|
|||
#define MAX7456_RESTORE_CLK (SPI_CLOCK_FAST)
|
||||
|
||||
#define USE_VCP
|
||||
//#define VBUS_SENSING_PIN PC15
|
||||
//#define VBUS_SENSING_ENABLED
|
||||
//#define USB_DETECT_PIN PC15
|
||||
//#define USE_USB_DETECT
|
||||
|
||||
#define USE_UART1
|
||||
#define UART1_RX_PIN PA10
|
||||
|
|
|
@ -73,8 +73,8 @@
|
|||
#define I2C1_SDA PB9
|
||||
|
||||
#define USE_VCP
|
||||
//#define VBUS_SENSING_PIN PA8
|
||||
//#define VBUS_SENSING_ENABLED
|
||||
//#define USB_DETECT_PIN PA8
|
||||
//#define USE_USB_DETECT
|
||||
|
||||
#define USE_UART1
|
||||
#define UART1_RX_PIN PA10
|
||||
|
|
|
@ -59,7 +59,8 @@
|
|||
#define MAX7456_RESTORE_CLK (SPI_CLOCK_FAST)
|
||||
|
||||
#define USE_VCP
|
||||
//#define VBUS_SENSING_PIN PC5
|
||||
#define USE_USB_DETECT
|
||||
//#define USB_DETECT_PIN PC5
|
||||
|
||||
#define USE_UART1
|
||||
#define UART1_RX_PIN PB7
|
||||
|
|
|
@ -58,7 +58,8 @@
|
|||
#define USABLE_TIMER_CHANNEL_COUNT 16
|
||||
|
||||
#define USE_VCP
|
||||
#define VBUS_SENSING_PIN PA9
|
||||
#define USE_USB_DETECT
|
||||
#define USB_DETECT_PIN PA9
|
||||
|
||||
//#define USE_UART1
|
||||
//#define UART1_RX_PIN PA10
|
||||
|
|
|
@ -58,7 +58,8 @@
|
|||
#define USABLE_TIMER_CHANNEL_COUNT 11
|
||||
|
||||
#define USE_VCP
|
||||
#define VBUS_SENSING_PIN PA9
|
||||
#define USE_USB_DETECT
|
||||
#define USB_DETECT_PIN PA9
|
||||
|
||||
//#define USE_UART1
|
||||
//#define UART1_RX_PIN PA10
|
||||
|
|
|
@ -158,7 +158,8 @@
|
|||
#endif // OMNIBUSF4
|
||||
|
||||
#define USE_VCP
|
||||
#define VBUS_SENSING_PIN PC5
|
||||
#define USE_USB_DETECT
|
||||
#define USB_DETECT_PIN PC5
|
||||
|
||||
#define USE_UART1
|
||||
#define UART1_RX_PIN PA10
|
||||
|
|
|
@ -115,7 +115,8 @@
|
|||
|
||||
//UARTS-------------------------------------
|
||||
#define USE_VCP
|
||||
#define VBUS_SENSING_PIN PC4
|
||||
#define USE_USB_DETECT
|
||||
#define USB_DETECT_PIN PC4
|
||||
|
||||
#define USE_UART1
|
||||
#define UART1_RX_PIN PA10
|
||||
|
|
|
@ -183,9 +183,11 @@
|
|||
|
||||
#define USE_VCP
|
||||
#if defined(PODIUMF4)
|
||||
#define VBUS_SENSING_PIN PA8
|
||||
#define USE_USB_DETECT
|
||||
#define USB_DETECT_PIN PA8
|
||||
#else
|
||||
#define VBUS_SENSING_PIN PC5
|
||||
#define USE_USB_DETECT
|
||||
#define USB_DETECT_PIN PC5
|
||||
#endif
|
||||
|
||||
#define USE_UART1
|
||||
|
|
|
@ -161,7 +161,8 @@
|
|||
#define VBAT_ADC_PIN PC2
|
||||
|
||||
#define USE_VCP
|
||||
#define VBUS_SENSING_PIN PC5
|
||||
#define USE_USB_DETECT
|
||||
#define USB_DETECT_PIN PC5
|
||||
|
||||
|
||||
#define TARGET_IO_PORTA 0xffff
|
||||
|
|
|
@ -51,7 +51,8 @@
|
|||
#define USE_MPU_DATA_READY_SIGNAL
|
||||
|
||||
#define USE_VCP
|
||||
//#define VBUS_SENSING_PIN PA9
|
||||
#define USE_USB_DETECT
|
||||
//#define USB_DETECT_PIN PA9
|
||||
|
||||
#define USE_UART1 // Flexi Port
|
||||
#define UART1_RX_PIN PB7
|
||||
|
|
|
@ -73,7 +73,8 @@
|
|||
#define USE_FLASH_TOOLS
|
||||
|
||||
#define USE_VCP
|
||||
#define VBUS_SENSING_PIN PA8
|
||||
#define USE_USB_DETECT
|
||||
#define USB_DETECT_PIN PA8
|
||||
|
||||
#define USE_UART1
|
||||
#define UART1_RX_PIN PA10
|
||||
|
|
|
@ -91,8 +91,8 @@
|
|||
|
||||
// *************** UART *****************************
|
||||
#define USE_VCP
|
||||
#define VBUS_SENSING_PIN PB12
|
||||
#define VBUS_SENSING_ENABLED
|
||||
#define USB_DETECT_PIN PB12
|
||||
#define USE_USB_DETECT
|
||||
|
||||
#define USE_UART1
|
||||
#define UART1_RX_PIN PA10
|
||||
|
|
|
@ -56,8 +56,8 @@
|
|||
|
||||
#define USE_VCP
|
||||
#define USB_MSC_BUTTON_PIN PA0
|
||||
#define VBUS_SENSING_PIN PA9
|
||||
#define VBUS_SENSING_ENABLED
|
||||
#define USB_DETECT_PIN PA9
|
||||
#define USE_USB_DETECT
|
||||
|
||||
#define USE_UART1
|
||||
#define UART1_RX_PIN PB7
|
||||
|
|
|
@ -89,8 +89,8 @@
|
|||
*/
|
||||
|
||||
#define USE_VCP
|
||||
#define VBUS_SENSING_PIN PA9
|
||||
//#define VBUS_SENSING_ENABLED
|
||||
#define USB_DETECT_PIN PA9
|
||||
//#define USE_USB_DETECT
|
||||
|
||||
#define USE_UART1
|
||||
#define UART1_RX_PIN PB7
|
||||
|
|
|
@ -66,8 +66,8 @@
|
|||
#define INVERTER_PIN_UART3 PB12
|
||||
|
||||
#define USE_VCP
|
||||
#define VBUS_SENSING_PIN PA9
|
||||
#define VBUS_SENSING_ENABLED
|
||||
#define USB_DETECT_PIN PA9
|
||||
#define USE_USB_DETECT
|
||||
|
||||
#define USE_UART1
|
||||
#define UART1_RX_PIN PB7
|
||||
|
|
|
@ -48,7 +48,8 @@
|
|||
|
||||
// Serial ports
|
||||
#define USE_VCP
|
||||
#define VBUS_SENSING_PIN PA8
|
||||
#define USE_USB_DETECT
|
||||
#define USB_DETECT_PIN PA8
|
||||
|
||||
#define USE_UART1
|
||||
#define UART1_RX_PIN PA10
|
||||
|
|
Loading…
Reference in New Issue