mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2025-01-18 20:54:25 +08:00
[BSP][QEMU-VExress] fix the automac issue under rtthread-apps
This commit is contained in:
parent
ba084c5b5b
commit
cfd54c76b6
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user