Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | stream: Factor out mp_stream_write() method to write a memstring to stream. | Paul Sokolovsky | 2014-07-13 |
| | |||
* | unix: file: Implement .flush() method. | Paul Sokolovsky | 2014-07-13 |
| | | | | This method apparently should be part of stream interface. | ||
* | test: Add run-tests-exp.sh, script to run testsuite with only sh dependency. | Paul Sokolovsky | 2014-07-13 |
| | | | | | | This script uses expected test results as generated by run-tests --write-exp, and requires only standard unix shell funtionality (no bash). It is useful to run testsuite on embedded systems, where there's no CPython and Bash. | ||
* | unix: Allow to disable MICROPY_EMIT_X64 from commandline. | Paul Sokolovsky | 2014-07-13 |
| | | | | | emitnative in particular requires nlr_* to be real functions, so doesn't compile with MICROPY_NLR_SETJMP=1. | ||
* | run-tests: Add option to write CPython's test results to .exp files. | Paul Sokolovsky | 2014-07-12 |
| | | | | Mostly to run testsuite on targets which doesn't have CPython. | ||
* | py: Add generic helper to align a pointer. | Paul Sokolovsky | 2014-07-12 |
| | |||
* | emitbc: Fix structure field alignment issue. | Paul Sokolovsky | 2014-07-12 |
| | | | | | | | dummy_data field is accessed as uint value (e.g. in emit_write_bytecode_byte_ptr), but is not aligned as such, which causes bus errors or incorrect behavior on any arch requiring strictly aligned data (ARM pre-v7, MIPS, etc, etc). | ||
* | moductypes: Add symbolic constants to specify bitfield position/length. | Paul Sokolovsky | 2014-07-11 |
| | |||
* | moductypes: Foreign data interface module, roughly based on ctype ideas. | Paul Sokolovsky | 2014-07-09 |
| | | | | | But much smaller and memory-efficient. Uses Python builtin data structures (dict, tuple, int) to describe structure layout. | ||
* | Merge branch 'dhylands-fix-sdcard-read' | Damien George | 2014-07-07 |
|\ | |||
| * | stmhal: Protect SD_WriteBlocks by IRQ disable/enable pair. | Damien George | 2014-07-07 |
| | | |||
| * | Disable IRQs around sdcard reads. | Dave Hylands | 2014-07-06 |
|/ | | | | Once the code switches to using DMA, this can be removed. | ||
* | binary: Factor out mp_binary_set_int(). | Paul Sokolovsky | 2014-07-05 |
| | |||
* | tests: Rename test scripts, changing - to _ for consistency. | Damien George | 2014-07-05 |
| | | | | | | From now on, all new tests must use underscore. Addresses issue #727. | ||
* | py: Automatically ake __new__ a staticmethod. | Damien George | 2014-07-05 |
| | | | | Addresses issue #622. | ||
* | py: Implement sys.maxsize, standard way to check platform "bitness". | Paul Sokolovsky | 2014-07-03 |
| | | | | | Implementing it as a static constant is a bit peculiar and require cooperation from long int implementation. | ||
* | parser: Convert (u)int to mp_(u)int_t. | Damien George | 2014-07-03 |
| | |||
* | lexer: Convert type (u)int to mp_(u)int_t. | Damien George | 2014-07-03 |
| | |||
* | Rename machine_(u)int_t to mp_(u)int_t. | Damien George | 2014-07-03 |
| | | | | See discussion in issue #50. | ||
* | Merge pull request #739 from errordeveloper/patch-1 | Damien George | 2014-07-03 |
|\ | | | | | qemu: fix typo in readme | ||
| * | qemu: fix typo in readme | Ilya Dmitrichenko | 2014-07-02 |
|/ | |||
* | Merge branch 'dhylands-add-timer-deinit' | Damien George | 2014-07-02 |
|\ | |||
| * | stmhal: Some reordering of code/functions. | Damien George | 2014-07-02 |
| | | |||
| * | Merge branch 'add-timer-deinit' of github.com:dhylands/micropython into ↵ | Damien George | 2014-07-02 |
|/| | | | | | | | dhylands-add-timer-deinit | ||
| * | Add timer_deinit and call it just before doing a soft-restart | Dave Hylands | 2014-06-30 |
| | | | | | | | | This fixes #733. | ||
* | | Merge pull request #709 from windelbouwman/master | Damien George | 2014-07-02 |
|\ \ | | | | | | | Added hexfile target | ||
| * | | Added hexfile target | Windel Bouwman | 2014-06-20 |
| | | | |||
* | | | Merge branch 'dhylands-teensy-new' | Damien George | 2014-07-02 |
|\ \ \ | |||
| * | | | Merge branch 'teensy-new' of github.com:dhylands/micropython into ↵ | Damien George | 2014-07-02 |
|/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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. | ||
| * | | | Updated teensy to build. | Dave Hylands | 2014-06-15 |
| | | | | | | | | | | | | | | | | Refactored some stmhal files which are shared with teensy. | ||
* | | | | Merge branch 'dhylands-preserve-except' | Damien George | 2014-07-01 |
|\ \ \ \ | |||
| * | | | | py, objexcept: Only check for locked gc if gc is enabled. | Damien George | 2014-07-01 |
| | | | | | |||
| * | | | | Merge branch 'preserve-except' of github.com:dhylands/micropython into ↵ | Damien George | 2014-07-01 |
|/| | | | | | | | | | | | | | | | | | | | dhylands-preserve-except | ||
| * | | | | Try not to cause a MemoryError when raising an exception during nterrupt ↵ | Dave Hylands | 2014-06-30 |
| | |_|/ | |/| | | | | | | | | | | | | | | | | | | handling. Step 1 fixes #732 | ||
* | | | | Merge pull request #734 from iabdalkader/copysign | Damien George | 2014-07-01 |
|\ \ \ \ | | | | | | | | | | | Add copysignf | ||
| * | | | | Add copysignf | mux | 2014-06-30 |
| | | | | | | | | | | | | | | | | | | | | * Fix #692 | ||
* | | | | | stackctrl: Add "mp_" prefix. | Paul Sokolovsky | 2014-07-01 |
| | | | | | |||
* | | | | | modffi: Add special 'C' code for passing a callback function pointer. | Paul Sokolovsky | 2014-07-01 |
|/ / / / | |||
* | | | | Merge pull request #710 from iabdalkader/assert | Damien George | 2014-06-30 |
|\ \ \ \ | | | | | | | | | | | Fix assert_func warning/error | ||
| * | | | | Add NORETURN to __fatal_error | mux | 2014-06-21 |
| | | | | | |||
| * | | | | Fix asser_func warning/error | mux | 2014-06-21 |
| | | | | | | | | | | | | | | | | | | | | | | | | | * Add while(1) to assert_func to avoid func returns warning * Define a weak attr in mpconfig.h | ||
* | | | | | py: Improvements to native emitter. | Damien George | 2014-06-30 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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. | ||
* | | | | | stmhal: pyb.adc: Clarify that buffer with elements of any size can be used. | Paul Sokolovsky | 2014-06-29 |
| | | | | | | | | | | | | | | | | | | | | Based on forum post: http://forum.micropython.org/viewtopic.php?f=6&t=193 | ||
* | | | | | Merge pull request #730 from stinos/windows-mpconfig | Paul Sokolovsky | 2014-06-29 |
|\ \ \ \ \ | | | | | | | | | | | | | windows: Sync mpconfigport.h with the unix' version | ||
| * | | | | | windows: Sync mpconfigport.h with the unix' version | stijn | 2014-06-29 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - 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 | ||
* | | | | | | gendoc.py: Support modules w/o functions and/or classes. | Paul Sokolovsky | 2014-06-29 |
| | | | | | | | | | | | | | | | | | | | | | | | | I.e. don't assume that both are always present. | ||
* | | | | | | modffi: Support short types. | Paul Sokolovsky | 2014-06-29 |
|/ / / / / | |||
* | | | | | stmhal: Include mpconfig.h before all other includes. | Paul Sokolovsky | 2014-06-28 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It defines types used by all other headers. Fixes #691. | ||
* | | | | | py: Make unichar_charlen() accept/return machine_uint_t. | Paul Sokolovsky | 2014-06-28 |
| | | | | | |||
* | | | | | Merge pull request #729 from stinos/fix-include-order | Paul Sokolovsky | 2014-06-28 |
|\ \ \ \ \ | | | | | | | | | | | | | unix: Fix mpconfig.h not being included before misc.h |