Skip to content

Commit

Permalink
mRo boards: Fix for USART clock selection
Browse files Browse the repository at this point in the history
  • Loading branch information
TOTON95 authored and dagar committed Aug 9, 2024
1 parent fdfe434 commit f4f9311
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 0 deletions.
6 changes: 6 additions & 0 deletions boards/mro/ctrl-zero-classic/nuttx-config/include/board.h
Original file line number Diff line number Diff line change
Expand Up @@ -197,6 +197,12 @@

#define STM32_FDCANCLK STM32_HSE_FREQUENCY

/* UART clock selection */
/* reset to default to overwrite any changes done by any bootloader */

#define STM32_RCC_D2CCIP2R_USART234578_SEL RCC_D2CCIP2R_USART234578SEL_RCC
#define STM32_RCC_D2CCIP2R_USART16_SEL RCC_D2CCIP2R_USART16SEL_RCC

/* FLASH wait states */
#define BOARD_FLASH_WAITSTATES 2

Expand Down
6 changes: 6 additions & 0 deletions boards/mro/ctrl-zero-h7-oem/nuttx-config/include/board.h
Original file line number Diff line number Diff line change
Expand Up @@ -197,6 +197,12 @@

#define STM32_FDCANCLK STM32_HSE_FREQUENCY

/* UART clock selection */
/* reset to default to overwrite any changes done by any bootloader */

#define STM32_RCC_D2CCIP2R_USART234578_SEL RCC_D2CCIP2R_USART234578SEL_RCC
#define STM32_RCC_D2CCIP2R_USART16_SEL RCC_D2CCIP2R_USART16SEL_RCC

/* FLASH wait states */
#define BOARD_FLASH_WAITSTATES 2

Expand Down
6 changes: 6 additions & 0 deletions boards/mro/ctrl-zero-h7/nuttx-config/include/board.h
Original file line number Diff line number Diff line change
Expand Up @@ -196,6 +196,12 @@

#define STM32_FDCANCLK STM32_HSE_FREQUENCY

/* UART clock selection */
/* reset to default to overwrite any changes done by any bootloader */

#define STM32_RCC_D2CCIP2R_USART234578_SEL RCC_D2CCIP2R_USART234578SEL_RCC
#define STM32_RCC_D2CCIP2R_USART16_SEL RCC_D2CCIP2R_USART16SEL_RCC

/* FLASH wait states */
#define BOARD_FLASH_WAITSTATES 2

Expand Down
6 changes: 6 additions & 0 deletions boards/mro/pixracerpro/nuttx-config/include/board.h
Original file line number Diff line number Diff line change
Expand Up @@ -196,6 +196,12 @@

#define STM32_FDCANCLK STM32_HSE_FREQUENCY

/* UART clock selection */
/* reset to default to overwrite any changes done by any bootloader */

#define STM32_RCC_D2CCIP2R_USART234578_SEL RCC_D2CCIP2R_USART234578SEL_RCC
#define STM32_RCC_D2CCIP2R_USART16_SEL RCC_D2CCIP2R_USART16SEL_RCC

/* FLASH wait states */
#define BOARD_FLASH_WAITSTATES 2

Expand Down

0 comments on commit f4f9311

Please sign in to comment.