Michael (XIAO Xufeng)
2b83418141
adc: add fallback calibration method
...
Also:
1. Separate static configuration into init phase to improve
performance
2. Add a init code config layer to avoid duplicated configuration
3. Add a HW_CALIBRATION_V1 caps
2021-01-25 20:30:42 +08:00
Michael (XIAO Xufeng)
3d7da2c8ff
adc: simplify LL on C3
2021-01-25 15:08:55 +08:00
Michael (XIAO Xufeng)
c257daa950
wifi: run adc2 calibration on C3
2021-01-25 15:08:50 +08:00
Armando
3fde25374a
adc: add comment for ADC sampling frequency
2021-01-25 15:08:40 +08:00
Armando
83ed258f6f
adc_digi: update_adc_api_for_5M_freq_limit
...
The ``adc_digi_config_t`` struct is modified on esp32c3: configuration
of clock divider factors are not provided anymore. The SARADC sampling
frequency is provided instead. In this way, we can handle the frequency
limit better.
2021-01-25 15:07:32 +08:00
Michael (XIAO Xufeng)
09cf76515b
Merge branch 'feature/sync_adc_changes_from_c3_to_master' into 'master'
...
adc: sync adc changes from c3 to master
See merge request espressif/esp-idf!11989
2021-01-25 14:43:15 +08:00
Armando
402ccacc10
system: update edma reset in system_api_esp32c3/s3.c
2021-01-25 04:51:40 +00:00
Armando
f5f0461264
tmpsensor: add temp_sensor.h for c3
2021-01-25 04:51:40 +00:00
Armando
f9ec7ddda3
adc: add comment for ADC sampling frequency
2021-01-25 04:51:40 +00:00
Armando
d8a4b247b9
adc_digi: update_adc_api_for_5M_freq_limit
...
The ``adc_digi_config_t`` struct is modified on esp32c3: configuration
of clock divider factors are not provided anymore. The SARADC sampling
frequency is provided instead. In this way, we can handle the frequency
limit better.
2021-01-25 04:51:40 +00:00
Michael (XIAO Xufeng)
56919682be
adc: remove useless adc_ll_set_sar_clk_div in LL
2021-01-25 04:51:40 +00:00
Michael (XIAO Xufeng)
90fc3e7030
adc: update the monitor and filter in the HAL on C3
...
On C3 ADC has no enable bit for monitor and filter. However we can use context variables to implement one
2021-01-25 04:51:40 +00:00
fuzhibo
19fb11549b
driver(adc): update adc ll and hal driver for esp32c3
2021-01-25 04:51:40 +00:00
Armando
5798c22a5c
adc: replace assert with esp check
2021-01-25 04:51:40 +00:00
Armando
271c97149d
rtc_tmpsensor: remove redundant semaphore on c3
2021-01-25 04:51:40 +00:00
Angus Gratton
feb293797f
driver: esp32c3 rtc_tempsensor compile fixes
2021-01-25 04:51:40 +00:00
fuzhibo
33647c7cd4
update temperature Sensor driver for esp32c3
2021-01-25 04:51:40 +00:00
Angus Gratton
a5fb7deda5
driver: Update/cleanup esp32c3 rtc_tempsensor.c
2021-01-25 04:51:40 +00:00
Armando
02600309c8
adc: fix some regression issues
2021-01-25 04:51:40 +00:00
Armando
2b737c1927
adc: fix adc invalid data issue by update adc_reset
2021-01-25 04:51:40 +00:00
Armando
4793bb3267
adc: update adc_dma example README.md
2021-01-25 04:51:40 +00:00
Marius Vikhammer
3fd37d0b59
adc: change the way data is formattted in adc_dma_demo
...
The way the adc_dma_demo data was formatted caused it go get parsed as markdown syntax.
Changed it be more "human" readable as well as put all ADC examples in a common folder
2021-01-25 04:51:40 +00:00
Cao Sen Miao
4e6e34e3ad
adc_i2s: solve the i2s_adc issue when using wifi
2021-01-25 04:51:40 +00:00
Ivan Grokhotkov
34408026bb
wifi: add set_xpd_sar override
...
Wi-Fi enables and disables ADC when exiting and entering sleep mode.
Coordinate ADC power state with other modules, using adc_power_acquire
and adc_power_release.
2021-01-25 04:51:40 +00:00
Ivan Grokhotkov
abe94e3b53
adc: add adc_power_acquire/release, deprecate adc_power_on/off
2021-01-25 04:51:40 +00:00
Michael (XIAO Xufeng)
d7d1dee208
system: reset dma when soft reset
2021-01-25 04:51:40 +00:00
Armando
d35173c147
small fix for cherrypick
2021-01-25 04:51:40 +00:00
Armando
b38f4646de
adc_digi: add dma drivers
2021-01-25 04:51:40 +00:00
Jiang Jiang Jian
76bb9565af
Merge branch 'bugfix/fix_wifi_interface_use' into 'master'
...
esp_wifi: Modify ESP_IF_WIFI_STA to WIFI_IF_STA
See merge request espressif/esp-idf!12050
2021-01-25 12:18:27 +08:00
Jiang Jiang Jian
728801883e
Merge branch 'feature/support_esp32s3_beta2' into 'master'
...
Support ESP32S3 (beta2) WiFi
See merge request espressif/esp-idf!11955
2021-01-25 00:18:43 +08:00
Chen Jian Xing
f71adec8fb
Support ESP32S3 (beta2) WiFi
2021-01-25 00:18:42 +08:00
Michael (XIAO Xufeng)
06f22fc4b0
Merge branch 'feature/new_restart_mode_driver_and_ut_for_spi_slave_hd' into 'master'
...
spi_slave_halfduplex: append mode driver
See merge request espressif/esp-idf!10845
2021-01-24 09:27:12 +08:00
Jiang Jiang Jian
c889df2928
Merge branch 'feature/wifi_wapi_release' into 'master'
...
Feature/wifi wapi release
Closes WIFI-2553
See merge request espressif/esp-idf!11589
2021-01-23 18:15:07 +08:00
Alex
67d0460c2d
Feature/wifi wapi release
2021-01-23 18:15:07 +08:00
Ivan Grokhotkov
106aa180f3
Merge branch 'bugfix/verbose_logging_failure_with_spiram' into 'master'
...
Fix verbose logging bootup failure with spiram
See merge request espressif/esp-idf!11982
2021-01-22 23:03:04 +08:00
Mahavir Jain
2cdc1fcdbf
efuse: change prints to ESP_EARLY_LOG for function called from startup code
2021-01-22 18:00:03 +05:30
Ivan Grokhotkov
cd427c1712
Merge branch 'bugfix/blink_tabs' into 'master'
...
examples/blink: convert tabs to spaces
See merge request espressif/esp-idf!12065
2021-01-22 19:53:50 +08:00
David Čermák
a461f8f115
Merge branch 'bugfix/ws_transport_ping' into 'master'
...
ws_transport: Add option to propagate control packets to the app
Closes IDFGH-4478
See merge request espressif/esp-idf!11957
2021-01-22 19:21:43 +08:00
Mahavir Jain
f5e51e7c1b
Merge branch 'feature/esp32c3_ds_mbedtls_integration' into 'master'
...
esp32c3/Digital Signature: mbedtls integration through ESP-TLS
Closes IDF-2267
See merge request espressif/esp-idf!12033
2021-01-22 17:06:46 +08:00
Mahavir Jain
ba1c8ceddb
Merge branch 'feature/support_transport_keepalive' into 'master'
...
Transport: Add TCP keep-alive function
Closes IDFGH-4543
See merge request espressif/esp-idf!11909
2021-01-22 17:04:05 +08:00
Michael (XIAO Xufeng)
68034a5149
Merge branch 'bugfix/soc_rtcperi_rtcldo' into 'master'
...
fix rtc peripheral wakeup fail bug & clear rtc regulator force on configuration when in deepsleep
See merge request espressif/esp-idf!9709
2021-01-22 16:55:55 +08:00
Michael (XIAO Xufeng)
a08265aad8
Merge branch 'bugfix/fix_x32k_config_param' into 'master'
...
esp32s2/esp32s3: Improve 32k xtal startup time
See merge request espressif/esp-idf!11836
2021-01-22 16:42:54 +08:00
Michael (XIAO Xufeng)
a7168eef39
Merge branch 'feature/update_tinyusb' into 'master'
...
tinyusb: Update tinyusb to the latest upstream version
See merge request espressif/esp-idf!11931
2021-01-22 16:15:08 +08:00
David Cermak
acc7bd2ca4
ws_transport: Add option to propagate control packets to the app
...
Client could choose if they want to receive control packets and handle
them.
* If disabled (default) the transport itself tries to handle PING
and CLOSE frames automatically during read operation. If handled
correctly, read outputs 0 indicating no (actual app) data received.
* if enabled, all control frames are passed to the application to be
processed there.
Closes https://github.com/espressif/esp-idf/issues/6307
2021-01-22 07:22:41 +00:00
yuanjm
7e17f64a2d
Make OTA example support keepalive
2021-01-22 06:56:28 +00:00
Shubham Kulkarni
b53e46a68e
Add options for esp_http_client and esp_websocket_client to support keepalive
2021-01-22 06:56:28 +00:00
yuanjm
044c3e3e74
Modify esp-tls and tcp_transport to support keep alive for tcp and ssl connection
...
Closes IDFGH-4543
2021-01-22 06:56:28 +00:00
Aditya Patwardhan
7c11988d19
configure_ds.py: Fix double quoted strings ( pre_hook check )
2021-01-22 12:11:04 +05:30
Aditya Patwardhan
79c23a1886
esp32c3/Digital Signature: mbedtls integration through ESP-TLS
2021-01-22 11:54:16 +05:30
Angus Gratton
cf9ac2ef9e
Merge branch 'bugfix/wifi_ld_phy_init' into 'master'
...
wifi: remove esp_phy_enable/disable IRAM_attr
See merge request espressif/esp-idf!12094
2021-01-22 14:23:01 +08:00