- 12 Oct, 2016 2 commits
-
-
Damien George authored
-
Damien George authored
Setting emit_dent=0 is unnecessary because arriving in that part of the if-logic will guarantee that emit_dent is already zero. The block to check indent_top(lex)>0 is unreachable because a newline is always inserted an the end of the input stream, and hence dedents are always processed before EOF.
-
- 11 Oct, 2016 14 commits
-
-
Damien George authored
It was a relic from the days of developing the compiler and is no longer needed, and it's impossible to trigger via a test.
-
Radomir Dopieralski authored
-
Alex March authored
-
Alex March authored
-
Radomir Dopieralski authored
As per discussion in #2449, using write requests instead of read requests for I2C.scan() seems to support a larger number of devices, especially ones that are write-only. Even a read-only I2C device has to implement writes in order to be able to receive the address of the register to read.
-
Peter Hinch authored
It contains detailed information about writing scripts to run efficiently on microcontrollers (and other constrained systems).
-
Paul Sokolovsky authored
Adds check that LZ offsets fall into the sliding dictionary used. This catches a case when uzlib.DecompIO with a smaller dictionary is used to decompress data which was compressed with a larger dictionary. Previously, this would lead to producing invalid data or crash, now an exception will be thrown.
-
Damien George authored
-
Damien George authored
-
Damien George authored
-
Damien George authored
The check for division by zero is made by the caller of this function.
-
Damien George authored
-
Damien George authored
-
Damien George authored
-
- 10 Oct, 2016 8 commits
-
-
Damien George authored
This allows to get/set at runtime the optimisation level of the compiler.
-
Paul Sokolovsky authored
-
Paul Sokolovsky authored
Patch on top of upstream Zephyr console helpers.
-
Paul Sokolovsky authored
-
Paul Sokolovsky authored
-
Paul Sokolovsky authored
-
Paul Sokolovsky authored
-
daniel authored
-
- 09 Oct, 2016 12 commits
-
-
Daniel Thompson authored
The outputexpors target, which exports Zephyr environment variables, was recently added to Zephyr. By exploiting this feature we can hugely simplify the build system, improving robustness at the same time. Signed-off-by: Daniel Thompson <daniel.thompson@linaro.org>
-
Paul Sokolovsky authored
By tricking Zephyt arch Makefiles compute them for us (not just for Zephyr). This make potentially break as Zephyr evolves.
-
Daniel Thompson authored
The two variables, GENERIC_TARGETS and CONFIG_TARGETS come, respectively, from the the lists shown during "make help" and "make kconfig-help". Signed-off-by: Daniel Thompson <daniel.thompson@linaro.org>
-
Daniel Thompson authored
Currently to compile for anything that except ARCH=x86 we have to provide ARCH via the environment or make arguments. We can do better than that! Signed-off-by: Daniel Thompson <daniel.thompson@linaro.org>
-
Paul Sokolovsky authored
-
Paul Sokolovsky authored
From https://github.com/pfalcon/zephyr_getchar .
-
Paul Sokolovsky authored
-
Paul Sokolovsky authored
-
Paul Sokolovsky authored
-
Paul Sokolovsky authored
-
Paul Sokolovsky authored
Also, drop deprecated (as for MicroPython) readall() method.
-
Paul Sokolovsky authored
-
- 08 Oct, 2016 1 commit
-
-
Paul Sokolovsky authored
To save iRAM.
-
- 07 Oct, 2016 3 commits
-
-
Damien George authored
-
Damien George authored
-
Damien George authored
-