63e0c4f4ef
A list of "user applications" is built at compile time. It contains all the info needed to create the application at runtime (ptr to a create() function) and to display the app in the application menu. All applications declare a TypeTrait with these information. When a new app must be loaded, DisplayApp first check if this app is a System app (in which case it creates it like it did before). If it's not a System app, it looks for the app in the list of User applications and creates it if it found it. Those changes allow to more easily add new app and to select which app must be built into the firmware. Switch to C++20 (and fix a few issues in SpiMaster.cpp and Watchdog.cpp. |
||
---|---|---|
.. | ||
Bma421_C | ||
Bma421.cpp | ||
Bma421.h | ||
BufferProvider.h | ||
Cst816s.cpp | ||
Cst816s.h | ||
DebugPins.cpp | ||
Hrs3300.cpp | ||
Hrs3300.h | ||
InternalFlash.cpp | ||
InternalFlash.h | ||
PinMap.h | ||
Spi.cpp | ||
Spi.h | ||
SpiMaster.cpp | ||
SpiMaster.h | ||
SpiNorFlash.cpp | ||
SpiNorFlash.h | ||
St7789.cpp | ||
St7789.h | ||
TwiMaster.cpp | ||
TwiMaster.h | ||
Watchdog.cpp | ||
Watchdog.h |