-
-
Notifications
You must be signed in to change notification settings - Fork 1k
Open
Labels
maintenanceBackground workBackground work
Description
Verification
- I searched for similar issues and found none was relevant.
Introduce the issue
The hardware is initialized in many places, controller classes, drivers, systemtask, displayapp. Keeping track of the hardware state can be difficult. What has been initialized and when. We need to define how and where the hardware should be initialized, and how info about the hardware, such as pins, is passed to the controller classes.
Preferred solution
For example, we could have a port init function, that initializes all hardware. The already configured pins could be passed to the controller classes. We could apply a discipline to only include hardware specific files in certain places.
Version
No response
ajack2001my and minacode
Metadata
Metadata
Assignees
Labels
maintenanceBackground workBackground work