未验证 提交 e5562cf6 编写于 作者: B Bernard Xiong 提交者: GitHub

Merge pull request #2909 from BernardXiong/fix_automac

[BSP][QEMU-VExress] fix the automac issue under rtthread-apps
......@@ -21,7 +21,8 @@ end = '''
#endif
'''
with open('drivers/automac.h', 'w') as f:
automac_h_fn = os.path.join(os.path.dirname(__file__), 'drivers', 'automac.h')
with open(automac_h_fn, 'w') as f:
f.write(header + get_mac_address() + end)
# toolchains options
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册