- Apr 13, 2015
-
-
Damien George authored
When setting usb_mode to "HID", hid config object now has polling-interval (in ms) as the 4th element. It mmust now be a 5-tuple of the form: (subclass, protocol, max_packet_len, polling_interval, report_desc) The mouse and keyboard defaults have polling interval at 8ms.
-
- Apr 12, 2015
-
-
Daniel Campora authored
Because it's only a compiler optimization and increases code size.
-
Daniel Campora authored
This new method allows to assign an static IP to the device.
-
Dave Hylands authored
In particular, numbers which are less than 1.0 but which round up to 1.0. This also makes those numbers which round up to 1.0 to print with e+00 rather than e-00 for those formats which print exponents. Addresses issue #1178.
-
- Apr 11, 2015
-
-
Paul Sokolovsky authored
-
Damien George authored
-
Damien George authored
-
Damien George authored
-
Damien George authored
This simplifies the API for objects and reduces code size (by around 400 bytes on Thumb2, and around 2k on x86). Performance impact was measured with Pystone score, but change was barely noticeable.
-
Damien George authored
Saves 768 bytes code space on Thumb2 archs.
-
Daniel Campora authored
-
Daniel Campora authored
This has implications all over the place. I have to admit that you can instantly see that usability improves, but it costs 3K. At the same time I took the oportunity to rename the '/SFLASH' drive to '/flash' which improves compatibility with the pyboard.
-
- Apr 10, 2015
-
-
Paul Sokolovsky authored
-
- Apr 09, 2015
-
-
Damien George authored
-
Damien George authored
-
stijn authored
-
stijn authored
Fixes msvc linker warnings about mismatching sizes between the mp_obj_fdfile_t struct defined in file.c and the mp_uint_t declarations found in modsys.c and modbuiltins.c
-
stijn authored
Also prevents some of the weaker syntax parsers out there treating the whole '*/*const*/' part as a comment
-
Damien George authored
-
- Apr 07, 2015
-
-
Damien George authored
This patch gets full function argument passing working with native emitter. Includes named args, keyword args, default args, var args and var keyword args. Fully Python compliant. It reuses the bytecode mp_setup_code_state function to do all the hard work. This function is slightly adjusted to accommodate native calls, and the native emitter is forced a bit to emit similar prelude and code-info as bytecode.
-
Daniel Campora authored
-
Daniel Campora authored
-
- Apr 06, 2015
-
-
Damien George authored
-
Damien George authored
-
Paul Sokolovsky authored
-
Paul Sokolovsky authored
-
- Apr 05, 2015
-
-
Paul Sokolovsky authored
-
Paul Sokolovsky authored
-
Paul Sokolovsky authored
-
- Apr 04, 2015
-
-
Damien George authored
-
Damien George authored
-
Damien George authored
-
Damien George authored
-
Daniel Campora authored
-
Damien George authored
Without this patch deleting a property, or class with descriptor, will call the setter with a NULL value and lead to a crash.
-
Damien George authored
-
Damien George authored
-
Damien George authored
-
Damien George authored
-
- Apr 03, 2015
-
-
Paul Sokolovsky authored
Warnings lead to programming errors - as expected.
-