summaryrefslogtreecommitdiffstatshomepage
Commit message (Collapse)AuthorAge
* py: Initialise loaded_module map in rt_init.Damien George2014-01-22
| | | | | STM port crashes without this re-init. There should not be any state in the core py/ code that relies on pre-initialised data.
* Fix 1 warning and 1 bug.Damien George2014-01-22
|
* Merge branch 'master' of github.com:micropython/micropythonDamien George2014-01-22
|\
| * Merge pull request #208 from pfalcon/string-escapesDamien George2014-01-22
| |\ | | | | | | Implement octal and hex escapes in strings.
| | * Implement octal and hex escapes in strings.Paul Sokolovsky2014-01-22
| | |
* | | Merge branch 'master' of github.com:micropython/micropythonDamien George2014-01-22
|\| |
| * | Merge pull request #206 from iabdalkader/masterDamien George2014-01-22
| |\ \ | | |/ | |/| Add Generic Feature Macros to mpconfigport
| | * Fix Feature Macro Prefixmux2014-01-22
| | |
| | * Remove Underscore from Macro Namesmux2014-01-22
| | |
| | * Add Generic Feature Macros to mpconfigportmux2014-01-22
| | | | | | | | | | | | | | | * Add some generic feature macros to mpconfigport * Move pin and port definitions from usrsw.c to mpconfigport
| * | file.readline(): Use mp_obj_str_get_data() and fix off-by-one error on EOF.Paul Sokolovsky2014-01-22
| |/
* / stm: Fix USART3 init. Small edits to Makefile and other things.Damien George2014-01-22
|/
* Second stage of qstr revamp: uPy str object can be qstr or not.Damien George2014-01-22
|
* Merge branch 'fix-stm-discovery' of github.com:dhylands/micropython into ↵Damien George2014-01-22
|\ | | | | | | | | | | | | dhylands-fix-stm-discovery Conflicts: stm/main.c
| * Fix support for STM32F4DISCOVERYDave Hylands2014-01-21
| |
* | py: Remove implicit conversion of float to int in mp_obj_get_int().Damien George2014-01-22
| | | | | | | | Addresses Issue #199.
* | Merge branch 'master' of github.com:micropython/micropythonDamien George2014-01-21
|\ \
| * | Merge pull request #204 from dhylands/masterDamien George2014-01-21
| |\| | | | | | | Fix malformed makeqstrdata generated file when using python 2.7
| | * Fix malformed generated file when using python 2.7Dave Hylands2014-01-21
| | |
* | | py: Implement break and continue byte codes, and add tests.Damien George2014-01-21
|/ / | | | | | | | | | | | | 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).
* / stm: Clean up main.c; disable libgcc by default.Damien George2014-01-21
|/ | | | | f2d and d2f functions from libgcc does not work correctly, most likely due to the ABI being incorrect. libgcc disabled for now.
* stm: Put HSE_VALUE and other defines in mpconfigport.h.Damien George2014-01-21
| | | | | mpconfigport.h is now included by stm32f4xx.h so that all STM files have access to these defines.
* stm: Put TARGET in mpconfigport.h; support PYBv4.Damien George2014-01-21
|
* Merge pull request #202 from iabdalkader/masterDamien George2014-01-21
|\ | | | | Remove hardcoded PLL_M value
| * Add OSC_VALUE to Makefilemux2014-01-21
| | | | | | | | * Add the option to pass OSC frequency on command line.
| * Remove hardcoded PLL_M valuemux2014-01-21
| |
* | Add bytearray basic tests.Paul Sokolovsky2014-01-21
| |
* | array: Implement iterator.Paul Sokolovsky2014-01-21
| |
* | Add len() support for arrays.Paul Sokolovsky2014-01-21
| |
* | Merge branch 'master' of github.com:micropython/micropythonDamien George2014-01-21
|\| | | | | | | | | | | | | | | | | Conflicts: py/objstr.c py/py.mk py/stream.c unix/main.c unix/socket.c
| * run-tests: Allow to run tests selectively via command line.Paul Sokolovsky2014-01-21
| |
| * Implement str.split(None).Paul Sokolovsky2014-01-21
| | | | | | | | Note that splitting by explicit string is not implemented so far.
| * str: Implement proper string (instead of byte string) indexing.Paul Sokolovsky2014-01-21
| | | | | | | | Also, support negative indexes.
| * Implement string multiplication.Paul Sokolovsky2014-01-21
| |
| * sequence.c: Start to refactor sequence operations for reuse among types.Paul Sokolovsky2014-01-21
| |
| * unix file: Refactor and add sys.stdout/stdin/stderr.Paul Sokolovsky2014-01-20
| |
| * objstr: More support for MP_OBJ_QSTR.Paul Sokolovsky2014-01-20
| |
| * mp_obj_get_type_str(): Handle MP_OBJ_QSTR.Paul Sokolovsky2014-01-20
| |
| * socket-client, socket-server examples now run on both Micro- and C-Python.Paul Sokolovsky2014-01-20
| |
| * Add dummy bytes() constructor.Paul Sokolovsky2014-01-20
| | | | | | | | | | | | 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).
| * Don't preimport socket module.Paul Sokolovsky2014-01-20
| |
| * unix socket: Add send() and recv() methods.Paul Sokolovsky2014-01-20
| | | | | | | | | | | | | | CPython _socket actually have only those and doesn't provide stream interface (higher-level CPython "socket" what adds this). +516 bytes x86.
| * stream_read(): Shrink memory block to actual read size.Paul Sokolovsky2014-01-20
| |
| * unix io.FileIO: Add iteration support.Paul Sokolovsky2014-01-20
| | | | | | | | | | A file cannot be iterated concurrently, so we make io.FileIO its own iterator.
| * stream: Add generic unbuffered iternext method.Paul Sokolovsky2014-01-20
| | | | | | | | Uses stream_unbuffered_readline underline.
| * mp_identity(): Add generic identity function.Paul Sokolovsky2014-01-20
| | | | | | | | Useful as getiter method for objects which are their own iterators, etc.
| * mp_obj_get_qstr(): Handle MP_OBJ_QSTR.Paul Sokolovsky2014-01-20
| |
* | Revamp qstrs: they now include length and hash.Damien George2014-01-21
|/ | | | | Can now have null bytes in strings. Can define ROM qstrs per port using qstrdefsport.h
* py: Put micropython module init code in builtinmp.c.Damien George2014-01-20
|
* Merge pull request #198 from pfalcon/expose-memstatDamien George2014-01-20
|\ | | | | Expose memory stats functions via "micropython" module.