micropython / micropython-unicorn Goto Github PK
View Code? Open in Web Editor NEWMicroPython on Unicorn
License: MIT License
MicroPython on Unicorn
License: MIT License
I get this error when I run "make CONFIG=pyboard"
Use make V=1 or set BUILD_VERBOSE in your environment to increase build verbosity. CC ../micropython/py/../lib/utils/printf.c ../micropython/py/../lib/utils/printf.c:109:5: error: '__GI_vsnprintf' specifies less restrictive attributes than its target 'vsnprintf': 'nonnull', 'nothrow' [-Werror=missing-attributes] 109 | int __GI_vsnprintf(char *str, size_t size, const char *fmt, va_list ap) __attribute__((weak, alias ("vsnprintf"))); | ^~~~~~~~~~~~~~ ../micropython/py/../lib/utils/printf.c:112:5: note: '__GI_vsnprintf' target declared here 112 | int vsnprintf(char *str, size_t size, const char *fmt, va_list ap) { | ^~~~~~~~~ cc1: all warnings being treated as errors make: *** [build_pyboard/py/../lib/utils/printf.o] Error 1
When I run "make CONFIG=pyboard CFLAGS="-Wno-error" CXXFLAGS="-Wno-error" then I get this:
Use make V=1 or set BUILD_VERBOSE in your environment to increase build verbosity. CC ../micropython/py/../lib/utils/printf.c ../micropython/py/../lib/utils/printf.c:27:10: fatal error: py/mpconfig.h: No such file or directory 27 | #include "py/mpconfig.h" | ^~~~~~~~~~~~~~~ compilation terminated. make: *** [build_pyboard/py/../lib/utils/printf.o] Error 1
I searched and really there is no "mpconfig.h" file in the directory.
Test scenario:
>>> import micropython
>>> dirdir(micropython) # was just trying for one for
#If I hit backspace now I get this, one print per press
>>> dirdir(micropython dirdir(micropytho dirdir(micropyth
#ad nauseum, these are put the current command line instead of being redrawn in place
I came across https://www.micropython.org/unicorn/ by accident today. I'm very impressed.
Can't micropython-unicorn be what PyPy.js actually wanted to be?
PyPy.js had the problem that it is simply too big: The loading times are simply too long for practical use. See: pypyjs/pypyjs#196
Currently PyPy.js is not alive, see: pypyjs/pypyjs#213
What would be missing? Think if it possible to manipulate the DOM tree, than it ready, isn't it?!?
There seems to be an issue during deployment when most of css and js files not being copied to their respective folders and render the online tool unusable.
please post update once it is possible to import libraries (sys,platform,io,re, ...)
Is this abandonware?
I ask because nothing much has happened in the repo for years and the version of this software running on the MicroPython website is running a really old version of MicroPython.
I hope the project isn't abandoned as it is a great idea!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.