MCPcopy Create free account
hub / github.com/RT-Thread/rt-thread / IARWorkspace

Function IARWorkspace

tools/targets/iar.py:72–78  ·  view source on GitHub ↗
(target)

Source from the content-addressed store, hash-verified

70 file_name.text = '$PROJ_DIR$\\' + path # ('$PROJ_DIR$\\' + path).decode(fs_encoding)
71
72def IARWorkspace(target):
73 # make an workspace
74 workspace = target.replace('.ewp', '.eww')
75 out = open(workspace, 'w')
76 xml = iar_workspace % target
77 out.write(xml)
78 out.close()
79
80def IARProject(env, target, script):
81 project_path = os.path.dirname(os.path.abspath(target))

Callers 1

IARProjectFunction · 0.85

Calls 2

openFunction · 0.50
writeMethod · 0.45

Tested by

no test coverage detected