Skip to content

Commit

Permalink
add ofw api to of net,driver writer can use this api get phy modes or…
Browse files Browse the repository at this point in the history
… get mac address
  • Loading branch information
zhuzhuzhus committed Sep 30, 2024
1 parent ac3b8fe commit e9030a7
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 11 deletions.
4 changes: 3 additions & 1 deletion components/drivers/phy/SConscript
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@ from building import *

cwd = GetCurrentDir()
src = Glob('*.c')
CPPPATH = [cwd + '/../include']
if GetDepend('RT_USING_OFW') == False:
SrcRemove(src, ['ofw.c'])
CPPPATH = [cwd,cwd + '/../include']
group = DefineGroup('DeviceDrivers', src, depend = ['RT_USING_PHY'], CPPPATH = CPPPATH)

Return('group')
File renamed without changes.
File renamed without changes.
10 changes: 0 additions & 10 deletions components/net/ofw/SConscript

This file was deleted.

0 comments on commit e9030a7

Please sign in to comment.