aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2014-07-09moductypes: Foreign data interface module, roughly based on ctype ideas.Paul Sokolovsky
But much smaller and memory-efficient. Uses Python builtin data structures (dict, tuple, int) to describe structure layout.
2014-07-07Merge branch 'dhylands-fix-sdcard-read'Damien George
2014-07-07stmhal: Protect SD_WriteBlocks by IRQ disable/enable pair.Damien George
2014-07-06Disable IRQs around sdcard reads.Dave Hylands
Once the code switches to using DMA, this can be removed.
2014-07-05binary: Factor out mp_binary_set_int().Paul Sokolovsky
2014-07-05tests: Rename test scripts, changing - to _ for consistency.Damien George
From now on, all new tests must use underscore. Addresses issue #727.
2014-07-05py: Automatically ake __new__ a staticmethod.Damien George
Addresses issue #622.
2014-07-03py: Implement sys.maxsize, standard way to check platform "bitness".Paul Sokolovsky
Implementing it as a static constant is a bit peculiar and require cooperation from long int implementation.
2014-07-03parser: Convert (u)int to mp_(u)int_t.Damien George
2014-07-03lexer: Convert type (u)int to mp_(u)int_t.Damien George
2014-07-03Rename machine_(u)int_t to mp_(u)int_t.Damien George
See discussion in issue #50.
2014-07-03Merge pull request #739 from errordeveloper/patch-1Damien George
qemu: fix typo in readme
2014-07-02qemu: fix typo in readmeIlya Dmitrichenko
2014-07-02Merge branch 'dhylands-add-timer-deinit'Damien George
2014-07-02stmhal: Some reordering of code/functions.Damien George
2014-07-02Merge branch 'add-timer-deinit' of github.com:dhylands/micropython into ↵Damien George
dhylands-add-timer-deinit
2014-07-02Merge pull request #709 from windelbouwman/masterDamien George
Added hexfile target
2014-07-02Merge branch 'dhylands-teensy-new'Damien George
2014-07-02Merge branch 'teensy-new' of github.com:dhylands/micropython into ↵Damien George
dhylands-teensy-new Conflicts: stmhal/pin_named_pins.c stmhal/readline.c Renamed HAL_H to MICROPY_HAL_H. Made stmhal/mphal.h which intends to define the generic Micro Python HAL, which in stmhal sits above the ST HAL.
2014-07-01Merge branch 'dhylands-preserve-except'Damien George
2014-07-01py, objexcept: Only check for locked gc if gc is enabled.Damien George
2014-07-01Merge branch 'preserve-except' of github.com:dhylands/micropython into ↵Damien George
dhylands-preserve-except
2014-07-01Merge pull request #734 from iabdalkader/copysignDamien George
Add copysignf
2014-06-30Try not to cause a MemoryError when raising an exception during nterrupt ↵Dave Hylands
handling. Step 1 fixes #732
2014-07-01stackctrl: Add "mp_" prefix.Paul Sokolovsky
2014-07-01modffi: Add special 'C' code for passing a callback function pointer.Paul Sokolovsky
2014-06-30Add timer_deinit and call it just before doing a soft-restartDave Hylands
This fixes #733.
2014-06-30Add copysignfmux
* Fix #692
2014-06-30Merge pull request #710 from iabdalkader/assertDamien George
Fix assert_func warning/error
2014-06-30py: Improvements to native emitter.Damien George
Native emitter can now compile try/except blocks using nlr_push/nlr_pop. It probably only works for 1 level of exception handling. It doesn't work on Thumb (only x64). Native emitter can also handle some additional op codes. With this patch, 198 tests now pass using "-X emit=native" option to micropython.
2014-06-29stmhal: pyb.adc: Clarify that buffer with elements of any size can be used.Paul Sokolovsky
Based on forum post: http://forum.micropython.org/viewtopic.php?f=6&t=193
2014-06-29Merge pull request #730 from stinos/windows-mpconfigPaul Sokolovsky
windows: Sync mpconfigport.h with the unix' version
2014-06-29gendoc.py: Support modules w/o functions and/or classes.Paul Sokolovsky
I.e. don't assume that both are always present.
2014-06-29modffi: Support short types.Paul Sokolovsky
2014-06-29windows: Sync mpconfigport.h with the unix' versionstijn
- rearrange/add definitions that were not there so it's easier to compare both - use MICROPY_PY_SYS_PLATFORM in main.c since it's available anyway - define EWOULDBLOCK, it is missing from ingw32
2014-06-28stmhal: Include mpconfig.h before all other includes.Paul Sokolovsky
It defines types used by all other headers. Fixes #691.
2014-06-28py: Make unichar_charlen() accept/return machine_uint_t.Paul Sokolovsky
2014-06-28Merge pull request #729 from stinos/fix-include-orderPaul Sokolovsky
unix: Fix mpconfig.h not being included before misc.h
2014-06-28unix: Fix mpconfig.h not being included before misc.hstijn
This fixes count_lead_ones in misc.h not compiling due to unknown types
2014-06-28Merge branch 'unicode'Damien George
2014-06-28unix, stmhal: Add option for STR_UNICODE to mpconfigport.h.Damien George
Unicode is disabled by default for now, since FileIO.read(n) is currently not implemented for text-mode files, and this is an often function.
2014-06-28py: Add missing #endif.Damien George
2014-06-28tests: Write output in byte mode, not text mode.Damien George
This enables testing unicode and non-unicode implementations.
2014-06-28py: Small comments, name changes, use of machine_int_t.Damien George
2014-06-28Merge branch 'master' into unicodeDamien George
Conflicts: py/mpconfig.h
2014-06-28py: Add protection against printing too nested or recursive data structures.Paul Sokolovsky
With a test which cannot be automatically validated so far.
2014-06-27bare-arm: Hint of setting MICROPY_ERROR_REPORTING to REPORTING_TERSE.Paul Sokolovsky
Commented out so far, as enabled leads to dozen more bytes used actually (due to string pooling effects).
2014-06-27bare-arm: Disable array module and even bytearray type.Paul Sokolovsky
To squeeze few more hundreds of bytes.
2014-06-27py: Allow to disable array module and bytearray type.Paul Sokolovsky
array.array and bytearray share big deal of code, so to get real savings, both need to be disabled.
2014-06-27bare-arm: Enable link map file.Paul Sokolovsky
This port supposed to be demo of uPy minimality, so let people behold it in details.