- Oct 13, 2020
-
- Oct 08, 2020
-
-
schneider authored
-
- Sep 14, 2020
-
-
schneider authored
-
- Sep 07, 2020
-
-
rahix authored
Signed-off-by:
Rahix <rahix@rahix.de>
-
rahix authored
Signed-off-by:
Rahix <rahix@rahix.de>
-
- Sep 06, 2020
- Jul 18, 2020
- Jun 25, 2020
-
-
schneider authored
-
- Jun 15, 2020
- Jun 14, 2020
-
-
schneider authored
Create weak links from MicroPython specific implementations of modules to standard names. I.e. allow `import time` to import utime module.
-
- May 21, 2020
-
-
rahix authored
It's 44 years since the release of vi and sadly lots of editors still don't care about trimming off trailing spaces ... Signed-off-by:
Rahix <rahix@rahix.de>
-
- Apr 26, 2020
-
-
zenox authored
-
- Apr 08, 2020
-
-
schneider authored
-
- Apr 06, 2020
-
-
schneider authored
-
- Apr 03, 2020
- Mar 16, 2020
- Jan 31, 2020
- Jan 03, 2020
-
-
rahix authored
Instead of an ugly hack where spaces are used to pad the entries background colors, properly draw a rectangle and the text above it. No visual change. Signed-off-by:
Rahix <rahix@rahix.de>
-
- Dec 09, 2019
-
-
rahix authored
Signed-off-by:
Rahix <rahix@rahix.de>
-
- Dec 06, 2019
-
-
rahix authored
Fix all warnings in pycardium/modules. Signed-off-by:
Rahix <rahix@rahix.de>
-
rahix authored
As discussed in card10/firmware!357, we should increase the number of enabled compiler warnings to catch a lot more silent bugs. Increase the meson-global warning level to 2, but excluding the `unused-parameter` and `old-style-declaration` warnings. Additionally, disable warnings for libraries as we cannot fix that code anyway. Signed-off-by:
Rahix <rahix@rahix.de>
-
- Nov 19, 2019
-
-
fuchsi* authored
-
- Nov 13, 2019
-
-
rahix authored
Implement the hal functions necessary for utime.ticks_ms() and utime.ticks_us(). This enables much more accurate measurements of time taken in Pycardium (useful for profiling). Please note that the tick counter will reset whenever a new app is loaded. Signed-off-by:
Rahix <rahix@rahix.de>
-
The framebuf module provides a framebuffer implementation running purely in MicroPython which will increase drawing performance by a lot. A follow-up change will be necessary to connect this framebuffer implementation to the display API. This commit is implements a part of MR !211.
-
rahix authored
Rewrite the delay implementation to be more accurate and properly handle incoming MicroPython interrupts (See issue #177). For this, the delay is split into two functions: - systick_delay_precise(): Delay with microsecond accuracy for delays less than 1 ms. - systick_delay_sleep(): Sleep for a potentially very long time, using WFI to put the CPU to sleep. Whenever the CPU wakes up, this function will poll the MicroPython scheduler so it can execute pending interrupts. Ontop, this implementation allows for a future, fast, tick-based monotonic time implementation (e.g. mp_hal_ticks_ms). Signed-off-by:
Rahix <rahix@rahix.de>
-
- Nov 11, 2019
-
-
rahix authored
Enable the input() builtin which allows reading from the serial console. Signed-off-by:
Rahix <rahix@rahix.de>
-
- Nov 10, 2019
- Nov 09, 2019
-
-
rahix authored
Allow calling buttons.read() without an argument. This is equivalent to a mask with all bits set (that is, buttons.read(255)). Additionally, add a check that the mask is within the limits (< 256). Signed-off-by:
Rahix <rahix@rahix.de>
-
rahix authored
For convenience, allow calling os.listdir() without any argument. This is equivalent to calling os.listdir(""). Signed-off-by:
Rahix <rahix@rahix.de>
-
- Oct 05, 2019
-