1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-01-17 05:12:57 +01:00

boards: fix whitespace style issues

This adds the space missing after the comma in `GPIO_PORT(<port>,<pin>`
at multiple places
This commit is contained in:
Marian Buschsieweke 2024-11-27 13:36:34 +01:00
parent f18c9a96df
commit bd365b11ff
No known key found for this signature in database
GPG Key ID: 758BD52517F79C41
13 changed files with 56 additions and 56 deletions

View File

@ -38,8 +38,8 @@ extern "C" {
static const uart_conf_t uart_config[] = { static const uart_conf_t uart_config[] = {
{ {
.dev = &SERCOM5->USART, .dev = &SERCOM5->USART,
.rx_pin = GPIO_PIN(PB,23), /* ARDUINO_PIN_13, RX Pin */ .rx_pin = GPIO_PIN(PB, 23), /* ARDUINO_PIN_13, RX Pin */
.tx_pin = GPIO_PIN(PB,22), /* ARDUINO_PIN_14, TX Pin */ .tx_pin = GPIO_PIN(PB, 22), /* ARDUINO_PIN_14, TX Pin */
#ifdef MODULE_PERIPH_UART_HW_FC #ifdef MODULE_PERIPH_UART_HW_FC
.rts_pin = GPIO_UNDEF, .rts_pin = GPIO_UNDEF,
.cts_pin = GPIO_UNDEF, .cts_pin = GPIO_UNDEF,
@ -52,8 +52,8 @@ static const uart_conf_t uart_config[] = {
}, },
{ /* LoRa module */ { /* LoRa module */
.dev = &SERCOM4->USART, .dev = &SERCOM4->USART,
.rx_pin = GPIO_PIN(PA,15), .rx_pin = GPIO_PIN(PA, 15),
.tx_pin = GPIO_PIN(PA,12), .tx_pin = GPIO_PIN(PA, 12),
#ifdef MODULE_PERIPH_UART_HW_FC #ifdef MODULE_PERIPH_UART_HW_FC
.rts_pin = GPIO_UNDEF, .rts_pin = GPIO_UNDEF,
.cts_pin = GPIO_UNDEF, .cts_pin = GPIO_UNDEF,

View File

@ -119,8 +119,8 @@ static const tc32_conf_t timer_config[] = {
static const uart_conf_t uart_config[] = { static const uart_conf_t uart_config[] = {
{ {
.dev = &SERCOM5->USART, .dev = &SERCOM5->USART,
.rx_pin = GPIO_PIN(PB,23), .rx_pin = GPIO_PIN(PB, 23),
.tx_pin = GPIO_PIN(PB,22), .tx_pin = GPIO_PIN(PB, 22),
#ifdef MODULE_SAM0_PERIPH_UART_HW_FC #ifdef MODULE_SAM0_PERIPH_UART_HW_FC
.rts_pin = GPIO_UNDEF, .rts_pin = GPIO_UNDEF,
.cts_pin = GPIO_UNDEF, .cts_pin = GPIO_UNDEF,

View File

@ -38,8 +38,8 @@ extern "C" {
static const uart_conf_t uart_config[] = { static const uart_conf_t uart_config[] = {
{ {
.dev = &SERCOM5->USART, .dev = &SERCOM5->USART,
.rx_pin = GPIO_PIN(PB,23), /* ARDUINO_PIN_13, RX Pin */ .rx_pin = GPIO_PIN(PB, 23), /* ARDUINO_PIN_13, RX Pin */
.tx_pin = GPIO_PIN(PB,22), /* ARDUINO_PIN_14, TX Pin */ .tx_pin = GPIO_PIN(PB, 22), /* ARDUINO_PIN_14, TX Pin */
#ifdef MODULE_PERIPH_UART_HW_FC #ifdef MODULE_PERIPH_UART_HW_FC
.rts_pin = GPIO_UNDEF, .rts_pin = GPIO_UNDEF,
.cts_pin = GPIO_UNDEF, .cts_pin = GPIO_UNDEF,

View File

@ -127,8 +127,8 @@ static const tc32_conf_t timer_config[] = {
static const uart_conf_t uart_config[] = { static const uart_conf_t uart_config[] = {
{ {
.dev = &SERCOM5->USART, .dev = &SERCOM5->USART,
.rx_pin = GPIO_PIN(PB,23), .rx_pin = GPIO_PIN(PB, 23),
.tx_pin = GPIO_PIN(PB,22), .tx_pin = GPIO_PIN(PB, 22),
#ifdef MODULE_PERIPH_UART_HW_FC #ifdef MODULE_PERIPH_UART_HW_FC
.rts_pin = GPIO_UNDEF, .rts_pin = GPIO_UNDEF,
.cts_pin = GPIO_UNDEF, .cts_pin = GPIO_UNDEF,
@ -141,8 +141,8 @@ static const uart_conf_t uart_config[] = {
}, },
{ {
.dev = &SERCOM0->USART, .dev = &SERCOM0->USART,
.rx_pin = GPIO_PIN(PA,11), .rx_pin = GPIO_PIN(PA, 11),
.tx_pin = GPIO_PIN(PA,10), .tx_pin = GPIO_PIN(PA, 10),
#ifdef MODULE_PERIPH_UART_HW_FC #ifdef MODULE_PERIPH_UART_HW_FC
.rts_pin = GPIO_UNDEF, .rts_pin = GPIO_UNDEF,
.cts_pin = GPIO_UNDEF, .cts_pin = GPIO_UNDEF,

View File

@ -138,8 +138,8 @@ static const tc32_conf_t timer_config[] = {
static const uart_conf_t uart_config[] = { static const uart_conf_t uart_config[] = {
{ /* Virtual COM Port */ { /* Virtual COM Port */
.dev = &SERCOM3->USART, .dev = &SERCOM3->USART,
.rx_pin = GPIO_PIN(PA,25), .rx_pin = GPIO_PIN(PA, 25),
.tx_pin = GPIO_PIN(PA,24), .tx_pin = GPIO_PIN(PA, 24),
#ifdef MODULE_PERIPH_UART_HW_FC #ifdef MODULE_PERIPH_UART_HW_FC
.rts_pin = GPIO_UNDEF, .rts_pin = GPIO_UNDEF,
.cts_pin = GPIO_UNDEF, .cts_pin = GPIO_UNDEF,
@ -152,8 +152,8 @@ static const uart_conf_t uart_config[] = {
}, },
{ /* EXT1 */ { /* EXT1 */
.dev = &SERCOM4->USART, .dev = &SERCOM4->USART,
.rx_pin = GPIO_PIN(PB,9), .rx_pin = GPIO_PIN(PB, 9),
.tx_pin = GPIO_PIN(PB,8), .tx_pin = GPIO_PIN(PB, 8),
#ifdef MODULE_PERIPH_UART_HW_FC #ifdef MODULE_PERIPH_UART_HW_FC
.rts_pin = GPIO_UNDEF, .rts_pin = GPIO_UNDEF,
.cts_pin = GPIO_UNDEF, .cts_pin = GPIO_UNDEF,
@ -166,8 +166,8 @@ static const uart_conf_t uart_config[] = {
}, },
{ /* EXT2 */ { /* EXT2 */
.dev = &SERCOM0->USART, .dev = &SERCOM0->USART,
.rx_pin = GPIO_PIN(PA,9), .rx_pin = GPIO_PIN(PA, 9),
.tx_pin = GPIO_PIN(PA,8), .tx_pin = GPIO_PIN(PA, 8),
#ifdef MODULE_PERIPH_UART_HW_FC #ifdef MODULE_PERIPH_UART_HW_FC
.rts_pin = GPIO_UNDEF, .rts_pin = GPIO_UNDEF,
.cts_pin = GPIO_UNDEF, .cts_pin = GPIO_UNDEF,

View File

@ -140,8 +140,8 @@ static const tc32_conf_t timer_config[] = {
static const uart_conf_t uart_config[] = { static const uart_conf_t uart_config[] = {
{ /* Virtual COM Port */ { /* Virtual COM Port */
.dev = &SERCOM3->USART, .dev = &SERCOM3->USART,
.rx_pin = GPIO_PIN(PA,23), .rx_pin = GPIO_PIN(PA, 23),
.tx_pin = GPIO_PIN(PA,22), .tx_pin = GPIO_PIN(PA, 22),
#ifdef MODULE_PERIPH_UART_HW_FC #ifdef MODULE_PERIPH_UART_HW_FC
.rts_pin = GPIO_UNDEF, .rts_pin = GPIO_UNDEF,
.cts_pin = GPIO_UNDEF, .cts_pin = GPIO_UNDEF,
@ -154,8 +154,8 @@ static const uart_conf_t uart_config[] = {
}, },
{ /* EXT1 */ { /* EXT1 */
.dev = &SERCOM4->USART, .dev = &SERCOM4->USART,
.rx_pin = GPIO_PIN(PB,9), .rx_pin = GPIO_PIN(PB, 9),
.tx_pin = GPIO_PIN(PB,8), .tx_pin = GPIO_PIN(PB, 8),
#ifdef MODULE_PERIPH_UART_HW_FC #ifdef MODULE_PERIPH_UART_HW_FC
.rts_pin = GPIO_UNDEF, .rts_pin = GPIO_UNDEF,
.cts_pin = GPIO_UNDEF, .cts_pin = GPIO_UNDEF,
@ -168,8 +168,8 @@ static const uart_conf_t uart_config[] = {
}, },
{ /* EXT2/3 */ { /* EXT2/3 */
.dev = &SERCOM4->USART, .dev = &SERCOM4->USART,
.rx_pin = GPIO_PIN(PB,11), .rx_pin = GPIO_PIN(PB, 11),
.tx_pin = GPIO_PIN(PB,10), .tx_pin = GPIO_PIN(PB, 10),
#ifdef MODULE_PERIPH_UART_HW_FC #ifdef MODULE_PERIPH_UART_HW_FC
.rts_pin = GPIO_UNDEF, .rts_pin = GPIO_UNDEF,
.cts_pin = GPIO_UNDEF, .cts_pin = GPIO_UNDEF,

View File

@ -69,8 +69,8 @@ static const tc32_conf_t timer_config[] = {
static const uart_conf_t uart_config[] = { static const uart_conf_t uart_config[] = {
{ /* Virtual COM Port */ { /* Virtual COM Port */
.dev = &SERCOM3->USART, .dev = &SERCOM3->USART,
.rx_pin = GPIO_PIN(PA,23), .rx_pin = GPIO_PIN(PA, 23),
.tx_pin = GPIO_PIN(PA,22), .tx_pin = GPIO_PIN(PA, 22),
#ifdef MODULE_PERIPH_UART_HW_FC #ifdef MODULE_PERIPH_UART_HW_FC
.rts_pin = GPIO_UNDEF, .rts_pin = GPIO_UNDEF,
.cts_pin = GPIO_UNDEF, .cts_pin = GPIO_UNDEF,

View File

@ -140,11 +140,11 @@ static const tc32_conf_t timer_config[] = {
static const uart_conf_t uart_config[] = { static const uart_conf_t uart_config[] = {
{ {
.dev = &SERCOM0->USART, .dev = &SERCOM0->USART,
.rx_pin = GPIO_PIN(PA,5), .rx_pin = GPIO_PIN(PA, 5),
.tx_pin = GPIO_PIN(PA,4), .tx_pin = GPIO_PIN(PA, 4),
#ifdef MODULE_PERIPH_UART_HW_FC #ifdef MODULE_PERIPH_UART_HW_FC
.rts_pin = GPIO_PIN(PA,6), .rts_pin = GPIO_PIN(PA, 6),
.cts_pin = GPIO_PIN(PA,7), .cts_pin = GPIO_PIN(PA, 7),
#endif #endif
.mux = GPIO_MUX_D, .mux = GPIO_MUX_D,
.rx_pad = UART_PAD_RX_1, .rx_pad = UART_PAD_RX_1,
@ -158,11 +158,11 @@ static const uart_conf_t uart_config[] = {
}, },
{ {
.dev = &SERCOM5->USART, .dev = &SERCOM5->USART,
.rx_pin = GPIO_PIN(PA,23), .rx_pin = GPIO_PIN(PA, 23),
.tx_pin = GPIO_PIN(PA,22), .tx_pin = GPIO_PIN(PA, 22),
#ifdef MODULE_PERIPH_UART_HW_FC #ifdef MODULE_PERIPH_UART_HW_FC
.rts_pin = GPIO_PIN(PB,22), .rts_pin = GPIO_PIN(PB, 22),
.cts_pin = GPIO_PIN(PB,23), .cts_pin = GPIO_PIN(PB, 23),
#endif #endif
.mux = GPIO_MUX_D, .mux = GPIO_MUX_D,
.rx_pad = UART_PAD_RX_1, .rx_pad = UART_PAD_RX_1,

View File

@ -59,8 +59,8 @@ static const tc32_conf_t timer_config[] = {
static const uart_conf_t uart_config[] = { static const uart_conf_t uart_config[] = {
{ /* Virtual COM Port */ { /* Virtual COM Port */
.dev = &SERCOM0->USART, .dev = &SERCOM0->USART,
.rx_pin = GPIO_PIN(PA,5), .rx_pin = GPIO_PIN(PA, 5),
.tx_pin = GPIO_PIN(PA,4), .tx_pin = GPIO_PIN(PA, 4),
#ifdef MODULE_PERIPH_UART_HW_FC #ifdef MODULE_PERIPH_UART_HW_FC
.rts_pin = GPIO_UNDEF, .rts_pin = GPIO_UNDEF,
.cts_pin = GPIO_UNDEF, .cts_pin = GPIO_UNDEF,

View File

@ -42,8 +42,8 @@ extern "C" {
static const uart_conf_t uart_config[] = { static const uart_conf_t uart_config[] = {
{ {
.dev = &SERCOM0->USART, .dev = &SERCOM0->USART,
.rx_pin = GPIO_PIN(PA,9), .rx_pin = GPIO_PIN(PA, 9),
.tx_pin = GPIO_PIN(PA,10), .tx_pin = GPIO_PIN(PA, 10),
#ifdef MODULE_PERIPH_UART_HW_FC #ifdef MODULE_PERIPH_UART_HW_FC
.rts_pin = GPIO_UNDEF, .rts_pin = GPIO_UNDEF,
.cts_pin = GPIO_UNDEF, .cts_pin = GPIO_UNDEF,
@ -56,8 +56,8 @@ static const uart_conf_t uart_config[] = {
}, },
{ {
.dev = &SERCOM5->USART, .dev = &SERCOM5->USART,
.rx_pin = GPIO_PIN(PB,31), .rx_pin = GPIO_PIN(PB, 31),
.tx_pin = GPIO_PIN(PB,30), .tx_pin = GPIO_PIN(PB, 30),
#ifdef MODULE_PERIPH_UART_HW_FC #ifdef MODULE_PERIPH_UART_HW_FC
.rts_pin = GPIO_UNDEF, .rts_pin = GPIO_UNDEF,
.cts_pin = GPIO_UNDEF, .cts_pin = GPIO_UNDEF,
@ -70,8 +70,8 @@ static const uart_conf_t uart_config[] = {
}, },
{ {
.dev = &SERCOM4->USART, .dev = &SERCOM4->USART,
.rx_pin = GPIO_PIN(PB,13), .rx_pin = GPIO_PIN(PB, 13),
.tx_pin = GPIO_PIN(PB,14), .tx_pin = GPIO_PIN(PB, 14),
#ifdef MODULE_PERIPH_UART_HW_FC #ifdef MODULE_PERIPH_UART_HW_FC
.rts_pin = GPIO_UNDEF, .rts_pin = GPIO_UNDEF,
.cts_pin = GPIO_UNDEF, .cts_pin = GPIO_UNDEF,
@ -84,8 +84,8 @@ static const uart_conf_t uart_config[] = {
}, },
{ {
.dev = &SERCOM1->USART, .dev = &SERCOM1->USART,
.rx_pin = GPIO_PIN(PA,17), .rx_pin = GPIO_PIN(PA, 17),
.tx_pin = GPIO_PIN(PA,18), .tx_pin = GPIO_PIN(PA, 18),
#ifdef MODULE_PERIPH_UART_HW_FC #ifdef MODULE_PERIPH_UART_HW_FC
.rts_pin = GPIO_UNDEF, .rts_pin = GPIO_UNDEF,
.cts_pin = GPIO_UNDEF, .cts_pin = GPIO_UNDEF,

View File

@ -38,8 +38,8 @@ extern "C" {
static const uart_conf_t uart_config[] = { static const uart_conf_t uart_config[] = {
{ {
.dev = &SERCOM5->USART, .dev = &SERCOM5->USART,
.rx_pin = GPIO_PIN(PB,31), /* D0, RX Pin */ .rx_pin = GPIO_PIN(PB, 31), /* D0, RX Pin */
.tx_pin = GPIO_PIN(PB,30), /* D1, TX Pin */ .tx_pin = GPIO_PIN(PB, 30), /* D1, TX Pin */
#ifdef MODULE_PERIPH_UART_HW_FC #ifdef MODULE_PERIPH_UART_HW_FC
.rts_pin = GPIO_UNDEF, .rts_pin = GPIO_UNDEF,
.cts_pin = GPIO_UNDEF, .cts_pin = GPIO_UNDEF,
@ -52,8 +52,8 @@ static const uart_conf_t uart_config[] = {
}, },
{ {
.dev = &SERCOM4->USART, .dev = &SERCOM4->USART,
.rx_pin = GPIO_PIN(PB,13), .rx_pin = GPIO_PIN(PB, 13),
.tx_pin = GPIO_PIN(PB,14), .tx_pin = GPIO_PIN(PB, 14),
#ifdef MODULE_PERIPH_UART_HW_FC #ifdef MODULE_PERIPH_UART_HW_FC
.rts_pin = GPIO_UNDEF, .rts_pin = GPIO_UNDEF,
.cts_pin = GPIO_UNDEF, .cts_pin = GPIO_UNDEF,
@ -66,8 +66,8 @@ static const uart_conf_t uart_config[] = {
}, },
{ /* Connected to RN2483 */ { /* Connected to RN2483 */
.dev = &SERCOM0->USART, .dev = &SERCOM0->USART,
.rx_pin = GPIO_PIN(PA,5), .rx_pin = GPIO_PIN(PA, 5),
.tx_pin = GPIO_PIN(PA,6), .tx_pin = GPIO_PIN(PA, 6),
#ifdef MODULE_PERIPH_UART_HW_FC #ifdef MODULE_PERIPH_UART_HW_FC
.rts_pin = GPIO_UNDEF, .rts_pin = GPIO_UNDEF,
.cts_pin = GPIO_UNDEF, .cts_pin = GPIO_UNDEF,

View File

@ -41,8 +41,8 @@ extern "C" {
static const uart_conf_t uart_config[] = { static const uart_conf_t uart_config[] = {
{ {
.dev = &SERCOM5->USART, .dev = &SERCOM5->USART,
.rx_pin = GPIO_PIN(PB,3), /* D0, RX Pin */ .rx_pin = GPIO_PIN(PB, 3), /* D0, RX Pin */
.tx_pin = GPIO_PIN(PB,2), /* D1, TX Pin */ .tx_pin = GPIO_PIN(PB, 2), /* D1, TX Pin */
#ifdef MODULE_PERIPH_UART_HW_FC #ifdef MODULE_PERIPH_UART_HW_FC
.rts_pin = GPIO_UNDEF, .rts_pin = GPIO_UNDEF,
.cts_pin = GPIO_UNDEF, .cts_pin = GPIO_UNDEF,
@ -55,8 +55,8 @@ static const uart_conf_t uart_config[] = {
}, },
{ {
.dev = &SERCOM2->USART, .dev = &SERCOM2->USART,
.rx_pin = GPIO_PIN(PA,13), .rx_pin = GPIO_PIN(PA, 13),
.tx_pin = GPIO_PIN(PA,12), .tx_pin = GPIO_PIN(PA, 12),
#ifdef MODULE_PERIPH_UART_HW_FC #ifdef MODULE_PERIPH_UART_HW_FC
.rts_pin = GPIO_UNDEF, .rts_pin = GPIO_UNDEF,
.cts_pin = GPIO_UNDEF, .cts_pin = GPIO_UNDEF,

View File

@ -58,8 +58,8 @@ static const uart_conf_t uart_config[] = {
}, },
{ {
.dev = &SERCOM0->USART, .dev = &SERCOM0->USART,
.rx_pin = GPIO_PIN(PA,5), .rx_pin = GPIO_PIN(PA, 5),
.tx_pin = GPIO_PIN(PA,6), .tx_pin = GPIO_PIN(PA, 6),
#ifdef MODULE_PERIPH_UART_HW_FC #ifdef MODULE_PERIPH_UART_HW_FC
.rts_pin = GPIO_UNDEF, .rts_pin = GPIO_UNDEF,
.cts_pin = GPIO_UNDEF, .cts_pin = GPIO_UNDEF,