Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | py: Remove mp_obj_str_builder and use vstr instead. | Damien George | 2015-01-21 |
| | | | | | | | | | | | | With this patch str/bytes construction is streamlined. Always use a vstr to build a str/bytes object. If the size is known beforehand then use vstr_init_len to allocate only required memory. Otherwise use vstr_init and the vstr will grow as needed. Then use mp_obj_new_str_from_vstr to create a str/bytes object using the vstr memory. Saves code ROM: 68 bytes on stmhal, 108 bytes on bare-arm, and 336 bytes on unix x64. | ||
* | stmhal: Prefix includes with py/; remove need for -I../py. | Damien George | 2015-01-01 |
| | |||
* | stmhal: Add ability to mount custom block device. | Damien George | 2014-12-27 |
| | |||
* | Use MP_DEFINE_CONST_DICT macro to define module dicts. | Damien George | 2014-11-29 |
| | | | | | This is just a clean-up of the code. Generated code is exactly the same. | ||
* | stmhal: Rename module files to keep consistency with module name. | Damien George | 2014-10-12 |