-
Notifications
You must be signed in to change notification settings - Fork 6.9k
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: esp32c3: fix overlay and adc driver calib setup #84653
adc: esp32c3: fix overlay and adc driver calib setup #84653
Conversation
The following west manifest projects have changed revision in this Pull Request:
✅ All manifest checks OK Note: This message is automatically posted and updated by the Manifest GitHub Action. |
3578abe
to
1e92bfa
Compare
3a03a6e
to
dbbb983
Compare
@sylvioalves i believe this overlaps with the work in #84380 |
It does, but this is fixing Build is currently failing for esp32c3 ADC. |
1660efb
dbbb983
to
1660efb
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
no #123456
references in commit messages please :)
https://docs.zephyrproject.org/latest/contribute/guidelines.html#:~:text=Do%20not%20include%20GitHub%20references%20in%20the%20commit%20message%20directly%2C%20as%20it%20can%20lose%20meaning%20in%20case%20the%20repository%20is%20forked%2C%20for%20example.
Remove ADC2 support (identified as adc1 entry) for additional ESP32-C3 based board targets. Other boards have those instances already deleted. Signed-off-by: Sylvio Alves <[email protected]>
In case channel_setup is called with a new attenuation config, make sure previous calibration scheme is deleted properly. Signed-off-by: Sylvio Alves <[email protected]>
1660efb
to
34c2ce0
Compare
As a continuation of #84254, remove ADC2 support
for this remaining ESP32C3 based board targets.
This also changes ADC driver to delete previous calib curve in case channel_setup is run again.