aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2015-09-13tools: Upgrade upip to 0.5.8.Paul Sokolovsky
Adds support for ussl module (which is experimental and not fully implemented yet itself).
2015-09-13unix/modjni: Factor out new_jobject(), jvalue2py() functions.Paul Sokolovsky
2015-09-12stmhal: Add "opt" arg to pyb.main, to set mp_optimise_value.Tom Soulanille
Use this to set the global optimisation value when executing the main script (and all scripts it imports).
2015-09-12esp8266: Remove "time" command from deploy target.Damien George
2015-09-12unix: Enable REPL auto-indent.Damien George
2015-09-12lib/mp-readline: Add auto-indent support.Damien George
4 spaces are added at start of line to match previous indent, and if previous line ended in colon. Backspace deletes 4 space if only spaces begin a line. Configurable via MICROPY_REPL_AUTO_INDENT. Disabled by default.
2015-09-12unix/modjni: Factor out py2jvalue() function.Paul Sokolovsky
2015-09-11stmhal: fix single precision float printing errorDave Hylands
Fixes #1435.
2015-09-11unix/modjni: "jni" module to interface to JNI-compliant JavaVM.Paul Sokolovsky
This includes Android Dalvik VM for example. Example usage: import jni System = jni.cls("java/lang/System") System.out.println("Hello, Java!")
2015-09-10tests/wipy: Add I2C tests.Daniel Campora
2015-09-10tests/wipy: Disable the REPL on UART before running the UART test.Daniel Campora
2015-09-10cc3200: Disable some uPy features in debug mode to help code fit.Daniel Campora
2015-09-10cc3200: Add SDcard pin af on index 8.Daniel Campora
2015-09-10tests/wipy: Additional tests for when the UART is un-initialized.Daniel Campora
2015-09-10cc3200: New I2C API.Daniel Campora
2015-09-10cc3200: Refactor pin af assigment functions.Daniel Campora
2015-09-10cc3200: Improve file system check routine.Daniel Campora
2015-09-10cc3200: Improve Pin and UART implementation.Daniel Campora
Deassign pins af before assigning. Make uart.any() return the correct value everytime, this requires interrupts to be always enabled.
2015-09-10cc3200: Remove I2C inline documentation (sphinx is on the lead).Daniel Campora
2015-09-10tests/wipy: Improve UART tests with no pin assignment case.Daniel Campora
2015-09-10tests: Ignore exception chain test on the WiPy.Daniel Campora
Fails because warnings are not enabled on the CC3200.
2015-09-10cc3200: New UART API plus related test.Daniel Campora
2015-09-10cc3200: Add alternate functions list to Pin object.Daniel Campora
Also remove pin.high() and pin.low() methods.
2015-09-10cc3200: Re-work Pin class according to the new API.Daniel Campora
Also add relevant test.
2015-09-10cc3200: Add mphal error to raise hardware related exceptions.Daniel Campora
2015-09-10cc3200: Fix bug in pybsleep remove.Daniel Campora
2015-09-10cc3200: Add alt param to Pin constructor.Daniel Campora
2015-09-10cc3200: Adapt smoke.py for the new pin API.Daniel Campora
2015-09-10cc3200: Implement new Pin API.Daniel Campora
2015-09-10cc3200: Improve uniflash script and make it a bit more verbose.Daniel Campora
2015-09-10cc3200: Remove the UART0 programming pins from the smoke test.Daniel Campora
2015-09-07tests: Move int+unicode test to unicode-specific test directory.Damien George
2015-09-07py/lexer: Properly classify floats that look like hex numbers.Damien George
Eg 0e0 almost looks like a hex number but in fact is a float.
2015-09-07py/lexer: Raise SyntaxError when unicode char point out of range.Damien George
2015-09-07py/lexer: Raise NotImplError for unicode name escape, instead of assert.Damien George
2015-09-07tests: Add tests for non-compliant behaviour of lexer.Damien George
2015-09-07py/compile: Refine SyntaxError for repeated use of global/nonlocal.Damien George
2015-09-04py: Eliminate some cases which trigger unused parameter warnings.Damien George
2015-09-04py/objstr: Check for keyword args before checking for no posn args.Damien George
Otherwise something like bytes(abc=123) will succeed.
2015-09-04py/objstr: For str.endswith(s, start) raise NotImpl instead of assert.Damien George
2015-09-04py/objbool: Simplify dispatch of bool binary op.Damien George
This optimises (in speed and code size) for the common case where the binary op for the bool object is supported. Unsupported binary ops still behave the same.
2015-09-04py/compile: Only compile function annotations if really needed.Damien George
Function annotations are only needed when the native emitter is enabled and when the current scope is emitted in viper mode. All other times the annotations can be skipped completely.
2015-09-03stmhal: add option to query for the current usb modeTony Abboud
Fetch the current usb mode and return a string representation when pyb.usb_mode() is called with no args. The possible string values are interned as qstr's. None will be returned if an incorrect mode is set.
2015-09-03py: Use mp_not_implemented consistently for not implemented features.Damien George
2015-09-03tests: Add tests to improve coverage of objstr.c.Damien George
2015-09-03py/objstr: Simplify printing of bytes objects when unicode enabled.Damien George
2015-09-03py: Inline single use of mp_obj_str_get_len in mp_obj_len_maybe.Damien George
Gets rid of redundant double check for string type. Also remove obsolete declaration of mp_obj_str_get_hash.
2015-09-03py: Make "enumerate" qstr be conditional on MICROPY_PY_BUILTINS_ENUMERATE.Paul Sokolovsky
2015-09-01py/binary: Add support for array('q') and array('Q').Damien George
2015-09-01py/objstr: Make str.rsplit(None,n) raise NotImpl instead of assert(0).Damien George