Merge pull request #4671 from mysterywolf/stm32f407_1

[bsp-stm32f407-explorer] 完善F407探索者网络部分board配置
This commit is contained in:
Bernard Xiong 2021-05-13 20:50:57 +08:00 committed by GitHub
commit 1dd166734b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 15 additions and 6 deletions

View File

@ -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