-
-
Notifications
You must be signed in to change notification settings - Fork 62
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
[beken-72xx] Improve ddev ADC support #220
Conversation
The whole "ddev" layer adds so much boilerplate and lowers performance... too bad most functions handling the "requests" are static. I wish we could just |
That would be really confusing :) |
Of course we can. This is just too much work for a single person :) Ultimately (in distant future) I would like to have LibreTiny C APIs (not Arduino APIs) around all peripherals that are now Arduino-only, such as GPIO, ADC, PWM, I2C, SPI, Wi-Fi. The existing Arduino implementations would then be moved to "components" (similar to those in esp-idf, structured like the Those "components" would then use plain register access, slowly getting rid of parts of the vendor SDKs. But those are dreams only 😄 |
Too much work for a single person who does it in their free time and not for money. That's true. |
Yup, that's me 😄 We still have a few more chip families to add... |
One of the users reported issue esphome/issues#5201 with ADC on BK7231N, so I took a look at the code and found something that could be related. I don't own any N device with ADC, so cannot really test this. But I have checked my T devices with this fix and the ADC still works there.