Skip to content

Commit

Permalink
Corrected BOOT_USART_MASK for boards that don't use ABPAMASK for UART
Browse files Browse the repository at this point in the history
  • Loading branch information
alexthornicroft committed Aug 8, 2024
1 parent aa52b22 commit 12c8d4c
Show file tree
Hide file tree
Showing 13 changed files with 13 additions and 13 deletions.
2 changes: 1 addition & 1 deletion boards/arcade_itsybitsy_m4/board_config.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
#define BOARD_RGBLED_DATA_PIN PIN_PB03

#define BOOT_USART_MODULE SERCOM3
#define BOOT_USART_MASK APBAMASK
#define BOOT_USART_MASK APBBMASK
#define BOOT_USART_BUS_CLOCK_INDEX MCLK_APBBMASK_SERCOM3
#define BOOT_USART_PAD_SETTINGS UART_RX_PAD1_TX_PAD0
#define BOOT_USART_PAD3 PINMUX_UNUSED
Expand Down
2 changes: 1 addition & 1 deletion boards/circuitbrains_deluxe_m4/board_config.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
#define USB_PID 0xEC64

#define BOOT_USART_MODULE SERCOM3
#define BOOT_USART_MASK APBAMASK
#define BOOT_USART_MASK APBBMASK
#define BOOT_USART_BUS_CLOCK_INDEX MCLK_APBBMASK_SERCOM3
#define BOOT_USART_PAD_SETTINGS UART_RX_PAD1_TX_PAD0
#define BOOT_USART_PAD3 PINMUX_UNUSED
Expand Down
2 changes: 1 addition & 1 deletion boards/itsybitsy_m4/board_config.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
#define BOARD_RGBLED_DATA_PIN PIN_PB03

#define BOOT_USART_MODULE SERCOM3
#define BOOT_USART_MASK APBAMASK
#define BOOT_USART_MASK APBBMASK
#define BOOT_USART_BUS_CLOCK_INDEX MCLK_APBBMASK_SERCOM3
#define BOOT_USART_PAD_SETTINGS UART_RX_PAD1_TX_PAD0
#define BOOT_USART_PAD3 PINMUX_UNUSED
Expand Down
2 changes: 1 addition & 1 deletion boards/metro_m4/board_config.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
#define BOARD_NEOPIXEL_COUNT 1

#define BOOT_USART_MODULE SERCOM3
#define BOOT_USART_MASK APBAMASK
#define BOOT_USART_MASK APBBMASK
#define BOOT_USART_BUS_CLOCK_INDEX MCLK_APBBMASK_SERCOM3
#define BOOT_USART_PAD_SETTINGS UART_RX_PAD1_TX_PAD0
#define BOOT_USART_PAD3 PINMUX_UNUSED
Expand Down
2 changes: 1 addition & 1 deletion boards/metro_m4_airlift/board_config.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
#define BOARD_NEOPIXEL_COUNT 1

#define BOOT_USART_MODULE SERCOM3
#define BOOT_USART_MASK APBAMASK
#define BOOT_USART_MASK APBBMASK
#define BOOT_USART_BUS_CLOCK_INDEX MCLK_APBBMASK_SERCOM3
#define BOOT_USART_PAD_SETTINGS UART_RX_PAD1_TX_PAD0
#define BOOT_USART_PAD3 PINMUX_UNUSED
Expand Down
2 changes: 1 addition & 1 deletion boards/mini_sam_m4/board_config.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
#define BOARD_RGBLED_DATA_PIN PIN_PB03

#define BOOT_USART_MODULE SERCOM3
#define BOOT_USART_MASK APBAMASK
#define BOOT_USART_MASK APBBMASK
#define BOOT_USART_BUS_CLOCK_INDEX MCLK_APBBMASK_SERCOM3
#define BOOT_USART_PAD_SETTINGS UART_RX_PAD1_TX_PAD0
#define BOOT_USART_PAD3 PINMUX_UNUSED
Expand Down
2 changes: 1 addition & 1 deletion boards/openbook_m4/board_config.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
#define BOARD_NEOPIXEL_COUNT 1

#define BOOT_USART_MODULE SERCOM5
#define BOOT_USART_MASK APBAMASK
#define BOOT_USART_MASK APBDMASK
#define BOOT_USART_BUS_CLOCK_INDEX MCLK_APBDMASK_SERCOM5
#define BOOT_USART_PAD_SETTINGS UART_RX_PAD1_TX_PAD0
#define BOOT_USART_PAD3 PINMUX_UNUSED
Expand Down
2 changes: 1 addition & 1 deletion boards/pewpew_m4/board_config.h
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
#define BOARD_SCREEN 1

#define BOOT_USART_MODULE SERCOM3
#define BOOT_USART_MASK APBAMASK
#define BOOT_USART_MASK APBBMASK
#define BOOT_USART_BUS_CLOCK_INDEX MCLK_APBBMASK_SERCOM3
#define BOOT_USART_PAD_SETTINGS UART_RX_PAD1_TX_PAD0
#define BOOT_USART_PAD3 PINMUX_UNUSED
Expand Down
2 changes: 1 addition & 1 deletion boards/pyportal_m4/board_config.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
#define BOARD_NEOPIXEL_COUNT 1

#define BOOT_USART_MODULE SERCOM5
#define BOOT_USART_MASK APBAMASK
#define BOOT_USART_MASK APBDMASK
#define BOOT_USART_BUS_CLOCK_INDEX MCLK_APBDMASK_SERCOM5
#define BOOT_USART_PAD_SETTINGS UART_RX_PAD1_TX_PAD0
#define BOOT_USART_PAD3 PINMUX_UNUSED
Expand Down
2 changes: 1 addition & 1 deletion boards/sam32/board_config.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
#define BOARD_NEOPIXEL_COUNT 1

#define BOOT_USART_MODULE SERCOM3
#define BOOT_USART_MASK APBAMASK
#define BOOT_USART_MASK APBBMASK
#define BOOT_USART_BUS_CLOCK_INDEX MCLK_APBBMASK_SERCOM3
#define BOOT_USART_PAD_SETTINGS UART_RX_PAD1_TX_PAD0
#define BOOT_USART_PAD3 PINMUX_UNUSED
Expand Down
2 changes: 1 addition & 1 deletion boards/trellis_m4/board_config.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
#define BOARD_RGBLED_DATA_PIN PIN_PB03

#define BOOT_USART_MODULE SERCOM3
#define BOOT_USART_MASK APBAMASK
#define BOOT_USART_MASK APBBMASK
#define BOOT_USART_BUS_CLOCK_INDEX MCLK_APBBMASK_SERCOM3
#define BOOT_USART_PAD_SETTINGS UART_RX_PAD1_TX_PAD0
#define BOOT_USART_PAD3 PINMUX_UNUSED
Expand Down
2 changes: 1 addition & 1 deletion boards/uartlogger2/board_config.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
#define BOARD_NEOPIXEL_COUNT 1

#define BOOT_USART_MODULE SERCOM3
#define BOOT_USART_MASK APBAMASK
#define BOOT_USART_MASK APBBMASK
#define BOOT_USART_BUS_CLOCK_INDEX MCLK_APBBMASK_SERCOM3
#define BOOT_USART_PAD_SETTINGS UART_RX_PAD1_TX_PAD0
#define BOOT_USART_PAD3 PINMUX_UNUSED
Expand Down
2 changes: 1 addition & 1 deletion boards/winterbloom_binary_star/board_config.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
#define BOARD_RGBLED_DATA_PIN PIN_PA04

#define BOOT_USART_MODULE SERCOM3
#define BOOT_USART_MASK APBAMASK
#define BOOT_USART_MASK APBBMASK
#define BOOT_USART_BUS_CLOCK_INDEX MCLK_APBBMASK_SERCOM3
#define BOOT_USART_PAD_SETTINGS UART_RX_PAD1_TX_PAD0
#define BOOT_USART_PAD3 PINMUX_UNUSED
Expand Down

0 comments on commit 12c8d4c

Please sign in to comment.