|
@@ -17,7 +17,7 @@ menu "On-chip Peripheral Drivers"
|
|
|
config BSP_USING_DMA
|
|
|
bool "Enable DMA"
|
|
|
default n
|
|
|
-
|
|
|
+
|
|
|
config BSP_USING_GPIO
|
|
|
bool "Enable GPIO"
|
|
|
select RT_USING_PIN
|
|
@@ -27,7 +27,7 @@ menu "On-chip Peripheral Drivers"
|
|
|
bool "Enable UART"
|
|
|
select RT_USING_SERIAL
|
|
|
default y
|
|
|
-
|
|
|
+
|
|
|
if BSP_USING_LPUART
|
|
|
config BSP_USING_LPUART1
|
|
|
bool "Enable LPUART1"
|
|
@@ -93,6 +93,46 @@ menu "Onboard Peripheral Drivers"
|
|
|
bool "Enable SDRAM"
|
|
|
default n
|
|
|
|
|
|
+ menuconfig BSP_USING_ETH
|
|
|
+ bool "Enable Ethernet"
|
|
|
+ select RT_USING_NETDEV
|
|
|
+ select RT_USING_LWIP
|
|
|
+ default n
|
|
|
+
|
|
|
+
|
|
|
+ if BSP_USING_ETH
|
|
|
+ config BSP_USING_PHY
|
|
|
+ select RT_USING_PHY
|
|
|
+ bool "Enable ethernet phy"
|
|
|
+ default y
|
|
|
+
|
|
|
+ if BSP_USING_PHY
|
|
|
+ config PHY_DEVICE_ADDRESS
|
|
|
+ int "Specify address of phy device"
|
|
|
+ default 2
|
|
|
+
|
|
|
+ config PHY_USING_KSZ8081
|
|
|
+ bool "i.MX RT1064EVK uses ksz8081 phy"
|
|
|
+ default y
|
|
|
+
|
|
|
+ if PHY_USING_KSZ8081
|
|
|
+ config PHY_RESET_PORT
|
|
|
+ int "indicate port of reset"
|
|
|
+ default 6
|
|
|
+
|
|
|
+ config PHY_RESET_PIN
|
|
|
+ int "indicate pin of reset"
|
|
|
+ default 12
|
|
|
+
|
|
|
+ config FSL_FEATURE_PHYKSZ8081_USE_RMII50M_MODE
|
|
|
+ bool "Enable the PHY ksz8081 RMII50M mode"
|
|
|
+ depends on PHY_USING_KSZ8081
|
|
|
+ default y
|
|
|
+ endif
|
|
|
+
|
|
|
+ endif
|
|
|
+ endif
|
|
|
+
|
|
|
endmenu
|
|
|
|
|
|
menu "Board extended module Drivers"
|