Skip to content

Commit

Permalink
boards: nucleo_f411re: Fix to default configuration
Browse files Browse the repository at this point in the history
Fix nucleo_f411re default configuration by deactivating I2C support.
Additionally fix wrong comment and end of file.

Signed-off-by: Erwan Gouriou <[email protected]>
  • Loading branch information
erwango authored and MaureenHelm committed Sep 12, 2019
1 parent a1aabbb commit 0a3f82d
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions boards/arm/nucleo_f411re/nucleo_f411re_defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,6 @@ CONFIG_SERIAL=y
CONFIG_CONSOLE=y
CONFIG_UART_CONSOLE=y

# enable I2C
CONFIG_I2C=y

# enable pinmux
CONFIG_PINMUX=y

Expand All @@ -38,7 +35,7 @@ CONFIG_CLOCK_STM32_PLL_SRC_HSE=y
# the 8MHz clock signal coming from integrated STLink
CONFIG_CLOCK_STM32_HSE_BYPASS=y

# produce 84MHz clock at PLL output
# produce 96MHz clock at PLL output
CONFIG_CLOCK_STM32_PLL_M_DIVISOR=8
CONFIG_CLOCK_STM32_PLL_N_MULTIPLIER=384
CONFIG_CLOCK_STM32_PLL_P_DIVISOR=4
Expand All @@ -47,4 +44,4 @@ CONFIG_CLOCK_STM32_AHB_PRESCALER=1

# APB1 clock must not exceed 50MHz limit
CONFIG_CLOCK_STM32_APB1_PRESCALER=2
CONFIG_CLOCK_STM32_APB2_PRESCALER=1
CONFIG_CLOCK_STM32_APB2_PRESCALER=1

0 comments on commit 0a3f82d

Please sign in to comment.