aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2016-04-10py/stream: Fix signed comparison issue.Paul Sokolovsky
2016-04-10extmod/modwebsocket: Implement MP_STREAM_SET_DATA_OPTS ioctl.Paul Sokolovsky
Allows to set fragment type (txt/bin/etc.) for output records.
2016-04-10extmod/modwebsocket: Allow to get type of last read data using ioctl().Paul Sokolovsky
2016-04-10py/stream: Add Python-level ioctl() method.Paul Sokolovsky
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.
2016-04-10py/stream.h: Add bigger inventory of stream ioctl's.Paul Sokolovsky
2016-04-09extmod/modwebsocket: Record current fragment type (binary/text/etc.)Paul Sokolovsky
Also, handle continuation frames (untested).
2016-04-09extmod/modwebsocket: Add option for blocking writes to non-blk sockets.Paul Sokolovsky
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).
2016-04-09extmod/modwebsocket: Reset mask between packets.Paul Sokolovsky
2016-04-08extmod/modwebsocket: Make sure to propagate EOF.Paul Sokolovsky
2016-04-08unix: freedos strip and size names for binariespohmelie
After this you need only one path for build (path/to/djgpp/bin). Original patch made by @dhylands
2016-04-08extmod/modure: re_exec() renamed to ure_exec() due to collison in 4.3BSD.Tom Sparks
Addresses issue #1972.
2016-04-08extmod/modwebsocket: Properly check number of args to constructor.Paul Sokolovsky
2016-04-08lib/axtls: Update to the latest upstream master.Paul Sokolovsky
2016-04-07docs: esp8266: Enable "machine" module docs.Paul Sokolovsky
The docs are still heavily biased towards WiPy, so will need a lot of exclusions.
2016-04-07docs/ubinascii: Document non-standard "sep" argument to hexlify().Paul Sokolovsky
2016-04-07stmhal: Consistently enable USB SOF Irqs for all USB modes (FS and HS).Martin Fischer
SOF irqs are now standard for rx/tx USB transfers, so enable them for both FS and HS modes. Fixes #1944.
2016-04-07py/objarray: Fix array.append so it doesn't extend if append fails.Damien George
Addresses issue #1965.
2016-04-07py: Implement basic with support in native emitter.Damien George
2016-04-07py: Combine continuous block of emit steps into with_cleanup emit call.Damien George
Because different emitters need to handle with-cleanup in different ways.
2016-04-07esp8266: Switch from terse error messages to normal ones.Damien George
Adds 2k to the code size.
2016-04-07esp8266/README: Add short troubleshooting section.Paul Sokolovsky
2016-04-06esp8266: Add initial implementation of machine.UART.Damien George
Currently UART(0) and UART(1) are exposed and only uart.write works.
2016-04-06cc3200/mods/modwlan: Include stream.h after recent refactor.Paul Sokolovsky
2016-04-06esp8266: Make destination for vendor OS debug output soft-configurable.Damien George
Use esp.osdebug(None) to disable, or esp.osdebug(uart_id) to send output to a UART.
2016-04-05py: Move stream-related declarations from obj.h to stream.h.Paul Sokolovsky
2016-04-05docs/esp8266/quickref: Add note about physical vs logical pin numbers.Paul Sokolovsky
2016-04-05esp8266/modnetwork: require_if(): Report the actual interface required.Paul Sokolovsky
2016-04-05docs/ubinascii: Document a2b_base64(), b2a_base64().Paul Sokolovsky
2016-04-05esp8266: Move pyb.unique_id() to machine.unique_id().Paul Sokolovsky
2016-04-05esp8266: Move pyb.hard_reset() to machine.reset().Paul Sokolovsky
2016-04-04unix/modsocket: Use mp_const_empty_map instead of creating empty map.Paul Sokolovsky
2016-04-04py/obj.h: Add comment why mp_fun_kw_t takes non-const mp_map_t*.Paul Sokolovsky
mp_fun_kw_t takes mp_map_t* (and not const mp_map_t*) to ease passing this arg to mp_map_lookup(), which may modify its arg, depending on flags.
2016-04-03unix: djgpp errno.h have no ENOTSUP, so define it to Linux value.pohmelie
2016-04-03docs/machine: Change wording to be a bit more port-neutral.Paul Sokolovsky
2016-04-03docs/os: Change wording to be a bit more port-neutral.Paul Sokolovsky
2016-04-03docs: esp8266: esp.socket is deprecated, remove from docs.Paul Sokolovsky
2016-04-03esp8266: Bump heap size to 24k.Paul Sokolovsky
2016-04-03esp8266: Update flashing instructions in README.Paul Sokolovsky
2016-04-03esp8266: Switch back to flashing combined firmware (single file).Paul Sokolovsky
With gap between segments minimized, there's not much padding to flash, so no big speed overhead.
2016-04-03esp8266: Minimize gap between Inst/DataRAM segments and FlashROM segment.Paul Sokolovsky
With .rodata being in FlashROM now, gap can be much smaller now. InstRAM can be max 32K, and with segment headers, that already makes it more than 32K. Then there's some .data still, and the next Flash page boundary is 0x9000. That figure should be more or less future-proof. TODO: Refactor makeimg to take FlashROM segment offset from file name.
2016-04-03esp8266/ets_alt_task: Comment out debug output.Paul Sokolovsky
2016-04-03esp8266: Bump iROM size to 512k.Paul Sokolovsky
Needed for frozen scripts, and for future growth of binary.
2016-04-03esp8266: Move .rodata where it belongs with -mforce-l32 help.Paul Sokolovsky
2016-04-03docs: Update copyright notice.Paul Sokolovsky
2016-04-03esp8266/README: Add link to docs.Paul Sokolovsky
2016-04-02examples/http_client_ssl.py: HTTPS client example.Paul Sokolovsky
2016-04-02examples/http_server.py: Bind to 0.0.0.0, to be accessible from other hosts.Paul Sokolovsky
This is helpful when running on deeply embedded targets, but may be "security risk". Caveat emptor.
2016-04-02examples/http_server.py: Introduce main() function.Paul Sokolovsky
Allows to re-run code if it was imported as a module (e.g., on bare-metal ports).
2016-04-02examples/http_server.py: Refactor/simplify for Python 3.5.Paul Sokolovsky
2016-04-02examples/http_client.py: Introduce main() function.Paul Sokolovsky
Allows to re-run code if it was imported as a module (e.g., on bare-metal ports).