| Age | Commit message (Collapse) | Author |
|
Can create a new thread and run it. Does not use the GIL at this point.
|
|
Update the help() implementations in the cc3200, stmhal and teensy
ports to use the pyhelp_print_obj function.
|
|
- add template rule that converts a specified source file into a qstring file
- add special rule for generating a central header that contains all
extracted/autogenerated strings - defined by QSTR_DEFS_COLLECTED
variable. Each platform appends a list of sources that may contain
qstrings into a new build variable: SRC_QSTR. Any autogenerated
prerequisities are should be appened to SRC_QSTR_AUTO_DEPS variable.
- remove most qstrings from py/qstrdefs, keep only qstrings that
contain special characters - these cannot be easily detected in the
sources without additional annotations
- remove most manual qstrdefs, use qstrdef autogen for: py, cc3200,
stmhal, teensy, unix, windows, pic16bit:
- remove all micropython generic qstrdefs except for the special strings that contain special characters (e.g. /,+,<,> etc.)
- remove all port specific qstrdefs except for special strings
- append sources for qstr generation in platform makefiles (SRC_QSTR)
|
|
|
|
|
|
|
|
This file contains various MicroPython-specific helper functions, so isn't
good fit for lib/libc/.
|
|
|
|
|
|
The heartbeat is now controllable via a single function within the
wipy module.
|
|
Those two are rarely used features and better to have the extra heap.
|
|
|
|
|
|
Also remove pin.high() and pin.low() methods.
|
|
Stream methods were added to normal sockets as in the unix port.
|
|
|
|
|
|
The reason to have our owm ubinascii module is so that later we
can add crc32 support using the hardware engine.
|
|
|
|
|
|
|
|
|
|
Remove unused and unneeded functions, also create Pin.get_config() that
returns the whole configuration of the pin.
This reduces code size by ~500 bytes.
|
|
This has implications all over the place. I have to admit that
you can instantly see that usability improves, but it costs 3K.
At the same time I took the oportunity to rename the '/SFLASH'
drive to '/flash' which improves compatibility with the pyboard.
|
|
|
|
Only MASTER mode is supported. Transfer width is configurable to
8, 16 or 32 bits.
|
|
|
|
Supports suspend and hibernate modes. Waking is possible throug GPIO
and WLAN.
The mpcallback class is generic and can be reused by other classes.
|
|
Also add another method to change the pin's interrupt mode
on the fly.
|
|
|
|
|
|
Also improve pybsd, and make it save it's pin configuration.
This is a necessary step towards supporting the CC3200 low
power deep sleep (LPDS) mode.
|
|
|
|
|
|
This is how it should be, so one knows exactly where the includes are
coming from.
|
|
|
|
|
|
|
|
|
|
Now all ports can use pybstdio.c to provide sys.stdin/stdout/stderr, so
long as they implement mp_hal_stdin_* and mp_hal_stdout_* functions.
|
|
This change helps making the cc3200 port API a bit closer to stmhal.
The ramaining differences are due to the specific hardware details
of each chip. One feature that has been deliberately disabled is the
possibility to add custom names and custom pin mappings. Those
features are nice and convenient, but in this port, code size is a
major concern.
|
|
The port currently implements support for GPIO, RTC, ExtInt and the WiFi
subsystem. A small file system is available in the serial flash. A
bootloader which makes OTA updates possible, is also part of this initial
implementation.
|