| Age | Commit message (Collapse) | Author |
|
After this you need only one path for build (path/to/djgpp/bin). Original patch made by @dhylands
|
|
TODO: Probably merge into vfs_fat_diskio.
|
|
|
|
|
|
|
|
When using newer glibc's the compiler automatically sets
_FORTIFY_SOURCE when building with -O1 and this causes
a special inlined version of printf to be declared which
then bypasses our version of printf.
|
|
Functions added are:
- randint
- randrange
- choice
- random
- uniform
They are enabled with configuration variable
MICROPY_PY_URANDOM_EXTRA_FUNCS, which is disabled by default. It is
enabled for unix coverage build and stmhal.
|
|
|
|
Build using: make nanbox
|
|
So that if MICROPY_FORCE_32BIT is set mpconfigport.mk it influences
mkenv.mk.
|
|
|
|
This leaves behind the common functionality in extmod/machine_mem.c
which can be used by all ports.
|
|
In other words, unix port now uses overriden printf(), instead of using
libc's. This should remove almost all dependency on libc stdio (which
is bloated).
|
|
Underlyingly, uses standard POSIX poll() for portability.
|
|
This requires makeinfo installed and wastes time (especially in CI).
|
|
Generally, ports should inherit INC from py.mk, append to it, not
overwrite it. TODO: Likely should do the same for other vars too.
|
|
To avoid "-dirty" version previous and spurious "modified" output from
git status, etc.
|
|
|
|
This includes Android Dalvik VM for example.
Example usage:
import jni
System = jni.cls("java/lang/System")
System.out.println("Hello, Java!")
|
|
Linking against local libffi (and other libs in future) is triggered by
"make MICROPY_STANDALONE=1". Before that, dependent libs should be built
with "make deplibs".
|
|
Indeed, this flag efectively selects architecture target, and must
consistently apply to all compiles and links, including 3rd-party
libraries, unlike CFLAGS, which have MicroPython-specific setting.
|
|
|
|
|
|
MicroPython doesn't come with standard library included, so it is important
to be able to easily install needed package in a seamless manner. Bundling
package manager (upip) inside an executable solves this issue.
upip is bundled only with standard executable, not "minimal" or "fast"
builds.
|
|
After switching to builtin readline support, "minimal" no longer builds, and
minimal doesn't really need readline support.
|
|
This gets uPy readline working with unix port, with tab completion and
history. GNU readline is still supported, configure using
MICROPY_USE_READLINE variable.
|
|
|
|
The function and corresponding command-line option are only enabled for
the coverage build. They are used to exercise uPy features that can't
be properly tested by Python scripts.
|
|
The 2 removed from coverage build are: -Wredundant-decls and
-Wstrict-prototypes.
|
|
|
|
|
|
To address issue #699.
|
|
|
|
|
|
|
|
GC for unix/windows builds doesn't make use of the bss section anymore,
so we do not need the (sometimes complicated) build features and code related to it
|
|
Confirmed that it improves perfomance of simple "for i in range(N): pass"
loop by 15% on Core2.
|
|
|
|
|
|
This build is primarily intended for benchmarking, and may have random
features enabled/disabled to get high scores in synthetic benchmarks.
The intent is to show/prove that MicroPython codebase can compete with
CPython, when configured appropriately. But the main MicroPython aim
still remains to optimize for memory usage (which inevitibly leads to
performance degradation in some areas on some workloads).
|
|
|
|
|
|
Add more specific comments describing what is going on.
|
|
|
|
Force OSX to compile with clang even if gcc is available
Change LDFLAGS syntax to be compatible with clang
Fix questionable syntax on line 90
Remove extraneous tab character
|
|
For the sake of older versions of gcc (and other compilers), don't use
the #warning CPP directive, nor the -Wno-error=cpp option.
Also, fix a strict alias warning in modffi.c for older compilers, and
add a test for ffi module.
Addresses issue #847.
|
|
And move the MAP_ANON redefinition from py/asmx64.c to unix/alloc.c.
|
|
MP_PLAT_FREE_EXEC macros
Fixes issue #840
|
|
Also add -t/--target option to pip-micropython to allowing installing to
the pyboard.
Thanks to turbinenreiter/Sebastian Plamauer for the patch.
|
|
Also provides setraw() function from "tty" module (which in CPython is
implemented in Python). The idea here is that 95% of "termios" module usage
is to set raw mode to allow access to normal serial devices. Then, instead
of exporting gazillion termios symbols, it's better to implement it in C,
and export minimal number of symbols (mostly baud rates and drain values).
|