Convert target.h

This commit is contained in:
jflyper 2018-04-13 02:17:09 +09:00
parent 78bc3f52ad
commit 3983902efb
38 changed files with 78 additions and 56 deletions

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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