Commit Graph

12 Commits

Author SHA1 Message Date
gaoxu
1fa85abf46 ci(adc): add a test that adc read zero after getting done signal 2023-10-27 17:11:13 +08:00
Armando
b774bd1457 refactor(esp_adc): reformat code with astyle_py 2023-10-08 10:35:52 +08:00
KonstantinKondrashov
e72061695e all: Removes unnecessary newline character in logs
Closes https://github.com/espressif/esp-idf/issues/11465
2023-06-09 03:31:21 +08:00
wanlei
e6e641475b adc: add digi monitor test case 2023-05-24 17:46:52 +08:00
laokaiyao
ffb40a89d9 adc_cali: supported channel compensation of adc calibration on esp32c6 2023-05-23 22:44:25 +08:00
Armando
ded528e188 adc: no longer support adc2 oneshot mode on esp32c3
Due to HW limitation, we don't support this anymore. On c3, ADC2 under oneshot mode is not stable.

However, you can enable CONFIG_ADC_ONESHOT_FORCE_USE_ADC2_ON_C3 to force use
ADC2.

Refer to errata to know more details:
https://www.espressif.com/sites/default/files/documentation/esp32-s3_errata_en.pdf
https://www.espressif.com/sites/default/files/documentation/esp32-c3_errata_en.pdf
2022-12-16 02:06:03 +00:00
Armando
508935c457 esp_adc: refacotr tests for all supported attenuations 2022-10-13 21:03:51 +08:00
Armando (Dou Yiwen)
49dc1a32c5 Merge branch 'bugfix/remove_esp_adc_wno_flag' into 'master'
esp_adc: remove wno flag

Closes IDF-5765

See merge request espressif/esp-idf!19791
2022-08-26 22:32:24 +08:00
Armando
50a8d8412e esp_adc: remove wno flag 2022-08-26 15:08:18 +08:00
Armando
a8c0f1feb6 esp_adc: migrate adc wifi test to test app 2022-08-23 21:23:21 +08:00
Armando
5e31d4bb2b esp_adc: add adc ulp mode disable enum
Prior to this commit, adc ulp is disabled by setting
adc_oneshot_unit_init_cfg_t::ulp_mode to false.

After this commit, a new enum `ADC_ULP_MODE_DISABLE` is added. So
setting `ulp_mode` to `ADC_ULP_MODE_DISABLE`, instead of `false`, to
disable the ulp mode.
2022-08-22 11:00:28 +08:00
Armando
5b523a3313 esp_adc: new esp_adc component and adc drivers 2022-07-15 18:31:00 +08:00