Feature #563
Remove template-feature from vagus
Beginn:
09.09.2024
Abgabedatum:
% erledigt:
0%
Geschätzter Aufwand:
CS Zielversion:
Beschreibung
See wiki for descriptions.
Library should work with project-config-header instead of magically perdefines and pre-declared structures.
A pure template-class works better but still the defines...
Biwak and lepto also needs their defines.
Just a config header without using template class does not work. The eeprom config layout is unknown.
Fooling the compiler (using different structures in different compile units) does work but is not good.
- keep it as template.
- make the structs project-wide available like config
- make the structs generic and cast the apllication-spezific part; but things like "operating-hours" have to be configured.
Adhoc disabling features changes EEPROM layout without changing any version.
Template feels most correct. Having struct like config will be the cleanest implementation.
Its only about vagus/kokon. Just inject the eeprom structure.
set_source_files_properties(
vagus.cpp
PROPERTIES
COMPILE_FLAGS
"-include foo.hpp"
)
Historie
Von Maximilian Seesslen vor 5 Monaten aktualisiert
- Projekt wurde von vagus zu libcampo geändert
- Thema wurde von De-Temlate class zu Remove template-feature from vagus geändert
- Zielversion wurde auf v0.5.0 gesetzt