Commit Graph

3159 Commits

Author SHA1 Message Date
xueyunfei
f8a4504bc5 Icmp: get tos parameter in icmp reply
bugfix for add ttl for ping socket
2022-07-11 20:24:18 +08:00
xueyunfei
3e7aefd9fe udp example:Optimization udp example with recv_msg 2022-07-11 19:16:30 +08:00
Jiang Jiang Jian
afc6f7f932 Merge branch 'docs/update_wifi_api_doc_v4.4' into 'release/v4.4'
DOC: update wifi api docs ( backport v4.4)

See merge request espressif/esp-idf!18076
2022-07-07 10:57:36 +08:00
jincheng
9de7886528 lower the priority of application task of a2dp demo 2022-07-01 19:08:47 +08:00
xueyunfei
be5b89d217 wifi example:optimization example of wifi station 2022-07-01 17:39:53 +08:00
Jiang Jiang Jian
1bd2e3f9df Merge branch 'feature/s3_ulp_support_v4.4' into 'release/v4.4'
ulp: Added ULP support for  esp32s3 (v4.4)

See merge request espressif/esp-idf!18621
2022-07-01 10:51:18 +08:00
Jiang Jiang Jian
d28dc7f49b Merge branch 'bugfix/idf_as_lib_cmakelists' into 'release/v4.4'
Build: fix idf_as_lib example and toolchain CMake files (v4.4)

See merge request espressif/esp-idf!18589
2022-07-01 10:44:30 +08:00
Jiang Jiang Jian
5c33bb8ae2 Merge branch 'bugfix/fix_blufi_example_softap_current_connection_equal_zero_issue_v4.4' into 'release/v4.4'
bluetooth: fix two blufi example bugs(Backport v4.4)

See merge request espressif/esp-idf!18772
2022-06-30 17:01:47 +08:00
Jiang Jiang Jian
d5ed8f9db6 Merge branch 'feat/revert_touch_s3_v4.4' into 'release/v4.4'
touch: Added support for using touch in sleep modes back on ESP32-S3 (v4.4)

See merge request espressif/esp-idf!18691
2022-06-30 16:55:23 +08:00
Jiang Jiang Jian
0a8fc491c7 Merge branch 'bugfix/a2dp_source_not_stop_discovery_correctly_v4.4' into 'release/v4.4'
bugfix/avoid wrongly restart discovery in a2dp_source (v4.4)

See merge request espressif/esp-idf!18710
2022-06-30 16:54:52 +08:00
Jiang Jiang Jian
e4e49783db Merge branch 'bugfix/enable_gcmp_gmac_192bit_v4.4' into 'release/v4.4'
esp_example: Enable GCMP, GMAC for 192 bit config example by default(backport v4.4)

See merge request espressif/esp-idf!18681
2022-06-30 16:51:46 +08:00
muhaidong
8827fc28a0 bluetooth: fix two blufi example bugs
1. Softap mode do not assign ip
2. SotAp current connection always show 0
2022-06-30 15:06:53 +08:00
Marius Vikhammer
3c358dd074 ulp: only enable relevant wakeup sources for ULP
Do not enable co-processor trap wakeup source when running ULP FSM, as this
could cause spurious wake-ups.
2022-06-29 11:57:05 +08:00
Sudeep Mohanty
a0e3d488da ulp: Added support for ULP FSM on esp32s3 and fixed bugs for esp32s2
This commit enables ULP FSM support for esp32s3 and updates ULP FSM code
flow for other chips.
It adds C Macro support for the ULP FSM instruction set on esp32s2 and
esp32s3.
The unit tests are also updated to test ULP FSM on ep32s2 and esp32s3.
2022-06-29 11:57:02 +08:00
jincheng
66e52c60f5 avoid wrongly restart discovery 2022-06-28 13:03:44 +08:00
Marius Vikhammer
477844806e re-enable riscv ulp gpio support and examples 2022-06-27 17:17:06 +08:00
Michael (XIAO Xufeng)
c3c802d9b8 Revert "touch_sensor: forbid from using touch sensor with sleep on ESP32-S3"
This reverts commit a84faa3cef.
2022-06-27 14:33:09 +08:00
Kapil Gupta
5a58ab0d4a esp_example: Enable GCMP, GMAC for 192 bit config 2022-06-24 17:37:06 +05:30
gaoxu
afe3bfe19f SPI:fix spi slave example sender ccount issue
On riscv core, core cycle counter counts the clock cycles only when core is active (not sleeping).
In spi_slave/sender example, it uses ccount (core cycle counter) to do a simple debounce.
Therefore, when using spi_slave/sender and spi_slave/receiver, program will be stuck.
This commit fix this issue by using esp_timer
2022-06-22 15:06:29 +08:00
Sudeep Mohanty
b72f987c5c ulp: Added ULP RISC-V support for esp32s3
This commit adds support for ULP RISC-V for esp32s3.

Signed-off-by: Sudeep Mohanty <sudeep.mohanty@espressif.com>
2022-06-22 13:33:14 +08:00
yuanjm
3169baa76d fix(example): Fix wss_server_example not close socket 2022-06-21 14:23:46 +08:00
Omar Chebib
d629502586 Build: fix idf_as_lib example not building 2022-06-21 11:17:39 +08:00
Jiang Jiang Jian
6c5fb29c2c Merge branch 'bugfix/light_sleep_when_rtc_is_used_for_gettimeofday_v4.4' into 'release/v4.4'
esp_hw_support: Fix time spent in light sleep when RTC is used for gettimeofday (v4.4)

See merge request espressif/esp-idf!18413
2022-06-21 01:27:33 +08:00
Aleksei Apaseev
8a2c9cf47f feat: Added tracking startup_time example startup times 2022-06-20 16:20:00 +00:00
KonstantinKondrashov
b0a15716ee esp_hw_support: Fix time spent in light sleep when RTC is used for gettimeofday
The esp_timer was not advanced correctly.
2022-06-20 16:17:00 +00:00
Jiang Jiang Jian
d273837a51 Merge branch 'feature/modbus_update_for_other_targets_v44' into 'release/v4.4'
modbus: update to support other targets (Backport v4.4)

See merge request espressif/esp-idf!17385
2022-06-20 15:34:06 +08:00
Alex Lisitsyn
76bde2df72 modbus: update to support other targets (Backport v4.4) 2022-06-20 15:34:06 +08:00
aditi_lonkar
08c30b1c32 esp_wifi: Fix issue of ca certificate expired 2022-06-19 14:35:23 +00:00
Laukik Hase
b3c2a8c467
provisioning: Updated proto auto-generated files for custom_config example 2022-06-17 15:08:20 +05:30
yuanjm
1bd2145d6b ci: Add PING test for ci 2022-06-16 05:39:19 +00:00
yuanjm
7db0dcf72b fix(websocket): Support handler deal with PING and CLOSE frame 2022-06-16 05:39:19 +00:00
Jiang Jiang Jian
c1ee8ceda8 Merge branch 'bugfix/esp_crt_bundle_build_issue_v4.4' into 'release/v4.4'
esp_crt_bundle: Fix build problems if MBEDTLS_CERTIFICATE_BUNDLE is disabled (v4.4)

See merge request espressif/esp-idf!18464
2022-06-15 10:53:46 +08:00
Jiang Jiang Jian
9fbdb65ac3 Merge branch 'docs/update_pairing_popup_troubleshoot_v4.4' into 'release/v4.4'
docs: Added a subsection for FAQ regarding paring pop up during provisioning (v4.4)

See merge request espressif/esp-idf!18497
2022-06-15 10:53:20 +08:00
Kapil Gupta
f05d741c03 esp_wifi: Add APIs to check BTM and RRM support of connected AP 2022-06-14 14:49:51 +05:30
Rahul Tank
8ad4039cc4 docs: Added a subsection for FAQ regarding paring pop up during provisioning 2022-06-14 11:26:16 +05:30
Mahavir Jain
a597cc80aa
examples: add dependency on cert bundle configuration
Refactor examples to build with MBEDTLS_CERTIFICATE_BUNDLE disabled. Only examples
that can work with certificate bundle disabled have been modified here.
2022-06-12 09:30:31 +05:30
Aditya Patwardhan
384ea8123b https_request_example:
Use local python server to test client session tickets
Update example test to test the client session tickets
Check for minimum heap info in the example test.
2022-06-11 12:19:08 +05:30
Shubham Kulkarni
68ee89eac9 esp_http_client_test.py: Remove check for HTTP manual redirect
Manual redirect example is not backported on release/v4.4
2022-06-11 12:12:29 +05:30
Mahavir Jain
f41a8df4cc Merge branch 'feature/esp-tls_optimize_memory_v4.4' into 'release/v4.4'
esp-tls: add api to free client session(backport v4.4)

See merge request espressif/esp-idf!18410
2022-06-10 20:22:00 +08:00
Li Jingyi
edcc76ec2e https_server: add mbedtls dynamic buffer function test 2022-06-08 15:09:38 +08:00
Li Jingyi
1191d9c8e6 example: https_request update free client session api 2022-06-07 19:37:10 +08:00
Shubham Kulkarni
b291be8a5d esp_http_client example: Add cert for redirect to HTTPS example
esp_http_client_test.py: Add checks for missing example logs
2022-06-07 14:53:25 +05:30
Mahavir Jain
57082d14a5 Merge branch 'feature/semihosting_call_number_change_v4.4' into 'release/v4.4'
Semihosting V2 (v4.4)

See merge request espressif/esp-idf!18332
2022-06-06 20:31:19 +08:00
Erhan Kurubas
c55db5e688 semihosting: drop absolute path support 2022-06-02 11:14:18 +02:00
Ivan Grokhotkov
78480e215a
examples: console: add a readme with an overview of examples 2022-06-01 16:32:28 +02:00
Ivan Grokhotkov
6f57018c9d
examples: support USB_CDC and USB_SERIAL_JTAG in basic console example
Related to https://github.com/espressif/esp-idf/issues/8738
Related to https://github.com/espressif/esp-idf/issues/8879

Doesn’t implement USB_CDC (over USB_OTG peripheral) for ESP32-S3 yet;
this only works on ESP32-S2 for now. On ESP32-S3 it is now possible to
use USB_SERIAL_JTAG console.
2022-06-01 16:32:28 +02:00
Ivan Grokhotkov
80f7b45672
examples: console: move duplicated cmd_wifi files into a new component 2022-06-01 16:32:28 +02:00
Ivan Grokhotkov
cb4a197a98
examples: move console_usb example to console directory 2022-06-01 16:30:14 +02:00
morris
c0dcebc41c Merge branch 'feat/esp32s3_support_gpio_deepsleep_wakeup_v4.4' into 'release/v4.4'
example/deep_sleep: add example of EXT0 and using internal pullups (v4.4)

See merge request espressif/esp-idf!18119
2022-06-01 19:56:17 +08:00
Adam Múdry
12dfcdd1d9 spiffs: Add esp_spiffs_check() function
esp_spiffs_check() exposes SPIFFS_check() functionality to the user
2022-05-27 21:14:33 +00:00
Jiang Jiang Jian
6260f53c14 Merge branch 'feature/modbus_master_fix_check_uart_set_pin_v44' into 'release/v4.4'
example/modbus_master: fix the assert for uart_set_pin (backport v4.4)

See merge request espressif/esp-idf!17624
2022-05-27 11:51:48 +08:00
David Čermák
fc8ef9d1c2 Merge branch 'bugfix/mdsn_fuzzer_extend_v4.4' into 'release/v4.4'
mdns: ~~Extend fuzzing and~~ Fix various petty issues (v4.4)

See merge request espressif/esp-idf!18056
2022-05-20 16:58:13 +08:00
Jiang Jiang Jian
8fe41e2e41 Merge branch 'fix/backport/usb_host/cdc_build' into 'release/v4.4'
usb_host: Don't build CDC host driver for unsupported targets (backport v4.4)

See merge request espressif/esp-idf!17526
2022-05-19 10:38:50 +08:00
Michael (XIAO Xufeng)
bfce7241c4 example/deep_sleep: add example of EXT0 and using internal pullups 2022-05-17 10:45:31 +08:00
David Cermak
0bd2c55413 mdns: Fix potential read behind parsed packet 2022-05-10 16:45:43 +02:00
Jiang Jiang Jian
36823b45cc Merge branch 'bugfix/rrm_dpp_task_delete_v4.4' into 'release/v4.4'
wpa_supplicant: backport WLAN fixes (release v4.4)

See merge request espressif/esp-idf!17655
2022-04-26 12:38:04 +08:00
Ivan Grokhotkov
be2bd983f4 Merge branch 'feature/vfs_semihosting_c3_v4.4' into 'release/v4.4'
vfs: add support for semihosting on ESP32-C3 (v4.4)

See merge request espressif/esp-idf!17527
2022-04-21 04:43:02 +08:00
Kapil Gupta
bac4173161 esp_example: Enable MbedTLS for DPP enrollee by default 2022-04-20 10:08:45 +00:00
Ivan Grokhotkov
01d950feea Merge branch 'bugfix/sdspi_example_esp32s3_v4.4' into 'release/v4.4'
examples: sdspi: re-enable for ESP32-S3, add Kconfig options for pins (v4.4)

See merge request espressif/esp-idf!17420
2022-04-20 06:11:48 +08:00
David Čermák
3604770abb Merge branch 'bugfix/websocket_example_echo_server_v4.4' into 'release/v4.4'
websocket: Updated Kconfig to use 'echo.websocket.events' echo server(v4.4)

See merge request espressif/esp-idf!17604
2022-04-20 05:42:00 +08:00
Ivan Grokhotkov
333fc0c9f8 Merge branch 'bugfix/sdmmc_example_esp32s3_v4.4' into 'release/v4.4'
examples: sdmmc: re-enable for ESP32-S3, add Kconfig options for pins (v4.4)

See merge request espressif/esp-idf!17422
2022-04-20 02:33:42 +08:00
Mahavir Jain
438834b150 Merge branch 'contrib/github_pr_8564_v4.4' into 'release/v4.4'
Fix nested redirect (GitHub PR) (v4.4)

See merge request espressif/esp-idf!17734
2022-04-19 23:36:22 +08:00
Ivan Grokhotkov
ad532236ae vfs: add support for semihosting on ESP32-C3 2022-04-19 13:55:36 +00:00
Wang Meng Yang
37da6d5ede Merge branch 'bugfix/hfp_disc_audio_err_v4.4' into 'release/v4.4'
bugfix/fix_err_when_ag_disc_audio_v4.4

See merge request espressif/esp-idf!17473
2022-04-19 20:07:41 +08:00
Wang Meng Yang
98c41377cc Merge branch 'bugfix/crash_when_reconnect_to_sink_v4.4' into 'release/v4.4'
bugfix/fix the failure of reconnect to sink (v4.4)

See merge request espressif/esp-idf!17476
2022-04-19 20:06:38 +08:00
Ivan Grokhotkov
3fe117f84d
examples: sdmmc: re-enable for ESP32-S3, add Kconfig options for pins 2022-04-19 13:48:54 +02:00
Ivan Grokhotkov
be56c85b18
examples: file_serving: add support for ESP32-S3, refactoring
* Move filesystem mounting code into a separate file to simplify the
  main source file.
* Clean up SDMMC and SDSPI related code. Move pin configuration into
  Kconfig.
* Use same base_path ('/data') for either SPIFFS or SD. Remove the
  check in file_server.c about the base path.
* Update README according to the changes above.
2022-04-19 13:46:37 +02:00
Ivan Grokhotkov
b76971d353
examples: sdspi: use default DMA channel 2022-04-19 13:46:37 +02:00
Ivan Grokhotkov
9b1e76360b
examples: sdspi: re-enable for ESP32-S3, add Kconfig options for pins 2022-04-19 13:46:36 +02:00
Mahavir Jain
792eb70334 Merge branch 'https_server/min_cert_auth_mode_v4.4' into 'release/v4.4'
https_server: Add config option to set minimum certificate auth mode (v4.4)

See merge request espressif/esp-idf!17796
2022-04-19 16:26:22 +08:00
dizcza
5b54b1d2c0 websocket: Updated Kconfig to use 'echo.websocket.events' echo server
Updated README to show how to run websocket echo server using Flask

Merges https://github.com/espressif/esp-idf/pull/8262
2022-04-19 07:36:53 +00:00
Shubham Kulkarni
7509ca57b5 advanced_https_ota/example_test.py: Update redirect URL test to include two redirects 2022-04-19 07:34:33 +00:00
Laukik Hase
c1bb9032c2
https_server: Add config option to min. cert. auth mode
- Added a config option to set the minimum Certificate Verification
  mode to Optional
- When this option is enabled, the peer (the client) certificate
  is checked by the server, however the handshake continues even if
  verification failed.
- By default, the peer certificate is not checked and ignored by the server.

Closes https://github.com/espressif/esp-idf/issues/8664
2022-04-18 11:10:14 +05:30
Laukik Hase
b8263bb5ba
smtp_client: Fixed garbage characters being printed
- The R/W buffers were not cleared before reading/writing
  anything new
2022-04-18 10:33:02 +05:30
Laukik Hase
fd80ad82c2
smtp_client: Fix heap leakage
- Freed all allocated resources by Mbed TLS at the end of routine
2022-04-18 10:33:02 +05:30
Ondrej Kosta
2dff50c3e2 Eth iperf default sdkconfig: Enable lwIP IRAM optimization 2022-04-06 10:44:31 +00:00
Ondrej Kosta
4d581456e4 Added bandwidth limitaion option to iperf test scripts 2022-04-06 10:44:31 +00:00
Ondrej Kosta
3f7cf8a540 iperf: added Tx bandwidth limit option 2022-04-06 10:44:31 +00:00
Elbert van de Put
154778c2a3 example/modbus_master: fix the assert for uart_set_pin
Signed-off-by: aleks <aleks@espressif.com>

Closes https://github.com/espressif/esp-idf/pull/8607
2022-04-05 09:14:08 +00:00
Michael (XIAO Xufeng)
ea27a8543a touch_sensor: forbid from using touch sensor with sleep on ESP32-S3
This is not supported yet.
2022-03-25 14:50:26 +08:00
Tomas Rezucha
161eaeed25 usb_host: Don't build CDC host driver for unsupported targets 2022-03-18 14:49:58 +01:00
jincheng
c265a31c97 fix the failure of reconnect to sink 2022-03-14 11:24:17 +08:00
jincheng
500e4bd06d correct the rate of data-producing
Closes https://github.com/espressif/esp-idf/issues/7911
2022-03-14 10:42:36 +08:00
aleks
d7fafdc916 freemodbus: fix port enable disable sequence for tcp master and slave 2022-03-08 10:07:19 +01:00
Jiang Jiang Jian
dc7cb6de4b Merge branch 'bugfix/ignore_pmf_capable_flag_v4.4' into 'release/v4.4'
Always connect Station in PMF mode if possible (Backport v4.4)

See merge request espressif/esp-idf!17036
2022-03-07 16:24:44 +08:00
Jiang Jiang Jian
a97dd5e0e9 Merge branch 'bugfix/ble_mesh_console_correct_repl_config_prompt_forv4.4' into 'release/v4.4'
ble mesh:example:correct repl config prompt in ble mesh console(v4.4)

See merge request espressif/esp-idf!17183
2022-03-07 11:03:54 +08:00
Yuan Hong Hui
b2e67d6ff1 ble mesh:example:correct repl config prompt in ble mesh console(v4.4) 2022-03-07 11:03:54 +08:00
xueyunfei
e00580109b examples/common_components: iperf: fix closing of client socket in TCP server mode
Details of the problem : After iperf ended, the socket was not closed, resulting in the WIFI buffer not being released.
2022-03-03 15:47:58 +08:00
Mahavir Jain
6ee5e622e8 Merge branch 'bugfix/http_client_ci_v4.4' into 'release/v4.4'
esp_http_client example: Use dl.espressif.com URL for performing request with Range header (v4.4)

See merge request espressif/esp-idf!17316
2022-03-03 00:55:23 +08:00
Mahavir Jain
05bf1cd0f5 Merge branch 'fix/prod_mode_in_configure_ds_script_v4.4' into 'release/v4.4'
configure_ds.py: Fix the error for prod mode. They script now only verifies... (v4.4)

See merge request espressif/esp-idf!17209
2022-03-02 17:19:23 +08:00
Mahavir Jain
27e49aee72 Merge branch 'bugfix/check_chip_id_at_start_ota_v4.4' into 'release/v4.4'
esp_https_ota: fix for checking chip id at start of OTA (v4.4)

See merge request espressif/esp-idf!17220
2022-03-02 17:19:14 +08:00
Mahavir Jain
ae2a6e40ab Merge branch 'bugfix/spiffs_example_test_v4.4' into 'release/v4.4'
examples/spiffs: increase test timeout (v4.4)

See merge request espressif/esp-idf!17265
2022-03-02 16:51:59 +08:00
Shubham Kulkarni
81f8dce34c examples/esp_http_client: Use dl.espressif.com URL for performing request with Range header
esp_http_client_test.py: Add check for range request log
2022-03-02 13:20:28 +05:30
Nachiket Kukade
659306b243 esp_wifi: Always connect Station in PMF mode if possible
While using esp_wifi_set_config, flag pmf_capable defaults to 0.
Users may not bother to enable it, which prevents connection to a
WPA3 AP. Or the AP may reset into WPA3 mode failing the re-connection.
To ensure better security, deprecate the pmf_capable flag and set it to
true internally.
2022-02-28 17:55:42 +05:30
Mahavir Jain
377267775c examples/spiffs: increase test timeout
This is to address frequent CI test failure where test most likely
timeouts during SPIFFS formatting operation.
2022-02-24 09:19:53 +05:30
Harshit Malpani
bf7934aa84 esp_https_ota: fix for checking chip id at start of OTA 2022-02-21 13:55:53 +05:30
Aditya Patwardhan
e37d149233 configure_ds.py: Fix the error for prod mode. They script now only verifies the purpose in the prod mode.
Closes https://github.com/espressif/esp-idf/issues/8285
2022-02-21 01:33:00 +05:30
Martin Valik
d2a2a315ba Bugfix: omit MSC reset during initialization 2022-02-18 15:51:05 +08:00
Darian Leung
6f6986277c usb: Add USB Host Library Example
The commit adds a basic example for the USB Host Library
2022-02-18 15:51:05 +08:00
Darian Leung
ebd058c8c9 usb: Update USB Host Library
This commit updates the USB Host Library as follows:

- usb_helpers.h
    - Removed dependency on USB Host Library API
    - Added function to print string descriptors
- usbh
    - Fixed bug where an interface/endpoint could be claimed/allocated multiple times
    - Removed redundant device ref_count change
- Added unit test for USB Host Library API usage
2022-02-18 15:51:05 +08:00