1
0
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:
Anton Blanchard 2020-01-19 20:22:09 +11:00 committed by Anton Blanchard
parent 4d3da0c7e6
commit d0b5050ca4
5 changed files with 33126 additions and 2 deletions

BIN
micropython/firmware.bin Normal file

Binary file not shown.

BIN
micropython/firmware.elf Executable file

Binary file not shown.

33124
micropython/firmware.hex Normal file

File diff suppressed because it is too large Load Diff

View File

@ -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') ]

View File

@ -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') ]