| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2014-04-21 | stmhal: Add some documentation to I2C, SPI and USART modules. | Damien George | |
| 2014-04-21 | Merge branch 'master' of github.com:micropython/micropython | Damien George | |
| 2014-04-21 | stmhal: Improve USART class, to be more like SPI and I2C. | Damien George | |
| The three classes I2C, SPI and USART now have a fairly uniform (Python) API. All are constructed, initialised and deinitialised in the same way. They can have most of their parameters set, using keyword arguments. All have send and recv (although slightly different with I2C requiring an address in master mode). recv can do inplace receiving (ie store the data in a previously-created bytearray). It's just polling mode at the moment, but interrupt and DMA would be nice to add. | |||
| 2014-04-21 | stmhal, SPI and I2C: Improvements to functionality and consistency. | Damien George | |
| 2014-04-21 | py: Small change to mp_arg_parse_all. | Damien George | |
| 2014-04-20 | windows: Add README with basic cross-compile instructions. | Paul Sokolovsky | |
| 2014-04-20 | windows: Unbreak mingw32 build (cross-compiling under Linux). | Paul Sokolovsky | |
| 2014-04-20 | unix windows: mingw32 doesn't have realpath(), use _fullpath() instead. | Paul Sokolovsky | |
| 2014-04-20 | unix file: mingw32 has STDIN_FILENO and friends in stdio.h . | Paul Sokolovsky | |
| TODO: Never "optimize" includes any more! | |||
| 2014-04-20 | py: Add win32-specific header for alloca(). | Paul Sokolovsky | |
| 2014-04-20 | nlrx86.S: Another ifdef for win32 symbol underscoring issues. | Paul Sokolovsky | |
| 2014-04-20 | unix mem_info(): Dump GC info only if it's enabled. | Paul Sokolovsky | |
| 2014-04-20 | Merge branch 'master' of github.com:micropython/micropython | Damien George | |
| 2014-04-20 | stmhal: Improved configurability for I2C and SPI busses. | Damien George | |
| The HAL handles for the I2C/SPI objects are rather large, so we don't want to unnecessarily include them. | |||
| 2014-04-20 | objarray: Slice subscription operation: properly test for op subtype. | Paul Sokolovsky | |
| Also, checked that both bytearray and array.array actually support generic (a-la list) slice assignment and deletion. Added TODOs. | |||
| 2014-04-20 | gc: gc_realloc(): Fix byte-to-block calculation. | Paul Sokolovsky | |
| 2014-04-20 | Merge branch 'fix-netduino-i2c-spi' of github.com:dhylands/micropython into ↵ | Damien George | |
| dhylands-fix-netduino-i2c-spi | |||
| 2014-04-20 | py, gc: Further simplify coding-style of gc_realloc. | Damien George | |
| No logic changes, just coding style to make it easy to read. | |||
| 2014-04-20 | py: Wrap #if's around emitter functions that are used only by emitcpy. | Damien George | |
| 3 emitter functions are needed only for emitcpy, and so we can #if them out when compiling with emitcpy support. Also remove unused SETUP_LOOP bytecode. | |||
| 2014-04-20 | py: Making closures now passes pointer to stack, not a tuple for vars. | Damien George | |
| Closed over variables are now passed on the stack, instead of creating a tuple and passing that. This way memory for the closed over variables can be allocated within the closure object itself. See issue #510 for background. | |||
| 2014-04-20 | objclosure: Store reference to entire closed variables tuple. | Paul Sokolovsky | |
| Avoids pointer-to-field garbage collection issue. Fixes #510. | |||
| 2014-04-20 | objcell: Add disabled by default print method for debugging. | Paul Sokolovsky | |
| 2014-04-20 | gc: "new" gc_realloc: Rewrite in plain C, fixing bunch of bugs. | Paul Sokolovsky | |
| There were typos, various rounding errors trying to do concurrent counting in bytes vs blocks, complex conditional paths, superfluous variables, etc., etc., all leading to obscure segfaults. | |||
| 2014-04-20 | gc: Recover simple gc_realloc implementation, make easier to switch between. | Paul Sokolovsky | |
| 2014-04-20 | modsocket: Add setblocking() method. | Paul Sokolovsky | |
| 2014-04-20 | modstruct: Add 'O' typecode for passing mp_obj_t. | Paul Sokolovsky | |
| Useful as callback data, etc. | |||
| 2014-04-20 | modstruct: Use proper int accessor which checks input value type. | Paul Sokolovsky | |
| 2014-04-20 | Fix i2c and spi to compile for Netduino Plus 2 | Dave Hylands | |
| 2014-04-20 | Merge branch 'master' of github.com:micropython/micropython | Damien George | |
| 2014-04-20 | stmhal: Small bug fixes and simplifications. | Damien George | |
| 2014-04-20 | py: Fix mp_arg_parse_all. | Damien George | |
| 2014-04-20 | stmhal: Only init RNG if it's used. | Damien George | |
| 2014-04-20 | stmhal: Update ExtInt to allow keyword arguments in constructor. | Damien George | |
| 2014-04-20 | stmhal: Tidy up and improve consistency across modules. | Damien George | |
| 2014-04-20 | stmhal: Add SPI class. | Damien George | |
| Also some updates to compile with latest changes to core py. | |||
| 2014-04-20 | stm: Update to compile with latest changes to core py. | Damien George | |
| 2014-04-20 | py: Add arg checking helper functions. | Damien George | |
| These are to assist in writing native C functions that take positional and keyword arguments. mp_arg_check_num is for just checking the number of arguments is correct. mp_arg_parse_all is for parsing positional and keyword arguments with default values. | |||
| 2014-04-19 | test/class-super: Expose super() breakage. | Paul Sokolovsky | |
| 2014-04-19 | objarray: Implement slice subscription. | Paul Sokolovsky | |
| 2014-04-19 | modffi: Update for MP_OBJ_STOP_ITERATION refactor. | Paul Sokolovsky | |
| 2014-04-19 | Merge branch 'master' of github.com:micropython/micropython | Damien George | |
| 2014-04-19 | stmhal: Add pyb.Pin.init method to re-init GPIO pin mode. | Damien George | |
| 2014-04-19 | stmhal: Improve RTC class; make fatfs use RTC for time stamping files. | Damien George | |
| 2014-04-19 | stmhal: Add pyb.unique_id, to get unique id of MCU. | Damien George | |
| 2014-04-19 | stmhal: Update for mp_binary_get_size() refactor. | Paul Sokolovsky | |
| 2014-04-19 | modstruct: Initial implementation of struct.pack(). | Paul Sokolovsky | |
| 2014-04-19 | objstr: Init hash in mp_obj_str_builder_start() to 0. | Paul Sokolovsky | |
| 2014-04-19 | obj.h: Typo fix in comment. | Paul Sokolovsky | |
| 2014-04-19 | modstruct: Fix .calcsize() to account for struct type/alignment. | Paul Sokolovsky | |
| 2014-04-19 | modstruct: Support 'q' & 'Q' type codes. | Paul Sokolovsky | |
