aboutsummaryrefslogtreecommitdiff
path: root/esp8266/mpconfigport.h
AgeCommit message (Collapse)Author
2016-04-29esp8266: Enable webrepl module.Paul Sokolovsky
2016-04-29esp8266: Enable WebREPL file transfer rate limiting.Paul Sokolovsky
2016-04-29esp8266/help: Implement help() builtin.Paul Sokolovsky
2016-04-28esp8266: Move pyb.info() function to esp module and remove pyb module.Damien George
All functionality of the pyb module is available in other modules, like time, machine and os. The only outstanding function, info(), is (temporarily) moved to the esp module and the pyb module is removed.
2016-04-15esp8266: Enable input() builtin.Paul Sokolovsky
2016-04-15py: Declare help, input, open builtins in core.Paul Sokolovsky
These are *defined* per-port, but why redeclare them again and again.
2016-04-14esp8266: Add hard IRQ callbacks for pin change on GPIO0-15.Damien George
2016-04-13py: Add ability to have frozen persistent bytecode from .mpy files.Damien George
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).
2016-04-13lib/utils/printf: Rework overriding printer of DEBUG_printf().Paul Sokolovsky
By default it uses mp_plat_print, but a port may override it to another value with MICROPY_DEBUG_PRINTER_DEST.
2016-04-12esp8266: Enable framebuf module.Damien George
2016-04-12esp8266: Switch from using custom I2C driver to generic extmod one.Damien George
2016-04-11esp8266: Enable websocket module.Paul Sokolovsky
2016-04-07esp8266: Switch from terse error messages to normal ones.Damien George
Adds 2k to the code size.
2016-04-02esp8266: Use VM_HOOK to call ets_loop_iter within the VM.Damien George
Starting with a divisor of 10, pystone_lowmem gives a score of 256.
2016-04-01esp8266: Switch to non event-driven REPL to support paste mode.Paul Sokolovsky
2016-03-30esp8266: Fix issue when current repl line was garbage-collected.Paul Sokolovsky
Reference it from root pointers section.
2016-03-30esp8266: Support synchronous wifi scanning.Damien George
That is: aps = if0.scan() TODO: make sure that returned list has tuple with values in "standard" order (whatever that standard is).
2016-03-29esp8266: Add basic support for duplicating REPL output.Paul Sokolovsky
2016-03-27esp8266: Enable FatFs support.Paul Sokolovsky
2016-03-24esp8266: Add onewire helper functions as C module.Damien George
Includes functions to read and write bits and bytes.
2016-03-23esp8266: Enable auto-indent in REPL.Paul Sokolovsky
2016-03-23esp8266: Add "socket" and "usocket" aliases for lwip module.Paul Sokolovsky
2016-03-23esp8266: Enable non-blocking stream support.Paul Sokolovsky
2016-03-23esp8266: Enable more extmod's: uheapq, ure, uzlib.Damien George
2016-03-23esp8266: Add module weak link from json to ujson.Damien George
2016-03-23esp8266: Enable urandom module.Paul Sokolovsky
2016-03-17esp8266: Store frozen modules in FlashROM.Paul Sokolovsky
Requires special lexer to access their contents.
2016-03-11esp8266: Define MICROPY_EVENT_POLL_HOOK for the port.Paul Sokolovsky
2016-03-08esp8266: Enable modlwip.Damien George
2016-03-07esp8266: Enable stack overflow checking.Paul Sokolovsky
2016-03-05esp8266: Support raising KeyboardInterrupt on Ctrl+C.Paul Sokolovsky
2016-03-05esp8266: Add custom _assert() function.Paul Sokolovsky
Enabling standard assert() (by removing -DNDEBUG) produces non-bootable binary (because all messages go to .rodata which silently overflows). So, for once-off debugging, have a custom _assert().
2016-03-04esp8266: Enable modmachine.Paul Sokolovsky
2016-03-03esp8266: Enable more features in mpconfigport.h.Damien George
This is to get the test suite running and passing.
2016-03-03esp8266: Enable uhashlib module.Paul Sokolovsky
2016-03-03esp8266: Enable config settings helpful for debugging.Paul Sokolovsky
2016-03-03esp8266: Enable ujson, ubinascii, and uctypes modules.Paul Sokolovsky
2016-03-02esp8266: Enable math module.Damien George
2016-03-02esp8266: Enable float support, using 30-bit stuffed floats.Damien George
No complex numbers though.
2016-03-02esp8266: Switch bignum implementation from long-long to mpz.Damien George
2015-10-31all: Add py/mphal.h and use it in all ports.Damien George
py/mphal.h contains declarations for generic mp_hal_XXX functions, such as stdio and delay/ticks, which ports should provide definitions for. A port will also provide mphalport.h with further HAL declarations.
2015-06-12esp8266: Add skeleton "network" module.Paul Sokolovsky
MicroPython "network" module interface requires it to contains classes to instantiate. But as we have a static network interace, make WLAN() "constructor" just return module itself, and just make all methods module-global functions.
2015-05-26esp8266: Add uos moduleJosef Gajdusek
Currently implements only .uname()
2015-05-13esp8266: Add module weak links; link time to utime.Damien George
2015-05-13esp8266: Add utime and pyb.RTCJosef Gajdusek
2015-05-06esp8266: Add support for frozen modulesJosef Gajdusek
2015-05-04esp8266: Add esp.socket class, with ESP-style socket functionality.Josef Gajdusek
* UDP currently not supported * As there is no way (that I know of) the espconn_regist_connectcb() callback can recognize on which socket has the connection arrived, only one listening function at a time is supported
2015-04-16py: Overhaul and simplify printf/pfenv mechanism.Damien George
Previous to this patch the printing mechanism was a bit of a tangled mess. This patch attempts to consolidate printing into one interface. All (non-debug) printing now uses the mp_print* family of functions, mainly mp_printf. All these functions take an mp_print_t structure as their first argument, and this structure defines the printing backend through the "print_strn" function of said structure. Printing from the uPy core can reach the platform-defined print code via two paths: either through mp_sys_stdout_obj (defined pert port) in conjunction with mp_stream_write; or through the mp_plat_print structure which uses the MP_PLAT_PRINT_STRN macro to define how string are printed on the platform. The former is only used when MICROPY_PY_IO is defined. With this new scheme printing is generally more efficient (less layers to go through, less arguments to pass), and, given an mp_print_t* structure, one can call mp_print_str for efficiency instead of mp_printf("%s", ...). Code size is also reduced by around 200 bytes on Thumb2 archs.
2015-01-25esp8266: Add "esp" module with esp8266-specific "cooperative" networking.Paul Sokolovsky
So far implements .scan(lambda x: print(x)) function to scan for WiFi access points.
2015-01-16esp8266: Implement task-based, event-driven interface with UART.Paul Sokolovsky
This enables proper interfacing with underlying OS - MicroPython doesn't run the main loop, OS does, MicroPython just gets called when some event takes place.