1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +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[] = {
{
.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,

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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