| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2016-08-17 | qemu-arm: Enable MICROPY_PY_ALL_SPECIAL_METHODS. | Damien George | |
| The qemu-arm port is for testing, so should have features enabled. | |||
| 2016-08-17 | tests/basics: Add a test file for overriding special methods. | rguillon | |
| 2016-08-16 | extmod/modwebrepl: set_password(): Raise exception for too long password. | Paul Sokolovsky | |
| 2016-08-15 | py/sequence: Allow to use bignums as indices in slice objects. | Damien George | |
| See issue #2264. | |||
| 2016-08-15 | tests/basics: Add test for break from within try within a for-loop. | Damien George | |
| 2016-08-15 | ports: Remove typedef of machine_ptr_t, it's no longer needed. | Damien George | |
| This type was used only for the typedef of mp_obj_t, which is now defined by the object representation. So we can now remove this unused typedef, to simplify the mpconfigport.h file. | |||
| 2016-08-15 | py/obj.h: For obj reprs A,B,C use void* explicitly for mp_obj_t typedef. | Damien George | |
| The machine_ptr_t type is long obsolete as the type of mp_obj_t is now defined by the object representation, ie by MICROPY_OBJ_REPR. So just use void* explicitly for the typedef of mp_obj_t. If a port wants to use something different then they should define a new object representation. | |||
| 2016-08-15 | tests/misc/non_compliant: Add tests to improve coverage testing. | Damien George | |
| 2016-08-15 | tests/basics: Add more list tests to improve coverage testing. | Damien George | |
| 2016-08-15 | tests/basics: Add more tuple tests to improve coverage testing. | Damien George | |
| 2016-08-14 | py/objstr: Use mp_raise_{Type,Value}Error instead of mp_raise_msg. | Damien George | |
| This patch does further refactoring using the new mp_raise_TypeError and mp_raise_ValueError functions. | |||
| 2016-08-14 | py/runtime.h: Move comment about mp_not_implemented to correct place. | Damien George | |
| 2016-08-14 | py/objtuple: In tuple_cmp_helper, use mp_check_self instead of raising. | Damien George | |
| Only tuple, namedtuple and attrtuple use the tuple_cmp_helper function, and they all have getiter=mp_obj_tuple_getiter, so the check here is only to ensure that the self object is consistent. Hence use mp_check_self. | |||
| 2016-08-14 | esp8266/mpconfigport.h: Enable support for all special methods. | Paul Sokolovsky | |
| 2016-08-12 | tests: Rename zlibd_decompress.py -> uzlib_decompress.py. | Paul Sokolovsky | |
| To use the actual current name. | |||
| 2016-08-12 | py: Get rid of assert() in method argument checking functions. | Paul Sokolovsky | |
| Checks for number of args removes where guaranteed by function descriptor, self checking is replaced with mp_check_self(). In few cases, exception is raised instead of assert. | |||
| 2016-08-12 | py/objdict: Get rid of asserts (remove/replace with mp_check_self()). | Paul Sokolovsky | |
| 2016-08-12 | py/runtime.h: Define mp_check_self(pred) helper macro. | Paul Sokolovsky | |
| Indended to replace raw asserts in bunch of files. Expands to empty if MICROPY_BUILTIN_METHOD_CHECK_SELF_ARG is defined, otehrwise by default still to assert, though a particular port may define it to something else. | |||
| 2016-08-12 | py/runtime: Factor out exception raising helpers. | Paul Sokolovsky | |
| Introduce mp_raise_msg(), mp_raise_ValueError(), mp_raise_TypeError() instead of previous pattern nlr_raise(mp_obj_new_exception_msg(...)). Save few bytes on each call, which are many. | |||
| 2016-08-11 | stmhal/adc.c: Get ADC working on STM32L4 MCUs. | Tobias Badertscher | |
| Fixing Issue #2243. Main problems were: - HAL_ADC_GetState(adcHandle) may return other bits set (not only HAL_ADC_STATE_EOC_REG) when called - so I AND-ed it out as proposed by mattbrejza in Issue #2243. - ADC Pin has to be configured as GPIO_MODE_ANALOG_ADC_CONTROL not only GPIO_MODE_ANALOG. - Resolved ADC resolution L4 specific (Use L4 define ADC_RESOLUTION_12B). - Changed setting of Init.EOCSelection toADC_EOC_SINGLE_CONV for L4. - Added call to ADC_MultiModeTypeDef as this is done on a STM32Cube generated project too. - Clean up: Configuration of ADC is done only in ONE function not the same is done in two functions. Test is done on PA5 pin of STM32L4Discovery-Kit which is connected to the DOWN button. Thanks to mattbrejza for discovering the bug. | |||
| 2016-08-11 | stmhal/boards: Update STM32L476 pin defs to include ADC channels. | Damien George | |
| This patch introduces proper ADC Pin definitions in stm32l476_af.csv. Originally provided by @tobbad. | |||
| 2016-08-10 | unix/mpconfigport.h: Don't include stdio.h on MacOS. | ilovezfs | |
| Fixes build errors such as "../lib/utils/printf.c:43:5: error: expected parameter declarator" | |||
| 2016-08-10 | docs/esp8266/intro: Add command to install esptool.py 1.0.1 via pip. | Paul Sokolovsky | |
| It used a standard BootROM programming algo and may be useful as a fallback. | |||
| 2016-08-10 | tools/mpy-tool.py: Support freezing float literals with obj-repr C. | Damien George | |
| The tool now generates code for freezing floats in obj-repr A, B or C, with the specific representation detected at compile time using macros. | |||
| 2016-08-10 | esp8266: PULL_UP is not supported on Pin(16), so raise an exception. | Damien George | |
| 2016-08-10 | esp8266: Fix reading of pin object for GPIO16. | Damien George | |
| Pin(16) now works as an input. | |||
| 2016-08-09 | docs/esp8266/tutorial/pins: Fix typo in commands for pin input mode. | Paul Sokolovsky | |
| 2016-08-09 | docs: Bump version to 1.8.3. | Damien George | |
| 2016-08-09 | esp8266/modules/flashbdev: Start filesystem at 0x90000. | Paul Sokolovsky | |
| To accommodate growing firmware. | |||
| 2016-08-09 | esp8266/esp8266.ld: Increase firmware image size to 0x90000 (576K). | Paul Sokolovsky | |
| Of them, 0x87000 is irom0 segment. This is required to ship increasing number of modules and examples developed in teh course of ESP8266 port project. | |||
| 2016-08-09 | lib/berkeley-db-1.xx: Update, sets default page size to 4096. | Paul Sokolovsky | |
| This both good default for 4096 and makes less chance to see overflow page issues. | |||
| 2016-08-09 | docs/uio: Mention seek()/flush() support for io.BytesIO. | Paul Sokolovsky | |
| 2016-08-07 | docs/esp8266/intro: Focus on hazards of unearthed power wrt electronics. | Paul Sokolovsky | |
| 2016-08-07 | py/mpconfig.h: Define MP_ALWAYSINLINE for reuse. | Paul Sokolovsky | |
| Similar to existing MP_NOINLINE. | |||
| 2016-08-07 | docs/esp8266/tutorial/intro: Add anchor for link from quickeref. | Paul Sokolovsky | |
| 2016-08-07 | tests/basics: bytes/str.partition/rpartition are now optional. | Paul Sokolovsky | |
| Skip tests if not available. | |||
| 2016-08-07 | docs/esp8266/quickref: Link to installation instructions. | Paul Sokolovsky | |
| 2016-08-07 | docs/esp8266/intro: Add troubleshooting section. | Paul Sokolovsky | |
| Tries to summarize most of the issues we've seen so far. | |||
| 2016-08-07 | docs/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-07 | esp8266/tutorial/intro: Reword para abou -fm dio switch. | Paul Sokolovsky | |
| Not all NodeMCU boards require it. | |||
| 2016-08-07 | esp8266/modmachine: Implement dummy sleep() function. | Paul Sokolovsky | |
| 2016-08-07 | esp8266/modutime: Actually implement ticks_cpu(). | Paul Sokolovsky | |
| 2016-08-07 | esp8266/esp_mphal.h: Add mp_hal_ticks_cpu() for reuse. | Paul Sokolovsky | |
| 2016-08-07 | esp8266/modmachine: Implement idle() function. | Paul Sokolovsky | |
| 2016-08-07 | py/objstr,objstrunicode: Fix inconistent #if indentation. | Paul Sokolovsky | |
| 2016-08-07 | py/objstr: Make .partition()/.rpartition() methods configurable. | Paul Sokolovsky | |
| Default is disabled, enabled for unix port. Saves 600 bytes on x86. | |||
| 2016-08-07 | unix/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-07 | docs/library/index: Include array module in ToC. | Paul Sokolovsky | |
| 2016-08-07 | docs/array: Document array module. | Paul Sokolovsky | |
| 2016-08-07 | extmod/modwebrepl: Add GET_VER operation to query MicroPython version. | Paul Sokolovsky | |
