Age | Commit message (Collapse) | Author |
|
|
|
To make its inclusion as frozen modules in multiple ports less magic.
Ports are just expected to symlink 2 files into their scripts/modules
subdirs.
Unix port updated to use this and in general follow frozen modules setup
tested and tried on baremetal ports, where there's "scripts" predefined
dir (overridable with FROZEN_DIR make var), and a user just drops Python
files there.
|
|
This helps to test floating point code on Cortex-M hardware.
As part of this patch the link-time-optimisation was disabled because it
wasn't compatible with software FP support. In particular, the linker
could not find the __aeabi_f2d, __aeabi_d2f etc functions even though they
were provided by lib/libm/math.c.
|
|
|
|
|
|
|
|
Deprecated for long time, pip-micropython now can't install packages
optimized for low-heap ports (like whole of micropython-lib).
|
|
|
|
Fix error on unix when installing to non-existing absolute path.
|
|
The qemu-arm port is used for testing of ARM Thumb architecture on a
desktop so should have many features enabled.
|
|
Initial support for running on a baremetal, low-heap systems (like esp8266),
using Python module interface.
|
|
Fully self-hosted release (without fallbacks), and uses stream gzip
decompression (step towards support for limited-heap baremetal systems).
|
|
|
|
LIST_APPEND, MAP_ADD and SET_ADD have been removed, and STORE_COMP has
been added in adaf0d865cd6c81fb352751566460506392ed55f.
|
|
|
|
This makes it more efficient at runtime to hash str/bytes objects.
|
|
Makes it easier to access them without passing around another dict of the
config values.
|
|
The tool now generates code for freezing floats in obj-repr A, B or C,
with the specific representation detected at compile time using macros.
|
|
SSL certificate warning, switch to uerrno, and better usage message.
|
|
Directories are now supported by the frozen import system (to implement
frozen packages) so we should keep them.
|
|
So that it can be correctly stat'd when looking for frozen files.
|
|
Frozen modules are now stored with extensions and with '/' as path
separator. In other words, frozen modules paths stored as they are
in normal filesystem.
|
|
When an mpy file is frozen it must know the values of certain
configuration variables. This patch provides an explicit check in the
generated C file that the configuration variables are what they are
supposed to be.
|
|
It allows to "import foo.bar", but not "from foo import bar".
|
|
|
|
Fixes issue #2023.
|
|
|
|
The config variable MICROPY_MODULE_FROZEN is now made of two separate
parts: MICROPY_MODULE_FROZEN_STR and MICROPY_MODULE_FROZEN_MPY. This
allows to have none, either or both of frozen strings and frozen mpy
files (aka frozen bytecode).
|
|
Currently it can freeze .mpy files.
|
|
Hopefully these tests run reliably on Travis.
|
|
|
|
To allow simple zero-terminated lexers.
|
|
|
|
Updated for _os -> uos builtin module rename.
|
|
|
|
Also prints a nicer error message if the serial connection could not be
established.
|
|
|
|
|
|
|
|
Removes FFI dependency, instead uses builtin os module. Thus can work on
systems where dynamic library loading is not available.
|
|
|
|
|
|
|
|
MICROPYPATH environment variable is now honored, package are installed to
first path specified in it.
|
|
|
|
This fix adds PIDs 9801 and 9802 to the pybcdc.inf file.
When in CDC only mode, it presents itself as a Communcations
device rather than as a composite device. Presenting as a
composite device with only the CDC interface seems to confuse
windows.
To test and make sure that the correct pybcdc.inf was being used,
I used USBDeview from http://www.nirsoft.net/utils/usb_devices_view.html
to uninstall any old pyboard drivers (Use Control-F and search
for pyboard). I found running USBDeview as administrator worked best.
Installing the driver in CDC+MSC mode first is recommended (since the
pybcdc.inf file in on the internal flash drive). Then when you switch
modes everything seems to work properly.
I used https://github.com/dhylands/upy-examples/blob/master/boot_switch.py
to easily switch the pyboard between the various USB modes for testing.
|
|
Adds support for ussl module (which is experimental and not fully
implemented yet itself).
|
|
Just dependent micropython-lib modules update for upip, no new
functionality.
|
|
|
|
|