提交 84da2a4d 编写于 作者: B Bernard Xiong

Keep flash setting when generate Keil MDK project.

上级 b0c7d480
......@@ -169,6 +169,11 @@ def MDK4Project(target, script):
out.write(etree.tostring(root, encoding='utf-8'))
out.close()
# copy uvopt file
if os.path.exists('template.uvopt'):
import shutil
shutil.copy2('template.uvopt', 'project.uvopt')
def MDKProject(target, script):
template = file('template.Uv2', "rb")
lines = template.readlines()
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册