diff options
| author | Gavin Liu <[email protected]> | 2019-09-19 10:11:57 +0800 |
|---|---|---|
| committer | Gavin Liu <[email protected]> | 2019-09-19 11:21:42 +0800 |
| commit | 943f83d58fe92380324be60413b4b2e3178d82d4 (patch) | |
| tree | ef37349435aedb52f9f96f8bec15cd9e15518279 /bsp/imxrt/libraries/drivers/SConscript | |
| parent | 5cabac6d9ca6fcc6a5002238182111aecff7c94d (diff) | |
imxrt:enet: Support imxrt ethernet interface
1. Add "drv_eth.c" for all imxrt platforms.
2. Add ksz8081 phy driver for imxrt1052-nxp-evk board.
3. Disable the LED demo in main.c file if enable the ENET
and ksz8081 phy, because the PINs of LED and ksz8081
reset are from the same GPIO.
4. Update the relevant Kconfig and Sconscript files.
Signed-off-by: Gavin Liu <[email protected]>
Diffstat (limited to 'bsp/imxrt/libraries/drivers/SConscript')
| -rw-r--r-- | bsp/imxrt/libraries/drivers/SConscript | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/bsp/imxrt/libraries/drivers/SConscript b/bsp/imxrt/libraries/drivers/SConscript index 8f6ec9dcfc..7320ff84af 100644 --- a/bsp/imxrt/libraries/drivers/SConscript +++ b/bsp/imxrt/libraries/drivers/SConscript @@ -40,6 +40,9 @@ if GetDepend('BSP_USING_SDRAM'): if GetDepend('BSP_USING_LCD'): src += ['drv_lcd.c'] +if GetDepend('BSP_USING_ETH'): + src += ['drv_eth.c'] + path = [cwd,cwd + '/config'] group = DefineGroup('Drivers', src, depend = [''], CPPPATH = path) |
