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
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
Michael (XIAO Xufeng)
d7d1dee208
system: reset dma when soft reset
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
Ivan Grokhotkov
ed7fbfefac
build system: don't add GCC-specific options when building with clang
2021-01-24 12:48:29 +01:00
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
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
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
Jiang Jiang Jian
9c5a9ae8fd
Merge branch 'bugfix/support_esp32c3_lightsleep_master_cpu_pd_issue' into 'master'
...
fix cpu pd bug of normal light sleep
See merge request espressif/esp-idf!12083
2021-01-22 14:03:10 +08:00
Angus Gratton
a7da0c894b
Merge branch 'feature/c3_master_flash_enc_support' into 'master'
...
flash encryption: merge C3 flash encryption changes to master
See merge request espressif/esp-idf!12040
2021-01-22 12:58:38 +08:00
Mahavir Jain
67c7b6f130
Merge branch 'feature/nvs_encryption_usability_improvements' into 'master'
...
Feature/nvs encryption usability improvements
See merge request espressif/esp-idf!10155
2021-01-22 12:12:26 +08:00
xiehang
d331d7f2a6
example: Fix espnow stuck issue
2021-01-21 11:37:10 +08:00
Aditya Patwardhan
b06fa1d7c2
https_request_example: Updated the example to showcase cacert_buf and global_ca store
...
* Made required changes in the example_test
2021-01-21 01:17:23 +00:00
Jiang Jiang Jian
f7c9f1afd7
Merge branch 'bugfix/avrc_set_player_value_cmd_event_unhandle' into 'master'
...
bugfix/fix unhandle RC vendor PDU when tg receive set_player_app_value cmd
Closes BT-711
See merge request espressif/esp-idf!11807
2021-01-20 23:39:57 +08:00
Jiang Jiang Jian
ffa29f8098
Merge branch 'feature/hfp_console' into 'master'
...
Feature/modify hfp console style by using esp console
Closes BT-1052
See merge request espressif/esp-idf!10973
2021-01-20 23:39:45 +08:00
Li Shuai
eaa6ab4dab
light sleep: add system light sleep example support
2021-01-20 22:17:24 +08:00
Aditya Patwardhan
a02be97fda
nvs_flash: Modify the default NVS initialization API with internal nvs encryption
...
handling (only when nvs encryption is enabled)
* NVS Encryption will now be turned on by default with flash encryption
* Updated the flash encryption example to shocase NVS encryption
along with information on how to configure and use NVS encryption
* Updated respective test case
* Added two partition tables for NVS encryption
i) Table 1- Single factory app, no OTA, encrypted NVS
ii) Table 2- Factory app, Two OTA, encrypted NVS
2021-01-20 11:12:14 +00:00
Jiang Jiang Jian
d017c21131
Merge branch 'nimble/support_wl_DLE_esp32c3' into 'master'
...
NimBLE: Support whtelist remove, packet length set APIs
Closes BT-1271 and BT-1242
See merge request espressif/esp-idf!12069
2021-01-20 17:17:34 +08:00
Jiang Jiang Jian
26ae354dc5
Merge branch 'feature/support_esp32c3_lightsleep_master' into 'master'
...
support esp32c3 lightsleep for master
Closes IDF-2106
See merge request espressif/esp-idf!11975
2021-01-20 16:00:06 +08:00
Prasad Alatkar
3a184b18f2
wifi_prov_mgr: Make BLE transport option visible in example config except for S2
2021-01-20 12:24:17 +05:30
Jiang Jiang Jian
53e1a7f661
Merge branch 'nimble_esp32c3_support' into 'master'
...
ESP32C3 NimBLE support
See merge request espressif/esp-idf!12046
2021-01-20 13:57:38 +08:00
Ivan Grokhotkov
d8a3f59d29
examples/blink: convert tabs to spaces
2021-01-20 01:15:51 +01:00
Prasad Alatkar
f959028486
NimBLE: Fix host flow control in NimBLE porting layer.
...
- Register `ble_hs_flow_acl_free` callback in NimBLE porting layer.
2021-01-19 17:03:00 +05:30
Li Shuai
355dd10257
light sleep: dfs support for esp32c3
2021-01-19 14:50:58 +08:00
xiehang
dffbce9813
esp_wifi: Modify ESP_IF_WIFI_AP to WIFI_IF_AP
2021-01-19 11:58:04 +08:00
xiehang
b8a8fe3f54
esp_wifi: Modify ESP_IF_WIFI_STA to WIFI_IF_STA
2021-01-19 11:55:44 +08:00
lly
bcd9710b86
ble_mesh: ci: Add disable log sdkconfig test files
2021-01-19 02:09:58 +00:00
Mahavir Jain
4ebd258dde
Merge branch 'fix/http2_request_example_enable_insecure_tls_by_default' into 'master'
...
http2_request: Enable insecure TLS by default
See merge request espressif/esp-idf!12042
2021-01-18 21:36:49 +08:00
Jiang Jiang Jian
3748fdbbb3
Merge branch 'feature/wifi_lightsleep_optimization' into 'master'
...
esp_wifi: Wi-Fi lightsleep optimization
See merge request espressif/esp-idf!11811
2021-01-18 20:43:52 +08:00
Jiang Jiang Jian
f5e7504000
Merge branch 'nimble/update_nimble-1.3.0-idf' into 'master'
...
NimBLE: Update NimBLE to latest 1.3.0 release
See merge request espressif/esp-idf!9917
2021-01-18 20:29:10 +08:00
Aditya Patwardhan
64e543ed0a
http2_request: Enable insecure TLS by default
2021-01-18 16:05:46 +05:30
ninh
659d805411
esp_wifi: light sleep optimization
2021-01-18 15:31:03 +08:00
Marius Vikhammer
03fa63b0c9
bootloader: add flash encryption support for C3
...
Adds flash encryption support for C3 and updates docs for S2 & C3
2021-01-18 14:10:54 +08:00
Island
f01264f9d5
Merge branch 'bugfix/ble_mesh_build_error_c3_merge_master' into 'master'
...
Bugfix/ble mesh build error c3 merge master
See merge request espressif/esp-idf!11844
2021-01-18 13:20:48 +08:00
Jiang Jiang Jian
9e059689f2
Merge branch 'bugfix/fix_iperf_example_crash_issue' into 'master'
...
example: Scan failure should not cause system crash
Closes WIFI-3306
See merge request espressif/esp-idf!11998
2021-01-18 10:52:58 +08:00
lly
bcdd470618
ble_mesh: example: Add gpio option for ESP32C3-DevKitC
2021-01-18 08:59:23 +08:00
Angus Gratton
e82fe93b3d
Merge branch 'feature/update_esptool' into 'master'
...
tools: Update esptool submodule
Closes IDFGH-4600
See merge request espressif/esp-idf!12011
2021-01-18 07:13:33 +08:00
Jiang Jiang Jian
8b33695495
Merge branch 'feature/support_esp32c3_s3_ble_5.0_and_bug_fix' into 'master'
...
Feature/support esp32c3 s3 ble 5.0 and bug fix
See merge request espressif/esp-idf!12007
2021-01-17 17:06:12 +08:00
Roland Dobai
eadb69aa36
tools: Update esptool submodule
...
Closes https://github.com/espressif/esp-idf/issues/6415
2021-01-16 09:37:04 +01:00
Prasad Alatkar
afcf0e9101
NimBLE: Enable NIMBLE_MESH_FRIEND
by default for blemesh
example
2021-01-15 16:57:29 +00:00
Prasad Alatkar
8224aa69a2
NimBLE: Update NimBLE to latest 1.3.0 release
2021-01-15 16:57:29 +00:00
Mahavir Jain
526f682397
Merge branch 'bugfix/httpd_session_close_lru' into 'master'
...
esp_http_server: Add flag in sock_db to identify httpd_sess_close is called from httpd_session_close_lru
Closes IDF-2443
See merge request espressif/esp-idf!11543
2021-01-15 20:06:00 +08:00
Mahavir Jain
d43b3b4dd5
Merge branch 'feature/configure_ds_read_and_parse_efuse_summary' into 'master'
...
esp32s2/configure_ds.py: The script now reads and parses the efuse summary
See merge request espressif/esp-idf!11748
2021-01-15 19:54:13 +08:00
xiehang
d9e1d51ec8
example: Scan failure should not cause system crash
2021-01-15 11:45:23 +00:00
Jiang Jiang Jian
9ff1609a20
Merge branch 'feature/add_esptouch_v2' into 'master'
...
WiFi: add ESPTouch v2
Closes WIFI-942 and WIFI-2619
See merge request espressif/esp-idf!10093
2021-01-15 19:11:47 +08:00
zwj
7c1c669799
component/bt: add BLE v5.0 feature for bluedroid host
2021-01-15 17:55:12 +08:00
ninh
27aa6c289f
components/pm: Add slp gpio configure workaround
2021-01-15 15:34:45 +08:00
zhangyanjiao
1da9d9c356
esp_wifi: add esptouch v2
...
Closes https://github.com/espressif/esp-idf/issues/1311
2021-01-15 14:32:46 +08:00
Shubham Kulkarni
59869bf610
http_server example: Add example test which opens multiple connections
2021-01-15 05:53:41 +00:00
Aditya Patwardhan
f97aed80c2
configure_ds.py: Add function documentation for improving redability.
2021-01-14 22:40:40 +05:30
Aditya Patwardhan
5331bc2c71
esp32s2/configure_ds.py: The script now reads and parses the efuse summary of
...
the esp32-s2 chip.
* Added option to read and use previously burned efuse keys
* Added option for the user to save the DS parameters for
* development purpose.
* Updated required documentation.
2021-01-14 22:40:40 +05:30
morris
1969313b6f
rmt: add musical buzzer example
2021-01-14 21:32:49 +08:00
Marius Vikhammer
0713e93b8f
TWAI: bringup for S3 and C3
2021-01-14 20:30:31 +08:00
Mahavir Jain
ccf89cd4bf
wifi_provisioning: fix build warnings due to incorrect event handler argument type
2021-01-14 10:47:35 +05:30
Mahavir Jain
1ae280aee2
wifi_prov_mgr: increase firmware partition size
...
For ESP32-C3, firmware with Bluedroid host stack exceeds by ~20KB over default
allocated partition size.
2021-01-14 10:47:35 +05:30
Mahavir Jain
7d4acd9e17
wifi_prov_mgr: keep SoftAP transport as default only for ESP32S2
...
This allows to have default transport as BLE for all chips except
ESP32S2.
2021-01-14 10:47:35 +05:30
Mahavir Jain
9ca00064bd
Merge branch 'bugfix/send_conn_close_header' into 'master'
...
file_serving example: Demonstrate use of connection close header from request headers
Closes IDFGH-3874
See merge request espressif/esp-idf!11922
2021-01-13 22:59:26 +08:00
Jiang Jiang Jian
755b5d617c
Merge branch 'bugfix/fix_wps_example_issue' into 'master'
...
example: We should not check the return value of esp_wifi_connect() in any case
See merge request espressif/esp-idf!11897
2021-01-13 22:23:27 +08:00
Shubham Kulkarni
6f91d408ab
file_serving example: Demonstrate use of connection close header from request headers
...
Closes: https://github.com/espressif/esp-idf/issues/5775
2021-01-13 13:01:15 +00:00
Liu Han
7f3bcc13d7
esp-modem: prefix the crash issue both bg96 and sim800l in OVERALL mode
2021-01-11 13:47:33 +00:00
Ash
935edc9e09
rename dce parameter
...
Merges https://github.com/espressif/esp-idf/pull/5750
Signed-off-by: Liu Han <liuhan@espressif.com>
2021-01-11 13:47:33 +00:00
Robert Nuttall
d59ffd9128
Expose get operator name command. Add get access tech
...
Signed-off-by: Liu Han <liuhan@espressif.com>
2021-01-11 13:47:33 +00:00
xiehang
c260c223e9
example: We should not check the return value of esp_wifi_connect() in any case
2021-01-11 14:40:18 +08:00
Marius Vikhammer
9c8e4fd4c5
C3: build and run unit tests
...
Enable building and running of unit tests in CI for C3 as well as fix
related compile errors
Also enables building of C3 test apps
2021-01-11 11:34:37 +08:00
Ivan Grokhotkov
66ac736a8c
Merge branch 'bugfix/tusb_partial_read' into 'master'
...
usb: Add fix for tinyusb reading
Closes IDF-2029 and IDFGH-4465
See merge request espressif/esp-idf!10069
2021-01-11 00:07:29 +08:00
Andrei Gramakov
1d1896d409
tinyusb: Add fix for tinyusb reading
...
Closes IDF-2029
2021-01-08 14:21:26 +00:00
liaowenhao
6c0e3fe23c
bugfix:unhandle event when tg receive set_player_app_value cmd
2021-01-08 20:58:35 +08:00
Euripedes Rocha Filho
61f8dc4365
examples/mqtt : Fix ssl mutual auth to use event loop
...
The example for mqtt ssl mutual authentication is now using the event
loop. Thi modification makes it uniform with all the other mqtt
examples.
2021-01-08 07:38:14 +00:00
liaowenhao
60e2eb8dfc
bugfix/fixed the warning info always being printed when entering the cona command in msbc mode
2021-01-07 11:37:24 +00:00
liaowenhao
06344bd531
add gap module in hfp_hf for fisrt connecting
2021-01-07 11:37:24 +00:00
liaowenhao
7e10572e8b
modify console by using console REPL environment
2021-01-07 11:37:24 +00:00
Yinling He
d74eaadd56
test: add softap iperf test
2021-01-07 17:10:41 +08:00
He Yin Ling
97220af848
test: use pyecharts to replace matplotlib in iperf test
2021-01-07 17:10:41 +08:00
He Yin Ling
5197716d5d
test: modify bad point check logic of Wi-Fi iperf test
2021-01-07 17:10:41 +08:00
He Yin Ling
16a488c405
test: fix iperf example errors:
...
1. fix TypeError when running with python3
2. fix throughput chart x/y axis label error
3. make test case compatibile with iperf bin on earlier release branches
2021-01-07 17:10:40 +08:00
ninh
e908a32381
put pm_slp_iram_opt and pm_rtos_iram_opt related attributes in esp_pm/linker.lf
2021-01-06 03:40:28 +00:00
David Cermak
1c093c48ed
Examples: MQTT DS example to use ds_peripheral API
2021-01-05 12:04:36 +00:00
Shubham Kulkarni
3452e06e7e
https_request example: Perform request over HTTP/1.1 to enable keepalive timeout
...
Closes: https://github.com/espressif/esp-idf/issues/6133
2021-01-04 15:39:39 +05:30
He Yin Ling
faeaddbd22
Merge branch 'bugfix/ci_socket_tests' into 'master'
...
ci: Made socket example tests more robust
Closes IDFCI-325
See merge request espressif/esp-idf!11733
2020-12-30 09:52:25 +08:00
Ivan Grokhotkov
7f3b16a99d
freertos: always enable static allocation
...
to use it for newlib locks
2020-12-29 16:18:04 +01:00
David Cermak
25499115eb
ci: Made socket tests more robust
...
Added common timeout
Added debug logs for both addr families
Renamed example tests to have different names
2020-12-29 13:22:54 +00:00
Marius Vikhammer
9fc771ad1b
CI: change icmp example test address
...
Use a server that is inside the great firewall of china for CI test.
This avoid issues due to proxies, network configs etc.
2020-12-28 10:07:00 +08:00
Michael (XIAO Xufeng)
0cee6a9e17
Merge branch 'bugfix/ir_protocol_example_timeout_issue' into 'master'
...
ir_protocol: fix ir example timeout issue
See merge request espressif/esp-idf!11348
2020-12-24 22:42:13 +08:00
Angus Gratton
66d2c9196f
example ulp_riscv: Set IDF_TARGET to esp32s2
2020-12-24 14:18:02 +11:00
Angus Gratton
01696afc34
esp32c3: Add new esp_sleep_is_valid_wakeup_gpio() function
2020-12-24 13:40:01 +11:00
Jiang Jiang Jian
1fdd83b1da
Merge branch 'docs/wifi_wpa2-enterprise' into 'master'
...
docs:wifi: Add wifi_guide for wpa2_enterprise.
Closes WIFI-987
See merge request espressif/esp-idf!10402
2020-12-23 12:50:46 +08:00
Jiang Jiang Jian
52e66cb143
Merge branch 'bugfix/fix_spp_vfs_dynamic_memory_bugs' into 'master'
...
component_bt/fix spp vfs demo crash when use dynamic memory
See merge request espressif/esp-idf!11502
2020-12-23 12:36:44 +08:00
David Čermák
8b82c31f59
Merge branch 'bugfix/ppp_deinit_failure' into 'master'
...
esp_modem: Fixed race condition on exiting PPP mode
Closes IDFGH-4151, IDF-2269, IDFGH-3828, IDFGH-4199, IDFGH-4162, IDFGH-2786, IDFGH-2568, IDFGH-3627, IDFGH-3776, IDFGH-2354, and IDFGH-3705
See merge request espressif/esp-idf!11006
2020-12-22 16:36:23 +08:00
Jiang Jiang Jian
05d48c1ea1
Merge branch 'ajust_espnow_channel_config_range' into 'master'
...
components/wifi: ajust espnow channel range
Closes IDFGH-4445
See merge request espressif/esp-idf!11656
2020-12-22 15:42:18 +08:00
David Cermak
55d41c3377
esp_modem: Fixed race condition on exiting PPP mode
...
esp_modem_stop_ppp() stops both ppp netif and switches the modem back to
command mode. IF these two actions are not synchronised, we might
experience issues of
* active PPP session trying to send/receive uart-data
* command mode already active before modem switched to it
both resulting in crashes.
Fixed by introducing the transition mode and running these actions in sequence
* set esp-modem to transition mode
* enter command mode, wait for the reply or re-sync
* close the PPP netif
* wait until the netif closes
Other fixes include ignoring certain events if modem component not ready
or not in appropriate mode:
* ignoring all UART events comming from DTE with no DCE attached
* ignore pattern detection in PPP mode
Closes https://github.com/espressif/esp-idf/issues/6013
Closes https://github.com/espressif/esp-idf/issues/5737
Closes https://github.com/espressif/esp-idf/issues/6024
Closes https://github.com/espressif/esp-idf/issues/6058
Closes https://github.com/espressif/esp-idf/issues/5563
Closes https://github.com/espressif/esp-idf/issues/5695
Closes https://github.com/espressif/esp-idf/issues/5633
Closes https://github.com/espressif/esp-idf/issues/4482
Related https://github.com/espressif/esp-idf/pull/4849
Related https://github.com/espressif/esp-idf/pull/4653
2020-12-21 16:38:20 +01:00
lly
a18304224d
ble_mesh: ci: Add ble & ble mesh coex sdkconfig test files
2020-12-21 09:08:25 +00:00
Jiang Jiang Jian
0c853a547e
Merge branch 'feature/nimble_bt_wifi_coex_example' into 'master'
...
NimBLE: example running BLE prph & ICMP echo reply simultaneously.
Closes BT-1125
See merge request espressif/esp-idf!11094
2020-12-20 22:43:06 +08:00