| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2014-07-23 | stream: Revert to checking for the correct error value. | Paul Sokolovsky | |
| 2014-07-22 | Merge pull request #766 from dhylands/allow-dfu-override | Damien George | |
| Allow DFU_UTIL to be overridden from the environment. | |||
| 2014-07-22 | Merge pull request #746 from blmorris/master | Damien George | |
| Enable 16-bit memory addresses for i2c.mem_read and i2c_mem_write | |||
| 2014-07-22 | Merge pull request #767 from dhylands/fix-short-read | Damien George | |
| Deal with reading a buffer less than what was allocated. | |||
| 2014-07-21 | remove Myriad2 board config files from master | blmorris | |
| 2014-07-21 | Change boolean 'use_16bit_addr' to int 'addr_size', can be either 8 or 16 ↵ | blmorris | |
| bits, default value is 8 to maintain compatibility with existing code. | |||
| 2014-07-21 | Deal with reading a buffer less than what was allocated. | Dave Hylands | |
| With this fix, file_long_read now passes. | |||
| 2014-07-21 | Allow DFU_UTIL to be overridden from the environment. | Dave Hylands | |
| 2014-07-22 | tests: Add testcase for read by length past EOF. | Paul Sokolovsky | |
| Currently broken for unicode input streams. | |||
| 2014-07-21 | Merge https://github.com/blmorris/micropython into Myriad2 | blmorris | |
| 2014-07-21 | Merge https://github.com/micropython/micropython | blmorris | |
| 2014-07-20 | stmhal: Fix REPL printing by cooking output sent to stdout_obj. | Damien George | |
| 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. | |||
| 2014-07-20 | stmhal: Change calls to pfenv_printf to pfenv_vprintf. | Damien George | |
| Fixes printing bugs introduced by cb66f41ebc4980f4e6b7543bece19e3b9daac25c. | |||
| 2014-07-19 | py: Make print() accept "file" argument, and actually print to stream. | Paul Sokolovsky | |
| And not system printf(), like it was before. For this, move pfenv_printf() from stmhal port to py/. | |||
| 2014-07-19 | Merge pull request #757 from stinos/windows-fsync | Damien George | |
| Add fsync for windows, i.e. _commit. See dce8876 | |||
| 2014-07-19 | Merge pull request #759 from micropython/unicode-read-chars | Damien George | |
| py: Add stream reading of n unicode chars; unicode support by default. | |||
| 2014-07-19 | py: Add stream reading of n unicode chars; unicode support by default. | Damien George | |
| 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. | |||
| 2014-07-19 | stmhal: Add file.flush and os.stat. | Damien George | |
| 2014-07-18 | Merge https://github.com/micropython/micropython | blmorris | |
| 2014-07-17 | py: Remove unnecessary argument in bytearray print. | Damien George | |
| 2014-07-17 | formatfloat.c: Typo fix in comment. | Paul Sokolovsky | |
| 2014-07-17 | py, inline asm: Change "and" op name to "and_" to avoid keyword clash. | Damien George | |
| Addresses issue #753. | |||
| 2014-07-17 | Merge pull request #755 from dhylands/teensy-core | Damien George | |
| Add teensy core files and use same toolchain as stmhal | |||
| 2014-07-17 | Merge pull request #754 from dhylands/fix-teensy | Damien George | |
| Fix teensy to build on latest tree. | |||
| 2014-07-16 | Add fsync for windows, i.e. _commit. See dce8876 | stijn | |
| 2014-07-15 | Initial commit of Myriad2 board-specific configuration files | blmorris | |
| 2014-07-15 | Merge https://github.com/micropython/micropython | blmorris | |
| 2014-07-14 | Add core files and use same toolchain as stmhal | Dave Hylands | |
| 2014-07-14 | Fix teensy to build on latest tree. | Dave Hylands | |
| Put #include of mpconfig.h before misc.h Replace uses of ARRAY_SIZE with MP_ARRAY_SIZE | |||
| 2014-07-13 | unix: file: No fsync() on Windows. | Paul Sokolovsky | |
| 2014-07-13 | 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 | |
| This method apparently should be part of stream interface. | |||
| 2014-07-13 | test: Add run-tests-exp.sh, script to run testsuite with only sh dependency. | Paul Sokolovsky | |
| 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. | |||
| 2014-07-13 | unix: Allow to disable MICROPY_EMIT_X64 from commandline. | Paul Sokolovsky | |
| emitnative in particular requires nlr_* to be real functions, so doesn't compile with MICROPY_NLR_SETJMP=1. | |||
| 2014-07-12 | run-tests: Add option to write CPython's test results to .exp files. | Paul Sokolovsky | |
| Mostly to run testsuite on targets which doesn't have CPython. | |||
| 2014-07-12 | py: Add generic helper to align a pointer. | Paul Sokolovsky | |
| 2014-07-12 | emitbc: Fix structure field alignment issue. | Paul Sokolovsky | |
| 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). | |||
| 2014-07-11 | Incorporate stylistic changes suggested by @dhylands | blmorris | |
| 2014-07-11 | Add keyword argument 'memaddr_use_16b' to i2c.mem_read and mem_write methods | blmorris | |
| to allow these methods to transmit 16 bit addresses to an i2c device Add 'memaddr_use_16b' to qstrdefsport.h | |||
| 2014-07-11 | moductypes: Add symbolic constants to specify bitfield position/length. | Paul Sokolovsky | |
| 2014-07-09 | moductypes: 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-07 | Merge branch 'dhylands-fix-sdcard-read' | Damien George | |
| 2014-07-07 | stmhal: Protect SD_WriteBlocks by IRQ disable/enable pair. | Damien George | |
| 2014-07-06 | Disable IRQs around sdcard reads. | Dave Hylands | |
| Once the code switches to using DMA, this can be removed. | |||
| 2014-07-05 | binary: Factor out mp_binary_set_int(). | Paul Sokolovsky | |
| 2014-07-05 | tests: Rename test scripts, changing - to _ for consistency. | Damien George | |
| From now on, all new tests must use underscore. Addresses issue #727. | |||
| 2014-07-05 | py: Automatically ake __new__ a staticmethod. | Damien George | |
| Addresses issue #622. | |||
| 2014-07-03 | py: 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-03 | 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 | |
