Skip to content

Commit 67e36cc

Browse files
committed
chore(scons): add macro for hpmicro
Signed-off-by: sakumisu <1203593632@qq.com>
1 parent fea9307 commit 67e36cc

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

SConscript

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,11 @@ src += Glob('demo/rtthread/ec_main.c')
2727

2828
if GetDepend(['PKG_CHERRYECAT_NETDEV_HPMICRO']):
2929
src += Glob('port/netdev_hpmicro.c')
30+
if GetDepend(['PKG_CHERRYECAT_HPMICRO_RGMII']):
31+
CPPDEFINES += ['RGMII']
32+
33+
if GetDepend(['PKG_CHERRYECAT_HPMICRO_RMII']):
34+
CPPDEFINES += ['RMII']
3035

3136
if GetDepend(['PKG_CHERRYECAT_NETDEV_RENESAS']):
3237
src += Glob('port/netdev_renesas.c')

0 commit comments

Comments
 (0)