Merge pull request #4671 from mysterywolf/stm32f407_1
[bsp-stm32f407-explorer] 完善F407探索者网络部分board配置
This commit is contained in:
commit
1dd166734b
|
@ -47,14 +47,23 @@ menu "Onboard Peripheral Drivers"
|
||||||
select BSP_USING_I2C1
|
select BSP_USING_I2C1
|
||||||
default n
|
default n
|
||||||
|
|
||||||
config PHY_USING_LAN8720A
|
|
||||||
bool
|
|
||||||
|
|
||||||
config BSP_USING_ETH
|
config BSP_USING_ETH
|
||||||
bool "Enable Ethernet"
|
bool "Enable Ethernet"
|
||||||
default n
|
default n
|
||||||
select RT_USING_LWIP
|
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
|
config BSP_USING_MPU6050
|
||||||
bool "Enable MPU6050 (i2c1)"
|
bool "Enable MPU6050 (i2c1)"
|
||||||
|
@ -68,12 +77,12 @@ menu "Onboard Peripheral Drivers"
|
||||||
select RT_USING_DFS
|
select RT_USING_DFS
|
||||||
select RT_USING_DFS_ELMFAT
|
select RT_USING_DFS_ELMFAT
|
||||||
default n
|
default n
|
||||||
if BSP_USING_SDCARD
|
|
||||||
config SDIO_MAX_FREQ
|
config SDIO_MAX_FREQ
|
||||||
int "sdio max freq"
|
int "sdio max freq"
|
||||||
range 0 24000000
|
range 0 24000000
|
||||||
|
depends on BSP_USING_SDCARD
|
||||||
default 1000000
|
default 1000000
|
||||||
endif
|
|
||||||
|
|
||||||
endmenu
|
endmenu
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue