mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2026-09-21 02:06:14 +08:00
Update Ethernet driver,
It tested by DP83848 RMII with external 50MHz OSC PHY mode if you want use another PHY IC please modify Libraries\STM32F2x7_ETH_Driver\inc\stm32f2x7_eth_conf.h git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2086 bbd45198-f89e-11dd-88c7-29a3b14d5316
This commit is contained in:
@@ -57,6 +57,11 @@ path = [cwd + '/STM32F2xx_StdPeriph_Driver/inc',
|
||||
cwd + '/CMSIS/CM3/CoreSupport',
|
||||
cwd + '/CMSIS/CM3/DeviceSupport/ST/STM32F2xx']
|
||||
|
||||
if GetDepend('RT_USING_LWIP') == True:
|
||||
src = src + ['STM32F2x7_ETH_Driver/src/stm32f2x7_eth.c']
|
||||
path = path + [cwd + '/STM32F2x7_ETH_Driver/inc']
|
||||
|
||||
|
||||
CPPDEFINES = ['USE_STDPERIPH_DRIVER']
|
||||
group = DefineGroup('STM32_StdPeriph', src, depend = [''], CPPPATH = path, CPPDEFINES = CPPDEFINES)
|
||||
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user