aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2015-03-25cc3200: Roll back to the previous telnet and ftp timeouts.Daniel Campora
Unfortunately, these timeouts are the only realiable way (for now), to be able to detect broken connections due to half-open sockets. Such a thing occurs when getting out of the WiFi coverage area or when disconnecting from the AP (sometimes the client doesn't send the disconnect packet).
2015-03-25cc3200: Keep WLAN enabled during the soft reset.Daniel Campora
2015-03-25cc3200: Remove the cc3200.xml file. Latest CCS already ships with it.Daniel Campora
2015-03-25py: Cast mp_obj_t to concrete types explicitly.Paul Sokolovsky
mp_obj_t internal representation doesn't have to be a pointer to object, it can be anything. There's also a support for back-conversion in the form of MP_OBJ_UNCAST. This is kind of optimization/status quo preserver to minimize patching the existing code and avoid doing potentially expensive MP_OBJ_CAST over and over. But then one may imagine implementations where MP_OBJ_UNCAST is very expensive. But such implementations are unlikely interesting in practice.
2015-03-24docs: uctypes: Describe couple more functions.Paul Sokolovsky
2015-03-23stmhal: Optimise ADC.read_timed() so that it can sample up to 750kHz.Damien George
2015-03-23objnamedtuple: Accept field list as a string.Paul Sokolovsky
This change is required to unbreak some CPython stdlib modules (as included into micropython-lib).
2015-03-23objstr: Expose mp_obj_str_split() for reuse in other modules.Paul Sokolovsky
2015-03-22unix: Remove -Wdouble-promotion from main build, and 2 from coverage.Damien George
The 2 removed from coverage build are: -Wredundant-decls and -Wstrict-prototypes.
2015-03-22stmhal: Correctly clear wake-up flag before entering standby mode.Damien George
2015-03-22objnamedtuple: Check that 2nd arg to namedtuple() is a list.Paul Sokolovsky
2015-03-22stmhal: Expose all PYBv1.0 pins, include SD and USB pins.Damien George
To have proper low power mode, need to configure all unused pins in input mode, so need to have them available.
2015-03-22stmhal: Put flash in deep power-down mode when entering stop mode.Damien George
This can get PYBv1.0 stop current down to around 290uA.
2015-03-22cc3200: Fix bug in telnet that caused the rx buffer to overflow.danicampora
2015-03-21py: Combine duplicated code that converts members from a lookup.Damien George
Despite initial guess, this code factoring does not hamper performance. In fact it seems to improve speed by a little: running pystone(1.2) on pyboard (which gives a very stable result) this patch takes pystones from 1729.51 up to 1742.16. Also, pystones on x64 increase by around the same proportion (but it's much noisier). Taking a look at the generated machine code, stack usage with this patch is unchanged, and call is tail-optimised with all arguments in registers. Code size decreases by about 50 bytes on Thumb2 archs.
2015-03-21cc3200: Reduce soft reset time. WLAN is not reinit, just reenabled.danicampora
2015-03-21cc3200: Improve usability and robustness of the servers.danicampora
2015-03-21cc3200: Remove superfluous code in pybsleep.danicampora
2015-03-21cc3200: Add SPI module.danicampora
Only MASTER mode is supported. Transfer width is configurable to 8, 16 or 32 bits.
2015-03-21cc3200: Re-name pybsystick to mpsystick.danicampora
2015-03-21unix: Bump stack limit and adjust for 64-bitness.Paul Sokolovsky
Without that, "import http.client" failed due to max recursion.
2015-03-20tests: Make pyb/timer test check callback timing properly.Damien George
2015-03-20stmhal: Fix a bug related to unhandled channel interrupts.Dave Hylands
This also cleans up spurious interrupts which happen at timer initilaization time.
2015-03-20py: Allow retrieving a function's __name__.stijn
Disabled by default. Enabled on unix and stmhal ports.
2015-03-21runtime: mp_load_method_maybe(): Don't use confusing "base" term.Paul Sokolovsky
"Base" should rather refer to "base type"."Base object for attribute lookup" should rather be just "object". Also, a case of common subexpression elimination.
2015-03-21unix: When using separate obj output dirs, make -B is no longer relevant.Paul Sokolovsky
2015-03-20unix: Move compiler warnings from production build to coverage build.Damien George
2015-03-20stmhal: Remove some unnecessary declarations, purely for cleanup.Damien George
2015-03-20objlist: list_reverse(): Fix typesafety error.Paul Sokolovsky
2015-03-20tests: Adjust expected output, since Travis can't do git describe.Damien George
2015-03-20py: Clarify API for map/set lookup when removing&adding at once.Damien George
Addresses issue #1160.
2015-03-20tests: Add basic test for OrderedDict.Paul Sokolovsky
Mostly to have coverage of newly added code in map.c.
2015-03-20py: Implement core of OrderedDict type.Paul Sokolovsky
Given that there's already support for "fixed table" maps, which are essentially ordered maps, the implementation of OrderedDict just extends "fixed table" maps by adding an "is ordered" flag and add/remove operations, and reuses 95% of objdict code, just making methods tolerant to both dict and OrderedDict. Some things are missing so far, like CPython-compatible repr and comparison. OrderedDict is Disabled by default; enabled on unix and stmhal ports.
2015-03-20tests: Make cmdline tests more stable by using regex for matching.Damien George
2015-03-20py: Implement DELETE_GLOBAL in showbc.c.Damien George
2015-03-20objtype: More comment clarification for attribute lookup.Paul Sokolovsky
2015-03-19cc3200: Move server methods from WLAN to the network module.danicampora
2015-03-19unix: Enable extra compiler warnings.Damien George
To address issue #699.
2015-03-19extmod/crypto: Add static keyword where it should be.Damien George
2015-03-19py: Allow to compile with extra warnings (sign-compare, unused-param).Damien George
2015-03-19extmod: Update uzlib to 1.2.1.Paul Sokolovsky
Fixes for compiler warnings in pedantic mode.
2015-03-18extmod: Update re1.5 to 0.7.Paul Sokolovsky
Includes static function fix and all the previous improvements and fixes by @dpgeorge.
2015-03-18cc3200: Add parameter to wlan_stop() for custom timeout values.danicampora
2015-03-18cc3200: Fixes and improvements to the SD card driver.danicampora
2015-03-18cc3200: Refactor I2C. Remove all references to SLAVE mode.danicampora
2015-03-18cc3200: Improve I2C timeout handling.danicampora
2015-03-17extmod/ure: Fix msvc warning resulting from memset on const char ** pointerstijn
2015-03-17cc3200: Fix extint_enable behaviour when the callback is updated.danicampora
2015-03-17cc3200: Add RTC callback with wake-up from sleep capability.danicampora
2015-03-17cc3200: Make peripheral objects static.danicampora
This prevents duplication of objects in the sleep list. Also helps with reducing the code size by ~100 bytes.