aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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
2015-09-01tests: Skip exception_chain.py with native emitter.Paul Sokolovsky
2015-09-01tests: Add test for exception-chaining raise syntax.Paul Sokolovsky
2015-09-01vm: Handle "raise X from Y" statements the best way we can.Paul Sokolovsky
By issuing a warning that exception chaining is not supported, and ignoring "from Y" argument.
2015-08-31modbuiltins: Consistently use indentation for #if.Paul Sokolovsky
2015-08-31modffi: dlsym() doesn't set errno, so use ENOENT for OSError.Paul Sokolovsky
This may be a bit confusing, as ENOENT is often rendered as "No such file or directory", but any other code would be only more confusing.
2015-08-30unix: Allow to build libffi from source and link against it.Paul Sokolovsky
Linking against local libffi (and other libs in future) is triggered by "make MICROPY_STANDALONE=1". Before that, dependent libs should be built with "make deplibs".
2015-08-30tests: Fix non-compliant expected output to match actual behaviour.Damien George