Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add hardware/project key to each project makefile and drivers #138

Open
dyldonahue opened this issue Jul 16, 2024 · 1 comment
Open

Add hardware/project key to each project makefile and drivers #138

dyldonahue opened this issue Jul 16, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@dyldonahue
Copy link
Contributor

dyldonahue commented Jul 16, 2024

Current Features

Right now, we have drivers that are hard set to individual stm32 types - they are not cross compatible

Desired Additional Features

We should be able to pass some sort of key or macro from each project that can be read by drivers to include the right files. Probably will need to explore how best to add this, and then update each driver to have #ifdefs to include the proper file.

NOTE: possibly will become redundant or obsoleted by #139 . so unless its super easy mayeb wait until progress is made on that ticket to begin this if still desired

Screenshots (as needed)

No response

@dyldonahue dyldonahue added the enhancement New feature or request label Jul 16, 2024
@dyldonahue
Copy link
Contributor Author

Cmake will mostly handle this, but the drivers wills till need to have some #ifdef #define.. depending on some macrose set by the Cmake. So, only those ifdefs are in scope of this ticket

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant