Release mode app worked on ch3.

This commit is contained in:
Yifan Wu 2020-11-30 10:29:17 +08:00
parent 1cef77eac7
commit abdfaeae89
6 changed files with 6 additions and 6 deletions

View file

@ -18,7 +18,7 @@ for app in apps:
lines.append(line)
with open(linker, 'w+') as f:
f.writelines(lines)
os.system('cargo build --bin %s' % app)
os.system('cargo build --bin %s --release' % app)
print('[build.py] application %s start with address %s' %(app, hex(base_address+step*app_id)))
with open(linker, 'w+') as f:
f.writelines(lines_before)