-
- Downloads
st3m: implement modality
This change makes st3m aware of what Micropython is doing, and lets st3m provide some 'failsafe' functionality even if Micropython crashes. Most notably, this lets us draw some useful messages when the badge is in REPL mode, and lets us implement things like restarting the badge via buttons if that happens. This API isn't fully used yet, but this is a start.
Showing
- components/micropython/vendor/ports/esp32/main.c 8 additions, 0 deletionscomponents/micropython/vendor/ports/esp32/main.c
- components/st3m/CMakeLists.txt 1 addition, 0 deletionscomponents/st3m/CMakeLists.txt
- components/st3m/st3m_board_startup.c 19 additions, 4 deletionscomponents/st3m/st3m_board_startup.c
- components/st3m/st3m_gfx.c 46 additions, 8 deletionscomponents/st3m/st3m_gfx.c
- components/st3m/st3m_gfx.h 7 additions, 0 deletionscomponents/st3m/st3m_gfx.h
- components/st3m/st3m_mode.c 136 additions, 0 deletionscomponents/st3m/st3m_mode.c
- components/st3m/st3m_mode.h 33 additions, 0 deletionscomponents/st3m/st3m_mode.h
Loading
Please register or sign in to comment