- 30 Mar, 2016 4 commits
-
-
Paul Sokolovsky authored
Features inline get/put operations for the highest performance. Locking is not part of implementation, operation should be wrapped with locking externally as needed.
-
Paul Sokolovsky authored
-
Paul Sokolovsky authored
-
Damien George authored
That is: aps = if0.scan() TODO: make sure that returned list has tuple with values in "standard" order (whatever that standard is).
-
- 29 Mar, 2016 9 commits
-
-
Damien George authored
Pow is already a dependency when compiling with floats, so may as well use it here to reduce code size and speed up the conversion for most cases.
-
Damien George authored
Includes extensive test cases to catch hopefully all cases where buffer might overflow.
-
Damien George authored
When taking the logarithm of the float to determine the exponent, there are some edge cases that finish the log loop too large. Eg for an input value of 1e32-epsilon, this is actually less than 1e32 from the log-loop table and finishes as 10.0e31 when it should be 1.0e32. It is thus rendered as :e32 (: comes after 9 in ascii). There was the same problem with numbers less than 1.
-
Paul Sokolovsky authored
-
Paul Sokolovsky authored
That's definitely helpful for debugging.
-
Paul Sokolovsky authored
Helpful when debugging dupterm support (because otherwise all output is spooled to dupterm too). To use: mp_printf(&mp_debug_print, "...");
-
Paul Sokolovsky authored
-
Paul Sokolovsky authored
-
Damien George authored
Uses what is suspected to be a hardware random number generator.
-
- 28 Mar, 2016 9 commits
-
-
Paul Sokolovsky authored
-
Paul Sokolovsky authored
-
danicampora authored
-
Damien George authored
Otherwise device stays mounted on soft reset and leads to corruption (since block device object is now gone).
-
Paul Sokolovsky authored
-
Paul Sokolovsky authored
-
Paul Sokolovsky authored
I.e. os.listdir(...) will redirect to MP_STATE_PORT(fs_user_mount)[0].listdir(...).
-
Damien George authored
-
Paul Sokolovsky authored
Most esp8266 modules have at least 1MB (8Mbit) of flash. If not set, vendor functions allow to access only first 512K.
-
- 27 Mar, 2016 12 commits
-
-
Paul Sokolovsky authored
-
Paul Sokolovsky authored
-
Paul Sokolovsky authored
-
Paul Sokolovsky authored
-
Paul Sokolovsky authored
-
Paul Sokolovsky authored
Otherwise, events may be posted to non-initialized task, which leads to segfaults.
-
Paul Sokolovsky authored
-
Paul Sokolovsky authored
See https://github.com/micropython/micropython/issues/1736 for the list of complications. This workaround instead of duplicating REPL to another stream, switches to it, because read(STDIN) we use otherwise is blocking call, so it and custom REPL stream can't be used together.
-
Paul Sokolovsky authored
-
Paul Sokolovsky authored
-
Paul Sokolovsky authored
-
Paul Sokolovsky authored
-
- 26 Mar, 2016 3 commits
-
-
Paul Sokolovsky authored
-
Damien George authored
-
Damien George authored
-
- 25 Mar, 2016 3 commits
-
-
Damien George authored
-
Paul Sokolovsky authored
-
Paul Sokolovsky authored
-