config: uncrustify

This commit is contained in:
Marc Kleine-Budde 2024-06-04 16:51:06 +02:00
parent 031ca1acd7
commit eab3d53d10

View File

@ -83,15 +83,15 @@ THE SOFTWARE.
#define CAN_CLOCK_SPEED 48000000
#define NUM_CAN_CHANNEL 1
#define LEDRX_GPIO_Port GPIOA
#define LEDRX_Pin GPIO_PIN_1
#define LEDRX_Mode GPIO_MODE_OUTPUT_OD
#define LEDRX_Active_High 0
#define LEDRX_GPIO_Port GPIOA
#define LEDRX_Pin GPIO_PIN_1
#define LEDRX_Mode GPIO_MODE_OUTPUT_OD
#define LEDRX_Active_High 0
#define LEDTX_GPIO_Port GPIOA
#define LEDTX_Pin GPIO_PIN_0
#define LEDTX_Mode GPIO_MODE_OUTPUT_OD
#define LEDTX_Active_High 0
#define LEDTX_GPIO_Port GPIOA
#define LEDTX_Pin GPIO_PIN_0
#define LEDTX_Mode GPIO_MODE_OUTPUT_OD
#define LEDTX_Active_High 0
#elif defined(BOARD_CONVERTDEVICE_xCAN)
#define USBD_PRODUCT_STRING_FS (uint8_t*) "ConvertDevice xCAN"
@ -104,15 +104,15 @@ THE SOFTWARE.
#define CAN_CLOCK_SPEED 48000000
#define NUM_CAN_CHANNEL 1
#define LEDRX_GPIO_Port GPIOA
#define LEDRX_Pin GPIO_PIN_0
#define LEDRX_Mode GPIO_MODE_OUTPUT_PP
#define LEDRX_Active_High 0
#define LEDRX_GPIO_Port GPIOA
#define LEDRX_Pin GPIO_PIN_0
#define LEDRX_Mode GPIO_MODE_OUTPUT_PP
#define LEDRX_Active_High 0
#define LEDTX_GPIO_Port GPIOA
#define LEDTX_Pin GPIO_PIN_1
#define LEDTX_Mode GPIO_MODE_OUTPUT_PP
#define LEDTX_Active_High 0
#define LEDTX_GPIO_Port GPIOA
#define LEDTX_Pin GPIO_PIN_1
#define LEDTX_Mode GPIO_MODE_OUTPUT_PP
#define LEDTX_Active_High 0
#elif defined(BOARD_CONVERTDEVICE_xCANFD)
#define USBD_PRODUCT_STRING_FS (uint8_t*) "ConvertDevice xCANFD"
@ -126,19 +126,19 @@ THE SOFTWARE.
#define NUM_CAN_CHANNEL 1
#define CONFIG_CANFD 1
#define LEDRX_GPIO_Port GPIOA
#define LEDRX_Pin GPIO_PIN_0
#define LEDRX_Mode GPIO_MODE_OUTPUT_PP
#define LEDRX_Active_High 0
#define LEDRX_GPIO_Port GPIOA
#define LEDRX_Pin GPIO_PIN_0
#define LEDRX_Mode GPIO_MODE_OUTPUT_PP
#define LEDRX_Active_High 0
#define LEDTX_GPIO_Port GPIOA
#define LEDTX_Pin GPIO_PIN_1
#define LEDTX_Mode GPIO_MODE_OUTPUT_PP
#define LEDTX_Active_High 0
#define LEDTX_GPIO_Port GPIOA
#define LEDTX_Pin GPIO_PIN_1
#define LEDTX_Mode GPIO_MODE_OUTPUT_PP
#define LEDTX_Active_High 0
#define USB_GPIO_Port GPIOA
#define USB_Pin_DM GPIO_PIN_11
#define USB_Pin_DP GPIO_PIN_12
#define USB_GPIO_Port GPIOA
#define USB_Pin_DM GPIO_PIN_11
#define USB_Pin_DP GPIO_PIN_12
#elif defined(BOARD_DSD_TECH_SH_C30A)
#define USBD_PRODUCT_STRING_FS (uint8_t*) "SH-C30A USB to CAN adapter"
@ -151,15 +151,15 @@ THE SOFTWARE.
#define CAN_CLOCK_SPEED 48000000
#define NUM_CAN_CHANNEL 1
#define LEDRX_GPIO_Port GPIOB
#define LEDRX_Pin GPIO_PIN_1
#define LEDRX_Mode GPIO_MODE_OUTPUT_PP
#define LEDRX_Active_High 0
#define LEDRX_GPIO_Port GPIOB
#define LEDRX_Pin GPIO_PIN_1
#define LEDRX_Mode GPIO_MODE_OUTPUT_PP
#define LEDRX_Active_High 0
#define LEDTX_GPIO_Port GPIOB
#define LEDTX_Pin GPIO_PIN_0
#define LEDTX_Mode GPIO_MODE_OUTPUT_PP
#define LEDTX_Active_High 0
#define LEDTX_GPIO_Port GPIOB
#define LEDTX_Pin GPIO_PIN_0
#define LEDTX_Mode GPIO_MODE_OUTPUT_PP
#define LEDTX_Active_High 0
#elif defined(BOARD_FYSETC_UCAN)
#define USBD_PRODUCT_STRING_FS (uint8_t*) "UCAN USB to CAN adapter"
@ -172,15 +172,15 @@ THE SOFTWARE.
#define CAN_CLOCK_SPEED 48000000
#define NUM_CAN_CHANNEL 1
#define LEDRX_GPIO_Port GPIOA
#define LEDRX_Pin GPIO_PIN_1
#define LEDRX_Mode GPIO_MODE_OUTPUT_PP
#define LEDRX_Active_High 1
#define LEDRX_GPIO_Port GPIOA
#define LEDRX_Pin GPIO_PIN_1
#define LEDRX_Mode GPIO_MODE_OUTPUT_PP
#define LEDRX_Active_High 1
#define LEDTX_GPIO_Port GPIOA
#define LEDTX_Pin GPIO_PIN_0
#define LEDTX_Mode GPIO_MODE_OUTPUT_PP
#define LEDTX_Active_High 1
#define LEDTX_GPIO_Port GPIOA
#define LEDTX_Pin GPIO_PIN_0
#define LEDTX_Mode GPIO_MODE_OUTPUT_PP
#define LEDTX_Active_High 1
#elif defined(BOARD_cantact)
#define USBD_PRODUCT_STRING_FS (uint8_t*) "cantact gs_usb"
@ -193,15 +193,15 @@ THE SOFTWARE.
#define CAN_CLOCK_SPEED 48000000
#define NUM_CAN_CHANNEL 1
#define LEDRX_GPIO_Port GPIOB
#define LEDRX_Pin GPIO_PIN_0 /* green */
#define LEDRX_Mode GPIO_MODE_OUTPUT_PP
#define LEDRX_Active_High 1
#define LEDRX_GPIO_Port GPIOB
#define LEDRX_Pin GPIO_PIN_0 /* green */
#define LEDRX_Mode GPIO_MODE_OUTPUT_PP
#define LEDRX_Active_High 1
#define LEDTX_GPIO_Port GPIOB
#define LEDTX_Pin GPIO_PIN_1 /* red */
#define LEDTX_Mode GPIO_MODE_OUTPUT_PP
#define LEDTX_Active_High 1
#define LEDTX_GPIO_Port GPIOB
#define LEDTX_Pin GPIO_PIN_1 /* red */
#define LEDTX_Mode GPIO_MODE_OUTPUT_PP
#define LEDTX_Active_High 1
#elif defined(BOARD_canable)
#define USBD_PRODUCT_STRING_FS (uint8_t*) "canable gs_usb"
@ -214,15 +214,15 @@ THE SOFTWARE.
#define CAN_CLOCK_SPEED 48000000
#define NUM_CAN_CHANNEL 1
#define LEDRX_GPIO_Port GPIOB
#define LEDRX_Pin GPIO_PIN_0 /* green */
#define LEDRX_Mode GPIO_MODE_OUTPUT_PP
#define LEDRX_Active_High 1
#define LEDRX_GPIO_Port GPIOB
#define LEDRX_Pin GPIO_PIN_0 /* green */
#define LEDRX_Mode GPIO_MODE_OUTPUT_PP
#define LEDRX_Active_High 1
#define LEDTX_GPIO_Port GPIOB
#define LEDTX_Pin GPIO_PIN_1 /* blue */
#define LEDTX_Mode GPIO_MODE_OUTPUT_PP
#define LEDTX_Active_High 0
#define LEDTX_GPIO_Port GPIOB
#define LEDTX_Pin GPIO_PIN_1 /* blue */
#define LEDTX_Mode GPIO_MODE_OUTPUT_PP
#define LEDTX_Active_High 0
#elif defined(BOARD_usb2can)
#define USBD_PRODUCT_STRING_FS (uint8_t*) "USB2CAN RCA gs_usb"
@ -235,15 +235,15 @@ THE SOFTWARE.
#define CAN_CLOCK_SPEED 48000000
#define NUM_CAN_CHANNEL 1
#define LEDTX_GPIO_Port GPIOA
#define LEDTX_Pin GPIO_PIN_1 /* blue */
#define LEDTX_Mode GPIO_MODE_OUTPUT_OD
#define LEDTX_Active_High 0
#define LEDTX_GPIO_Port GPIOA
#define LEDTX_Pin GPIO_PIN_1 /* blue */
#define LEDTX_Mode GPIO_MODE_OUTPUT_OD
#define LEDTX_Active_High 0
#define LEDRX_GPIO_Port GPIOB
#define LEDRX_Pin GPIO_PIN_3 /* green */
#define LEDRX_Mode GPIO_MODE_OUTPUT_OD
#define LEDRX_Active_High 0
#define LEDRX_GPIO_Port GPIOB
#define LEDRX_Pin GPIO_PIN_3 /* green */
#define LEDRX_Mode GPIO_MODE_OUTPUT_OD
#define LEDRX_Active_High 0
#elif defined(BOARD_canalyze)
#define USBD_PRODUCT_STRING_FS (uint8_t*) "CANAlyze gs_usb"
@ -256,15 +256,15 @@ THE SOFTWARE.
#define CAN_CLOCK_SPEED 48000000
#define NUM_CAN_CHANNEL 1
#define LEDRX_GPIO_Port GPIOB
#define LEDRX_Pin GPIO_PIN_0 /* green */
#define LEDRX_Mode GPIO_MODE_OUTPUT_PP
#define LEDRX_Active_High 1
#define LEDRX_GPIO_Port GPIOB
#define LEDRX_Pin GPIO_PIN_0 /* green */
#define LEDRX_Mode GPIO_MODE_OUTPUT_PP
#define LEDRX_Active_High 1
#define LEDTX_GPIO_Port GPIOB
#define LEDTX_Pin GPIO_PIN_1 /* red */
#define LEDTX_Mode GPIO_MODE_OUTPUT_PP
#define LEDTX_Active_High 1
#define LEDTX_GPIO_Port GPIOB
#define LEDTX_Pin GPIO_PIN_1 /* red */
#define LEDTX_Mode GPIO_MODE_OUTPUT_PP
#define LEDTX_Active_High 1
#elif defined(BOARD_cannette)
#define USBD_PRODUCT_STRING_FS (uint8_t*) "cannette gs_usb"
@ -277,25 +277,25 @@ THE SOFTWARE.
#define CAN_CLOCK_SPEED 48000000
#define NUM_CAN_CHANNEL 1
#define LEDRX_GPIO_Port GPIOA
#define LEDRX_Pin GPIO_PIN_9 /* RX: green */
#define LEDRX_Mode GPIO_MODE_OUTPUT_OD
#define LEDRX_Active_High 0
#define LEDRX_GPIO_Port GPIOA
#define LEDRX_Pin GPIO_PIN_9 /* RX: green */
#define LEDRX_Mode GPIO_MODE_OUTPUT_OD
#define LEDRX_Active_High 0
#define LEDTX_GPIO_Port GPIOA
#define LEDTX_Pin GPIO_PIN_8 /* TX: red */
#define LEDTX_Mode GPIO_MODE_OUTPUT_OD
#define LEDTX_Active_High 0
#define LEDTX_GPIO_Port GPIOA
#define LEDTX_Pin GPIO_PIN_8 /* TX: red */
#define LEDTX_Mode GPIO_MODE_OUTPUT_OD
#define LEDTX_Active_High 0
#define nCANSTBY_Port GPIOC
#define nCANSTBY_Pin GPIO_PIN_14 /* control xceiver standby, active low */
#define nCANSTBY_Active_High 1
#define nCANSTBY_Port GPIOC
#define nCANSTBY_Pin GPIO_PIN_14 /* control xceiver standby, active low */
#define nCANSTBY_Active_High 1
#define nSI86EN_Port GPIOC
#define nSI86EN_Pin GPIO_PIN_13 /* enable power to Si86xx isolater, active low */
#define nSI86EN_Port GPIOC
#define nSI86EN_Pin GPIO_PIN_13 /* enable power to Si86xx isolater, active low */
#define DCDCEN_Port GPIOC
#define DCDCEN_Pin GPIO_PIN_15 /* activate DCDC converter, active high */
#define DCDCEN_Port GPIOC
#define DCDCEN_Pin GPIO_PIN_15 /* activate DCDC converter, active high */
#elif defined(BOARD_budgetcan)
#define USBD_PRODUCT_STRING_FS (uint8_t*) "budgetcan gs_usb"
@ -310,28 +310,28 @@ THE SOFTWARE.
#define NUM_CAN_CHANNEL 2
#define CONFIG_CANFD 1
#define nCANSTBY_Port GPIOA
#define nCANSTBY_Pin GPIO_PIN_0 /* control xceiver standby, active low */
#define nCANSTBY_Active_High 0
#define nCANSTBY_Port GPIOA
#define nCANSTBY_Pin GPIO_PIN_0 /* control xceiver standby, active low */
#define nCANSTBY_Active_High 0
#define LEDRX_GPIO_Port GPIOB
#define LEDRX_Pin GPIO_PIN_4
#define LEDRX_Mode GPIO_MODE_OUTPUT_PP
#define LEDRX_Active_High 1
#define LEDRX_GPIO_Port GPIOB
#define LEDRX_Pin GPIO_PIN_4
#define LEDRX_Mode GPIO_MODE_OUTPUT_PP
#define LEDRX_Active_High 1
#define LEDTX_GPIO_Port GPIOB
#define LEDTX_Pin GPIO_PIN_3
#define LEDTX_Mode GPIO_MODE_OUTPUT_PP
#define LEDTX_Active_High 1
#define LEDTX_GPIO_Port GPIOB
#define LEDTX_Pin GPIO_PIN_3
#define LEDTX_Mode GPIO_MODE_OUTPUT_PP
#define LEDTX_Active_High 1
#define USB_GPIO_Port GPIOA
#define USB_Pin_DM GPIO_PIN_11
#define USB_Pin_DP GPIO_PIN_12
#define USB_GPIO_Port GPIOA
#define USB_Pin_DM GPIO_PIN_11
#define USB_Pin_DP GPIO_PIN_12
#define TERM_GPIO_Port GPIOA
#define TERM_Pin GPIO_PIN_1
#define TERM_Mode GPIO_MODE_OUTPUT_PP
#define TERM_Active_High 1
#define TERM_GPIO_Port GPIOA
#define TERM_Pin GPIO_PIN_1
#define TERM_Mode GPIO_MODE_OUTPUT_PP
#define TERM_Active_High 1
#elif defined(BOARD_STM32F4_DevBoard)
#define USBD_PRODUCT_STRING_FS (uint8_t*) "STM32F4VE Dev Board"