- Feb 06, 2015
-
-
blmorris authored
There was a stray factor of 2 (VBAT_DIV) that looks like it was copied incorrectly from the read_core_vbat() function. The factor exists in read_core_vbat() because VBAT is measured through a 2:1 voltage divider. read_core_vref now returns values around 1.21V (assuming that external reference voltage is 3.3V) which is in line with the datasheet values. See comment at http://forum.micropython.org/viewtopic.php?f=6&t=533&p=2991#p2991
-
- Feb 05, 2015
-
-
Paul Sokolovsky authored
-
- Feb 04, 2015
-
-
Paul Sokolovsky authored
-
Li lin authored
-
- Feb 03, 2015
-
-
Paul Sokolovsky authored
-
- Feb 02, 2015
-
-
Damien George authored
Addresses issue #1097.
-
Damien George authored
-
Damien George authored
Also fix list.sort so it works with user-defined types, and parse the keyword arguments properly. Addresses issue #338.
-
Damien George authored
-
Damien George authored
-
- Jan 31, 2015
-
-
Paul Sokolovsky authored
-
- Jan 30, 2015
-
-
Paul Sokolovsky authored
Just always keep jumper in bootloader position. After flashing, uPy automatically executed. And to get back to bootloader, do "make reset".
-
Paul Sokolovsky authored
-
Paul Sokolovsky authored
-
Damien George authored
Only noticeable difference is how newlines are encoded in triple-quoted strings. The behaviour now matches CPython3.
-
- Jan 29, 2015
-
-
Damien George authored
-
Damien George authored
-
Damien George authored
-
Damien George authored
-
Damien George authored
-
Damien George authored
Used gcov to find some parts of vm.c, runtime.c, obj.c that were not covered by any tests. Still need to use gcov more thoroughly.
-
- Jan 28, 2015
-
-
Damien George authored
Addresses issue #1014.
-
Damien George authored
This cleans up vstr so that it's a pure "variable buffer", and the user can decide whether they need to add a terminating null byte. In most places where vstr is used, the vstr did not need to be null terminated and so this patch saves code size, a tiny bit of RAM, and makes vstr usage more efficient. When null termination is needed it must be done explicitly using vstr_null_terminate.
-
Paul Sokolovsky authored
-
Paul Sokolovsky authored
-
Damien George authored
-
Damien George authored
-
Damien George authored
Makes pyexec.c more re-usable for other ports.
-
Paul Sokolovsky authored
-
Paul Sokolovsky authored
-
- Jan 27, 2015
-
-
David Steinberg authored
- This then provides support for floats in the struct package
-
Damien George authored
Eg, "() + 1" now tells you that __add__ is not supported for tuple and int types (before it just said the generic "binary operator"). We reuse the table of names for slot lookup because it would be a waste of code space to store the pretty name for each operator.
-
Damien George authored
-
- Jan 26, 2015
-
-
Paul Sokolovsky authored
Actually manage size of the output buffer.
-
- Jan 25, 2015
-
-
Damien George authored
-
Damien George authored
Defining NDEBUG (to any value, even 0) disables debugging. Otherwise, if it's not defined, debugging is enabled.
-
Damien George authored
-
Damien George authored
-
Paul Sokolovsky authored
-
Paul Sokolovsky authored
So far implements .scan(lambda x: print(x)) function to scan for WiFi access points.
-