diff --git a/boards/arduino-mkrwan1300/include/periph_conf.h b/boards/arduino-mkrwan1300/include/periph_conf.h index b4b18fefc502..a792611528cc 100644 --- a/boards/arduino-mkrwan1300/include/periph_conf.h +++ b/boards/arduino-mkrwan1300/include/periph_conf.h @@ -38,8 +38,8 @@ extern "C" { static const uart_conf_t uart_config[] = { { .dev = &SERCOM5->USART, - .rx_pin = GPIO_PIN(PB,23), /* ARDUINO_PIN_13, RX Pin */ - .tx_pin = GPIO_PIN(PB,22), /* ARDUINO_PIN_14, TX Pin */ + .rx_pin = GPIO_PIN(PB, 23), /* ARDUINO_PIN_13, RX Pin */ + .tx_pin = GPIO_PIN(PB, 22), /* ARDUINO_PIN_14, TX Pin */ #ifdef MODULE_PERIPH_UART_HW_FC .rts_pin = GPIO_UNDEF, .cts_pin = GPIO_UNDEF, @@ -52,8 +52,8 @@ static const uart_conf_t uart_config[] = { }, { /* LoRa module */ .dev = &SERCOM4->USART, - .rx_pin = GPIO_PIN(PA,15), - .tx_pin = GPIO_PIN(PA,12), + .rx_pin = GPIO_PIN(PA, 15), + .tx_pin = GPIO_PIN(PA, 12), #ifdef MODULE_PERIPH_UART_HW_FC .rts_pin = GPIO_UNDEF, .cts_pin = GPIO_UNDEF, diff --git a/boards/arduino-nano-33-iot/include/periph_conf.h b/boards/arduino-nano-33-iot/include/periph_conf.h index fc81a53039b7..2d4c4d08c25b 100644 --- a/boards/arduino-nano-33-iot/include/periph_conf.h +++ b/boards/arduino-nano-33-iot/include/periph_conf.h @@ -119,8 +119,8 @@ static const tc32_conf_t timer_config[] = { static const uart_conf_t uart_config[] = { { .dev = &SERCOM5->USART, - .rx_pin = GPIO_PIN(PB,23), - .tx_pin = GPIO_PIN(PB,22), + .rx_pin = GPIO_PIN(PB, 23), + .tx_pin = GPIO_PIN(PB, 22), #ifdef MODULE_SAM0_PERIPH_UART_HW_FC .rts_pin = GPIO_UNDEF, .cts_pin = GPIO_UNDEF, diff --git a/boards/common/arduino-mkr/include/periph_conf.h b/boards/common/arduino-mkr/include/periph_conf.h index d2a6e370d387..03e081d02817 100644 --- a/boards/common/arduino-mkr/include/periph_conf.h +++ b/boards/common/arduino-mkr/include/periph_conf.h @@ -38,8 +38,8 @@ extern "C" { static const uart_conf_t uart_config[] = { { .dev = &SERCOM5->USART, - .rx_pin = GPIO_PIN(PB,23), /* ARDUINO_PIN_13, RX Pin */ - .tx_pin = GPIO_PIN(PB,22), /* ARDUINO_PIN_14, TX Pin */ + .rx_pin = GPIO_PIN(PB, 23), /* ARDUINO_PIN_13, RX Pin */ + .tx_pin = GPIO_PIN(PB, 22), /* ARDUINO_PIN_14, TX Pin */ #ifdef MODULE_PERIPH_UART_HW_FC .rts_pin = GPIO_UNDEF, .cts_pin = GPIO_UNDEF, diff --git a/boards/common/arduino-zero/include/periph_conf.h b/boards/common/arduino-zero/include/periph_conf.h index 5e1b5fe188bb..b979feb991e6 100644 --- a/boards/common/arduino-zero/include/periph_conf.h +++ b/boards/common/arduino-zero/include/periph_conf.h @@ -127,8 +127,8 @@ static const tc32_conf_t timer_config[] = { static const uart_conf_t uart_config[] = { { .dev = &SERCOM5->USART, - .rx_pin = GPIO_PIN(PB,23), - .tx_pin = GPIO_PIN(PB,22), + .rx_pin = GPIO_PIN(PB, 23), + .tx_pin = GPIO_PIN(PB, 22), #ifdef MODULE_PERIPH_UART_HW_FC .rts_pin = GPIO_UNDEF, .cts_pin = GPIO_UNDEF, @@ -141,8 +141,8 @@ static const uart_conf_t uart_config[] = { }, { .dev = &SERCOM0->USART, - .rx_pin = GPIO_PIN(PA,11), - .tx_pin = GPIO_PIN(PA,10), + .rx_pin = GPIO_PIN(PA, 11), + .tx_pin = GPIO_PIN(PA, 10), #ifdef MODULE_PERIPH_UART_HW_FC .rts_pin = GPIO_UNDEF, .cts_pin = GPIO_UNDEF, diff --git a/boards/samd20-xpro/include/periph_conf.h b/boards/samd20-xpro/include/periph_conf.h index 5ff1e5f9012b..c360fae1b495 100644 --- a/boards/samd20-xpro/include/periph_conf.h +++ b/boards/samd20-xpro/include/periph_conf.h @@ -138,8 +138,8 @@ static const tc32_conf_t timer_config[] = { static const uart_conf_t uart_config[] = { { /* Virtual COM Port */ .dev = &SERCOM3->USART, - .rx_pin = GPIO_PIN(PA,25), - .tx_pin = GPIO_PIN(PA,24), + .rx_pin = GPIO_PIN(PA, 25), + .tx_pin = GPIO_PIN(PA, 24), #ifdef MODULE_PERIPH_UART_HW_FC .rts_pin = GPIO_UNDEF, .cts_pin = GPIO_UNDEF, @@ -152,8 +152,8 @@ static const uart_conf_t uart_config[] = { }, { /* EXT1 */ .dev = &SERCOM4->USART, - .rx_pin = GPIO_PIN(PB,9), - .tx_pin = GPIO_PIN(PB,8), + .rx_pin = GPIO_PIN(PB, 9), + .tx_pin = GPIO_PIN(PB, 8), #ifdef MODULE_PERIPH_UART_HW_FC .rts_pin = GPIO_UNDEF, .cts_pin = GPIO_UNDEF, @@ -166,8 +166,8 @@ static const uart_conf_t uart_config[] = { }, { /* EXT2 */ .dev = &SERCOM0->USART, - .rx_pin = GPIO_PIN(PA,9), - .tx_pin = GPIO_PIN(PA,8), + .rx_pin = GPIO_PIN(PA, 9), + .tx_pin = GPIO_PIN(PA, 8), #ifdef MODULE_PERIPH_UART_HW_FC .rts_pin = GPIO_UNDEF, .cts_pin = GPIO_UNDEF, diff --git a/boards/samd21-xpro/include/periph_conf.h b/boards/samd21-xpro/include/periph_conf.h index d1f99c656f91..9705f8bc1f2f 100644 --- a/boards/samd21-xpro/include/periph_conf.h +++ b/boards/samd21-xpro/include/periph_conf.h @@ -140,8 +140,8 @@ static const tc32_conf_t timer_config[] = { static const uart_conf_t uart_config[] = { { /* Virtual COM Port */ .dev = &SERCOM3->USART, - .rx_pin = GPIO_PIN(PA,23), - .tx_pin = GPIO_PIN(PA,22), + .rx_pin = GPIO_PIN(PA, 23), + .tx_pin = GPIO_PIN(PA, 22), #ifdef MODULE_PERIPH_UART_HW_FC .rts_pin = GPIO_UNDEF, .cts_pin = GPIO_UNDEF, @@ -154,8 +154,8 @@ static const uart_conf_t uart_config[] = { }, { /* EXT1 */ .dev = &SERCOM4->USART, - .rx_pin = GPIO_PIN(PB,9), - .tx_pin = GPIO_PIN(PB,8), + .rx_pin = GPIO_PIN(PB, 9), + .tx_pin = GPIO_PIN(PB, 8), #ifdef MODULE_PERIPH_UART_HW_FC .rts_pin = GPIO_UNDEF, .cts_pin = GPIO_UNDEF, @@ -168,8 +168,8 @@ static const uart_conf_t uart_config[] = { }, { /* EXT2/3 */ .dev = &SERCOM4->USART, - .rx_pin = GPIO_PIN(PB,11), - .tx_pin = GPIO_PIN(PB,10), + .rx_pin = GPIO_PIN(PB, 11), + .tx_pin = GPIO_PIN(PB, 10), #ifdef MODULE_PERIPH_UART_HW_FC .rts_pin = GPIO_UNDEF, .cts_pin = GPIO_UNDEF, diff --git a/boards/saml21-xpro/include/periph_conf.h b/boards/saml21-xpro/include/periph_conf.h index f32f5b871af8..3ff3d0a0cc14 100644 --- a/boards/saml21-xpro/include/periph_conf.h +++ b/boards/saml21-xpro/include/periph_conf.h @@ -69,8 +69,8 @@ static const tc32_conf_t timer_config[] = { static const uart_conf_t uart_config[] = { { /* Virtual COM Port */ .dev = &SERCOM3->USART, - .rx_pin = GPIO_PIN(PA,23), - .tx_pin = GPIO_PIN(PA,22), + .rx_pin = GPIO_PIN(PA, 23), + .tx_pin = GPIO_PIN(PA, 22), #ifdef MODULE_PERIPH_UART_HW_FC .rts_pin = GPIO_UNDEF, .cts_pin = GPIO_UNDEF, diff --git a/boards/samr21-xpro/include/periph_conf.h b/boards/samr21-xpro/include/periph_conf.h index dd08ef05a059..c3b9db602dd8 100644 --- a/boards/samr21-xpro/include/periph_conf.h +++ b/boards/samr21-xpro/include/periph_conf.h @@ -140,11 +140,11 @@ static const tc32_conf_t timer_config[] = { static const uart_conf_t uart_config[] = { { .dev = &SERCOM0->USART, - .rx_pin = GPIO_PIN(PA,5), - .tx_pin = GPIO_PIN(PA,4), + .rx_pin = GPIO_PIN(PA, 5), + .tx_pin = GPIO_PIN(PA, 4), #ifdef MODULE_PERIPH_UART_HW_FC - .rts_pin = GPIO_PIN(PA,6), - .cts_pin = GPIO_PIN(PA,7), + .rts_pin = GPIO_PIN(PA, 6), + .cts_pin = GPIO_PIN(PA, 7), #endif .mux = GPIO_MUX_D, .rx_pad = UART_PAD_RX_1, @@ -158,11 +158,11 @@ static const uart_conf_t uart_config[] = { }, { .dev = &SERCOM5->USART, - .rx_pin = GPIO_PIN(PA,23), - .tx_pin = GPIO_PIN(PA,22), + .rx_pin = GPIO_PIN(PA, 23), + .tx_pin = GPIO_PIN(PA, 22), #ifdef MODULE_PERIPH_UART_HW_FC - .rts_pin = GPIO_PIN(PB,22), - .cts_pin = GPIO_PIN(PB,23), + .rts_pin = GPIO_PIN(PB, 22), + .cts_pin = GPIO_PIN(PB, 23), #endif .mux = GPIO_MUX_D, .rx_pad = UART_PAD_RX_1, diff --git a/boards/samr30-xpro/include/periph_conf.h b/boards/samr30-xpro/include/periph_conf.h index faad34f3b730..58015c89f104 100644 --- a/boards/samr30-xpro/include/periph_conf.h +++ b/boards/samr30-xpro/include/periph_conf.h @@ -59,8 +59,8 @@ static const tc32_conf_t timer_config[] = { static const uart_conf_t uart_config[] = { { /* Virtual COM Port */ .dev = &SERCOM0->USART, - .rx_pin = GPIO_PIN(PA,5), - .tx_pin = GPIO_PIN(PA,4), + .rx_pin = GPIO_PIN(PA, 5), + .tx_pin = GPIO_PIN(PA, 4), #ifdef MODULE_PERIPH_UART_HW_FC .rts_pin = GPIO_UNDEF, .cts_pin = GPIO_UNDEF, diff --git a/boards/sodaq-autonomo/include/periph_conf.h b/boards/sodaq-autonomo/include/periph_conf.h index 81fe93191d94..bb384f20f76f 100644 --- a/boards/sodaq-autonomo/include/periph_conf.h +++ b/boards/sodaq-autonomo/include/periph_conf.h @@ -42,8 +42,8 @@ extern "C" { static const uart_conf_t uart_config[] = { { .dev = &SERCOM0->USART, - .rx_pin = GPIO_PIN(PA,9), - .tx_pin = GPIO_PIN(PA,10), + .rx_pin = GPIO_PIN(PA, 9), + .tx_pin = GPIO_PIN(PA, 10), #ifdef MODULE_PERIPH_UART_HW_FC .rts_pin = GPIO_UNDEF, .cts_pin = GPIO_UNDEF, @@ -56,8 +56,8 @@ static const uart_conf_t uart_config[] = { }, { .dev = &SERCOM5->USART, - .rx_pin = GPIO_PIN(PB,31), - .tx_pin = GPIO_PIN(PB,30), + .rx_pin = GPIO_PIN(PB, 31), + .tx_pin = GPIO_PIN(PB, 30), #ifdef MODULE_PERIPH_UART_HW_FC .rts_pin = GPIO_UNDEF, .cts_pin = GPIO_UNDEF, @@ -70,8 +70,8 @@ static const uart_conf_t uart_config[] = { }, { .dev = &SERCOM4->USART, - .rx_pin = GPIO_PIN(PB,13), - .tx_pin = GPIO_PIN(PB,14), + .rx_pin = GPIO_PIN(PB, 13), + .tx_pin = GPIO_PIN(PB, 14), #ifdef MODULE_PERIPH_UART_HW_FC .rts_pin = GPIO_UNDEF, .cts_pin = GPIO_UNDEF, @@ -84,8 +84,8 @@ static const uart_conf_t uart_config[] = { }, { .dev = &SERCOM1->USART, - .rx_pin = GPIO_PIN(PA,17), - .tx_pin = GPIO_PIN(PA,18), + .rx_pin = GPIO_PIN(PA, 17), + .tx_pin = GPIO_PIN(PA, 18), #ifdef MODULE_PERIPH_UART_HW_FC .rts_pin = GPIO_UNDEF, .cts_pin = GPIO_UNDEF, diff --git a/boards/sodaq-explorer/include/periph_conf.h b/boards/sodaq-explorer/include/periph_conf.h index 778b5834eef8..a803cbbe0b88 100644 --- a/boards/sodaq-explorer/include/periph_conf.h +++ b/boards/sodaq-explorer/include/periph_conf.h @@ -38,8 +38,8 @@ extern "C" { static const uart_conf_t uart_config[] = { { .dev = &SERCOM5->USART, - .rx_pin = GPIO_PIN(PB,31), /* D0, RX Pin */ - .tx_pin = GPIO_PIN(PB,30), /* D1, TX Pin */ + .rx_pin = GPIO_PIN(PB, 31), /* D0, RX Pin */ + .tx_pin = GPIO_PIN(PB, 30), /* D1, TX Pin */ #ifdef MODULE_PERIPH_UART_HW_FC .rts_pin = GPIO_UNDEF, .cts_pin = GPIO_UNDEF, @@ -52,8 +52,8 @@ static const uart_conf_t uart_config[] = { }, { .dev = &SERCOM4->USART, - .rx_pin = GPIO_PIN(PB,13), - .tx_pin = GPIO_PIN(PB,14), + .rx_pin = GPIO_PIN(PB, 13), + .tx_pin = GPIO_PIN(PB, 14), #ifdef MODULE_PERIPH_UART_HW_FC .rts_pin = GPIO_UNDEF, .cts_pin = GPIO_UNDEF, @@ -66,8 +66,8 @@ static const uart_conf_t uart_config[] = { }, { /* Connected to RN2483 */ .dev = &SERCOM0->USART, - .rx_pin = GPIO_PIN(PA,5), - .tx_pin = GPIO_PIN(PA,6), + .rx_pin = GPIO_PIN(PA, 5), + .tx_pin = GPIO_PIN(PA, 6), #ifdef MODULE_PERIPH_UART_HW_FC .rts_pin = GPIO_UNDEF, .cts_pin = GPIO_UNDEF, diff --git a/boards/sodaq-one/include/periph_conf.h b/boards/sodaq-one/include/periph_conf.h index 364099820e81..974dea4511db 100644 --- a/boards/sodaq-one/include/periph_conf.h +++ b/boards/sodaq-one/include/periph_conf.h @@ -41,8 +41,8 @@ extern "C" { static const uart_conf_t uart_config[] = { { .dev = &SERCOM5->USART, - .rx_pin = GPIO_PIN(PB,3), /* D0, RX Pin */ - .tx_pin = GPIO_PIN(PB,2), /* D1, TX Pin */ + .rx_pin = GPIO_PIN(PB, 3), /* D0, RX Pin */ + .tx_pin = GPIO_PIN(PB, 2), /* D1, TX Pin */ #ifdef MODULE_PERIPH_UART_HW_FC .rts_pin = GPIO_UNDEF, .cts_pin = GPIO_UNDEF, @@ -55,8 +55,8 @@ static const uart_conf_t uart_config[] = { }, { .dev = &SERCOM2->USART, - .rx_pin = GPIO_PIN(PA,13), - .tx_pin = GPIO_PIN(PA,12), + .rx_pin = GPIO_PIN(PA, 13), + .tx_pin = GPIO_PIN(PA, 12), #ifdef MODULE_PERIPH_UART_HW_FC .rts_pin = GPIO_UNDEF, .cts_pin = GPIO_UNDEF, diff --git a/boards/sodaq-sara-aff/include/periph_conf.h b/boards/sodaq-sara-aff/include/periph_conf.h index f9b5f89fe180..fd68f3adb327 100644 --- a/boards/sodaq-sara-aff/include/periph_conf.h +++ b/boards/sodaq-sara-aff/include/periph_conf.h @@ -58,8 +58,8 @@ static const uart_conf_t uart_config[] = { }, { .dev = &SERCOM0->USART, - .rx_pin = GPIO_PIN(PA,5), - .tx_pin = GPIO_PIN(PA,6), + .rx_pin = GPIO_PIN(PA, 5), + .tx_pin = GPIO_PIN(PA, 6), #ifdef MODULE_PERIPH_UART_HW_FC .rts_pin = GPIO_UNDEF, .cts_pin = GPIO_UNDEF,