summaryrefslogtreecommitdiffstatshomepage
Commit message (Collapse)AuthorAge
* 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.
* py: Move stream-related declarations from obj.h to stream.h.Paul Sokolovsky2016-04-05
|
* docs/esp8266/quickref: Add note about physical vs logical pin numbers.Paul Sokolovsky2016-04-05
|
* esp8266/modnetwork: require_if(): Report the actual interface required.Paul Sokolovsky2016-04-05
|
* docs/ubinascii: Document a2b_base64(), b2a_base64().Paul Sokolovsky2016-04-05
|
* esp8266: Move pyb.unique_id() to machine.unique_id().Paul Sokolovsky2016-04-05
|
* esp8266: Move pyb.hard_reset() to machine.reset().Paul Sokolovsky2016-04-05
|
* unix/modsocket: Use mp_const_empty_map instead of creating empty map.Paul Sokolovsky2016-04-04
|
* py/obj.h: Add comment why mp_fun_kw_t takes non-const mp_map_t*.Paul Sokolovsky2016-04-04
| | | | | | 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.
* unix: djgpp errno.h have no ENOTSUP, so define it to Linux value.pohmelie2016-04-03
|
* docs/machine: Change wording to be a bit more port-neutral.Paul Sokolovsky2016-04-03
|
* docs/os: Change wording to be a bit more port-neutral.Paul Sokolovsky2016-04-03
|
* docs: esp8266: esp.socket is deprecated, remove from docs.Paul Sokolovsky2016-04-03
|
* esp8266: Bump heap size to 24k.Paul Sokolovsky2016-04-03
|
* esp8266: Update flashing instructions in README.Paul Sokolovsky2016-04-03
|
* esp8266: Switch back to flashing combined firmware (single file).Paul Sokolovsky2016-04-03
| | | | | With gap between segments minimized, there's not much padding to flash, so no big speed overhead.
* esp8266: Minimize gap between Inst/DataRAM segments and FlashROM segment.Paul Sokolovsky2016-04-03
| | | | | | | | | 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.
* esp8266/ets_alt_task: Comment out debug output.Paul Sokolovsky2016-04-03
|
* esp8266: Bump iROM size to 512k.Paul Sokolovsky2016-04-03
| | | | Needed for frozen scripts, and for future growth of binary.
* esp8266: Move .rodata where it belongs with -mforce-l32 help.Paul Sokolovsky2016-04-03
|
* docs: Update copyright notice.Paul Sokolovsky2016-04-03
|
* esp8266/README: Add link to docs.Paul Sokolovsky2016-04-03
|
* examples/http_client_ssl.py: HTTPS client example.Paul Sokolovsky2016-04-02
|
* examples/http_server.py: Bind to 0.0.0.0, to be accessible from other hosts.Paul Sokolovsky2016-04-02
| | | | | This is helpful when running on deeply embedded targets, but may be "security risk". Caveat emptor.
* examples/http_server.py: Introduce main() function.Paul Sokolovsky2016-04-02
| | | | | Allows to re-run code if it was imported as a module (e.g., on bare-metal ports).
* examples/http_server.py: Refactor/simplify for Python 3.5.Paul Sokolovsky2016-04-02
|
* examples/http_client.py: Introduce main() function.Paul Sokolovsky2016-04-02
| | | | | Allows to re-run code if it was imported as a module (e.g., on bare-metal ports).
* examples/http_client.py: Improve CPython compatibility in stream mode.Paul Sokolovsky2016-04-02
|
* unix/file: "encoding" arg to open() isn't kw-only.Paul Sokolovsky2016-04-02
| | | | | And with "buffering" arg introduced, it's non possible to make it non-kwonly.
* unix/file: Parse "buffering" argument of open() builtin.Paul Sokolovsky2016-04-02
| | | | | It's ignored (unbuffered, raw I/O is used), but least makes it compatible with CPython.
* esp8266: Use VM_HOOK to call ets_loop_iter within the VM.Damien George2016-04-02
| | | | Starting with a divisor of 10, pystone_lowmem gives a score of 256.
* example/http_client.py: Remove unused code.Paul Sokolovsky2016-04-01
|
* examples: http_client.py, http_server.py aren't just unix, move to network/.Paul Sokolovsky2016-04-01
|
* py/map: Prevent map resize failure from destroying map.Stephen Kyle2016-04-01
|
* esp8266/uart: Get ctrl-C working now that event-based REPL is disabled.Damien George2016-04-01
|
* esp8266/uart: Comment out old, unused rx buffering code.Damien George2016-04-01
| | | | | | | This was originally used for non-event based REPL processing. Then it was unused when event-based processing was activated. But now that event based is disabled, and non-event based is back, there has been new ring buffer code to process the chars.
* esp8266: Switch to non event-driven REPL to support paste mode.Paul Sokolovsky2016-04-01
|
* esp8266: Support dedicated REPL loop (aka pull-style).Paul Sokolovsky2016-04-01
| | | | | | | | Event-driven loop (push-style) is still supported and default (controlled by MICROPY_REPL_EVENT_DRIVEN setting, as expected). Dedicated loop worked even without adding ets_loop_iter(), though that needs to be revisited later.
* esp8266: Disallow recursive calls to REPL.Paul Sokolovsky2016-04-01
| | | | | | | | | Before this change, if REPL blocked executing some code, it was possible to still input new statememts and excuting them, all leading to weird, and portentially dangerous interaction. TODO: Current implementation may have issues processing input accumulated while REPL was blocked.
* unix: implement -i option (inspect - start REPL after script is finished)Pavol Rusnak2016-04-01
|
* esp8266: Move PHY mode constants from modesp to modnetwork.Paul Sokolovsky2016-04-01
|
* esp8266: Reset term_obj on reboot.Damien George2016-03-31
| | | | | Also, term_obj can be NULL if socket enables REPL duplication signalling before os.dupterm is called, so it should be checked.
* esp8266: Implement input part of dupterm handling.Paul Sokolovsky2016-03-31
| | | | | | | | The idea is following: underlying interrupt-driven or push-style data source signals that more data is available for dupterm processing via call to mp_hal_signal_dupterm_input(). This triggers a task which pumps data between actual dupterm object (which may perform additional processing on data from low-level data source) and input ring buffer.
* esp8266: Switch back to accumulating input data via ring buffer.Paul Sokolovsky2016-03-30
| | | | | | | | But now it's generic ring buffer implemented via ringbuf.h, and is intended for any type of input, including dupterm's, not just UART. The general process work like this: an interrupt-driven input source puts data into input_buf, and then signals new data available via call to mp_hal_signal_input().
* esp8266: Fix issue when current repl line was garbage-collected.Paul Sokolovsky2016-03-30
| | | | Reference it from root pointers section.
* py/ringbuf.h: Add reusable ring buffer class.Paul Sokolovsky2016-03-30
| | | | | | Features inline get/put operations for the highest performance. Locking is not part of implementation, operation should be wrapped with locking externally as needed.
* docs: network: esp8266: .scan() is now synchronous and returns result list.Paul Sokolovsky2016-03-30
|
* docs: network: esp8266: status is WLAN object method.Paul Sokolovsky2016-03-30
|