aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2014-01-22Merge branch 'master' of github.com:micropython/micropythonDamien George
2014-01-22Merge pull request #208 from pfalcon/string-escapesDamien George
Implement octal and hex escapes in strings.
2014-01-22Merge pull request #206 from iabdalkader/masterDamien George
Add Generic Feature Macros to mpconfigport
2014-01-22Merge branch 'master' of github.com:micropython/micropythonDamien George
2014-01-22stm: Fix USART3 init. Small edits to Makefile and other things.Damien George
2014-01-22Implement octal and hex escapes in strings.Paul Sokolovsky
2014-01-22Fix Feature Macro Prefixmux
2014-01-22file.readline(): Use mp_obj_str_get_data() and fix off-by-one error on EOF.Paul Sokolovsky
2014-01-22Remove Underscore from Macro Namesmux
2014-01-22Add Generic Feature Macros to mpconfigportmux
* Add some generic feature macros to mpconfigport * Move pin and port definitions from usrsw.c to mpconfigport
2014-01-22Second stage of qstr revamp: uPy str object can be qstr or not.Damien George
2014-01-22Merge branch 'fix-stm-discovery' of github.com:dhylands/micropython into ↵Damien George
dhylands-fix-stm-discovery Conflicts: stm/main.c
2014-01-21Fix support for STM32F4DISCOVERYDave Hylands
2014-01-22py: Remove implicit conversion of float to int in mp_obj_get_int().Damien George
Addresses Issue #199.
2014-01-21Merge branch 'master' of github.com:micropython/micropythonDamien George
2014-01-21py: Implement break and continue byte codes, and add tests.Damien George
Also fixes a bug in the for-in-range optimiser. I hope to remove break and continue byte codes in the future and just use jump (if possible).
2014-01-21Merge pull request #204 from dhylands/masterDamien George
Fix malformed makeqstrdata generated file when using python 2.7
2014-01-21Fix malformed generated file when using python 2.7Dave Hylands
2014-01-21stm: Clean up main.c; disable libgcc by default.Damien George
f2d and d2f functions from libgcc does not work correctly, most likely due to the ABI being incorrect. libgcc disabled for now.
2014-01-21stm: Put HSE_VALUE and other defines in mpconfigport.h.Damien George
mpconfigport.h is now included by stm32f4xx.h so that all STM files have access to these defines.
2014-01-21stm: Put TARGET in mpconfigport.h; support PYBv4.Damien George
2014-01-21Merge pull request #202 from iabdalkader/masterDamien George
Remove hardcoded PLL_M value
2014-01-21Add bytearray basic tests.Paul Sokolovsky
2014-01-21array: Implement iterator.Paul Sokolovsky
2014-01-21Add len() support for arrays.Paul Sokolovsky
2014-01-21Merge branch 'master' of github.com:micropython/micropythonDamien George
Conflicts: py/objstr.c py/py.mk py/stream.c unix/main.c unix/socket.c
2014-01-21Revamp qstrs: they now include length and hash.Damien George
Can now have null bytes in strings. Can define ROM qstrs per port using qstrdefsport.h
2014-01-21Add OSC_VALUE to Makefilemux
* Add the option to pass OSC frequency on command line.
2014-01-21Remove hardcoded PLL_M valuemux
2014-01-21run-tests: Allow to run tests selectively via command line.Paul Sokolovsky
2014-01-21Implement str.split(None).Paul Sokolovsky
Note that splitting by explicit string is not implemented so far.
2014-01-21str: Implement proper string (instead of byte string) indexing.Paul Sokolovsky
Also, support negative indexes.
2014-01-21Implement string multiplication.Paul Sokolovsky
2014-01-21sequence.c: Start to refactor sequence operations for reuse among types.Paul Sokolovsky
2014-01-20unix file: Refactor and add sys.stdout/stdin/stderr.Paul Sokolovsky
2014-01-20objstr: More support for MP_OBJ_QSTR.Paul Sokolovsky
2014-01-20mp_obj_get_type_str(): Handle MP_OBJ_QSTR.Paul Sokolovsky
2014-01-20socket-client, socket-server examples now run on both Micro- and C-Python.Paul Sokolovsky
2014-01-20Add dummy bytes() constructor.Paul Sokolovsky
Currently, MicroPython strings are mix between CPython byte and unicode strings. So, conversion is null so far. This dummy implementation is intended for compatibility with CPython (so, same code can run on both).
2014-01-20Don't preimport socket module.Paul Sokolovsky
2014-01-20unix socket: Add send() and recv() methods.Paul Sokolovsky
CPython _socket actually have only those and doesn't provide stream interface (higher-level CPython "socket" what adds this). +516 bytes x86.
2014-01-20stream_read(): Shrink memory block to actual read size.Paul Sokolovsky
2014-01-20unix io.FileIO: Add iteration support.Paul Sokolovsky
A file cannot be iterated concurrently, so we make io.FileIO its own iterator.
2014-01-20stream: Add generic unbuffered iternext method.Paul Sokolovsky
Uses stream_unbuffered_readline underline.
2014-01-20mp_identity(): Add generic identity function.Paul Sokolovsky
Useful as getiter method for objects which are their own iterators, etc.
2014-01-20mp_obj_get_qstr(): Handle MP_OBJ_QSTR.Paul Sokolovsky
2014-01-20py: Put micropython module init code in builtinmp.c.Damien George
2014-01-20Merge pull request #198 from pfalcon/expose-memstatDamien George
Expose memory stats functions via "micropython" module.
2014-01-20Expose memory stats functions via "micropython" module.Paul Sokolovsky
These are micropython.mem_total(), .mem_current(), .mem_peak(). These are 3 individual functions with simple scalar return value to make sure that calls to these functions themselves have minimal (hopefully zero) impact on memory allocation.
2014-01-20Merge branch 'master' of github.com:micropython/micropythonDamien George