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

ADC included in firmware but not in HAL #1

Open
DerZade opened this issue Jun 6, 2024 · 1 comment
Open

ADC included in firmware but not in HAL #1

DerZade opened this issue Jun 6, 2024 · 1 comment

Comments

@DerZade
Copy link

DerZade commented Jun 6, 2024

Looking at your project it seems like there is an ADC implementation in your firmware, but not directly in your HAL. What is the reasoning behind this? Is there any chance the HAL will directly support ADC? 🙃

Thanks a lot for the great lib and reference project :)

@simmsb
Copy link
Owner

simmsb commented Jun 11, 2024

Hey, I can't remember the reasoning exactly. At some point I was trying not to use forked dependencies, and so I added an ADC implementation in the firmware instead of upstream. Then later I hit a point where I had to modify some dependencies (and decided to vendor them in the repository as to minimise testing time), and so I have this mix of peripheral implementations in the firmware (ADC, and the async gpio implementation) and the HAL.

Some of my changes can easily be upstreamed (the ADC implementation, and potentially also the async implementations), but I've also applied quite a few changes that potentially only minimise code size for my project, which I'm not sure would be easily upstreamed.

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

No branches or pull requests

2 participants