InfiniTime/src/drivers
Jean-François Milants 63e0c4f4ef Application selection at build time
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.
2023-11-19 21:13:55 +01:00
..
Bma421_C Fix various typos 2022-06-05 09:31:23 +03:00
Bma421.cpp src: Enable unused parameter warning 2023-01-24 10:43:17 +02:00
Bma421.h Format header files 2023-01-09 21:41:21 +01:00
BufferProvider.h Changed access modified indentation 2021-04-24 12:00:45 +03:00
Cst816s.cpp Apply clang-format to all C++ files 2022-06-05 09:15:46 +03:00
Cst816s.h Format header files 2023-01-09 21:41:21 +01:00
DebugPins.cpp Update clang-{format,tidy} to 14 2023-01-04 17:15:33 +01:00
Hrs3300.cpp Power optimization - Enable HRS3300 (heart rate sensor) sleep mode. 2023-06-04 17:03:22 +02:00
Hrs3300.h changed ReadHrs and ReadAls to uint32, and did static_cast instead of hidden cast when using it 2021-12-13 12:47:52 +02:00
InternalFlash.cpp Update includes to to be relative to src directory 2021-11-15 22:02:49 +01:00
InternalFlash.h Changed access modified indentation 2021-04-24 12:00:45 +03:00
PinMap.h Power optimization - Improve SPI sleep mode 2023-06-04 17:22:27 +02:00
Spi.cpp Power optimization - Improve SPI sleep mode 2023-06-04 17:22:27 +02:00
Spi.h Update includes to to be relative to src directory 2021-11-15 22:02:49 +01:00
SpiMaster.cpp Application selection at build time 2023-11-19 21:13:55 +01:00
SpiMaster.h src: Enable unused parameter warning 2023-01-24 10:43:17 +02:00
SpiNorFlash.cpp Power optimization - Improve SPI sleep mode 2023-06-04 17:22:27 +02:00
SpiNorFlash.h Format header files 2023-01-09 21:41:21 +01:00
St7789.cpp ST7789 : do not reconfigure the reset pin to default during sleep. 2023-06-04 17:22:27 +02:00
St7789.h Power optimization - Improve SPI sleep mode 2023-06-04 17:22:27 +02:00
TwiMaster.cpp Apply clang-format to all C++ files 2022-06-05 09:15:46 +03:00
TwiMaster.h Simplify parameters and cleanup 2021-08-16 18:26:10 +03:00
Watchdog.cpp Application selection at build time 2023-11-19 21:13:55 +01:00
Watchdog.h Refactor, document and fix the Watchdog driver (#1710) 2023-04-30 15:56:13 +02:00