Module initialization - tidyup #11342
Labels
State: stale
State: The issue / PR has no activity for >185 days
Type: cleanup
The issue proposes a clean-up / The PR cleans-up parts of the codebase / documentation
Description
This issue aims to address some problems we have recently seen related to module initialization.
Current state
The current state of initialization of modules in RIOT is as follows. This description is basically design-level rather than implementation-level - in other words, it doesn't take into account implementations that deviate from our normal way of doing things.
boards/
orcpu/
depending on whether they're board-specific or cpu-specificsys/auto_init
, in the order defined theretests/
orapplications/
are initialised thereThe last two points mean that modules can often be initialized twice.
Problems seen
Some problems related to this area are as follows:
Idea for way forward
Suggestion is that we refine the two sections above until we feel that we understand (and agree on) the problem fully before moving on to finding a comprehensive design solution.
The text was updated successfully, but these errors were encountered: