diff options
| author | Bernard Xiong <[email protected]> | 2021-05-13 20:50:57 +0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2021-05-13 20:50:57 +0800 |
| commit | 1dd166734b9eecea8f4750edabfe8bca22e66373 (patch) | |
| tree | 1e2963a0fd1635034bd930be229f45cd03816245 | |
| parent | c0ebb5dacf396e09c706e89ea66b63d0e2ce192b (diff) | |
| parent | 2b5970e94a2fb07a1bd2de80104acb0a8261a551 (diff) | |
Merge pull request #4671 from mysterywolf/stm32f407_1
[bsp-stm32f407-explorer] 完善F407探索者网络部分board配置
| -rw-r--r-- | bsp/stm32/stm32f407-atk-explorer/board/Kconfig | 21 |
1 files changed, 15 insertions, 6 deletions
diff --git a/bsp/stm32/stm32f407-atk-explorer/board/Kconfig b/bsp/stm32/stm32f407-atk-explorer/board/Kconfig index f411904234..4ee966382f 100644 --- a/bsp/stm32/stm32f407-atk-explorer/board/Kconfig +++ b/bsp/stm32/stm32f407-atk-explorer/board/Kconfig @@ -46,15 +46,24 @@ menu "Onboard Peripheral Drivers" bool "Enable I2C EEPROM (i2c1)" select BSP_USING_I2C1 default n - - config PHY_USING_LAN8720A - bool config BSP_USING_ETH bool "Enable Ethernet" default n select RT_USING_LWIP - select PHY_USING_LAN8720A + select RT_LWIP_USING_HW_CHECKSUM + + config BSP_USING_ETH_SAL + bool "Enable Ethernet with SAL" + depends on BSP_USING_ETH + default y + select RT_USING_SAL + select SAL_USING_POSIX + + config PHY_USING_LAN8720A + bool + depends on BSP_USING_ETH + default y config BSP_USING_MPU6050 bool "Enable MPU6050 (i2c1)" @@ -68,12 +77,12 @@ menu "Onboard Peripheral Drivers" select RT_USING_DFS select RT_USING_DFS_ELMFAT default n - if BSP_USING_SDCARD + config SDIO_MAX_FREQ int "sdio max freq" range 0 24000000 + depends on BSP_USING_SDCARD default 1000000 - endif endmenu |
