summaryrefslogtreecommitdiffstatshomepage
Commit message (Collapse)AuthorAge
* Change boolean 'use_16bit_addr' to int 'addr_size', can be either 8 or 16 ↵blmorris2014-07-21
| | | | | | bits, default value is 8 to maintain compatibility with existing code.
* Merge https://github.com/blmorris/micropython into Myriad2blmorris2014-07-21
|\
| * Merge https://github.com/micropython/micropythonblmorris2014-07-21
| |\
| | * stmhal: Fix REPL printing by cooking output sent to stdout_obj.Damien George2014-07-20
| | | | | | | | | | | | | | | | | | Recent changes to builtin print meant that print was printing to the mp_sys_stdout_obj, which was sending data raw to the USB CDC device. The data should be cooked so that \n turns into \r\n.
| | * stmhal: Change calls to pfenv_printf to pfenv_vprintf.Damien George2014-07-20
| | | | | | | | | | | | | | | Fixes printing bugs introduced by cb66f41ebc4980f4e6b7543bece19e3b9daac25c.
| | * py: Make print() accept "file" argument, and actually print to stream.Paul Sokolovsky2014-07-19
| | | | | | | | | | | | | | | And not system printf(), like it was before. For this, move pfenv_printf() from stmhal port to py/.
| | * Merge pull request #757 from stinos/windows-fsyncDamien George2014-07-19
| | |\ | | | | | | | | Add fsync for windows, i.e. _commit. See dce8876
| | | * Add fsync for windows, i.e. _commit. See dce8876stijn2014-07-16
| | | |
| | * | Merge pull request #759 from micropython/unicode-read-charsDamien George2014-07-19
| | |\ \ | | | | | | | | | | py: Add stream reading of n unicode chars; unicode support by default.
| | | * | py: Add stream reading of n unicode chars; unicode support by default.Damien George2014-07-19
| | |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | With unicode enabled, this patch allows reading a fixed number of characters from text-mode streams; eg file.read(5) will read 5 unicode chars, which can made of more than 5 bytes. For an ASCII stream (ie no chars > 127) it only needs to do 1 read. If there are lots of non-ASCII chars in a stream, then it needs multiple reads of the underlying object. Adds a new test for this case. Enables unicode support by default on unix and stmhal ports.
| | * | stmhal: Add file.flush and os.stat.Damien George2014-07-19
| | | |
| * | | Merge https://github.com/micropython/micropythonblmorris2014-07-18
| |\| |
| | * | py: Remove unnecessary argument in bytearray print.Damien George2014-07-17
| | | |
| | * | formatfloat.c: Typo fix in comment.Paul Sokolovsky2014-07-17
| | | |
| | * | py, inline asm: Change "and" op name to "and_" to avoid keyword clash.Damien George2014-07-17
| | | | | | | | | | | | | | | | Addresses issue #753.
| | * | Merge pull request #755 from dhylands/teensy-coreDamien George2014-07-17
| | |\ \ | | | | | | | | | | Add teensy core files and use same toolchain as stmhal
| | | * | Add core files and use same toolchain as stmhalDave Hylands2014-07-14
| | | | |
| | * | | Merge pull request #754 from dhylands/fix-teensyDamien George2014-07-17
| | |\| | | | | |/ | | |/| Fix teensy to build on latest tree.
| | | * Fix teensy to build on latest tree.Dave Hylands2014-07-14
| | |/ | | | | | | | | | | | | Put #include of mpconfig.h before misc.h Replace uses of ARRAY_SIZE with MP_ARRAY_SIZE
* | / Initial commit of Myriad2 board-specific configuration filesblmorris2014-07-15
|/ /
* | Merge https://github.com/micropython/micropythonblmorris2014-07-15
|\|
| * unix: file: No fsync() on Windows.v1.2Paul Sokolovsky2014-07-13
| |
| * stream: Factor out mp_stream_write() method to write a memstring to stream.Paul Sokolovsky2014-07-13
| |
| * unix: file: Implement .flush() method.Paul Sokolovsky2014-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 Sokolovsky2014-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 Sokolovsky2014-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 Sokolovsky2014-07-12
| | | | | | | | Mostly to run testsuite on targets which doesn't have CPython.
| * py: Add generic helper to align a pointer.Paul Sokolovsky2014-07-12
| |
| * emitbc: Fix structure field alignment issue.Paul Sokolovsky2014-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).
* | Incorporate stylistic changes suggested by @dhylandsblmorris2014-07-11
| |
* | Add keyword argument 'memaddr_use_16b' to i2c.mem_read and mem_write methodsblmorris2014-07-11
|/ | | | | to allow these methods to transmit 16 bit addresses to an i2c device Add 'memaddr_use_16b' to qstrdefsport.h
* moductypes: Add symbolic constants to specify bitfield position/length.Paul Sokolovsky2014-07-11
|
* moductypes: Foreign data interface module, roughly based on ctype ideas.Paul Sokolovsky2014-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 George2014-07-07
|\
| * stmhal: Protect SD_WriteBlocks by IRQ disable/enable pair.Damien George2014-07-07
| |
| * Disable IRQs around sdcard reads.Dave Hylands2014-07-06
|/ | | | Once the code switches to using DMA, this can be removed.
* binary: Factor out mp_binary_set_int().Paul Sokolovsky2014-07-05
|
* tests: Rename test scripts, changing - to _ for consistency.Damien George2014-07-05
| | | | | | From now on, all new tests must use underscore. Addresses issue #727.
* py: Automatically ake __new__ a staticmethod.Damien George2014-07-05
| | | | Addresses issue #622.
* py: Implement sys.maxsize, standard way to check platform "bitness".Paul Sokolovsky2014-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 George2014-07-03
|
* lexer: Convert type (u)int to mp_(u)int_t.Damien George2014-07-03
|
* Rename machine_(u)int_t to mp_(u)int_t.Damien George2014-07-03
| | | | See discussion in issue #50.
* Merge pull request #739 from errordeveloper/patch-1Damien George2014-07-03
|\ | | | | qemu: fix typo in readme
| * qemu: fix typo in readmeIlya Dmitrichenko2014-07-02
|/
* Merge branch 'dhylands-add-timer-deinit'Damien George2014-07-02
|\
| * stmhal: Some reordering of code/functions.Damien George2014-07-02
| |
| * Merge branch 'add-timer-deinit' of github.com:dhylands/micropython into ↵Damien George2014-07-02
|/| | | | | | | dhylands-add-timer-deinit
| * Add timer_deinit and call it just before doing a soft-restartDave Hylands2014-06-30
| | | | | | | | This fixes #733.
* | Merge pull request #709 from windelbouwman/masterDamien George2014-07-02
|\ \ | | | | | | Added hexfile target