AMiRo-LLD configuration via Makefile
|Assignee:||Thomas Schöpping||% Done:|
|Category:||-||Estimated time:||8.00 hours|
Currently AMiRo-LLD drivers are activated via the alldconf.h file, which results in numerous files being compiled without providing any functionality. Furthermore, those useless files will be included in the QtCreator projects, since GCC evaluates them.
To tackle this issue, drivers should be enabled via the module Makefile, so only the required files and paths are included to the build process. The alldconf.h file can still be used to configure the drivers if they provide further settings.
#5 Updated by Thomas Schöpping 3 months ago
- Status changed from New to Resolved
- Assignee set to Thomas Schöpping
- % Done changed from 0 to 100
- Estimated time changed from 4.00 to 8.00
Any LLDs now have to be included via the module Makefile and are completely ignored during compilation otherwise.
The same approach has been adopted for tests.
All involved 'parts' (individual LLDs, individual tests at AMiRo-OS level, and individual tests at module level) now come with their own .mk scripts, which can be easily included by the module Makefile.