Commit Graph

26745 Commits

Author SHA1 Message Date
jasta
9325029d87 esp_dpp: Fix retry with esp_supp_dpp_start_listen after failure
This fixes a subtle bug in which ESP_ERR_DPP_TX_FAILURE errors would
call esp_supp_dpp_stop_listen which sets the s_dpp_stop_listening flag
to true.  Subsequent attempts to restart listening with
esp_supp_dpp_start_listen then only attempt to listen once more for
500ms before reading the s_dpp_stop_listening flag again and giving up.

This contributes greatly to #10615, but the fix here is still largely
a work-around as it sometimes requires manually retrying a couple times
before it works.  Without this fix, any number of retries by
deinit/init again will seemingly not work as the retries for currently
unknown reasons.

Signed-off-by: Shreyas Sheth <shreyas.sheth@espressif.com>

Closes https://github.com/espressif/esp-idf/pull/10865
2023-06-12 03:26:10 +00:00
Jiang Jiang Jian
e6ad0a4fa2 Merge branch 'bugfix/fix_wps_with_sae_enabled_ap_v5.0' into 'release/v5.0'
esp_wifi: Fix WPS issue for WPA3+WPA2 mode(v5.0)

See merge request espressif/esp-idf!24154
2023-06-12 11:20:51 +08:00
Jiang Jiang Jian
838850abab Merge branch 'feature/example_deep_sleep_wake_stub_backport_v5.0' into 'release/v5.0'
example: add deepsleep_wake stub example (backport v5.0)

See merge request espressif/esp-idf!23414
2023-06-12 11:07:59 +08:00
Jiang Jiang Jian
86ed0c53d5 Merge branch 'feature/update_nimble_examples_readme_v5.0' into 'release/v5.0'
Nimble:Updated nimble examples README to include chip information (v5.0)

See merge request espressif/esp-idf!22981
2023-06-12 11:06:09 +08:00
Jiang Jiang Jian
a658d37e68 Merge branch 'bugfix/sntp_docs_time_t_64bit_v5.0' into 'release/v5.0'
docs: remove outdated section on custom toolchain for 64-bit time_t (v5.0)

See merge request espressif/esp-idf!23329
2023-06-12 11:02:51 +08:00
Jiang Jiang Jian
34d6805465 Merge branch 'bugfix/mbo_ie_absent_prob_req_v50' into 'release/v5.0'
wpa_supplicant : Add MBO ie in probe request(backport v5.0)

See merge request espressif/esp-idf!24098
2023-06-12 11:02:14 +08:00
Kapil Gupta
a66d93a75f esp_wifi: Fix WPS issue for WPA3+WPA2 mode 2023-06-09 17:58:34 +05:30
Roland Dobai
7493b907ef Merge branch 'feature/extend_proj_desc_json_v5.0' into 'release/v5.0'
extend information in project_description.json (v5.0)

See merge request espressif/esp-idf!24126
2023-06-09 00:52:47 +08:00
Frantisek Hrbata
9156bbb55c tools: extend information in project_description.json
This extends information provided in the project_description.json file.
Newly added information can be used in the SBOM generating tool and
also to improve hints regarding the the component dependency issues.

Added fields

version:
   This adds versioning to the project_description.json file,
   so it's easy to identify if it contains the required information.

project_version:
   Can be used as a version for the resulting binary e.g. `hello_world.bin`.

idf_path:
   This one is probably not necessary, but it allows tools to run even without
   esp-idf environment exported(e.g. export.sh).

c_compiler:
   The `CMAKE_C_COMPILER` value with full path to the compiler binary. This can
   be used to get information about toolchain, which was used to build the project.

common_component_reqs:
   List of common components as presented in cmake's __COMPONENT_REQUIRES_COMMON
   and set in tools/cmake/build.cmake:__build_init().

build_component_info:
   Detailed information about components used during build. It's a
   dictionary with the component name as a key and each component has
   a dictionary with detailed information. Following is an example for
   the efuse component.

   "efuse": {
       "alias": "idf::efuse",
       "target": "___idf_efuse",
       "prefix": "idf",
       "dir": "/home/fhrbata/work/esp-idf/components/efuse",
       "type": "LIBRARY",
       "lib": "__idf_efuse",
       "reqs": [],
       "priv_reqs": [ "bootloader_support", "soc", "spi_flash" ],
       "managed_reqs": [],
       "managed_priv_reqs": [],
       "file": "/home/fhrbata/work/blink/build/esp-idf/efuse/libefuse.a",
       "sources": [ "/home/fhrbata/work/esp-idf/components/efuse/esp32s3/esp_efuse_table.c", ... ],
       "include_dirs": [ "include", "esp32s3/include" ]
   }

Signed-off-by: Frantisek Hrbata <frantisek.hrbata@espressif.com>
2023-06-08 14:30:07 +02:00
Frantisek Hrbata
30735b33ef tools: fix make_json_list to return empty json list for empty cmake list
Currently make_json_list() returns '[ "" ]' for empty cmake list. Fix this
so empty json list is returned instead.

Signed-off-by: Frantisek Hrbata <frantisek.hrbata@espressif.com>
2023-06-08 14:30:07 +02:00
morris
96c4ec8df2 Merge branch 'bugfix/coverity_scan_fix_driver_v5.0' into 'release/v5.0'
ADC: Fixed potential multiply overflow in the calibration code (v5.0)

See merge request espressif/esp-idf!24092
2023-06-08 10:22:45 +08:00
jgujarathi
cecd0250fe wpa_supplicant : Fix scan results for GCMP and GCMP-256 cipher.
Add support for recognising GCMP and GCMP-256 ciphers if used by AP.
Update the scan example to show the correct cipher.
2023-06-07 10:08:26 +05:30
jgujarathi
e84542909c wpa_supplicant : Add MBO ie in probe request.
Adds the MBO information element in the probe request frame by resetting
scan_ie after set_config is done.
2023-06-07 10:08:04 +05:30
morris
839d1a831d drivers: fix issue reported by coverity 2023-06-07 11:43:17 +08:00
morris
4a05274dc4 adc: fixed the issue that multiply overflow before type expand 2023-06-07 11:42:29 +08:00
Ivan Grokhotkov
a6a962d5f8 Merge branch 'bugfix/usb_serial_jtag_select_poll_crash_v5.0' into 'release/v5.0'
vfs: select sanity NULL check (v5.0)

See merge request espressif/esp-idf!23947
2023-06-05 22:26:12 +08:00
Jiang Jiang Jian
9fb999e99a Merge branch 'bugfix/fix_blufi_conn_handle' into 'release/v5.0'
Blufi: use blufi_env.conn_id instead of local variable (v5.0)

See merge request espressif/esp-idf!24012
2023-06-05 21:16:34 +08:00
Jiang Jiang Jian
ca8bf608df Merge branch 'bugfix/fix_sta_auth_fail_but_softap_shows_it_connected_issue_v5.0' into 'release/v5.0'
esp_wifi: fix sta auth failed but softap shows it connected issue(Backport v5.0)

See merge request espressif/esp-idf!23474
2023-06-01 22:06:28 +08:00
Jiang Jiang Jian
66495de446 Merge branch 'feature/add_menuconfig_of_calibration_mode_v5.0' into 'release/v5.0'
Feature/add menuconfig of calibration mode v5.0(Backport v5.0)

See merge request espressif/esp-idf!23263
2023-06-01 19:59:47 +08:00
Jiang Jiang Jian
f9ad773288 Merge branch 'bugfix/hfp_ag_idx_invalid_v5.0' into 'release/v5.0'
bt: Fixed out of bounds access due to variable length array(v5.0)

See merge request espressif/esp-idf!23666
2023-06-01 19:59:22 +08:00
Jiang Jiang Jian
80ffe63209 Merge branch 'bugfix/close_phy_tsens_before_sleep_v5.0' into 'release/v5.0'
sleep: fix deepsleep current leakage caused by phy_tsens (backport v5.0)

See merge request espressif/esp-idf!23910
2023-06-01 19:55:13 +08:00
Jiang Jiang Jian
f859d573d2 Merge branch 'contrib/github_pr_11215_v5.0' into 'release/v5.0'
improve thread safety in esp_timer (GitHub PR) (v5.0)

See merge request espressif/esp-idf!23540
2023-06-01 19:54:45 +08:00
Jiang Jiang Jian
0872feb2a0 Merge branch 'bugfix/eth_lan8720_ci_v5.0' into 'release/v5.0'
esp_eth: start/stop and L2 test stability improvements (v5.0)

See merge request espressif/esp-idf!22317
2023-06-01 19:54:17 +08:00
Jiang Jiang Jian
982f327827 Merge branch 'bugfix/esp32c2_slave_report_address_error_v5.0' into 'release/v5.0'
Bugfix/esp32c2 slave report address error v5.0

See merge request espressif/esp-idf!23924
2023-06-01 19:51:32 +08:00
Jiang Jiang Jian
2f482e1760 Merge branch 'bugfix/fix_wakeup_failed_if_powerdown_flash_in_lightsleep_v5.0' into 'release/v5.0'
Power Management: fixed flash funcs called in sleep wakeup process (backport v5.0)

See merge request espressif/esp-idf!24008
2023-06-01 19:51:09 +08:00
morris
ad09ee968d Merge branch 'bugfix/spi_master_assert_failure_v5.0' into 'release/v5.0'
spi_master: fix the assertion on a NULL desired_dev (v5.0)

See merge request espressif/esp-idf!24005
2023-06-01 11:43:59 +08:00
Marius Vikhammer
e77e6eb963 Merge branch 'bugfix/use_safe_noreturn_attr_v5.0' into 'release/v5.0'
compiler: replaced noreturn by __noreturn__ in header files (v5.0)

See merge request espressif/esp-idf!23812
2023-06-01 10:17:58 +08:00
Rahul Tank
4377ba639b Blufi: use blufi_env.conn_id instead of local variable 2023-05-31 20:10:19 +05:30
wuzhenghui
0ffee5cd2a bugfix: fix wakeup failed if powerdown flash in lightsleep 2023-05-31 19:44:40 +08:00
morris
06fb9f1eb6 spi_master: fix the assertion on a NULL desired_dev
Closes https://github.com/espressif/esp-idf/issues/11536
2023-05-31 17:48:02 +08:00
Wang Meng Yang
dd7e8b7955 Merge branch 'feature/add_bluetooth_nimble_lightsleep_example_v5.0' into 'release/v5.0'
bt: Added an example of Bluetooth using light sleep(v5.0)

See merge request espressif/esp-idf!23687
2023-05-31 11:06:10 +08:00
xiongweichao
871a7568b7 bt: Added an example of Bluetooth using light sleep 2023-05-30 20:25:45 +08:00
zwl
6f5d61ff49 esp_phy:Update phy lib for ESP32-C2 2023-05-30 15:45:54 +08:00
Jakob Hasse
fa099f23f3 compiler: replaced noreturn by __noreturn__ in header files
* noreturn may be replaced by third-party macros,
  rendering it ineffective

* Closes https://github.com/espressif/esp-idf/issues/11339
2023-05-30 13:21:17 +08:00
zwl
2153f59574 ble:fixed the issue that slave reports the wrong address for master when address resolution disable 2023-05-29 20:29:55 +08:00
David Čermák
29e93cb744 Merge branch 'bugfix/eth_driver_cleanup_v5.0' into 'release/v5.0'
Ethernet driver and documentation clean-up (v5.0)

See merge request espressif/esp-idf!23188
2023-05-29 19:58:29 +08:00
Ondrej
dcedccd704 esp_eth pytest: increased robustness of the L2 test
Added filtering frames based on MAC address
2023-05-29 10:49:31 +00:00
Ondrej Kosta
872ada14e2 esp_eth: improved L2 test stability and removed duplicate test cases 2023-05-29 10:49:31 +00:00
Ondrej Kosta
4dc8ce77e4 esp_eth: possible start/stop issue fixed
ESP32 EMAC could hang when stopped/started multiple times at 10Mbps speed mode
2023-05-29 10:49:31 +00:00
morris
dab382c95b Merge branch 'contrib/github_pr_10947_v5.0' into 'release/v5.0'
Update partitions_example.csv (GitHub PR) (v5.0)

See merge request espressif/esp-idf!23956
2023-05-29 17:23:12 +08:00
Roland Dobai
9054ff398f Merge branch 'fix/idf_tools_certificate_v5.0' into 'release/v5.0'
Tools: Update the certificate of idf_tools.py (v5.0)

See merge request espressif/esp-idf!23929
2023-05-29 14:25:12 +08:00
franz-ms-muc
7c5b06e237 Update partitions_example.csv
512K is too small, need to be 528K. see https://github.com/espressif/esp-idf/issues/9084
2023-05-29 14:20:29 +08:00
Mahavir Jain
e31712ee56 Merge branch 'bugfix/fix_memory_leak_in_ws_server_example_v5.0' into 'release/v5.0'
example: Fix memory leak in ws_echo_server when httpd_queue_work failed (backport v5.0)

See merge request espressif/esp-idf!23954
2023-05-29 13:21:58 +08:00
morris
8a9596d42e Merge branch 'bugfix/led_strip_potential_buffer_overwrite_v5.0' into 'release/v5.0'
example: fix led strip memory overwrite before trans done (v5.0)

See merge request espressif/esp-idf!23939
2023-05-29 11:30:04 +08:00
yuanjianmin
7b72adaa78 example: Fix memory leak in ws_echo_server when httpd_queue_work failed
Closes https://github.com/espressif/esp-idf/issues/11507
2023-05-26 20:06:45 +08:00
Adam Múdry
31b2eedc9f vfs: select sanity NULL check
https://github.com/espressif/esp-idf/issues/9964
2023-05-26 13:46:25 +02:00
Island
424d658cc9 Merge branch 'feature/esp32c2_enable_rf_temp_compensation_v5.0' into 'release/v5.0'
Feature/esp32c2 enable rf temp compensation v5.0

See merge request espressif/esp-idf!23729
2023-05-26 16:56:44 +08:00
morris
9d1caf81d3 example: fix led strip memory overwrite before trans done
Closes https://github.com/espressif/esp-idf/issues/11487
2023-05-26 13:28:40 +08:00
Roland Dobai
f0ddb37f06 Merge branch 'fix/hints-print-control-characters_v5.0' into 'release/v5.0'
tools: fix control characters print if hints enabled (v5.0)

See merge request espressif/esp-idf!23890
2023-05-25 23:44:10 +08:00
Roland Dobai
d3885faa43 Tools: Update the certificate of idf_tools.py 2023-05-25 16:30:08 +02:00