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>
pull/138/head
Anton Blanchard 5 years ago committed by Anton Blanchard
parent 4d3da0c7e6
commit d0b5050ca4

Binary file not shown.

Binary file not shown.

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…
Cancel
Save