summaryrefslogtreecommitdiffstatshomepage
Commit message (Collapse)AuthorAge
* esp8266: Implement basic C-level pin HAL.Damien George2016-04-12
|
* esp8266: Protect modpyb.h header file from multiple inclusions.Damien George2016-04-12
| | | | Also include py/obj.h so the header is self contained.
* stmhal: Enable framebuf module.Damien George2016-04-12
|
* stmhal: Use new generic I2C object in machine module.Damien George2016-04-12
|
* stmhal: Implement basic C-level pin HAL.Damien George2016-04-12
|
* extmod: Add generic machine.I2C class, with bit-bang I2C.Damien George2016-04-12
| | | | Should work on any machine that provides the correct pin functions.
* extmod: Add initial framebuf module.Damien George2016-04-12
|
* esp8266/scripts/inisetup.py: Use "-" in AP ESSID instead of space.Damien George2016-04-12
|
* esp8266/scripts/inisetup.py: Set WPA/WPA2 AP mode with a predefined password.Paul Sokolovsky2016-04-12
|
* esp8266: Add Python modules for initial configuration.Paul Sokolovsky2016-04-12
| | | | | | | | | Main entry point is _boot.py which checks whether FAT FS in flash mountable, and if so, mounts it. Otherwise, it checks if flash is empty, and if so, performs initial module setup: makes FAT FS, configures default AP name, etc. As a last option, if flash is not empty, and could not be mounted, it means filesystem corruption, and warning message with instructions is printed in an infinite loop.
* esp8266/scripts/main.py: Remove stale file.Paul Sokolovsky2016-04-12
|
* esp8266/modnetwork: .config(): Add "password" param (W/O).Paul Sokolovsky2016-04-12
|
* esp8266/modnetwork: .config(): Add "authmode" param.Paul Sokolovsky2016-04-12
|
* esp8266/modnetwork: .config(): Check interface whose config is requested.Paul Sokolovsky2016-04-12
|
* unix: Build with MICROPY_PY_UHASHLIB_SHA1 if already building with axTLS.Paul Sokolovsky2016-04-11
|
* esp8266: Enable websocket module.Paul Sokolovsky2016-04-11
|
* docs: Bump version to 1.7.v1.7Damien George2016-04-11
|
* extmod/modwebsocket: write(): Support write size beyond 125 bytes.Paul Sokolovsky2016-04-11
|
* extmod/modlwip: Fix for loss of data in unaccepted incoming sockets.Paul Sokolovsky2016-04-11
| | | | | | | | | When lwIP creates a incoming connection socket of a listen socket, it sets its recv callback to one which discards incoming data. We set proper callback only in accept() call, when we allocate Python-level socket where we can queue incoming data. So, in lwIP accept callback be sure to set recv callback to one which tells lwIP to not discard incoming data.
* esp8266/modesp: Add freemem() and meminfo() functions.Paul Sokolovsky2016-04-11
| | | | | They call into vendor SDK functions system_get_free_heap_size() and system_print_meminfo() respectively.
* esp8266/main: mp_builtin_open(): Implement, using vfs_proxy_call().Paul Sokolovsky2016-04-10
|
* py/stream: Move uPy func obj wrappers to below their respective funcs.Damien George2016-04-10
|
* py/stream: Simplify arg extraction logic for stream_ioctl.Damien George2016-04-10
| | | | | | | Saves 16 bytes of code. Also, use mp_obj_get_int_truncated to allow integers as big as a machine word to be passed as the value.
* esp8266: Implement multistage bootstrap sequence.Damien George2016-04-10
| | | | | | | | | | | | | Upon start-up, _boot module is executed from frozen files to do early initialization, e.g. create and mount the flash filesystem. Then "boot.py" is executed if it exists in the filesystem. Finally, "main.py" is executed if exists to allow start-on-boot user applications. This allows a user to make a custom boot file or startup application without recompiling the firmware, while letting to do early initialization in Python code. Based on RFC https://github.com/micropython/micropython/issues/1955.
* extmod/modwebsocket.h: Split websocket-related defines for reuse.Paul Sokolovsky2016-04-10
|
* py/stream: ioctl(): Properly support 2-arg form.Paul Sokolovsky2016-04-10
|
* py/stream: Fix signed comparison issue.Paul Sokolovsky2016-04-10
|
* extmod/modwebsocket: Implement MP_STREAM_SET_DATA_OPTS ioctl.Paul Sokolovsky2016-04-10
| | | | Allows to set fragment type (txt/bin/etc.) for output records.
* extmod/modwebsocket: Allow to get type of last read data using ioctl().Paul Sokolovsky2016-04-10
|
* py/stream: Add Python-level ioctl() method.Paul Sokolovsky2016-04-10
| | | | | | | Will call underlying C virtual methods of stream interface. This isn't intended to be added to every stream object (it's not in CPython), but is convenient way to expose extra operation on Python side without adding bunch of Python-level methods.
* py/stream.h: Add bigger inventory of stream ioctl's.Paul Sokolovsky2016-04-10
|
* extmod/modwebsocket: Record current fragment type (binary/text/etc.)Paul Sokolovsky2016-04-09
| | | | Also, handle continuation frames (untested).
* extmod/modwebsocket: Add option for blocking writes to non-blk sockets.Paul Sokolovsky2016-04-09
| | | | | | | | | | This is strange asymmetry which is sometimes needed, e.g. for WebREPL: we want to process only available input and no more; but for output, we want to get rid of all of it, because there's no other place to buffer/store it. This asymmetry is akin to CPython's asyncio asymmetry, where reads are asynchronous, but writes are synchronous (asyncio doesn't expect them to block, instead expects there to be (unlimited) buffering for any sync write to completely immediately).
* extmod/modwebsocket: Reset mask between packets.Paul Sokolovsky2016-04-09
|
* extmod/modwebsocket: Make sure to propagate EOF.Paul Sokolovsky2016-04-08
|
* unix: freedos strip and size names for binariespohmelie2016-04-08
| | | | After this you need only one path for build (path/to/djgpp/bin). Original patch made by @dhylands
* extmod/modure: re_exec() renamed to ure_exec() due to collison in 4.3BSD.Tom Sparks2016-04-08
| | | | Addresses issue #1972.
* extmod/modwebsocket: Properly check number of args to constructor.Paul Sokolovsky2016-04-08
|
* lib/axtls: Update to the latest upstream master.Paul Sokolovsky2016-04-08
|
* docs: esp8266: Enable "machine" module docs.Paul Sokolovsky2016-04-07
| | | | | The docs are still heavily biased towards WiPy, so will need a lot of exclusions.
* docs/ubinascii: Document non-standard "sep" argument to hexlify().Paul Sokolovsky2016-04-07
|
* stmhal: Consistently enable USB SOF Irqs for all USB modes (FS and HS).Martin Fischer2016-04-07
| | | | | SOF irqs are now standard for rx/tx USB transfers, so enable them for both FS and HS modes. Fixes #1944.
* py/objarray: Fix array.append so it doesn't extend if append fails.Damien George2016-04-07
| | | | Addresses issue #1965.
* py: Implement basic with support in native emitter.Damien George2016-04-07
|
* py: Combine continuous block of emit steps into with_cleanup emit call.Damien George2016-04-07
| | | | Because different emitters need to handle with-cleanup in different ways.
* esp8266: Switch from terse error messages to normal ones.Damien George2016-04-07
| | | | Adds 2k to the code size.
* esp8266/README: Add short troubleshooting section.Paul Sokolovsky2016-04-07
|
* esp8266: Add initial implementation of machine.UART.Damien George2016-04-06
| | | | Currently UART(0) and UART(1) are exposed and only uart.write works.
* cc3200/mods/modwlan: Include stream.h after recent refactor.Paul Sokolovsky2016-04-06
|
* esp8266: Make destination for vendor OS debug output soft-configurable.Damien George2016-04-06
| | | | | Use esp.osdebug(None) to disable, or esp.osdebug(uart_id) to send output to a UART.