Fixes and new apps (#30)

- M5 Unit Modules library + M5 Unit Test app
- Minor fixes for TodoList, TwoEleven, Snake, Brainfuck and Breakout
- Fixed SerialConsole to use the uart controller as it was broken in one of the many updates
- Fixed keyboard input in TwoEleven, Breakout, Magic8Ball and Snake
- Bluetooth Media Keys app, supports pressing physical keys to trigger the corresponding buttonmatrix button
- Epub Reader app
This commit is contained in:
Shadowtrance
2026-06-07 23:56:32 +10:00
committed by GitHub
parent 1f959c8bbf
commit dbf850c434
127 changed files with 11156 additions and 174 deletions
@@ -11,10 +11,14 @@ void SerialConsole::stopActiveView() {
}
}
void SerialConsole::showConsoleView(std::unique_ptr<Uart> uart) {
void SerialConsole::showConsoleView(Device* dev) {
if (dev == nullptr) {
ESP_LOGE(TAG, "showConsoleView: null device");
return;
}
stopActiveView();
activeView = &consoleView;
consoleView.onStart(wrapperWidget, std::move(uart));
consoleView.onStart(wrapperWidget, dev);
lv_obj_remove_flag(disconnectButton, LV_OBJ_FLAG_HIDDEN);
}