Skip to content

Commit

Permalink
board: olimex_stm32_e407: fix compile bug due to pinmux rework
Browse files Browse the repository at this point in the history
Jira: ZEP-2452
Signed-off-by: Erwin Rol <[email protected]>
  • Loading branch information
lowlander authored and galak committed Aug 2, 2017
1 parent 20deb23 commit bd379e9
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions boards/arm/olimex_stm32_e407/pinmux.c
Original file line number Diff line number Diff line change
Expand Up @@ -27,18 +27,18 @@ static const struct pin_config pinconf[] = {
{STM32_PIN_PC7, STM32F4_PINMUX_FUNC_PC7_USART6_RX},
#endif /* CONFIG_UART_STM32_PORT_2 */
#ifdef CONFIG_ETH_STM32_HAL
{STM32_PIN_PC1, STM32_PINMUX_FUNC_ALT_11},
{STM32_PIN_PC4, STM32_PINMUX_FUNC_ALT_11},
{STM32_PIN_PC5, STM32_PINMUX_FUNC_ALT_11},

{STM32_PIN_PA1, STM32_PINMUX_FUNC_ALT_11},
{STM32_PIN_PA2, STM32_PINMUX_FUNC_ALT_11},
{STM32_PIN_PA3, STM32_PINMUX_FUNC_ALT_11},
{STM32_PIN_PA7, STM32_PINMUX_FUNC_ALT_11},

{STM32_PIN_PG11, STM32_PINMUX_FUNC_ALT_11},
{STM32_PIN_PG13, STM32_PINMUX_FUNC_ALT_11},
{STM32_PIN_PG14, STM32_PINMUX_FUNC_ALT_11},
{STM32_PIN_PC1, STM32F4_PINMUX_FUNC_PC1_ETH},
{STM32_PIN_PC4, STM32F4_PINMUX_FUNC_PC4_ETH},
{STM32_PIN_PC5, STM32F4_PINMUX_FUNC_PC5_ETH},

{STM32_PIN_PA1, STM32F4_PINMUX_FUNC_PA1_ETH},
{STM32_PIN_PA2, STM32F4_PINMUX_FUNC_PA2_ETH},
{STM32_PIN_PA3, STM32F4_PINMUX_FUNC_PA3_ETH},
{STM32_PIN_PA7, STM32F4_PINMUX_FUNC_PA7_ETH},

{STM32_PIN_PG11, STM32F4_PINMUX_FUNC_PG11_ETH},
{STM32_PIN_PG13, STM32F4_PINMUX_FUNC_PG13_ETH},
{STM32_PIN_PG14, STM32F4_PINMUX_FUNC_PG14_ETH},
#endif /* CONFIG_ETH_STM32_HAL */
};

Expand Down

0 comments on commit bd379e9

Please sign in to comment.