Has somebody made a web page with the JavaScript port?
I know the pyboard emulator page.
MicroPython.js usage?
Re: MicroPython.js usage?
I posted a working example a few days ago here: viewtopic.php?f=2&t=7659
Note that the Pyboard emulator page is completely unrelated to micropython.js (i.e. the JavaScript port). It's based instead on running an ARM port in unicorn.js (i.e. a cut down qemu running in the browser). See https://github.com/micropython/micropython-unicorn
Note that the Pyboard emulator page is completely unrelated to micropython.js (i.e. the JavaScript port). It's based instead on running an ARM port in unicorn.js (i.e. a cut down qemu running in the browser). See https://github.com/micropython/micropython-unicorn
Re: MicroPython.js usage?
Hm, okay. So nobody use it.
I like to try using it to get my old 6809 CPU Emulator running in the Browser : https://github.com/6809/MC6809
I like to try using it to get my old 6809 CPU Emulator running in the Browser : https://github.com/6809/MC6809
Re: MicroPython.js usage?
I can't compile:
I have libc6-dev installed. This packaged should have the missed file 'bits/libc-header-start.h'
Code: Select all
...
In file included from mpconfigport.h:27:
In file included from /usr/lib/llvm-6.0/lib/clang/6.0.0/include/stdint.h:61:
/usr/include/stdint.h:26:10: fatal error: 'bits/libc-header-start.h' file not found
#include <bits/libc-header-start.h>
^~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
make: *** [build/genhdr/qstr.i.last] Error 1
make: *** Deleting file 'build/genhdr/qstr.i.last'
Re: MicroPython.js usage?
I think (but may be mistaken) that it's used by Numworks for their simulator???
Need more information. Version of emscripten, linux distro, etc. How you're running make, etc, have you got any local modifications to the Makefile.
I was able to build it recently with the current emscripten Arch Linux package, the only issue I ran into was a very out-of-date ~.emscriptenrc which was telling it to still use fastcomp.
Re: MicroPython.js usage?
I try to compile it via https://github.com/jedie/docker-micropython ... So i must install some more decencies...