Gao Xu
b9a3dd1b37
Merge branch 'bugfix/fix_adc_cali_error_after_light_sleep_wake_on_h2' into 'master'
...
adc: fix calibration error when waking up from light sleep on H2 and enable test
Closes IDF-8569
See merge request espressif/esp-idf!27242
2023-11-24 18:25:35 +08:00
gaoxu
4f81883ccf
fix(adc): restore cali registers after light sleep wake up on H2 and enable test
2023-11-20 17:38:34 +08:00
laokaiyao
74441d14ab
refactor(i2s): make i2s driver as component
2023-11-17 21:29:17 +08:00
Armando
fca46eac52
refactor(spi): make spi driver as component
2023-11-09 14:50:05 +08:00
Armando (Dou Yiwen)
0c81f41e16
Merge branch 'bugfix/fix_wrong_adc_attenuation_name' into 'master'
...
adc: rename ADC_ATTEN_DB_11 to ADC_ATTEN_DB_12
See merge request espressif/esp-idf!26460
2023-11-07 10:37:24 +08:00
Armando
d3be2541de
fix(adc): rename ADC_ATTEN_DB_11 to ADC_ATTEN_DB_12
...
By design, it's 12 dB. There're errors among chips, so the actual
attenuation will be 11dB more or less
2023-11-06 18:55:49 +08:00
morris
2ef14fe55e
refactor(gptimer): refactor gptimer driver into a component
2023-11-06 17:09:31 +08:00
Song Ruo Jing
9461993ec5
refactor(gpio): make gpio driver as component, and fix astyle
2023-11-03 15:42:23 +08:00
Gao Xu
dce1e8d96a
Merge branch 'feature/support_adc_calibration_on_h2' into 'master'
...
adc_cali: supported adc calibration v1 on ESP32H2
Closes IDF-6216
See merge request espressif/esp-idf!26463
2023-11-03 01:49:00 +08:00
gaoxu
c14d7fbb17
feat(adc): added adc enable debug log config
2023-11-01 15:06:20 +08:00
gaoxu
0ea0b39725
feat(adc_cali): Add ADC calibration support for ESP32H2
2023-10-31 11:29:30 +08:00
gaoxu
1fa85abf46
ci(adc): add a test that adc read zero after getting done signal
2023-10-27 17:11:13 +08:00
Zim Kalinowski
fa1a3ce0b5
Merge branch 'refactor/components_linux_compatible' into 'master'
...
Exclude all currently incompatible components from Linux build
Closes IDF-8318 and IDF-5996
See merge request espressif/esp-idf!25598
2023-10-18 20:17:49 +08:00
Jakob Hasse
548022fbe6
refactor(linux): excluded all non-Linux components from build
...
* All components which won't build (yet) on Linux are excluded.
This enables switching to Linux in an application without
explicitly setting COMPONENTS to main in the main
CMakeLists.txt.
* ESP Timer provides headers for Linux now
* automatically disabling LWIP in Kconfig if it is not available
doc(linux): brought section
"Component Linux/Mock Support Overview" up to date
2023-10-16 17:06:54 +08:00
Armando
a31577027e
change(adc): trim adc apps build dependency
2023-10-16 12:48:30 +08:00
Armando
3de0b7218f
refactor(esp_adc): reformat code with astyle_py 2
2023-10-09 15:29:31 +08:00
Kevin (Lao Kaiyao)
2b5203ba1c
Merge branch 'refactor/avoid_float_type_in_hal' into 'master'
...
refactor(hal): avoid float type in hal
See merge request espressif/esp-idf!26149
2023-10-09 10:20:28 +08:00
Armando
b774bd1457
refactor(esp_adc): reformat code with astyle_py
2023-10-08 10:35:52 +08:00
laokaiyao
464bec8ac6
ci(adc): print adc efuse calib version in test
2023-10-07 19:01:04 +08:00
gaoxu
8e9a151dbc
ci(adc): add a test about adc1 work with wifi on c6
2023-09-28 17:41:42 +00:00
Chen Yudong
2e11919f70
fix(ci): change build-test-rules files folder
2023-09-20 19:17:06 +08:00
Armando
73c9182581
feat(adc): added an API to flush the continuous driver pool
2023-08-31 03:52:28 +00:00
morris
54febcae0e
fix(adc): invalid assertion on the adc_unit
2023-08-23 18:36:02 +08:00
Linda
df85758c7e
docs: fix typos in esp_adc/include/esp_adc/adc_continuous.h
2023-08-08 06:11:30 +00:00
Armando
de68029de9
change(header): modify p4 headers issues from check_header_py
2023-08-04 14:13:59 +02:00
Armando (Dou Yiwen)
92419363aa
Merge branch 'feat/const_ptr_adc_io_channel' into 'master'
...
feat(adc): use const pointer in io_to_channel APIs
See merge request espressif/esp-idf!24672
2023-08-02 14:10:35 +08:00
Darian
84eedefca2
Merge branch 'refactor/freertos_port_types_usage' into 'master'
...
FreeRTOS: Remove usage of portXXX_TYPE
See merge request espressif/esp-idf!25107
2023-08-01 19:57:32 +08:00
Darian Leung
6fc935e584
refactor(freertos): Refactor usage of portBASE_TYPE to BaseType_t
...
portBASE_TYPE is an internal macro defined by the porting layer. This commit
changes all references to BaseType_t which is the official type exposed by
FreeRTOS.
2023-07-31 17:10:34 +02:00
Linda
3c1e129ac3
fix(adc_continuous.h): Fix Doxygen syntax error
2023-07-31 12:11:00 +08:00
Armando
83af9f37d4
test(adc): continuous driver iram test with gdma iram safe option only
2023-07-17 10:16:40 +08:00
Armando
8d54030890
fix(adc): fix adc continuous hal func not in iram when gdma isr iram
2023-07-17 10:15:48 +08:00
Armando (Dou Yiwen)
9b17cce08c
Merge branch 'refactor/s_adc_tsen_enabled_logic' into 'master'
...
refactor(adc): maintain s_adc_tsen_enabled in adc driver
See merge request espressif/esp-idf!24627
2023-07-11 18:15:49 +08:00
Armando
984f77fc3e
feat(adc): use const pointer in io_to_channel APIs
2023-07-10 14:36:51 +08:00
Armando (Dou Yiwen)
adb93a3770
Merge branch 'feature/add_esp32p4_soc_support_part_3' into 'master'
...
soc: added soc headers for esp32p4 (part 3)
See merge request espressif/esp-idf!24481
2023-07-07 11:44:46 +08:00
Armando
8bcef5abb0
refactor(adc): maintain s_adc_tsen_enabled in adc driver
2023-07-06 17:28:49 +08:00
laokaiyao
edc1abc8ea
refactor(adc_calib): Simplify 2nd step coefficient calculation
...
- remove unnecessary variables and calculations
- improve readability of code
2023-07-06 14:22:03 +08:00
Armando
d9e25c305a
feat(adc): use soc_caps to decide which files to be included
2023-07-05 11:45:48 +08:00
morris
f0c07f82b5
fix(test): check call graph for hal component
2023-07-05 09:09:01 +08:00
laokaiyao
f949819976
adc_calib: support calibration v2 on esp32c6
2023-06-26 10:40:36 +08:00
Konstantin Kondrashov
c350c3c504
Merge branch 'feature/cleanup_wrong_log_use' into 'master'
...
all: Removes unnecessary newline character in logs
Closes IDFGH-10197
See merge request espressif/esp-idf!24131
2023-06-15 21:49:49 +08:00
Armando (Dou Yiwen)
17d6768e65
Merge branch 'feature/add_target_esp32p4' into 'master'
...
esp32p4: introduce the target
See merge request espressif/esp-idf!24155
2023-06-14 10:16:44 +08:00
Armando
101e6a18eb
esp32p4: introduce the target
...
Add esp32p4 target to tools and Kconfig
Create directories and files that are essential for `idf.py --preview set-target esp32p4`
2023-06-13 15:16:11 +08:00
Chen Jichang
6abdc9b76e
esp_adc:Trim the build components
...
If we don't trim the build components, the build system will import all
components which will increase the load of Gitlab server.
Closes IDF-7459
2023-06-09 16:46:40 +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
Armando (Dou Yiwen)
cd7ef82ab2
Merge branch 'feature/use_circular_dma_desc_link_in_adc_continuous_mode' into 'master'
...
adc: pr 11500, use circular dma descriptors in adc continuous mode
Closes IDFGH-10235
See merge request espressif/esp-idf!24048
2023-06-08 11:51:08 +08:00
morris
d1934d8c45
adc: fixed the issue that multiply overflow before type expand
2023-06-06 14:16:09 +08:00
Armando
97c30c7da6
adc: port gh pr to current adc continuous mode driver
...
DMA EOF may happens per multiple dma descriptors, instead of only one.
Closes https://github.com/espressif/esp-idf/pull/11500
2023-06-05 14:25:53 +08:00
Niklas Gürtler
2a8b9fb636
Fix #10804 by running continuous ADC DMA in endless loop instead of restarting after each run (descriptor chain) to avoid losing samples. Use descriptor error callback for GDMA to check for DMA buffer overrun.
...
Signed-off-by: Armando <douyiwen@espressif.com>
2023-06-05 12:24:14 +08:00
Armando
56c66953da
adc: added flush pool test
2023-05-31 10:55:02 +08:00
Armando
c68e4bbb6f
adc: added a flag to replace internal pool data with newest data, when pool is full
2023-05-31 10:55:01 +08:00