[nxp/mcxn] support Ethernet
This commit is contained in:
parent
c24280f6ef
commit
79e2946467
|
@ -37,6 +37,9 @@ if GetDepend('BSP_USING_WDT'):
|
|||
if GetDepend('BSP_USING_PWM'):
|
||||
src += ['drv_pwm.c']
|
||||
|
||||
if GetDepend('BSP_USING_ETH'):
|
||||
src += ['drv_eth.c']
|
||||
|
||||
path = [cwd,cwd + '/config']
|
||||
|
||||
group = DefineGroup('Drivers', src, depend = [''], CPPPATH = path)
|
||||
|
|
|
@ -135,6 +135,13 @@ menu "On-chip Peripheral Drivers"
|
|||
select RT_USING_DFS_ELMFAT
|
||||
default y
|
||||
|
||||
config BSP_USING_ETH
|
||||
bool "Enable Ethernet"
|
||||
default n
|
||||
select RT_USING_LWIP
|
||||
select RT_USING_NETDEV
|
||||
select RT_USING_SAL
|
||||
|
||||
config BSP_USING_RTC
|
||||
bool "Enable RTC"
|
||||
select RT_USING_RTC
|
||||
|
@ -162,6 +169,7 @@ menu "On-chip Peripheral Drivers"
|
|||
bool "Enable on-board green LED as PWM output (pwm0, channel 3)"
|
||||
default y
|
||||
endif
|
||||
|
||||
endmenu
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue