- Oct 17, 2020
-
-
schneider authored
-
schneider authored
-
schneider authored
-
schneider authored
-
schneider authored
-
schneider authored
-
schneider authored
-
schneider authored
-
schneider authored
-
schneider authored
-
schneider authored
-
schneider authored
Pycardium Improvements Closes #76 and #212 See merge request card10/firmware!417
-
rahix authored
This will result in more reliably reaching a clean state. Co-Authored-By:
schneider <schneider@muc.ccc.de> Signed-off-by:
Rahix <rahix@rahix.de>
-
schneider authored
-
schneider authored
Also auto generate the header during build time.
-
- Oct 16, 2020
-
-
rahix authored
Instead of "rebooting" Pycardium, hand over control to core 0, notifying it of a severe failure via epic_exit(253). Signed-off-by:
Rahix <rahix@rahix.de>
-
rahix authored
Calls to abort() shouldn't make core 1 busy-spin; call epic_exit() instead. Fixes #76. Signed-off-by:
Rahix <rahix@rahix.de>
-
rahix authored
Instead of dropping to REPL and silently requiring the user to return to menu via button-press, directly call epic_exit(0) when a script terminates execution normally (i.e. not via exception). Signed-off-by:
Rahix <rahix@rahix.de>
-
rahix authored
Remove the big endless loop from pycardium main and instead use epic_exec("") to switch to REPL. This way, any MicroPython state is reset and also all hardware will be in a clean reinitialized state. This also means that pycard10.py will now run scripts in a clean environment that is not tainted by whatever was running before. Fixes #212. Signed-off-by:
Rahix <rahix@rahix.de>
-
rahix authored
Always print the pycardium header and a short message afterwards what pycardium is about to do. Signed-off-by:
Rahix <rahix@rahix.de>
-
- Oct 15, 2020
-
-
schneider authored
- Oct 14, 2020
-
- Oct 13, 2020
-
-
schneider authored
-
schneider authored
-
schneider authored
-
schneider authored
Closes #210
-
schneider authored
Closes #208
-
schneider authored
The button to turn on the LEDs gets pressed easily, making them waste battery.
-
schneider authored
This reduces the power consumption when the display is off by about 3.8 mA. card10 with BLE off and without this patch: 11.5 mA card10 with BLE off and with this patch: 7.7 mA