summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2016-08-07py/mpconfig.h: Define MP_ALWAYSINLINE for reuse.Paul Sokolovsky
Similar to existing MP_NOINLINE.
2016-08-07docs/esp8266/tutorial/intro: Add anchor for link from quickeref.Paul Sokolovsky
2016-08-07tests/basics: bytes/str.partition/rpartition are now optional.Paul Sokolovsky
Skip tests if not available.
2016-08-07docs/esp8266/quickref: Link to installation instructions.Paul Sokolovsky
2016-08-07docs/esp8266/intro: Add troubleshooting section.Paul Sokolovsky
Tries to summarize most of the issues we've seen so far.
2016-08-07docs/esp8266/intro: Rename to "Getting started" from "Introduction".Paul Sokolovsky
People tend to skip introductions (everyone knows what esp8266 is, right?), so try to do A/B testing with a title inviting to read it.
2016-08-07esp8266/tutorial/intro: Reword para abou -fm dio switch.Paul Sokolovsky
Not all NodeMCU boards require it.
2016-08-07esp8266/modmachine: Implement dummy sleep() function.Paul Sokolovsky
2016-08-07esp8266/modutime: Actually implement ticks_cpu().Paul Sokolovsky
2016-08-07esp8266/esp_mphal.h: Add mp_hal_ticks_cpu() for reuse.Paul Sokolovsky
2016-08-07esp8266/modmachine: Implement idle() function.Paul Sokolovsky
2016-08-07py/objstr,objstrunicode: Fix inconistent #if indentation.Paul Sokolovsky
2016-08-07py/objstr: Make .partition()/.rpartition() methods configurable.Paul Sokolovsky
Default is disabled, enabled for unix port. Saves 600 bytes on x86.
2016-08-07unix/moduselect: Allow poll.register(), etc. accept fd-like objects.Paul Sokolovsky
This includes file and socket objects, backed by Unix file descriptor. This improves compatibility with stmhal's uselect (and convenience of use), though not completely: return value from poll.poll() is still raw file descriptor.
2016-08-07docs/library/index: Include array module in ToC.Paul Sokolovsky
2016-08-07docs/array: Document array module.Paul Sokolovsky
2016-08-07extmod/modwebrepl: Add GET_VER operation to query MicroPython version.Paul Sokolovsky
2016-08-06extmod/modwebsocket: Use mp_rom_map_elem_t and friends.Paul Sokolovsky
2016-08-06extmod/modwebsocket: Make compatible with non-default object models.Paul Sokolovsky
2016-08-06esp8266/scripts/inisetup: Add commented-out call to esp.osdebug(None).Paul Sokolovsky
That apparently will only help folks who read the docs on how to disable, but could use a quick reminder straight in boot.py. For the developers, it's important to have debug logging enabled in development branch (master).
2016-08-06esp8266/flashbdev: Reserve extra sysparam sector for SDK 2.0.0 compatibility.Paul Sokolovsky
2016-08-06unix: Enable websocket module.Paul Sokolovsky
2016-08-06extmod/modwebsocket: Add readline method.Paul Sokolovsky
This goes bit against websocket nature (message-based communication), as it ignores boundaries bertween messages, but may be very practical to do simple things with websockets.
2016-08-06examples/network: Split recv- and read-based HTTP servers.Paul Sokolovsky
Name recv() based a "simplistic", as it can't work robustly in every environment. All this is to let people concentreate on proper, read()- based one (and to turn recv() based into a "negative showcase", explaining what are the pitfalls of such approach).
2016-08-06extmod/modbtree: open(): Add option kwargs.Paul Sokolovsky
Namely: flags, cachesize, pagesize, minkeypage.
2016-08-05extmod/modwebrepl: Make GET_FILE operation non-blocking.Paul Sokolovsky
In the sense that while GET_FILE transfers its data, REPL still works. This is done by requiring client to send 1-byte block before WebREPL server transfers next block of data.
2016-08-05extmod/modwebrepl: Factor out "GET" iteration to write_file_chunk().Paul Sokolovsky
2016-08-04py/mkrules.mk: Allow to add more items for "clean" target using CLEAN_EXTRA.Paul Sokolovsky
2016-08-04stmhal: Fix I2C mappings for STM32F429DISC board.David Siorpaes
2016-08-04esp8266/scripts/port_diag.py: Include esp.check_fw() call.Paul Sokolovsky
2016-08-04esp8266/modesp: Add check_fw() function to check integrity of the firmware.Paul Sokolovsky
Requires firmware generated by the latest makeimg.py (which stores size and md5 of the firmware together with the firmware itself).
2016-08-04esp8266/makeimg.py: Append md5 hash to the generated binary.Paul Sokolovsky
md5 is calculated over the entire file, except first 4 bytes, which contain flash parameters and may be changed by flashing tool or MicroPython flash auto-config.
2016-08-04esp8266/makeimg.py: Store firmware size as last 4 bytes of padding area.Paul Sokolovsky
2016-08-02logo/1bit-logo A black & white version of the logoRadomir Dopieralski
This version of the logo may be useful for displaying on small devices to show that they use MicroPython.
2016-08-02docs: Spelling mistakesMike Causer
2016-08-02extmod/modbtree: Implement __contains__ operation.Paul Sokolovsky
2016-08-02cc3200, teensy: Remove broken malloc/free/realloc macro helpers.Damien George
These macros are broken and are anyway unused on these two ports. If they are ever needed in the future then their implementation can be taken from either stmhal (working macros in mpconfigport.h) or esp8266 (functions).
2016-08-01docs: Add DHT to ESP8266 Quick Ref and TutorialMike Causer
2016-08-01esp8266: Make APA102 driver inclusion configurable.Paul Sokolovsky
2016-08-01esp8266/eagle.rom.addr.v6.ld: Add Enable_QMode symbol from SDK 2.0.0.Paul Sokolovsky
2016-07-31tests/machine1: Revamp to work with unix port (which has "umachine").Paul Sokolovsky
2016-07-31tests/machine_mem.py: Too non-portable, rework as an example for unix port.Paul Sokolovsky
2016-07-31esp8266: Enable btree module.Paul Sokolovsky
2016-07-31esp8266/esp_mphal: Implement libc's errno.Paul Sokolovsky
Using __errno() function, and redirect it to use mp_stream_errno from stream module. This is pre-requisite for integrating with 3rd-party libs, like BerkeleyDB.
2016-07-31tests/extmod/btree1: Tests against in-memory DB (using io.BytesIO).Paul Sokolovsky
2016-07-31unix/Makefile: And note why btree module is disabled for coverage build.Paul Sokolovsky
2016-07-31extmod/modbtree: Switch to accepting stream object instead of filename.Paul Sokolovsky
Requires "embedded" BerkeleyDB BTree implementation.
2016-07-31py/py.mk: Extra switches to build "embedded" BerkeleyDB BTree lib.Paul Sokolovsky
2016-07-31lib/berkeley-db-1.xx: Switch to "embedded" branch.Paul Sokolovsky
It allows to access files via a virtual method tables and thus can integrate with MicroPython's stream objects.
2016-07-30stmhal: Make SPI NSS pin definition optional.Dave Hylands
Some boards (like the GHI Electronics G30 Dev Board) don't use NSS at all and rather just use GPIO chip selects.