mirror of
https://github.com/antonblanchard/microwatt.git
synced 2026-01-11 23:43:15 +00:00
Update micropython
The current version of micropython in tests/micropython.bin is ancient. Bug #135 points out that more recent versions are much smaller and they also handle restart when ctrl+D is pressed. Save all three versions of the file (elf, bin and hex) in micropython/ Signed-off-by: Anton Blanchard <anton@linux.ibm.com>
This commit is contained in:
parent
4d3da0c7e6
commit
d0b5050ca4
BIN
micropython/firmware.bin
Normal file
BIN
micropython/firmware.bin
Normal file
Binary file not shown.
BIN
micropython/firmware.elf
Executable file
BIN
micropython/firmware.elf
Executable file
Binary file not shown.
33124
micropython/firmware.hex
Normal file
33124
micropython/firmware.hex
Normal file
File diff suppressed because it is too large
Load Diff
@ -12,7 +12,7 @@ tempdir = tempfile.TemporaryDirectory()
|
||||
cwd = os.getcwd()
|
||||
os.chdir(tempdir.name)
|
||||
|
||||
copyfile(os.path.join(cwd, 'tests/micropython.bin'),
|
||||
copyfile(os.path.join(cwd, 'micropython/firmware.bin'),
|
||||
os.path.join(tempdir.name, 'main_ram.bin'))
|
||||
|
||||
cmd = [ os.path.join(cwd, './core_tb') ]
|
||||
|
||||
@ -12,7 +12,7 @@ tempdir = tempfile.TemporaryDirectory()
|
||||
cwd = os.getcwd()
|
||||
os.chdir(tempdir.name)
|
||||
|
||||
copyfile(os.path.join(cwd, 'tests/micropython.bin'),
|
||||
copyfile(os.path.join(cwd, 'micropython/firmware.bin'),
|
||||
os.path.join(tempdir.name, 'main_ram.bin'))
|
||||
|
||||
cmd = [ os.path.join(cwd, './core_tb') ]
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user