03d7a3807b
change(version): Update version to 5.0.5
2023-12-13 13:49:52 +05:50
9fe3bf2a3c
Merge branch 'bugfix/fix_ble_clear_white_list_v5.0' into 'release/v5.0'
...
Fixed add(remove) RPA to(from) white list on ESP32C3(65db61f)(backport 5.0)
See merge request espressif/esp-idf!27757
2023-12-08 19:09:05 +08:00
b1e88e3f6e
Merge branch 'bugfix/remove_bond_v5.0' into 'release/v5.0'
...
fix(nimble): Handled IRK/LTK deletion based on key availability(v5.0)
See merge request espressif/esp-idf!26598
2023-12-08 18:43:20 +08:00
32d3bf7919
fix(bt): Update bt lib for ESP32-C3 and ESP32-S3(65db61f)
...
- Fixed remove and clear white list
2023-12-08 13:40:44 +08:00
2d14933dbc
fix(nimble): Handled IRK/LTK deletion based on key availability.
2023-12-07 13:47:16 +05:30
2e387a71b0
Merge branch 'bugfix/fix_dhcp_server_can_not_restore_address_pool_issue_5.0' into 'release/v5.0'
...
fix(dhcp server):dhcp server can not restore address pool 5.0
See merge request espressif/esp-idf!27692
2023-12-06 16:57:35 +08:00
112ce3f3a5
fix(dhcp server):dhcp server can not restore address pool
2023-12-06 10:32:27 +08:00
ab5576d91d
Merge branch 'bugfix/fix_bleqabr23_808_v5.0' into 'release/v5.0'
...
Fixed assert when LLCP instant passed on ESP32-C3 (backport v5.0)
See merge request espressif/esp-idf!27635
2023-12-05 12:32:45 +08:00
259e8ab25b
fix(bt): Update bt lib for ESP32-C3 and ESP32-S3(b8f0db9)
...
- Fixed assert when llcp instant passed
2023-12-04 17:09:50 +08:00
19919a2222
fix(bt): Update bt lib for ESP32-C3 and ESP32-S3(70ab55f)
...
- Fixed assert for instant passed workaround
- Fixed add RPA to white list
- Fixed AES encryption for RPA resolution
2023-12-04 17:09:38 +08:00
52333aeac9
fix(bt/bluedroid): Fixed add RPA to white list
2023-12-04 17:09:28 +08:00
1d611df0b5
Merge branch 'bugfix/alarm_args_double_free_v5.0' into 'release/v5.0'
...
Bugfix/alarm args double free v5.0
See merge request espressif/esp-idf!27539
2023-12-04 14:57:21 +08:00
a060a261ef
Merge branch 'bugfix/ble_update_lib_20231124_v5.0' into 'release/v5.0'
...
ble(update):Update c2 lib to 79ed4e8a
See merge request espressif/esp-idf!27392
2023-12-01 13:58:16 +08:00
c56fa7ce36
Merge branch 'bugfix/fix_wifi_deinit_s_wifi_modem_sleep_lock_v5.0' into 'release/v5.0'
...
fix(wifi): fix wifi deinit s_wifi_modem_sleep_lock
See merge request espressif/esp-idf!27449
2023-12-01 13:57:41 +08:00
db287328bc
fix(bt/bluedroid): Set the alarm_arg to NULL after releasing to avoid double free in L2CAP layer
2023-11-30 20:14:31 +08:00
bab64a98d8
fix(bt/bluedroid): Set the alarm_arg to NULL after releasing to avoid double free in BTC layer
2023-11-30 20:14:31 +08:00
3cab1a00bc
Merge branch 'feat/max_ver_c3_199_v5.0' into 'release/v5.0'
...
feat(soc): Increase max supported version of C3 to 1.99 (v5.0)
See merge request espressif/esp-idf!26824
2023-11-30 17:01:13 +08:00
893725dd40
feat(soc): Increase max supported version of C3 to 1.99
2023-11-29 15:52:09 +08:00
0b71f8a2d2
ble(fix): fix RX issue on ESP32-C2(amend)
2023-11-29 11:05:11 +08:00
606360d33d
fix(wifi): fix wifi deinit s_wifi_modem_sleep_lock
2023-11-28 20:52:42 +08:00
71ed11a7f0
ble: update rom.ld file
2023-11-24 20:35:07 +08:00
b147fcad42
ble: update sdkconfig_version on ESP32C2, ESP32H2 and ESP32C6
2023-11-24 20:17:28 +08:00
d8dd468631
ble(fix): fix RX issue on ESP32-C2
2023-11-24 19:44:11 +08:00
69e7b56c48
ble:
...
Update c2 lib to 79ed4e8a
2023-11-24 19:20:54 +08:00
32160c7b74
Merge branch 'bugfix/fix_ps_none_wake_null_v5.0' into 'release/v5.0'
...
fix(wifi): fix endless wake null at ps none mode (v5.0)
See merge request espressif/esp-idf!27346
2023-11-23 23:57:07 +08:00
15825570a3
Merge branch 'contrib/github_pr_12052_v5.0' into 'release/v5.0'
...
Two small patches for build system and fatfs (GitHub PR) (v5.0)
See merge request espressif/esp-idf!26432
2023-11-23 19:27:38 +08:00
eaba52d7df
Merge branch 'fix/remove_deprecated_bt_example_sdkfonfigs_v5.0' into 'release/v5.0'
...
ci(bt/bluedroid): remove configs that are not in effect (backport v5.0)
See merge request espressif/esp-idf!27283
2023-11-23 19:14:14 +08:00
893dac658e
Merge branch 'bugfix/validate_random_address_v5.0' into 'release/v5.0'
...
fix(nimble): Added check to validate allowed random address (v5.0)
See merge request espressif/esp-idf!26929
2023-11-23 19:12:15 +08:00
ae02cc7b7c
Merge branch 'feat/dynamic_integration_pipeline_v5.0' into 'release/v5.0'
...
CI: dynamic integration pipeline v5.0
See merge request espressif/esp-idf!26947
2023-11-23 15:17:12 +08:00
85651c507f
Merge branch 'contrib/github_pr_12558_v5.0' into 'release/v5.0'
...
Fix: esptool_py incorrectly assumed target name equals binary name (GitHub PR) (v5.0)
See merge request espressif/esp-idf!27272
2023-11-23 15:13:59 +08:00
a8caeb9af4
Merge branch 'bugfix/fix_lightsleep_current_leakage_on_usj_pad_v5.0' into 'release/v5.0'
...
fix(esp_hw_support): fix lightsleep current leakage on usb pad (backport v5.0)
See merge request espressif/esp-idf!27208
2023-11-23 14:46:38 +08:00
0b740b3b80
fix(wifi): fix endless wake null at ps none mode
2023-11-23 14:43:40 +08:00
cba997763d
Merge branch 'bugfix/fix_some_wifi_bugs_231121_v5.0' into 'release/v5.0'
...
fix(wifi): fix some wifi bugs(Backport v5.0)
See merge request espressif/esp-idf!27306
2023-11-23 14:41:40 +08:00
f97e379122
Merge branch 'fix/twai_crash_on_s3_gpio_19and20' into 'release/v5.0'
...
fix(twai): example crash using usb-serial-jtag gpio (v5.0)
See merge request espressif/esp-idf!26660
2023-11-23 14:34:20 +08:00
3bb601cee7
Merge branch 'feature/mcpwm_trigger_driver_v5.0' into 'release/v5.0'
...
feature(MCPWM): Add MCPWM trigger driver (v5.0)
See merge request espressif/esp-idf!26788
2023-11-23 14:33:20 +08:00
5f497153f7
Merge branch 'bugfix/rmt_stop_issue_v5.0' into 'release/v5.0'
...
fix(rmt): a disabled channel may pick up a pending transaction (v5.0)
See merge request espressif/esp-idf!26780
2023-11-23 14:27:25 +08:00
94c90c71bc
fix(nimble): Added check to validate allowed random address
2023-11-23 10:37:54 +05:30
28224b3af5
Merge branch 'bugfix/fix_wrong_adc_attenuation_name_v5.0' into 'release/v5.0'
...
fix(adc): rename ADC_ATTEN_DB_11 to ADC_ATTEN_DB_12 (v5.0)
See merge request espressif/esp-idf!26968
2023-11-23 12:04:24 +08:00
20d82594d7
Merge branch 'bugfix/ble_gap_connect_v5.0' into 'release/v5.0'
...
fix(nimble):Handled the Load access fault crash caused due to an invalid setting of index-variable 'reattempt_idx'.(v5.0)
See merge request espressif/esp-idf!26950
2023-11-23 12:03:59 +08:00
692952d60e
Merge branch 'bugfix/ledc_max_duty_cycle_v5.0' into 'release/v5.0'
...
fix(ledc): fix ledc driver 100% duty cycle configuration (backport v5.0)
See merge request espressif/esp-idf!27228
2023-11-23 12:03:28 +08:00
a5c2e40416
Merge branch 'bugfix/ble_update_lib_1110_5.0' into 'release/v5.0'
...
Bugfix/ble update lib 1110 5.0
See merge request espressif/esp-idf!27063
2023-11-23 11:05:29 +08:00
457c00eead
Merge branch 'fix/ci_autocomplete_v5.0' into 'release/v5.0'
...
Tools, CI: Improve autocomplete tests (v5.0)
See merge request espressif/esp-idf!27038
2023-11-23 11:04:37 +08:00
201608e590
Merge branch 'bugfix/fix_adc_oneshot_do_not_spilt_clk_v5.0' into 'release/v5.0'
...
fix(adc): fix ADC oneshot mod don't divide clk (v5.0)
See merge request espressif/esp-idf!26676
2023-11-23 11:02:10 +08:00
de88da5370
Merge branch 'bugfix/return_code_of_ota_finish_api_v5.0' into 'release/v5.0'
...
fix(esp_https_ota): fix return code of esp_https_ota_finish API (v5.0)
See merge request espressif/esp-idf!27336
2023-11-23 11:01:20 +08:00
2166b5986e
Merge branch 'bugfix/fix_wifi_init_reentrant_issue_v5.0' into 'release/v5.0'
...
fix(wifi): fix wifi init reentrant issue (v5.0)
See merge request espressif/esp-idf!27175
2023-11-23 10:57:40 +08:00
5c1f5f2522
Merge branch 'bugfix/add_par_check_in_ag_cind_res_v5.0' into 'release/v5.0'
...
Bugfix/add par check in ag cind res v5.0
See merge request espressif/esp-idf!27258
2023-11-23 10:48:16 +08:00
ead822e6ee
fix(esp_hw_support): fix lightsleep current leakage on usb-phy controlled pad
2023-11-23 10:21:02 +08:00
d7667c79ef
Merge branch 'bugfix/fix_dhcp_subnet_option_api_dos_not_work_issue_5.0' into 'release/v5.0'
...
Fix(dhcps):fix dhcp subnet option api dos not work issue 5.0
See merge request espressif/esp-idf!27300
2023-11-23 00:05:38 +08:00
d587d24c43
feat(ci): add test for custom cmake CMAKE_EXECUTABLE_SUFFIX
...
Signed-off-by: Frantisek Hrbata <frantisek.hrbata@espressif.com >
2023-11-22 14:44:18 +00:00
7d87f56e35
fix(build): fix build failure if CMAKE_EXECUTABLE_SUFFIX is set
...
From: Arno Moonen <arno.moonen@airios.eu >
Follows original message from Arno Moonen <arno.moonen@airios.eu >
While integrating the ESP-IDF into our existing CMake structure,
I've come across quite some hurdles. Most I've been able to fix
in our CMake files, however this one I could not.
Most of the targets created by the esptool_py component assume
that the EXECUTABLE IDF build property (which contains the name
of the CMake executable target) always equals the name of the
created binary.
This is however not always true. For instance, in our setup we use
CMAKE_EXECUTABLE_SUFFIX_C and CMAKE_EXECUTABLE_SUFFIX_CXX in our
toolchain file (both set to .elf). If we do add_executable(my_app),
the target binary file would actually be my_app.elf.
In order to fix this, I've updated it to use the TARGET_FILE generated
expression. That way we also no longer need the EXECUTABLE_DIR IDF build
property here.
I've fixed this on v5.0.1 (as that's the ESP-IDF version I'm currently
trying to integrate), but I assume it should be easy to apply the same
fix to newer versions and the master branch as well.
Note that this problem might exist in multiple places where EXECUTABLE
is being used. While going through the ESP-IDF code base, I even noticed
that a few places actually already seem to use the TARGET_FILE expression.
To be honest the property name might be somewhat confusing as well, as it
is actually the executable target.
Closes https://github.com/espressif/esp-idf/pull/12558
2023-11-22 14:44:18 +00:00
2e833a6a12
fix(nimble):Handled the Load access fault crash caused due to an invalid setting of index-varible 'reattempt_idx'.
2023-11-22 19:39:55 +05:30
73de32f29f
fix(esp_https_ota): fix return code of esp_https_ota_finish API
...
Closes https://github.com/espressif/esp-idf/issues/12635
2023-11-22 17:10:31 +05:30
2e5937286c
fix(wifi): fix some wifi bugs
...
1 sta not pmf capable when ap requires should reject profile
2 fix softap set config issue
3 allow some special igtk keyindx to workaround faulty APs
2023-11-22 19:04:43 +08:00
5c4ddf2d83
Merge branch 'bugfix/clear_ulp_wake_intr_in_wake_source_enable_v5.0' into 'release/v5.0'
...
fix(esp_hw_support): clear all type ULP wakeup intr status at ulp wakeup source enable (backport v5.0)
See merge request espressif/esp-idf!27189
2023-11-22 17:33:23 +08:00
1884afc9c4
Merge branch 'bugfix/dpp_config_memset_v5.0' into 'release/v5.0'
...
Wi-Fi: Fixed some DPP issues (v5.0)
See merge request espressif/esp-idf!27193
2023-11-22 17:31:31 +08:00
c0dd50a35b
Merge branch 'bugfix/esp32s3_usb_otg_console_without_efuse_v5.0' into 'release/v5.0'
...
fix(console): switch USB PHY to OTG when OTG is used for console (v5.0)
See merge request espressif/esp-idf!27135
2023-11-22 17:31:10 +08:00
09a9a9257d
Merge branch 'check_debug_aware_config_v5.0' into 'release/v5.0'
...
fix(esp_hw_support): re-enable CONFIG_ESP_DEBUG_OCDAWARE functionality (v5.0)
See merge request espressif/esp-idf!27107
2023-11-22 17:30:59 +08:00
2e0d1508c4
Merge branch 'bugfix/spp_deinit_crash_v5.0' into 'release/v5.0'
...
fix(bt/bluedroid): Fix the crash of invalid access to released resources (v5.0)
See merge request espressif/esp-idf!27252
2023-11-22 17:29:27 +08:00
d920052bf0
Merge branch 'feature/support_for_32_and_128_bit_custom_uuids_v5.0' into 'release/v5.0'
...
feat(bt/bluedroid): Add new APIs for 32 and 128-bit UUIDs (backport v5.0)
See merge request espressif/esp-idf!27231
2023-11-22 17:29:12 +08:00
12ee01fc87
Merge branch 'fix/wifi_prov_mgr_retry_auth_expire_v5.0' into 'release/v5.0'
...
fix (wifi_prov): Retry provisioning on `WIFI_AUTH_EXPIRE` event (v5.0)
See merge request espressif/esp-idf!26902
2023-11-22 17:27:13 +08:00
9998c2bd82
fix(bt/bluedroid): corrected the API documents of profile HFP and A2DP
2023-11-22 09:21:59 +00:00
4c8502e00d
fix(bt/bluedroid): Added some argument check in APIs of HFP AG
2023-11-22 09:21:59 +00:00
ac5ce8d02d
fix(wifi): fix wifi init reentrant issue
2023-11-22 16:58:55 +08:00
293cf4d332
Merge branch 'bugfix/s3_irom_addr_v5.0' into 'release/v5.0'
...
soc: fix SOC_IROM_MASK_HIGH for esp32s3 (v5.0)
See merge request espressif/esp-idf!27137
2023-11-22 13:58:47 +08:00
e4a38c3cba
Merge branch 'bugfix/fix_psram_access_faild_after_pd_cpu_wakeup_v5.0' into 'release/v5.0'
...
fix(esp_pm): fix psram access failed after pd_cpu wakeup if uart driver driven console is used (backport v5.0)
See merge request espressif/esp-idf!27054
2023-11-22 13:58:38 +08:00
1c0fb3bb4a
ble(fix): deinit crash issue
2023-11-22 03:13:43 +00:00
08e4757764
fix(ble): fixed ble occasional rx exception issue
2023-11-22 03:13:43 +00:00
1c261213d7
ble: update controller log module
2023-11-22 03:13:43 +00:00
30cd76b0f0
ble: update c2 lib to db4e1fb2
2023-11-22 03:13:43 +00:00
977b7f4bdb
ble(fix): Fixed the issue of not returning memory to the memory pool after deinit callout
...
ble(fix): Fixed the issue of not returning memory to the memory pool after deinit callout
2023-11-22 03:13:43 +00:00
c0a1d27858
fix(ledc): fix ledc driver 100% duty cycle configuration
...
Update ledc duty cycle value range in doxygen.
Fix duty configuration error at 100% duty cycle for ESP32.
Improve LEDC API doxygen.
Closes https://github.com/espressif/esp-idf/pull/11516
Closes https://github.com/espressif/esp-idf/issues/12593
Closes https://github.com/espressif/esp-idf/issues/12083
2023-11-22 03:12:38 +00:00
fffc6f9328
feat(bt/bluedroid): Add new APIs for 32 and 128-bit UUIDs
...
1. Added new API functions that can add 32 and 128-bit UUID to the EIR data
when these UUIDs are set in SDP.
The old functions that only work with 16-bit UUIDs have been left
unchanged to avoid having to redo code that already utilizes them.
2. Fixed bug with zero handler return in btc_sdp.c
sdp_create_record.handle in tBTA_SDP struct wasn't saved before.
Because of it Bluetooth stack always returned zero handler to
application callback.
Closes https://github.com/espressif/esp-idf/issues/11529
2023-11-22 03:10:00 +00:00
8ae138e7be
fix(bt/bluedroid): Fix the crash of invalid access to released resources
...
It is caused by the delayed timer is alarmed after esp_spp_deinit.
2023-11-22 03:09:13 +00:00
6c9c30f125
Merge branch 'bugfix/coex_deprecate_config_rename_v5.0' into 'release/v5.0'
...
fix(esp_coex): Fix deprecated configuration options not rename to new one (Backport v5.0)
See merge request espressif/esp-idf!27092
2023-11-22 11:07:00 +08:00
ea8b719288
fix(esp_hw_support): clear all type ULP wakeup intr status at ulp wakeup source enable
2023-11-22 03:06:03 +00:00
5f1d3790cc
fix(esp_hw_support): re-enable CONFIG_ESP_DEBUG_OCDAWARE functionality
2023-11-22 03:05:34 +00:00
c29f14e7b2
fix(console): switch USB PHY to OTG when OTG is used for console
...
On ESP32-S3 with the default efuse settings, USB PHY is connected to
the USB_SERIAL_JTAG peripheral. If USB OTG peripheral is used for the
console, we need to additionally switch the PHY to USB OTG, otherwise
we won't get any output.
Closes https://github.com/espressif/esp-idf/issues/12437
2023-11-22 03:04:13 +00:00
3fd3848932
fix(soc): update SOC_IROM_MASK_HIGH for esp32 for consistency
2023-11-22 03:03:35 +00:00
207996eb68
fix(soc): correct SOC_IROM_MASK_HIGH for esp32s3
...
Fixes corrupted backtraces on S3 when a function is in ROM.
Closes https://github.com/espressif/esp-idf/issues/11512
2023-11-22 03:03:35 +00:00
6de1e945c8
fix(esp_pm): fix psram access faild after pd_cpu wakeup
2023-11-22 03:02:06 +00:00
a155523263
fix(wpa_supplicant): memzero wifi config before sending config event
2023-11-22 02:58:06 +00:00
6383609e99
fix(wifi): Disallow DPP and WPS concurrency
2023-11-22 02:58:06 +00:00
40f1ca7666
Fix(dhcps):fix dhcp subnet option api dos not work issue
2023-11-22 02:56:07 +00:00
35f09a6ce6
Merge branch 'bugfix/connect_before_connected_v5.0' into 'release/v5.0'
...
fix(connect): Change second connect time to 730
See merge request espressif/esp-idf!26974
2023-11-22 10:48:38 +08:00
13fdffbe98
Merge branch 'bugfix/pairing_when_enc_with_no_key_fails_v5.0' into 'release/v5.0'
...
fix(nimble): Initate pairing if encryption fails with reason no pin or key missing (v5.0)
See merge request espressif/esp-idf!27018
2023-11-22 10:47:22 +08:00
6d77fe9b79
Merge branch 'backport/fix_ble_scan_rsp_v5.0' into 'release/v5.0'
...
Backport/fix ble scan rsp v5.0(backport v5.0)
See merge request espressif/esp-idf!27006
2023-11-21 12:15:09 +08:00
82aed29e59
ci(bt/bluedroid): remove configs that are not in effect
2023-11-21 10:11:12 +08:00
a84ad081b2
Merge branch 'bugfix/fix_some_ble_bugs_v5.0' into 'release/v5.0'
...
Fixed some BLE bugs (backport v5.0)
See merge request espressif/esp-idf!27167
2023-11-17 10:34:35 +08:00
50b49d856f
fix(bt): Update bt lib for ESP32-C3 and ESP32-S3(2758518)
...
- Fixed power state setting when entering modem sleep
2023-11-15 17:16:46 +08:00
cd242a5e3e
Update bt lib for ESP32-C3 and ESP32-S3(f817304)
...
- Support get the range of TX power level
- Support clear legacy adv using vendor hci
2023-11-15 17:16:19 +08:00
6bf79dfa8f
fix(ble/controller): Fix bugs in setting adv data and scan response data
2023-11-15 17:16:08 +08:00
905da8f5bf
update esp32 bt-lib (6458728)
...
- Modify mesh proxy solic uuid to 0x18590303
- Support get the range of TX power level
- Support clear legacy adv using vendor hci
2023-11-15 17:15:16 +08:00
8cc73fe6bf
feat(bt/bluedroid): support clear legacy advertising
2023-11-15 17:12:40 +08:00
81350e30f3
ci: fix assign test jobs
2023-11-15 05:49:32 +00:00
4d4b89755c
ci: add label rules for integration test
2023-11-15 05:49:32 +00:00
249468e5bc
ci: add qa-test-tag rules
2023-11-15 05:49:32 +00:00
29a2249170
ci: dynamic integration test child pipeline
2023-11-15 05:49:32 +00:00
3405065ed5
Merge branch 'bugfix/fix_deinit_init_wifi_scan_fail_issue_v5.0' into 'release/v5.0'
...
Bugfix/fix deinit init wifi scan fail issue v5.0(Backport v5.0)
See merge request espressif/esp-idf!27053
2023-11-14 15:27:26 +08:00
856daf8a35
disable scan time set by esp_wifi_scan_start
2023-11-14 13:52:55 +08:00
2542b74edd
fix(connect): Change second connect delay time to 730 and not depends on default value
2023-11-14 11:00:32 +08:00
e42bcf2e88
Merge branch 'bugfix/build_error_when_enable_ag_and_hf_v5.0' into 'release/v5.0'
...
fix(bt/bluedroid): Fix build error when both of the HFP roles are enabled (v5.0)
See merge request espressif/esp-idf!27078
2023-11-13 16:00:36 +08:00
33f8e6acea
Merge branch 'bugfix/fix_wifi_issue_v5.0' into 'release/v5.0'
...
esp_wifi: backport some wifi fix(v5.0)
See merge request espressif/esp-idf!27041
2023-11-13 15:59:54 +08:00
27acfa5377
fix(esp_coex): Fix deprecated configuration options not rename to new one
2023-11-13 14:38:38 +08:00
ee53260db8
fix(bt/bluedroid): Fix build error when both of the HFP roles are enabled and also CONFIG_BT_BLE_DYNAMIC_ENV_MEMORY is set to true
2023-11-10 21:08:17 +08:00
3239ef1c8e
Merge branch 'coredump_missing_proj_desc_v5.0' into 'release/v5.0'
...
fix(tools/coredump): ignore missing project description
See merge request espressif/esp-idf!27005
2023-11-10 20:51:30 +08:00
3937e35a08
change(hal): remove useless code from periph_ll_wifi_bt_module_enable_clk
2023-11-10 11:43:01 +08:00
4ee958df57
fix(wifi): fix deinit init wifi scan fail issue
2023-11-10 11:18:12 +08:00
01c5d8d72e
feature(MCPWM): Add MCPWM trigger driver and test
...
Each MCPWM operator has two Trigger (named T0 and T1), and they can be
routed to GPIO fault signal or timer sync event.Generator can be set up
to perform different action on Trigger event.
This commit add a trigger driver and a test for the driver.
fix(mcpwm): fault trigger test forget connect timer and operator
2023-11-09 21:52:37 +08:00
5460d41b43
esp_wifi: backport some wifi fix
...
1. optimize BB filter timer to pass corner case
2. fix parse beacon rsnx ie missed break
2023-11-09 21:52:06 +08:00
1e69dbf6cf
ci(fix): Improve the stability of the autocomplete tests
2023-11-09 14:10:13 +01:00
6ff708aa91
fix(nimble): Initate pairing if encryption fails with reason no pin or key missing
2023-11-09 11:52:16 +05:30
efef840124
fix(twai): twai example crash using usb-serial-jtag pins
...
Calling gpio_hal_iomux_func_sel() via gpio_config() may
disconnects/disables any influence from USJ when using USJ pins
2023-11-09 02:52:27 +00:00
34a6d8ebe7
fix(tools/coredump): ignore missing project description
2023-11-08 13:10:10 +01:00
44f7c7f6bb
fix(bt/bluedroid): Fix ble keysize check
2023-11-08 19:47:32 +08:00
ef444d6a1b
fix(bt/bluedroid): Fix ble adv report evt type
2023-11-08 19:47:26 +08:00
6a7e250442
feat(rmt): support calling rmt_receive in ISR callback
2023-11-08 15:03:44 +08:00
3c1ec70457
fix(connect): Change second connect time to 730
2023-11-07 19:48:49 +08:00
f8500f77b1
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-07 14:12:50 +08:00
d5a32fa5e8
Merge branch 'fix/check_integrity_on_used_blocks_v5.0' into 'release/v5.0'
...
heap: fix integrity check on used blocks by the tlsf component (backport v5.0)
See merge request espressif/esp-idf!26564
2023-11-03 16:40:38 +08:00
403ad764c8
Merge branch 'bugfix/backport_fix_1102' into 'release/v5.0'
...
fix(wifi): backport some wifi fix v5.0
See merge request espressif/esp-idf!26864
2023-11-03 16:35:27 +08:00
b2a4cf197e
fix (wifi_prov): Retry provisioning on WIFI_AUTH_EXPIRE
event
...
- Closes https://github.com/espressif/esp-idf/issues/11749
2023-11-03 11:51:02 +05:30
2d00212e19
Merge branch 'feature/include_hf_and_ag_in_single_build_v5.0' into 'release/v5.0'
...
Feature/include hf and ag in single build v5.0
See merge request espressif/esp-idf!26842
2023-11-03 14:09:35 +08:00
98d617b0dc
fix(wifi): optimize wifi bin size and fix some issue
...
1.Optimize bin size for STA only mode
2.Change fragment threshold to 256
3.Support fragment for LR mode
4.Fix rx fragment fail in Open mode.
5.Fix ampdu duration issue
2023-11-03 11:44:40 +08:00
da2399a2c5
fix(rmt): a disabled channel may pick up a pending transaction
...
because in the trans_done interrupt, the driver didn't check the channel FSM
2023-11-03 02:40:56 +00:00
af91df9e6f
Merge branch 'fix/exception_was_unhandled_for_bt_spp_vfs_acceptor_v5.0' into 'release/v5.0'
...
fix(bt/bluedroid): fix LoadProhibited error in spp vfs acceptor example (backport v5.0)
See merge request espressif/esp-idf!26862
2023-11-03 01:28:30 +08:00
a0c0857d94
Merge branch 'bugfix/ota_fail_on_octal_flash_v5.0' into 'release/v5.0'
...
fix(ota): Fixed OTA fail on octal flash with 32MB memory (backport v5.0)
See merge request espressif/esp-idf!26812
2023-11-02 21:12:06 +08:00
1db67a7133
Merge branch 'bugfix/spi_master_fifo_use_dma_v5.0' into 'release/v5.0'
...
fix(spi): fixed undesired touching to DMA (v5.0)
See merge request espressif/esp-idf!26771
2023-11-02 21:11:10 +08:00
5402e14cfb
fix(esp_wifi): Drop fragmented AMPDU(fixCVE-2020-26142)
2023-11-02 19:20:17 +08:00
ea93f7620b
fix(esp_wifi): Fix key install issue in PTK renew
2023-11-02 19:20:17 +08:00
963284fc4c
Merge branch 'coredump-info-offset_v5.0' into 'release/v5.0'
...
fix(tools/coredump-info): pass non-default partition table offset to esp-coredump (v5.0)
See merge request espressif/esp-idf!26832
2023-11-02 19:20:01 +08:00
dbdd6c7eb8
Merge branch 'bugfix/fix_espcoredump_compilation_warning_v5.0' into 'release/v5.0'
...
fix(espcoredump): fixed compilation warning (v5.0)
See merge request espressif/esp-idf!26592
2023-11-02 16:17:24 +08:00
d8a8149abd
fix(heap): Patch tlsf_check_pool in ROM heap
...
The integrity_walker now calls the integrity check hook to control
free AND used blocks of memory in the TLSF pool. This integrity walker
function is called from tlsf_check_pool.
This commit creates a patch of integrity_walker function to update the
outdated implementation in the ROM.
2023-11-02 09:04:24 +01:00
825f99f16e
fix(heap): Fixed integrity check on used blocks by the tlsf component
...
This commit updates the tlsf submodule to include the modification made in the component
aiming to perform integrity check on all blocks (not only the free ones).
Added test to test the fix in test_apps/heap_tests.
Fixes https://github.com/espressif/esp-idf/issues/12231
2023-11-02 08:21:06 +01:00
3f207efa4b
Merge branch 'bugfix/supplicant_tls_fix_v5.0' into 'release/v5.0'
...
fix(wpa_supplicant): Correct iv lenght passed in mbedtls_cipher_set_iv() (v5.0)
See merge request espressif/esp-idf!26847
2023-11-02 15:13:20 +08:00
ae755628d0
Merge branch 'fix/xtensa-register-corrupted-after-context-switch_v5.0' into 'release/v5.0'
...
fix(xtensa): fix registers curruption on context switch (v5.0)
See merge request espressif/esp-idf!26211
2023-11-02 15:12:56 +08:00
03732b50fd
Merge branch 'feature/pbkdf2_fast_implementation_v5.0' into 'release/v5.0'
...
change(esp_wifi): Copy fastpbkdf2 implementation
See merge request espressif/esp-idf!26852
2023-11-02 15:12:20 +08:00
ea59318583
Merge branch 'bugfix/fix_phy_calibration_error_for_c2_v5.0' into 'release/v5.0'
...
fix(phy): fix phy calibration error in none mode for 26MHz XTAL ESP32C2 (backport v5.0)
See merge request espressif/esp-idf!26556
2023-11-02 15:12:06 +08:00
02089b1825
Merge branch 'bugfix/ble_update_lib_1027_5.0' into 'release/v5.0'
...
ble: update c2 lib to 1d31e175
See merge request espressif/esp-idf!26713
2023-11-02 14:11:34 +08:00
93e973fa21
fix(spi): fixed undesired touching to DMA
...
Closes https://github.com/espressif/esp-idf/issues/12241
2023-11-02 12:32:40 +08:00
2aa66f5188
Merge branch 'bugfix/fix_ble_bond_error_after_reboot_v5.0' into 'release/v5.0'
...
fix(ble/bluedroid): fixed BLE bond error after reboot (backport v5.0)
See merge request espressif/esp-idf!26721
2023-11-02 12:10:57 +08:00
c4affdb943
fix(bt/bluedroid): fix loadprohibited error in spp vfs acceptor example
2023-11-02 11:47:38 +08:00
1f34bece78
Merge branch 'bugfix/remove_iram_attr_from_ceva_files_v5.0' into 'release/v5.0'
...
fix(nimble): remove IRAM_ATTR from npl_os_freertos.c file (v5.0)
See merge request espressif/esp-idf!26840
2023-11-02 11:17:58 +08:00
b1e5ef2c47
fatfs: raw diskio: Fixed handling read-only filesystem
...
ff_ routines incorrectly reported disk state and caused whole fatfs
to lock-up when trying to write to read-only device.
Signed-off-by: Michal Jenikovsky <jendo@jmsystems.sk >
2023-11-02 02:19:09 +00:00
5dafc957ef
idf.py: gdb action incorrectly generated EOL gdbinit scripts
...
GDB on Windows incorrectly reads EOL in the script files causing 'gdb'
action to fail.
(gdb) source .../build/gdbinit/py_extensions
(gdb) source .../build\gdbinit\symbols
add symbol table from file "...\build\bootloader\bootloader.elf"
.../build\gdbinit\symbols:6: Error in sourced command file:
Undefined command: "". Try "help".
Forcing line separator to '\n' resolved the issue
Signed-off-by: Michal Jenikovsky <jendo@jmsystems.sk >
2023-11-02 02:19:09 +00:00
06ac8505b9
fix(xtensa): fix registers curruption on context switch
...
a6, a7 registers may be corrupted on multicore ESP chips while FreeRTOS
Kernel SMP context switch
2023-11-02 02:18:11 +00:00
46f81cebe4
fix(wpa_supplicant): implement sha1_finish for fastpbkdf2
2023-11-01 21:58:00 +05:30
cc12adf71b
ci(esp_wifi): unit test for fast PBKDF2 validation
2023-11-01 21:57:23 +05:30
973aca32be
change(esp_wifi): Port fast_pbkdf2 implementation for mbedlts
...
Add changes to use fast_pbkdf2 as default for PMK calculations.
fast_pbkdf2 is significantly faster than current implementations
for esp chips.
Also removes unnecessary code for pbkdf-sha256 and pbkdf-sha512.
2023-11-01 21:56:56 +05:30
5d26770886
change(esp_wifi): Copy fastpbkdf2 implementation
...
Copy pbkdf2 implementation from https://github.com/ctz/fastpbkdf2(3c56895)
2023-11-01 21:56:48 +05:30
e9ee047908
Merge branch 'feat/support_esp32c3_eco7_wifi_v5.0' into 'release/v5.0'
...
Backport/support esp32c3 v1.1 WiFi/BT/BLE(v5.0)
See merge request espressif/esp-idf!26756
2023-11-01 20:35:05 +08:00
4ae0dc38cc
fix(wpa_supplicant): Correct iv lenght passed in mbedtls_cipher_set_iv()
2023-11-01 18:02:42 +05:30
2b5f344a21
fix(nimble): remove IRAM_ATTR from npl_os_freertos.c file
2023-11-01 17:40:22 +05:30
7135c2d1fa
feat(bt/bluedroid): Support to build HID Host and HID Device in single binary
2023-11-01 19:34:15 +08:00
37d94af1f7
feat(bt/bluedroid): Support to build HFP Audio Gateway and Hands Free Unit in single binary
2023-11-01 19:34:09 +08:00
49f02b3b43
fix(phy): Update phy lib to master
2023-11-01 17:56:48 +08:00
b784bbb27b
fix(tools/coredump-info): pass non-default partition table offset to esp-coredump
2023-11-01 10:27:36 +01:00
a84c563c1e
fix(bt/bluedroid): Fix BLE remove bond list status
2023-11-01 17:14:32 +08:00
52112a9b91
fix(ble/bluedroid): fixed BLE bond error after reboot
2023-11-01 17:13:50 +08:00
52ff4707d8
Merge branch 'backport/fix_ble_bugs_v5.0' into 'release/v5.0'
...
Backport/fix ble bugs v5.0(backport v5.0)
See merge request espressif/esp-idf!26763
2023-11-01 16:05:29 +08:00
912c1666ff
Merge branch 'bugfix/fix_compilation_issue_v5.0' into 'release/v5.0'
...
fix(wpa_supplicant): Fix compilation issue in EAP disabled (v5.0)
See merge request espressif/esp-idf!26728
2023-11-01 13:19:57 +08:00
f5e80b68c7
fix(ota): Fixed OTA fail on octal flash with 32MB memory,
...
Closes https://github.com/espressif/esp-idf/issues/11903
2023-11-01 12:27:16 +08:00
2a3d18c0cc
feat: support ble esp32c3 eco7
2023-10-31 20:38:17 +08:00
c90353291c
fix(esp_wifi): Fix issue of station disconnecting immediately when AP RSSI is zero
2023-10-31 20:38:17 +08:00
20a34298cf
fix(rom): fix rom ld for v5.0
2023-10-31 20:38:17 +08:00
728cd2489a
feat(esp_wifi): support ps-none mode at coexist
2023-10-31 20:38:17 +08:00
345accbe13
fix(rom): remove related rom funcs in c3 rom eco7 MR
2023-10-31 20:38:17 +08:00
3d8915f2b3
feat(wifi): support esp32c3 v1.1 WiFi
...
1.bringup c3 v1.1 and sync func to c3 eco7 rom
2.support to set null&probe lifetime
3.support to adjust listen interval to dtim period
4.support tx pkt w/o wake null
5.allow to tx null0 if requtest to rx data
2023-10-31 20:38:05 +08:00
21885a0cf9
ble: update c2 lib to 6ed444f2
2023-10-31 16:28:50 +08:00
27f1557d70
ble: update c2 rom.ld
2023-10-31 16:28:50 +08:00
30f1c507d4
ble: update c2 lib to 1d31e175
2023-10-31 16:28:49 +08:00
d6165c0859
feat(bt/bluedroid): Display BLE permission check handle in error trace
2023-10-31 14:37:39 +08:00
336244a060
fix(bt/bluedroid): Fix max BLE gattc notify number to improve compatibility
2023-10-31 14:37:39 +08:00
ea64b7cb1b
feat(bt/bluedroid): Support BLE gattc notify registration number
2023-10-31 14:37:39 +08:00
5758407281
fix(bt/bluedroid): Fix key size check in BLE smp
2023-10-31 14:37:39 +08:00
018e84599a
fix(bt/bluedroid): Optimize compatibility with Android 10 and later devices
2023-10-31 14:37:39 +08:00
b19e24ef01
feat(bt/bluedroid): Support hid device control point
2023-10-31 14:37:39 +08:00
fc96662044
fix(bt/bluedroid): Optimize compatibility with IOS and MACOS devices
2023-10-31 14:37:39 +08:00
0e99be11f0
fix(esp32c3): Update esp32c3 chip revision
2023-10-30 20:56:57 +08:00
89bf50f05a
feat(esp32c3): Add rom ld with ROM tag esp32c3-eco7-20230720
2023-10-30 20:55:31 +08:00
a6afbb38a4
Merge branch 'bugfix/backport_wifi_fix_1026_v5.0' into 'release/v5.0'
...
fix(wifi): fix some wifi issues(v5.0)
See merge request espressif/esp-idf!26691
2023-10-30 17:57:53 +08:00
f2da30262a
fix(wpa_supplicant): Fix compilation issue in EAP disabled
2023-10-27 18:09:37 +05:30
4bd203b6da
Merge branch 'bugfix/wps_condition_chain_v5.0' into 'release/v5.0'
...
fix(wifi): Fix static analyzer warning for WPS code (v5.0)
See merge request espressif/esp-idf!26495
2023-10-27 19:46:03 +08:00
eb432da2db
Merge branch 'feature/support_esp32c2_rom_mbedtls_v5.0' into 'release/v5.0'
...
feat(mbedtls): support c2 mbedtls can use crypto algorithm in ROM (backport v5.0)
See merge request espressif/esp-idf!26700
2023-10-27 19:45:26 +08:00
9d8b38bafd
Merge branch 'bugfix/dpp_bugs_v5.0' into 'release/v5.0'
...
fix(wpa_supplicant): Fix few dpp bugs(v5.0)
See merge request espressif/esp-idf!26686
2023-10-27 19:43:53 +08:00
4f97598f7d
Merge branch 'bugfix/iperf_improvements_v5.0' into 'release/v5.0'
...
fix(examples/iperf): Update and rename default TCP/UDP buffer sizes (Backport v5.0)
See merge request espressif/esp-idf!26679
2023-10-27 11:30:19 +08:00
8e5bd616be
Merge branch 'bugfix/unable_to_load_bonded_ble_devices_from_nvs_v5.0' into 'release/v5.0'
...
fix(bt&ble): fix BLE unable to load bonded device info after reboot. (backport v5.0)
See merge request espressif/esp-idf!26466
2023-10-27 10:27:21 +08:00
c2f6a5c180
docs: Update COPYRIGHT.rst since mbedtls supported in C2 ROM
2023-10-26 21:00:39 +08:00
d5fda4a286
docs: add the description of CONFIG_MBEDTLS_USE_CRYPTO_ROM_IMPL
2023-10-26 21:00:39 +08:00
7789d30686
feat(mbedtls): add new config CONFIG_MBEDTLS_USE_CRYPTO_ROM_IMPL for mbedtls unit-test
2023-10-26 21:00:27 +08:00
883d7e793f
feat(mbedtls): support C2 mbedtls can use crypto algorithm in ROM
2023-10-26 20:56:29 +08:00
ecdbdc789c
Merge branch 'doc/update_espnow_example_v5.0' into 'release/v5.0'
...
doc(WiFi/Vendor): Update the ESPNOW example for the recv callback function (backport v5.0)
See merge request espressif/esp-idf!26677
2023-10-26 20:48:56 +08:00
dc85f670aa
fix(bt/bluedroid): update the newest active device in bluetooth
...
1: update the newest active device when an ACL link is established and
the remote device info is not in bond list. This updates will not stored
into NVRAM until a new device is paired.
2023-10-26 19:33:06 +08:00
bde852d403
fix(wifi): backport some wifi fix
...
1.Fix issue with frequent disconections when scanning for only a single
channel.
2.Prints error message and returns ESP_ERR_NOT_SUPPORTED in case
esp32c2 tries to set bandwidth to HT40.
3.Ensure that beacon timeout get trigged once.
2023-10-26 17:59:46 +08:00
5293a3e403
Merge branch 'feature/mbedtls_3_5_0_update_v5.0' into 'release/v5.0'
...
feat(mbedtls): update to 3.5.0 release (v5.0)
See merge request espressif/esp-idf!26477
2023-10-26 17:58:51 +08:00
6bfac2a6e4
fix(wifi): fix some wifi issues
...
1. fix enable psram wapi dhcp fail issue
2. fix tx power issue
2023-10-26 17:55:37 +08:00
bcb6a2f386
fix(wifi): fix ccmp and gcmp PN became large issue
2023-10-26 17:55:37 +08:00
1f5e7e33df
feat(esp_wifi):static buf for management,control,qos null,null data rx packet
2023-10-26 17:55:37 +08:00
349bc1795c
Merge branch 'feature/free_bt_memory_5.0' into 'release/v5.0'
...
feat(bt): Frees BLE memory when no longer in use
See merge request espressif/esp-idf!26574
2023-10-26 17:55:32 +08:00
555891bb54
fix(wifi): fix multi antenna issue
2023-10-26 17:54:35 +08:00
279e00927b
Merge branch 'bufix/Backport_some_lwip_bugs_for_5.0_1026' into 'release/v5.0'
...
Bufix/backport some lwip bugs for 5.0 1026
See merge request espressif/esp-idf!26678
2023-10-26 17:49:42 +08:00
e89e490565
Merge branch 'bugfix/update_scan_example_for_scan_get_ap_records_v5.0' into 'release/v5.0'
...
fix(wifi): update scan example for scan get ap records(Backport v5.0)
See merge request espressif/esp-idf!26681
2023-10-26 16:56:52 +08:00
2100dddaf1
Merge branch 'bugfix/spurious_beacon_timeout_v5.0' into 'release/v5.0'
...
Fixed some WiFi Issues (Backport v5.0)
See merge request espressif/esp-idf!26600
2023-10-26 14:48:44 +08:00
8edd26b4f3
fix(wpa_supplicant): Fix few dpp bugs
...
1) Fix crash in dpp Listen without bootstrap
2) Fix crash on receiving dpp auth_req from hostapd with dpp akm
3) Ensures that the mode is set to station before dpp init
4) Ensures that dpp follows the path of init->bootstrap->listen
2023-10-26 12:09:44 +05:30
b57ff5dce6
fix(wifi): update scan example for scan get ap records
2023-10-26 13:19:07 +08:00
d5bf0121ab
fix(examples/iperf): Update and rename default TCP/UDP buffer sizes
2023-10-26 10:31:22 +05:30
4bd2b33d9b
Fix(tcp):optimize tcp connection
2023-10-26 13:00:44 +08:00
1e3bb1469a
fix(dhcp server):fix set dhcp server poll fail issue
2023-10-26 12:59:57 +08:00
c06e48c02e
doc(WiFi/Vendor): Update the ESPNOW example for the recv callback function
2023-10-26 12:02:37 +08:00
231e822d03
Merge branch 'bugfix/backport_some_ble_bugs_20231020_v5.0' into 'release/v5.0'
...
Fixed some BLE bugs 20231020 (backport v5.0)
See merge request espressif/esp-idf!26606
2023-10-26 11:51:48 +08:00
60d9fd9e3a
fix(adc): fix adc oneshot mod do not split clk
2023-10-26 11:43:41 +08:00
4ba42edafc
Merge branch 'bugfix/fix_cpu_switches_freq_bug_s2s3_to_v5.0' into 'release/v5.0'
...
EspS2/S3: fixed the bug of insufficient voltage when the CPU switches frequency(V5.0)
See merge request espressif/esp-idf!26281
2023-10-25 10:25:14 +08:00
674b533eed
Merge branch 'feature/mcpwm_timer_change_freq_v5.0' into 'release/v5.0'
...
feat(mcpwm): support update timer period dynamically (v5.0)
See merge request espressif/esp-idf!26625
2023-10-25 09:49:03 +08:00
6875e2b7d0
feat(bt): Frees BLE memory when no longer in use
...
It will free libble.a & libbt all txt, data and bss segment memory.
This memory is combined into one large memory and put into the heap
pool.
2023-10-24 06:04:39 +00:00
0187f3b4e3
feat(mcpwm): support update timer period dynamically
...
Implement the requirement asked in
https://www.esp32.com/viewtopic.php?f=13&t=35919
2023-10-24 10:08:29 +08:00
d2b9326df1
Merge branch 'bugfix/docs_hw_breakpoints_num_v5.0' into 'release/v5.0'
...
fix(docs/jtag): Fix hard-coded HW breakpoints/watchpoints number (v5.0)
See merge request espressif/esp-idf!26501
2023-10-23 20:16:27 +08:00
478ac965aa
Merge branch 'fix/remove_esp_hf_ag_devices_status_indchage_in_example_v5.0' into 'release/v5.0'
...
fix(bt/bluedroid): Send device status of AG to HF with a different api (backport v5.0)
See merge request espressif/esp-idf!26588
2023-10-23 16:35:38 +08:00
46c75fc31c
Merge branch 'bugfix/coex_cfg_option_invisible_v5.0' into 'release/v5.0'
...
fix(esp_coex): Fix dependency errors in coexist configuration (Backport v5.0)
See merge request espressif/esp-idf!26581
2023-10-23 16:21:00 +08:00
c6588baf8f
Update BLE lib on ESP32-C3 and ESP32-S3
...
- modify mesh proxy solic uuid to 0x18590303
- Fixed DTM payload length cannot be 0
- Added config to enable Hw recorrect eco
- report the number of packets sent on the TX end
2023-10-20 17:16:53 +08:00
f3729b1610
feat: add config to disable ble hci uart flow control
2023-10-20 17:16:45 +08:00
b13e24f26c
change: enable pll track by default on ESP32
2023-10-20 17:16:37 +08:00
39674d11e0
Add mesh adv type for exception list
2023-10-20 17:16:27 +08:00
3502d25a2e
Update bt lib for ESP32-C3 and ESP32-S3(c8aa206)
...
- Fixed extended adv address setting after adv restart
- Fixed scan channel index setting for extended scan
- Add API to set aux channel index for extended adv
2023-10-20 17:16:17 +08:00
ab427cc1c0
Update bt lib for ESP32-C3 and ESP32-S3(29996e0)
...
- Fixed address resolution for directed adv with RPA when scanning
- Fixed resolvable private address renew after timeout
2023-10-20 17:16:06 +08:00
a16c26c4ca
Add new mesh types for exception list on ESP32-C3 and ESP32-S3
2023-10-20 17:15:55 +08:00
cc746091a9
Fixed bluedroid host build warning when log is disabled
2023-10-20 17:15:45 +08:00
f333925342
Merge branch 'feature/locking_layer_for_ecdsa_v5.0' into 'release/v5.0'
...
feat(esp_hw_support): Added locking mechanism for the ECC peripheral (v5.0)
See merge request espressif/esp-idf!26287
2023-10-20 15:57:16 +08:00
6881b3fa33
fix(esp_wifi): Fixes issues in PMKSA and AID assignment
...
- Fix missing PMKSA flush scenarios.
- Fix wrong AID assigned to station when multiple stations try to connect
simultaneously with mixed order of auth-request and assoc-request frames.
2023-10-20 13:12:12 +05:30
22f31de902
fix(espcoredump): fixed compilation warning
...
Added conditional compilation for logging stack usage only when CONFIG_ESP_COREDUMP_LOGS is
enabled.
Closes: https://github.com/espressif/esp-idf/issues/12318
2023-10-20 11:23:44 +05:30
ded1414d7b
Merge branch 'bugfix/update_ble_lib_1018_5_0' into 'release/v5.0'
...
change(ble): update ble lib on c6 h2 and c2 chip
See merge request espressif/esp-idf!26545
2023-10-20 10:25:25 +08:00
65e0356c3d
fix(bt/bluedroid): Send device status of AG to HF with a different api
...
1: replace api esp_hf_ag_devices_status_indchange with esp_hf_ag_ciev_report in bluetooth
hfp_ag example to send device status of AG to HF unit.
2: remove the unused codes
2023-10-20 10:03:34 +08:00
dd16903b51
fix(esp_coex): Fix dependency errors in coexist configuration
2023-10-19 19:04:32 +08:00
443f2b8ebe
Merge branch 'feature/update-openocd-to-v0.12.0-esp32-20230921_v5.0' into 'release/v5.0'
...
feat(tools): Update OpenOCD version to v0.12.0-esp32-20230921 (v5.0)
See merge request espressif/esp-idf!26550
2023-10-19 17:44:10 +08:00
861410f4eb
Merge branch 'docs/update_wifi_and_wpa_supplicant_documentation_v5.0' into 'release/v5.0'
...
docs(wifi): Update wifi and wifi security documentation_v5.0
See merge request espressif/esp-idf!25752
2023-10-19 10:38:30 +08:00
64ceda77f4
Merge branch 'feat/imporve_iperf_performance_v5.0' into 'release/v5.0'
...
feat(wifi): optimize iperf performance (Backport V5.0)
See merge request espressif/esp-idf!26406
2023-10-19 10:33:28 +08:00
28ba29a95d
fix(wifi): Fix static analyzer warning for WPS code
2023-10-18 17:55:38 +05:30
8b7c87028b
ble: update controller log module for ESP32-C2
2023-10-18 18:03:45 +08:00
3d381ba560
ble: update controller log module for ESP32-C2
2023-10-18 16:59:11 +08:00
e943bbda36
feat(tools): Update OpenOCD version to v0.12.0-esp32-20230921
2023-10-18 10:51:45 +02:00
82563128c8
change(ble): update ble lib on c6 h2 and c2 chip
2023-10-18 16:28:22 +08:00
9ca65d9720
Merge branch 'bugfix/fix_freertos_system_task_names_v5.0' into 'release/v5.0'
...
fix(freertos): Updated IDLE task names for each core to have the coreID as a suffix (v5.0)
See merge request espressif/esp-idf!26119
2023-10-18 16:09:48 +08:00
d5255c9ba8
Merge branch 'contrib/github_pr_12258_v5.0' into 'release/v5.0'
...
fix(vfs): Fix event_write may not exit critical section (GitHub PR) (v5.0)
See merge request espressif/esp-idf!26048
2023-10-18 15:52:04 +08:00
39ea20354d
Merge branch 'fix_esp32s3_irq_names_v5.0' into 'release/v5.0'
...
fix(interrupts): reorder esp32s3 irq names to align with the respective irq numbers (v5.0)
See merge request espressif/esp-idf!26504
2023-10-18 13:48:55 +08:00
5004647fb1
fix(wifi): Fix crash occuring when station SAE group is not set to SECP256R1
2023-10-17 14:11:19 +05:30
79e55b6e92
docs(wifi): Update wifi and wifi security documentation and bugfixes
...
1. Update documentation for WPA3 Enterprise and WPA3 Enterprise 192-bit
mode
2. Update documentation for WPA3 OWE and OWE transition mode
3. Update documentation related to SAE PK, SAE PWE and Transition Disable
4. Update documnetation for wifi connect API
5. Fix config paramter information for wifi scan start
6. Fix documentation related to scan threshold config setting
7. Replace ESP_ERR_WIFI_ARG error code as ESP_ERR_INVALID_ARG
8. Update documentation for 802.11R Fast transition
9. Fix sta connecting with wpa security in enterprise mode
2023-10-17 14:01:18 +05:30
00d58a92dc
Merge branch 'ble_dev/added_modem_reset_on_ble_v5_0' into 'release/v5.0'
...
feat(ble): added modem reset on c2
See merge request espressif/esp-idf!26450
2023-10-17 15:42:12 +08:00
9fc58a706d
fix(interrupts): reorder esp32s3 irq names to align with the respective irq numbers
2023-10-17 09:02:31 +02:00
467cae8a41
Merge branch 'backport_v5.0' into 'release/v5.0'
...
Fix some BLE bugs in bluedroid host(backport 5.0)
See merge request espressif/esp-idf!26168
2023-10-17 11:00:39 +08:00
3229216527
fix(docs/jtag): Fix hard-coded HW breakpoints/watchpoints number
...
Closes https://github.com/espressif/esp-idf/pull/11986
2023-10-16 17:33:48 +03:00
baf04c4334
fix(bt/bluedroid): Fix hid example stack overflow bugs when using esp32s3
2023-10-16 19:30:29 +08:00
98d88f86a7
fix(bt/bluedroid): Fix remove resolving list error for esp32
2023-10-16 19:30:18 +08:00
5c6533d574
fix(bt/bluedroid): Fix bugs in ble service change characteristic
2023-10-16 19:30:08 +08:00
c1b8734fb9
feat(bt/bluedroid): Support scan response data length zero in BLE
2023-10-16 19:29:56 +08:00
18c8d0e04c
fix(bt/bluedroid): Optimize the description of Scan Duplicate in BLE
2023-10-16 19:29:45 +08:00
447e9701ef
Merge branch 'bugfix/usb_serial_jtag_write_return_val_v5.0' into 'release/v5.0'
...
bugfix(usb_serial_jtag): Fix usb_serial_jtag wrong return value, vfs lose data randomly (backport v5.0)
See merge request espressif/esp-idf!26439
2023-10-16 14:26:11 +08:00
c33962259c
Merge branch 'bugfix/temp_clk_gate_v5.01' into 'release/v5.0'
...
fix(temperature_snesor): Put clock gate enable/disable in to sar_periph_ctrl together (backport v5.0)
See merge request espressif/esp-idf!26437
2023-10-16 14:22:13 +08:00
3e90ed6428
fix(mbedtls): remove deprecated MBEDTLS_X509_ALLOW_UNSUPPORTED_CRITICAL_EXTENSION
...
This config has been removed in the upstream mbedTLS starting 3.0
release. Please see mbedTLS changelog for more details.
2023-10-16 03:54:57 +00:00
088c546964
fix(mbedtls): dynamic buffer feature issue with mbedtls 3.5.0
...
Set max TLS version in the SSL context during setup phase. Dynamic
buffer feature overrides the `mbedtls_ssl_setup` API and hence
this change is required per upstream 3.5.0 codebase change.
2023-10-16 03:54:57 +00:00
97fe016e4e
feat(mbedtls): update to 3.5.0 release
...
Changelog:
https://github.com/Mbed-TLS/mbedtls/releases/tag/mbedtls-3.5.0
2023-10-16 03:54:57 +00:00
10ef082950
Merge branch 'feature/update_openthread_upstream_manually' into 'release/v5.0'
...
feat(openthread): update upstream manually.
See merge request espressif/esp-idf!26388
2023-10-16 11:53:39 +08:00
65321ea317
Merge branch 'bugfix/use_bt_sdp_bqb_include_macro_for_ertm_mode_flag_v5.0' into 'release/v5.0'
...
fix(bt/bluedroid): Add correct macro for ertm mode included flag (v5.0)
See merge request espressif/esp-idf!26456
2023-10-16 11:51:56 +08:00
209608623c
Merge branch 'bugfix/config_tpoll_fail_v5.0' into 'release/v5.0'
...
Bugfix/config tpoll fail v5.0
See merge request espressif/esp-idf!26452
2023-10-16 10:59:05 +08:00
f8f999870f
Merge branch 'bugfix/0925_update_libble_c2_v5.0' into 'release/v5.0'
...
ble: update c2 libble to 7ec5b5c1
See merge request espressif/esp-idf!26192
2023-10-16 10:47:32 +08:00
c80e82fa07
fix(bt/bluedroid): Add correct macro for ertm mode included flag
2023-10-13 14:44:35 +08:00
64e1f2fe5e
feat(bt/hci): Added Vendor-Specific HCI command to disable DM1 for ACL-U
2023-10-13 14:22:39 +08:00
299fa49d75
fix(bt/bluedroid): Triggering disconnect event of GAP correctly
2023-10-13 14:22:39 +08:00
363f37cc67
fix(bt/bluedroid): Fix issue of QoS configuration failure when t_poll is greater than 40
2023-10-13 14:22:39 +08:00
dc8e00e22f
feat(ble): added modem reset on c2
2023-10-13 11:44:18 +08:00
dc6fd94048
fix(usb_serial_jtag): Clean-up usb_serial_jtag lose byte fix, Closes https://github.com/espressif/esp-idf/pull/11344
2023-10-12 15:13:41 +08:00
8037563c53
[Usb Serial JTAG] printing to console could sometimes skip bytes
2023-10-12 15:13:30 +08:00
3a04291f8e
fix(usb_serial_jtag): Fix usb_serial_jtag wrong return value, vfs lose data randomly,
...
Closes https://github.com/espressif/esp-idf/issues/12119 ,
Closes https://github.com/espressif/esp-idf/pull/11344 ,
Closes https://github.com/espressif/esp-idf/issues/9318
Closes https://github.com/espressif/esp-idf/issues/11192
2023-10-12 15:13:21 +08:00
5c692796e8
fix(temperature_snesor): Put clock gate enable/disable in to sar_periph_ctrl together
2023-10-12 14:21:24 +08:00
f1efc6223e
Merge branch 'bugfix/authmode_log_192_bit_v5.0' into 'release/v5.0'
...
WPA3 enterprise 192 bit fix and config modification (Backport v5.0)
See merge request espressif/esp-idf!26163
2023-10-12 10:36:10 +08:00
26fbfe7d94
ble: update tx power level index of ESP32-C2
2023-10-11 21:05:21 +08:00
b7f17f7531
ble:update c2 libble to 6a8d1f3d
2023-10-11 20:55:26 +08:00
6a33321693
Merge branch 'bugfix/deepfree_v50' into 'release/v5.0'
...
fix(ble_mesh): fix compilation failure on using scene model. (v5.0)
See merge request espressif/esp-idf!26358
2023-10-11 19:28:53 +08:00
d9af38524b
fix(ble_mesh): fix compilation failure on using scene model. (v5.0)
2023-10-11 19:28:53 +08:00
d2b82b47c7
feat(wifi): optimize iperf performance (Backport V5.0)
2023-10-11 17:14:52 +08:00
82ccd61c06
Merge branch 'bugfix/napt_updatesV5.0' into 'release/v5.0'
...
feat(lwip): Fixes and Improvements for NAPT and SBOM Support (v5.0)
See merge request espressif/esp-idf!26336
2023-10-11 15:28:16 +08:00
fd10813b41
Merge branch 'bugfix/ksz8041_model_number_0x13_v5.0' into 'release/v5.0'
...
fix(esp_eth): Add model number 0x13 to list of suported models (v5.0)
See merge request espressif/esp-idf!26381
2023-10-11 15:22:06 +08:00
b9a15e601b
Merge branch 'feat/monitor_port_detection' into 'release/v5.0'
...
feat(tools/monitor): add simple port detection [backport v5.0]
See merge request espressif/esp-idf!26329
2023-10-10 20:31:19 +08:00
c08f099361
Merge branch 'fix/bp_wp_in_panic_v5.0' into 'release/v5.0'
...
fix(breakpoint): fix bp/wp logic when debugger is connected (v5.0)
See merge request espressif/esp-idf!25634
2023-10-10 17:57:51 +08:00
bcd5292435
Merge branch 'bugfix/security_check_order_in_startup_v5.0' into 'release/v5.0'
...
fix(startup): flip the security configuration check order (v5.0)
See merge request espressif/esp-idf!26362
2023-10-10 17:10:28 +08:00
3df12b0c7d
Merge branch 'bugfix/BLEQABR23-414_v50' into 'release/v5.0'
...
bugfix(mesh): Fix PB-GATT adv is reported to the app layer too frequently(v5.0)
See merge request espressif/esp-idf!25896
2023-10-10 12:01:42 +08:00
f3f0917166
bugfix(mesh): Fix PB-GATT adv is reported to the app layer too frequently(v5.0)
2023-10-10 12:01:41 +08:00
7d6b70c48e
feat(openthread): update upstream manually.
2023-10-10 11:37:53 +08:00
437fbbc518
fix(esp_wifi): WPA3 enterprise 192 bit fix and config modification
...
1. Added SOC caps dependency for enabling 192 bit security in wifi enterprise example
2. Fixed authmode in log and connected event for WPA3 enterprise 192 bit security
2023-10-09 16:34:14 +05:30
2cb11f7698
fix(esp_eth): Add model number 0x13 to list of suported models
...
Add model number 0x13 to KSZ80xx driver's list of supported models
corresonding to KSZ8041RLNI.
2023-10-09 12:47:38 +02:00
ae5cbbf656
Merge branch 'feat/add_support_to_add_auth_data_v5.0' into 'release/v5.0'
...
fix(esp_http_client): Call event_handler after header value is received (v5.0)
See merge request espressif/esp-idf!26322
2023-10-09 16:24:26 +08:00
67a1fe6373
fix(startup): flip the security configuration check order
...
For cases where the bootloader is not enabled with the security features
ends up receiving an incorrect application with flash encryption enabled
should not really program any security efuses.
In the startup sequence, we first used to program the ROM DL mode
configuration but now we check for the flash encryption related checks
first. If the flash encryption related checks finds that flash
encryption is not enabled on the device then it aborts the boot process.
This is the case with `CONFIG_SECURE_FLASH_CHECK_ENC_EN_IN_APP` enabled.
This would at-least ensure that accidental program of security enabled
application does not really program any ROM DL mode efuses and there is
chance to recover the device.
2023-10-09 03:30:11 +00:00
0f3eb4f5a6
Merge branch 'bugfix/pbc_overlap_in_wps_pin_method_v5.0' into 'release/v5.0'
...
wpa_supplicant: Fix for issue of wps-pbc overlap in wps-pin method(v5.0)
See merge request espressif/esp-idf!25738
2023-10-08 14:09:22 +08:00
8093ef885e
Merge branch 'fix/spi_polling_api_buslock_logic_v5.0' into 'release/v5.0'
...
fix(spi_master): polling_transmit forgot release bus lock when alloc DMA buffer failed (v5.0)
See merge request espressif/esp-idf!25577
2023-10-08 11:41:50 +08:00
52342cda83
Merge branch 'change/remove_s3_120_sdr_warning_v5.0' into 'release/v5.0'
...
mspi: remove s3 120mhz sdr warning (v5.0)
See merge request espressif/esp-idf!26255
2023-10-08 10:52:41 +08:00
1b5a9a9420
Merge branch 'bugfix/check_mapping_target_conflict_v5.0' into 'release/v5.0'
...
fix(ldgen): check target conflict for entries with section aliases (v5.0)
See merge request espressif/esp-idf!26124
2023-10-07 14:38:01 +08:00
1f870c8102
Merge branch 'feature/rename_wpa2_ent_to_eap_client_v5.0' into 'release/v5.0'
...
WiFi: Rename WPA2 enterprise APIs to EAP Client. (v5.0)
See merge request espressif/esp-idf!26098
2023-10-07 14:33:17 +08:00
f2dbd880ee
Merge branch 'bugfix/set_eir_when_no_eir_data_v5.0' into 'release/v5.0'
...
change(bt/bluedroid): Send a name tag with zero length when there is no EIR data
See merge request espressif/esp-idf!25950
2023-10-07 14:31:11 +08:00
32dcb1abd9
Merge branch 'bugfix/BLEQABR23-632v50' into 'release/v5.0'
...
fix(ble_mesh): avoid executing bt_mesh_host_init() more than once when using nimble (v5.0)
See merge request espressif/esp-idf!26242
2023-10-07 14:29:17 +08:00
9dc12cb8c2
fix(ble_mesh): avoid executing bt_mesh_host_init() more than once when using nimble (v5.0)
2023-10-07 14:29:16 +08:00
ffae14ac1d
Merge branch 'bugfix/suppress_compiler_warning_silent_reboot_is_enabled_v5.0' into 'release/v5.0'
...
fix(esp_system): suppress compiler warning if ESP_SYSTEM_PANIC_SILENT_REBOOT is enabled (backport v5.0)
See merge request espressif/esp-idf!26037
2023-10-07 14:28:52 +08:00
64639bb296
Merge branch 'test/bqb_test_bt_classic_hfp_v5.0' into 'release/v5.0'
...
feat(bt/hfp): Add support for HFP BQB auto test (backport v5.0)
See merge request espressif/esp-idf!26223
2023-10-07 14:28:28 +08:00
d4b9cb7e63
Merge branch 'test/bqb_test_bt_classic_l2cap_v5.0' into 'release/v5.0'
...
feat(bt/bluedroid): Add flags for BQB auto test of L2CAP (backport v5.0)
See merge request espressif/esp-idf!26219
2023-10-07 14:27:06 +08:00
ef2a051313
Merge branch 'bugfix/hfp_api_pkt_stat_nums_v5.0' into 'release/v5.0'
...
fix(bt/bluedroid): Fix the judgment condition for packet transmission status statistics (backport v5.0)
See merge request espressif/esp-idf!26170
2023-10-07 14:25:13 +08:00
7b786f7716
Merge branch 'bugfix/reduce_bss_logging_v5.0' into 'release/v5.0'
...
wifi: Reduce BSS logging in wpa_supplicant
See merge request espressif/esp-idf!25824
2023-10-07 14:22:58 +08:00
acfe0474dd
Merge branch 'ci/connect_at_different_phase_v5.0' into 'release/v5.0'
...
ci(wifi): Test connect api at different phase (backport v5.0)
See merge request espressif/esp-idf!25673
2023-10-07 14:21:54 +08:00
08a83bbea5
feat(lwip): Fixes and Improvements for NAPT and SBOM Support
...
- napt: restore to the initial state in deinit (espressif/esp-lwip@5c4f899f )
- napt: Fix ip_portmap_add() to keep only one port mapping (espressif/esp-lwip@d65ad241 )
- napt: Fix clean compilation (espressif/esp-lwip@7033e26f )
- napt: Fix IP forwarding when forward netif enable NAPT (espressif/esp-lwip@bc78df87 )
- napt/stats: Move some napt counters to stats module (espressif/esp-lwip@b55e64ae )
- ip_napt_maint: Fix timestamp overflow handling (2.1.3) (espressif/esp-lwip@a7e0a50c )
- napt: Fixes and improvements (2.1.3) (espressif/esp-lwip@fadb9109 )
- Add sbom descripton file for Software BOM (espressif/esp-lwip@f07097d7 )
2023-10-06 19:46:18 +11:00
570f5880be
feat(tools/monitor): add simple port detection
...
Closes https://github.com/espressif/esp-idf/issues/8114
2023-10-05 16:29:43 +02:00
1f93358d4e
fix(esp_http_client): Call event_handler after header value is received
2023-10-05 10:24:18 +05:30
5dba99409e
Merge branch 'test/idf-build-apps-1.0.0_v5.0' into 'release/v5.0'
...
CI: make master pipeline compatible with idf-build-apps 1.0.0 release (v5.0)
See merge request espressif/esp-idf!26248
2023-10-02 21:02:08 +08:00
5e2c3e23ae
ci: fix breaking change in idf-build-apps 1.0.0
...
x
2023-09-29 14:16:14 +02:00
3f55377ab4
Merge branch 'bugfix/post_reattempt_cnt_event_v5.0' into 'release/v5.0'
...
fix(nimble): Add event for reattempt connection count information(v5.0)
See merge request espressif/esp-idf!26113
2023-09-29 16:30:55 +08:00
6fdbd027c5
feat(esp_hw_support): Add locking layer for the ECC peripheral
2023-09-29 11:24:34 +05:30
782a60a11d
fix(nimble): Add event for reattempt connection count information
2023-09-28 20:05:46 +05:30
2007f2f4cc
Merge branch 'bugfix/remove_unused_coex_header_v5.0' into 'release/v5.0'
...
remove(nimble): Removed unused coex header inclusion (v5.0)
See merge request espressif/esp-idf!26180
2023-09-28 22:30:55 +08:00
817f8ef669
Merge branch 'bugfix/http_client_tcp_config_v5.0' into 'release/v5.0'
...
http_client: Set common tcp config to both TCP and SSL transport (v5.0)
See merge request espressif/esp-idf!26206
2023-09-28 17:36:24 +08:00
b07b08d9eb
Merge branch 'bugfix/shared_intr_memory_location_v5.0' into 'release/v5.0'
...
fix(intr): always allocate memory from internal ram (v5.0)
See merge request espressif/esp-idf!26188
2023-09-28 16:44:14 +08:00
821f6f117a
Merge branch 'bugfix/rmt_pm_lock_type_v5.0' into 'release/v5.0'
...
fix(rmt): use ESP_PM_CPU_FREQ_MAX for RMT for non-dma channel (v5.0)
See merge request espressif/esp-idf!26259
2023-09-28 16:43:34 +08:00
284d6d235b
Merge branch 'bugfix/add_params_check_for_hci_v5.0' into 'release/v5.0'
...
Fixed some HCI commands parameter (backport v5.0)
See merge request espressif/esp-idf!26150
2023-09-28 16:18:00 +08:00
6ae027eb8b
s2s3 cpu sw freq
2023-09-28 15:02:30 +08:00
f4e6510852
remove(nimble): Removed unused coex header inclusion
2023-09-28 10:47:06 +05:30
6d7c58516b
Merge branch 'bugfix/ext_adv_log_v5.0' into 'release/v5.0'
...
fix(nimble): added log for extended advertisement (v5.0)
See merge request espressif/esp-idf!25940
2023-09-28 13:08:34 +08:00
49bd0ca8fd
fix(esp_system): suppress compiler warning if ESP_SYSTEM_PANIC_SILENT_REBOOT is enabled
2023-09-28 02:53:07 +00:00
012f13366a
Merge branch 'feature/add_support_for_ds_peripheral_on_ota_v5.0' into 'release/v5.0'
...
feat(esp_http_client): Added support for OTA using ds peripheral for TLS (v5.0)
See merge request espressif/esp-idf!26092
2023-09-28 02:35:37 +08:00
d801c78081
Merge branch 'feature/eth_iram_optimization_v5.0' into 'release/v5.0'
...
feat(esp_eth): added IRAM optimization option for internal EMAC (v5.0)
See merge request espressif/esp-idf!25843
2023-09-27 20:58:06 +08:00
f2077b13fb
Merge branch 'bugfix/fix_condition_to_verify_when_no_SB_v5.0' into 'release/v5.0'
...
fix(bootloader_support): Fix condition for checking signature in the application (v5.0)
See merge request espressif/esp-idf!26226
2023-09-27 18:14:46 +08:00
36392368f4
fix(rmt): fixed unstable transfer during DFS
...
Closes https://github.com/espressif/esp-idf/issues/12292
2023-09-27 17:33:18 +08:00
6c9b6207b2
Merge branch 'bugfix/fix_hid_congestion_v5.0' into 'release/v5.0'
...
Fix(bt/bluedroid): Fix the issue for HID congestion checking[backport 5.0]
See merge request espressif/esp-idf!26232
2023-09-27 16:26:38 +08:00
30fda7f5c2
change(mspi): remove s3 120mhz sdr warning
2023-09-27 15:00:26 +08:00
1b6cfd828d
fix(bt/bluedroid): ble fails to load bonded device info after reboot
...
1: add a quantity check in bt when writing paired device info into nvs.
2: delete the exceeded device info from NVS when get bonded list during
bluedroid initialization.
3: unify the process of bt and ble to load bonded list during bluedroid
initialization.
2023-09-27 10:44:19 +08:00
fcfb16050f
fix(intr): always allocate memory from internal ram
...
Closes https://github.com/espressif/esp-idf/issues/12271
2023-09-27 02:36:01 +00:00
acf5b6eccb
docs(esp_eth): added Ethernet to Improving Network Speed section
2023-09-26 13:29:37 +00:00
8d4ae2014b
feat(esp_eth): added IRAM optimization option for internal EMAC
2023-09-26 13:29:37 +00:00
b089f6e038
Merge branch 'update/micro-ecc_submodule_v5.0' into 'release/v5.0'
...
feat(bootloader): Update micro-ecc version to v1.1 (v5.0)
See merge request espressif/esp-idf!26140
2023-09-26 18:34:27 +08:00
c71801f9fa
fix(bootloader): Update kconfig option
2023-09-26 13:31:58 +05:30
3ea86d53b1
fix(bootloader_support): Fix condition for SECURE_SIGNED_ON_UPDATE_NO_SECURE_BOOT
...
Fix the condition to verify the image when SECURE_SIGNED_APPS_ECDSA_V2_SCHEME and
SECURE_SIGNED_ON_UPDATE_NO_SECURE_BOOT are selected.
2023-09-26 13:31:58 +05:30
025a669983
fix(bt/bluedroid): Modify the operator name to English in hfp_ag example
2023-09-26 15:10:15 +08:00
261a2618b9
fix(bt/bluedroid): Revise the description for index in esp_hf_ag_clcc_response and correct the error return in btc_hf_indchange_notification
...
1: modify the description of param index in function
esp_hf_ag_clcc_response.
2: fix the error code return of function btc_hf_indchange_notification.
2023-09-26 15:10:15 +08:00
f4170d127e
feat(bt/bluedroid): Add flag to control whether to send AT+CLIP cmd for BQB test
2023-09-26 15:10:15 +08:00
7e1af63bfc
feat(bt/bluedroid): Add flag to change HFP client features for BQB test
2023-09-26 15:10:15 +08:00
9897df3647
feat(bt/bluedroid): Add eSCO S1 support for hfp client BQB test
2023-09-26 15:10:15 +08:00
23e3279a84
feat(bt/bluedroid): Add flag to send BRSF features for hfp ag BQB test
2023-09-26 15:10:15 +08:00
4f332026e6
feat(bt/bluedroid): Modify the btc hf features for AT+NREC cmd in BQB test
2023-09-26 15:10:15 +08:00
ce41d2c0a8
fix(bt/bluedroid): Fix the process of sending OK in ATD and COPS cmds
2023-09-26 15:10:15 +08:00
9a11ce19ea
feat(bt/bluedroid): Add supprot for specific indicator sending from AG to Client
2023-09-26 15:10:15 +08:00
2a747a3058
feat(bt/bluedroid): Modify AT+CNUM response api and HFP AG example
2023-09-26 15:10:15 +08:00
0687fad3d6
feat(bt/bluedroid): Add HFP config for BQB test
2023-09-26 15:10:14 +08:00
833d3226c5
fix(bt/bluedroid): Fix the issue for HID congestion checking
2023-09-26 14:15:44 +08:00
6c1d11ad7e
feat(bt/bluedroid): Add flags for BQB auto test of L2CAP
...
1: add sdp_bqb_disable_flag to avoid running sdpu_build_n_send_error.
2: add sdp_bqb_inact_timeout_flag to set the SDP inactivity timeout to 90 seconds.
3: add l2cap_bqb_bad_cmd_len_rej_flag to reject the C-Frame with invalid PDU length
4: add l2cap_bqb_ertm_mode_included_flag to set L2CAP_FCR_ERTM_MODE for most L2CAP cases
2023-09-26 14:06:24 +08:00
0c379e6663
fix(http_client): Set common tcp config to both TCP and SSL transport
...
Foundation transport contained TCP properties for both TCP and SSL
transport, so it was enough to set the TCP connection properties
(keepalive, interface binding) to one transport only. After merging
5778a7c7
we have separate TCP properties for these transports and need
to set the same for both.
This commit also fixes unnecessary allocation of 1 more byte for if_name
Closes https://github.com/espressif/esp-protocols/issues/322
2023-09-25 14:57:25 +02:00
0ae59943e2
fix(nimble): added log for extended advertisement (v5.0)
2023-09-25 17:41:33 +05:30
840d8a2aee
Merge branch 'feature/adv_queue_congestion_v5.0' into 'release/v5.0'
...
feat(nimble): Added adv queue congestion check (v5.0)
See merge request espressif/esp-idf!25731
2023-09-25 19:18:39 +08:00
7620ff11b5
change(bt/bluedroid): Send a name tag with zero length when there is no EIR data
2023-09-25 06:28:42 +00:00
32c6d13001
change(wifi): Rename ESP_WIFI_MBEDTLS_CRYPTO to WPA_MBEDTLS_CRYPTO
2023-09-25 10:58:06 +05:30
9562935813
change(wifi): Add dependency of group 19 for MbedTLS crypto
2023-09-25 10:57:57 +05:30
3f0800ef66
change(wifi): Add supplicant's public API header files to doc
2023-09-25 10:57:11 +05:30
5d3d6bf7c0
fix(bt/controller): Fixed some HCI commands parameter
...
1: add param check for HCI_Recevie_Synchronization_Train.
2: add param check for HCI_Set_Connectionless_Peripheral_Broadcast.
3: fix slave cannot take a secure authentication.
2023-09-25 11:42:36 +08:00
af72846e92
fix(bt/bluedroid): Fix the judgment condition for packet transmission status statistics
2023-09-25 10:50:52 +08:00
a921a2dfd7
fix(bt/bluedroid): Fix set periodic advertising data error
2023-09-23 20:23:49 +08:00
9bf94cb7e1
feat(bootloader): Update micro-ecc version to v1.1
...
This fix ensures that https://nvd.nist.gov/vuln/detail/CVE-2020-27209 is not
reported by the ESP-IDF SBOM tool. Please note that, this CVE was anyways not
applicable for ESP32 platform, as the bootloader (user of micro-ecc library)
do not perform signing on the device, its only verification that happens in
secure-boot-v1 case.
2023-09-22 10:50:00 +05:30
ce6d37fe35
Merge branch 'docs/add_Chinese_translation_for_api-reference/peripherals/spi_slave_hd.rst_backport_v5.0' into 'release/v5.0'
...
docs: provide CN translation for api-reference/peripherals/spi_slave_hd.rst (Backport v5.0)
See merge request espressif/esp-idf!26103
2023-09-22 10:51:48 +08:00
202d1f11e9
docs: provide CN translation for api-reference/peripherals/spi_slave_hd.rst (Backport v5.0)
2023-09-22 10:51:47 +08:00
39cc5e0fcc
fix(ldgen): duplicate entries in the generated .ld file
2023-09-21 19:41:24 +08:00
82f26d48a3
fix(ldgen): check target conflict for entries with section alias
2023-09-21 19:41:24 +08:00
e53e0c553f
fix(freertos): Updated IDLE task names for each core to have the coreID as a suffix
...
This commit updates the IDLE task names for each core by concatenating
the respective coreIDs to the names.
Closes https://github.com/espressif/esp-idf/issues/12204
2023-09-21 13:11:36 +02:00
5b2404af4b
Merge branch 'feat/add_internal_pull_up_or_pull_down_option_for_deepsleep_wakeup_prepare_v5.0' into 'release/v5.0'
...
feat(pm): add internal pull-up/downs option for gpio used for deepsleep wakeup (backport v5.0)
See merge request espressif/esp-idf!26041
2023-09-21 15:36:50 +08:00
a03df471ae
change(example): Update eap-fast example
2023-09-21 11:54:36 +05:30
30cfd31ea5
change(example): Update wifi enterprise example
2023-09-21 11:54:36 +05:30
5cc7d3741d
change(esp_wifi): Rename WiFi enterprise connection APIs
2023-09-21 11:54:32 +05:30
1e95e18576
feat(esp_http_client): Added support for OTA using ds peripheral for TLS
2023-09-21 10:22:41 +05:30
11091e654a
Merge branch 'bugfix/pthread_cond_var_link_hook_v5.0' into 'release/v5.0'
...
bugfix(pthread): fixed pthread_condvar linker hook (v5.0)
See merge request espressif/esp-idf!26005
2023-09-21 10:56:50 +08:00
c853492e1c
change(wifi): Reduce BSS logging in wpa_supplicant
2023-09-21 02:55:35 +00:00
c4d7be43ed
Merge branch 'bugfix/wps_wpa3_passphrase_v5.0' into 'release/v5.0'
...
WiFi: get passphrase in WPS if AP support SAE (v5.0)
See merge request espressif/esp-idf!25886
2023-09-21 10:54:06 +08:00
aedd7fe002
Merge branch 'docs/update_multi_antenna_switch_docs_v5.0' into 'release/v5.0'
...
Docs/update multi antenna switch docs v5.0(Backport v5.0)
See merge request espressif/esp-idf!25819
2023-09-21 10:53:14 +08:00
9f0d0e27ef
wpa_supplicant: Fix for issue of wps-pbc overlap in wps-pin method
2023-09-21 02:52:49 +00:00
92b4e5c15b
Merge branch 'bugfix/skip_using_cache_in_wrong_passwd_cfg_v5.0' into 'release/v5.0'
...
Skip PMK cache usage if configured password is incorrect (Backport v5.0)
See merge request espressif/esp-idf!25707
2023-09-21 10:52:10 +08:00
be49757cbf
Merge branch 'contrib/github_pr_9694_v5.0' into 'release/v5.0'
...
add low power doc and picture (GitHub PR)(backport v5.0)
See merge request espressif/esp-idf!25591
2023-09-21 10:37:38 +08:00
0b4adebda5
Merge branch 'feature/configurable_wpa2_ent_v5.0' into 'release/v5.0'
...
Make enterprise support configurable to save binary size.(v5.0)
See merge request espressif/esp-idf!25557
2023-09-21 10:37:20 +08:00
3ab19cc298
Merge branch 'origin/test/bqb_test_bt_classic_avdtp_v5.0' into 'release/v5.0'
...
feat(bt/bluedroid): Add avdt abort function for BQB test(backport v5.0)
See merge request espressif/esp-idf!26046
2023-09-21 09:47:36 +08:00
0c09543d65
feat(pm): add internal pull-up/downs option for gpio used for deepsleep wakeup
2023-09-20 17:30:18 +08:00
a48a845cfa
Merge branch 'change/optimize_sniff_request_v5.0' into 'release/v5.0'
...
Change(bt/bluedroid): Limit sniff request when pending mode change event[backport 5.0]
See merge request espressif/esp-idf!26054
2023-09-20 16:50:50 +08:00
35bc5c3beb
Merge branch 'bugfix/update_ble_phy_example_v5.0' into 'release/v5.0'
...
fix(nimble): Updated BLE Phy example (v5.0)
See merge request espressif/esp-idf!26016
2023-09-20 16:34:55 +08:00
d2109f0527
Merge branch 'bugfix/aes_dma_descriptor_setup_issue_v5.0' into 'release/v5.0'
...
fix(aes): correct the linking of the DMA descriptors (v5.0)
See merge request espressif/esp-idf!25785
2023-09-20 13:52:03 +08:00
0016eb028c
change(bt/bluedroid): Limit sniff request when pending mode change event
2023-09-19 20:10:37 +08:00
a431bb4579
fix(vfs): Fix event_write may not exit critical section
...
This commit fixes the event_write() function where the critical section
was unbalanced.
Merges https://github.com/espressif/esp-idf/pull/12258
2023-09-19 08:52:51 +02:00
caf6660080
Merge branch 'bugfix/fix_some_ble_bug_v5.0' into 'release/v5.0'
...
Fixed some BLE bugs (backport v5.0)
See merge request espressif/esp-idf!26031
2023-09-19 14:51:03 +08:00
69b0a57777
Merge branch 'contrib/github_pr_12179_v5.0' into 'release/v5.0'
...
fix(uart): Fix uart_ll_set_baudrate div-by-zero crash due to uint32_t overflow (backport v5.0)
See merge request espressif/esp-idf!26017
2023-09-19 13:15:17 +08:00
185ed100fd
Merge branch 'bugfix/error_param_in_BTA_AG_WBS_EVT_v5.0' into 'release/v5.0'
...
Bugfix/error param in bta ag wbs evt (v5.0)
See merge request espressif/esp-idf!26002
2023-09-19 12:01:01 +08:00
40b99b513c
feat(bt/bluedroid): Add avdt abort function for BQB test
...
1: add new AVDTP abort function for BQB test
2023-09-19 11:55:58 +08:00
711477d354
Merge branch 'feature/specify_rmt_intr_priority_v5.0' into 'release/v5.0'
...
feat(rmt): specify interrupt priority (v5.0)
See merge request espressif/esp-idf!25719
2023-09-19 11:49:18 +08:00
2bec2de36e
Merge branch 'feature/mcpwm_interrupt_priority_v5.0' into 'release/v5.0'
...
feat(MCPWM): Support set interrupt priority(v5.0)
See merge request espressif/esp-idf!25522
2023-09-19 10:41:58 +08:00
d86397aca4
Merge branch 'feature/pcnt_interrupt_priority_v5.0' into 'release/v5.0'
...
feat(pcnt): support set interrupt priority(v5.0)
See merge request espressif/esp-idf!25520
2023-09-19 10:27:28 +08:00
d6df3b7758
Merge branch 'feature/add_mcpwm_carrier_clk_source_v5.0' into 'release/v5.0'
...
feat(MCPWM): Add mcpwm carrier clk source(v5.0)
See merge request espressif/esp-idf!25523
2023-09-19 10:24:25 +08:00
9af8a1e7a7
Update bt lib for ESP32-C3 and ESP32-S3(59725b5)
...
- Support BLE RX error packet count record
- Fixed adv random delay when adv interval is less than 20ms
- Fixed adv random address setting when owner address type is public
2023-09-18 19:39:41 +08:00
9fce08c5d2
Update bt lib for ESP32-C3 and ESP32-S3(ff6efe7)
...
- fix(bt/controller): Fixed PHY enable and disable
- feat(bt/controller): Support DAA and LBT mode for BLE CCA
2023-09-18 19:39:27 +08:00
19a07ffb96
update esp32 bt-lib (7b24543)
...
- Support BLE RX error packet count record
- Fixed instant setting for LLC procedures with instants
- Fixed adv random delay when adv interval is less than 20ms
2023-09-18 19:38:38 +08:00
c85c755ec6
fix(bt): Fix bugs about updating connect param
2023-09-18 19:38:20 +08:00
4e6a831d57
fix(bt): Fix bug while calculating block cipher using aes-128
2023-09-18 19:38:13 +08:00
ed1a83a93f
docs(bt): Update comment in ble
2023-09-18 19:38:04 +08:00
debcf93282
feat(bt/bluedroid): Support periodic adv adi feature
2023-09-18 19:37:55 +08:00
559368ba77
fix(bt/bluedroid): Fixed BLE disconnect event report when disconnecting
2023-09-18 19:37:45 +08:00
c75ffd7de1
fix(bt/bluedroid): Fixed GATTC cache address save when list is full
2023-09-18 19:37:38 +08:00
fc57ae154d
feat(bt/bluedroid): Support high duty adv interval setting
2023-09-18 19:37:28 +08:00
3115bd17b5
fix(bt/bluedroid): Fix address check when using NRPA as random device address
2023-09-18 19:37:18 +08:00
ae3029cad8
Merge branch 'bugfix/fix_some_hci_cmd_param_check_v5.0' into 'release/v5.0'
...
fix(bt/controller): Fixed some HCI commands parameter check (Backport v5.0)
See merge request espressif/esp-idf!25714
2023-09-18 19:07:35 +08:00
b75ccbde65
fix(docs): Improve the DFS and Peripheral Drivers section in power_management.rst
2023-09-18 16:34:18 +08:00
6fd9a50c17
fix(uart): Add 8/16-bit register field access workaround to ESP32C2
2023-09-18 16:34:18 +08:00
5a1d9da84f
fix(uart): Fix uart_ll_set_baudrate div-by-zero crash due to uint32_t overflow
...
Merges https://github.com/espressif/esp-idf/pull/12179
2023-09-18 16:34:05 +08:00
751380762c
fix(nimble): Updated BLE Phy example
...
The existing example has some issues which are now fixed.
1. Original example had legacy_pdu set which was not causing
the PHY to actually change. Fixed this
2. Added a way to initiate connection directly on 2M or Coded Phy.
2023-09-18 13:25:41 +05:30
2fd9ca6554
Merge branch 'feature/esp_lcd_st7789_rgb_data_endian_config_v5.0' into 'release/v5.0'
...
feat(st7789): add data endian config (v5.0)
See merge request espressif/esp-idf!25803
2023-09-18 15:50:23 +08:00
87aeb49cff
Merge branch 'feature/support_ble_53_host_feat_v5.0' into 'release/v5.0'
...
Support BLE host feature for PTS (backport v5.0)
See merge request espressif/esp-idf!25646
2023-09-18 15:23:06 +08:00
5a98ae1a52
Merge branch 'bugfix/fix_hidd_send_rpt_without_connection_v5.0' into 'release/v5.0'
...
Change(bt/bluedroid): Optimize HIDD sending interrupt report behavior[backport 5.0]
See merge request espressif/esp-idf!25919
2023-09-18 14:07:20 +08:00
83b9a7e2a5
fix(pthread): fixed pthread_condvar linker hook
2023-09-18 12:31:34 +08:00
4c118e23ca
feat(nimble): Added adv queue congestion check
2023-09-18 09:15:51 +05:30
d1d4519f96
Merge branch 'feature/esp32c2_add_trace_function_v5.0' into 'release/v5.0'
...
ble: supported trace function and adv report flow control on esp32c2
See merge request espressif/esp-idf!25641
2023-09-18 11:44:27 +08:00
e3f05d0972
Merge branch 'feat/add_high_duty_adv_interval_v5.0' into 'release/v5.0'
...
feat(nimble): Added support for high duty adv interval (v5.0)
See merge request espressif/esp-idf!25554
2023-09-18 11:40:24 +08:00
42a703f287
Merge branch 'feature/esp_lcd_spi_support_quad_mode_v5.0' into 'release/v5.0'
...
esp_lcd: spi support quad mode (v5.0)
See merge request espressif/esp-idf!25562
2023-09-18 11:28:59 +08:00
a6abcfb990
Merge branch 'test/bqb_test_bt_classic_sdp_v5.0' into 'release/v5.0'
...
feat(bt/bluedroid): Add language base attr list to SDP record for BQB test (backport v5.0)
See merge request espressif/esp-idf!25930
2023-09-18 11:06:52 +08:00
b212ab6176
Merge branch 'test/bqb_test_bt_classic_hid_v5.0' into 'release/v5.0'
...
feat(bt/bqb): Add setting local di record function for specific hid case of bqb auto test (backport v5.0)
See merge request espressif/esp-idf!25834
2023-09-18 11:05:35 +08:00
11ecd9e5cf
fix(bt/bluedroid): Fixed incorrect arrangement in type esp_hf_dial_type_t
2023-09-18 11:04:19 +08:00
89bfe3e352
change(bt/bluedroid): Added line information printing when error occurs CHECK_HF_IDX
2023-09-18 11:04:19 +08:00
03d9d39ec7
fix(bt/bluedroid): Fixed the issue of uninitialized parameters in event BTA_AG_WBS_EVT
2023-09-18 11:04:19 +08:00
8276854072
Merge branch 'feature/esp_lcd_panel_add_data_and_type_v5.0' into 'release/v5.0'
...
feat(esp_lcd): add user data and init cmd (v5.0)
See merge request espressif/esp-idf!25722
2023-09-18 11:03:35 +08:00
1b4464a6be
Merge branch 'test/bqb_test_bt_classic_a2dp_v5.0' into 'release/v5.0'
...
feat(bt/bqb): Add setting SBC encoder and reject invalid codec type support for a2dp BQB test (backport v5.0)
See merge request espressif/esp-idf!25685
2023-09-18 11:02:56 +08:00
f089f0d83b
feat(rmt): specify interrupt priority
2023-09-18 03:02:49 +00:00
6314d3540b
Merge branch 'bugfix/hf_ag_report_event_with_null_bdaddr_v5.0' into 'release/v5.0'
...
Bugfix/fixed bugs of HFP in BlueDroid (v5.0)
See merge request espressif/esp-idf!25828
2023-09-18 10:52:01 +08:00
21a6d5b4cd
Merge branch 'docs/update_wakeup_gpio_esp32s2_esp32s3_esp32c6_esp32h2_v5.0' into 'release/v5.0'
...
docs: Updated wakeup GPIOs for ESP32-S2, ESP32-S3, ESP32-C6 and ESP32-H2
See merge request espressif/esp-idf!25617
2023-09-18 10:46:14 +08:00
6447807e4e
Merge branch 'doc/fix_xts_key_length_256_desc_v5.0' into 'release/v5.0'
...
fix(doc): Fix incorrect description for xts_key_length_256 efuse (v5.0)
See merge request espressif/esp-idf!25932
2023-09-18 10:21:31 +08:00
1bdc5dedc1
Merge branch 'bugfix/freertos_vTaskSuspendAll_test_flakiness_v5.0' into 'release/v5.0'
...
FreeRTOS: Fix vTaskSuspendAll unit test flakiness (v5.0)
See merge request espressif/esp-idf!25609
2023-09-18 10:20:39 +08:00
833970b783
Merge branch 'feature/freertos_add_sbom_file_v5.0' into 'release/v5.0'
...
feat(freertos): Added SBOM manifest file for SPDX file generation (v5.0)
See merge request espressif/esp-idf!25892
2023-09-16 21:35:15 +08:00
0b86f34cb4
Merge branch 'bugfix/failed_module_import_v5.0' into 'release/v5.0'
...
fix(tools): extend error message for failed python module import (v5.0)
See merge request espressif/esp-idf!25869
2023-09-16 00:01:40 +08:00
58392ec5d5
Merge branch 'fix/click-port-compl_v5.0' into 'release/v5.0'
...
fix(tools): fix autocomplete for --port option (v5.0)
See merge request espressif/esp-idf!25875
2023-09-16 00:00:38 +08:00
eb7a99040d
Merge branch 'dependency_check_fix_v5.0' into 'release/v5.0'
...
bug(tools): dependency check catch exception when package not installed (v5.0)
See merge request espressif/esp-idf!25657
2023-09-16 00:00:12 +08:00
7ce55ea9fe
Merge branch 'feature/configurable_gcov_task_size_v5.0' into 'release/v5.0'
...
feat(gcov): make gcov dump task size configurable (v5.0)
See merge request espressif/esp-idf!25601
2023-09-15 23:59:55 +08:00
a869c484d0
fix(wifi): Get passphrase in WPS if AP support SAE
...
Also add changes to send NACK if WPS message received twice.
2023-09-15 10:28:48 +00:00
3da1684b4a
Merge branch 'backport_v5.0' into 'release/v5.0'
...
fix(bt/bluedroid): Fix memory no free issue when disconneting for mesh(backport v5.0)
See merge request espressif/esp-idf!25957
2023-09-15 14:21:25 +08:00
e0a3a3d64c
Merge branch 'bugfix/usb/host/urb_check_revert_v5.0' into 'release/v5.0'
...
[USB Host] Fix transfer determination during argument checking for regular EP transfer (backport v5.0)
See merge request espressif/esp-idf!25964
2023-09-14 23:52:20 +08:00
8fbf4ba605
bugfix(usb/host): Fix transfer direction determination during argument checking for regular EP transfer
2023-09-13 21:53:28 +02:00
b0d4fb3b35
fix(bt/bluedroid): Fix memory no free issue when disconneting for mesh
2023-09-13 18:17:56 +08:00
79b2773102
change(ble): update controller log print interface
2023-09-12 17:40:50 +08:00
47da0967ac
Merge branch 'update/version_5_0_4' into 'release/v5.0'
...
versions: Update version to 5.0.4
See merge request espressif/esp-idf!25906
2023-09-12 15:54:55 +08:00
f3876b60f5
fix(doc): Fix incorrect description for xts_key_length_256 efuse
2023-09-12 14:53:10 +08:00
a02cb1ebc0
feat(bt/bluedroid): Add language base attr list to SDP record for BQB test
2023-09-12 13:04:33 +08:00
9fb3f19e3a
docs: Updated wakeup GPIOs for ESP32-S2, ESP32-S3, ESP32-C6 and ESP32-H2
2023-09-12 11:17:07 +08:00
4b7f77a769
change(bt/bluedroid): Optimize HIDD sending interrupt report behavior
...
HID device is allowed to trigger reconnection by sending an interrupt
report. When reconnection is in progress, no more interrupt report can
be sent until the procedure is accomplished.
2023-09-11 20:14:25 +08:00
a4223c75a6
versions: Update version to 5.0.4
2023-09-11 10:38:15 +05:50
9fe0fa3455
feat(freertos): Added SBOM manifest file for SPDX file generation
...
This commit adds the SBOM manifest file for the FreeRTOS-Kernel to aid
SPDX file generation.
2023-09-08 12:56:04 +02:00
e741807b5a
ble: support esp32c2 wakeup overhead
2023-09-08 17:03:06 +08:00
a29eaf058e
feat: Support esp32c2 BLE power save example
2023-09-08 17:03:03 +08:00
f06d3ff5bb
fix(tools): fix autocomplete for --port option
...
Closes https://github.com/espressif/esp-idf/issues/7970
2023-09-08 09:29:20 +02:00
ca31d75cc3
fix(tools): extend error message for failed python module import
...
Currently idf.py reports just "Please use idf.py only in an ESP-IDF shell environment".
Sometimes it may be useful to know for which module the import failed.
Also the problem does not have to be related to shell environment only, but the
python venv can be corrupted. This adds a little bit more verbose error
message.
Signed-off-by: Frantisek Hrbata <frantisek.hrbata@espressif.com >
2023-09-08 07:29:56 +02:00
dc417eeab9
feat(ble): enable adv report flow control on esp32c2
2023-09-07 16:38:03 +08:00
99197d4a02
feat(ble): supported trace function and adv report flow control on esp32c2
2023-09-07 16:30:20 +08:00
d04b4e836b
esp_wifi: update multi antenna switch docs
2023-09-07 14:43:29 +08:00
60b4e1f998
feat(bt/bluedroid): Add setting local di record function for bt classic hid device bqb test
2023-09-07 14:20:56 +08:00
5f243e9b95
fix(bt/bluedroid): Changed HID related copyright automatically
2023-09-07 14:20:36 +08:00
50a854ce10
ci(bt/bluedroid): Add CI build test for HFP examples with voice over HCI enabled
2023-09-07 11:37:18 +08:00
fbf196a7f9
feat(bt/api): Add new apis for hfp to get the numbers of packet status received and sent
2023-09-07 11:37:09 +08:00
54fecc5561
fix(bt/bluedroid): Deleted the redundant 'memset' in btc_hf_cb_handler
2023-09-07 10:59:06 +08:00
5dc39ebf5a
docs(bt/bluedroid): Changed the description of esp_hf_client_reject_call
2023-09-07 10:56:11 +08:00
963f5a40db
fix(bt/bluedroid): Fixed invalid access to freed semaphore
2023-09-07 10:56:11 +08:00
fbf2d5d5d9
fix(bt/bluedroid): Fixed wrong indexes of HF-AG indicators
2023-09-07 10:56:11 +08:00
774056bf62
fix(bt/bluedroid): Added peer Bluetooth device address into HF callback parameters
2023-09-07 10:56:11 +08:00
e1864ca1e8
fix(bt/bluedroid): Changed log level from WARNING to DEBUG in bta_ag_sco_read_cback
2023-09-07 10:56:11 +08:00
e36e0f5233
fix(bt/bluedroid): Fixed wrong code logic in 'AT+CIND?' of HFP
2023-09-07 10:56:11 +08:00
f0ed003d91
fix(bt/bluedroid): Fixed errors in parsing ATD command in HFP AG
2023-09-07 10:56:11 +08:00
fb14ef7c24
fix(bt/bluedroid): Fixed NULL Bluetooth device address in HF-AG events was reported to application layer
2023-09-07 10:56:11 +08:00
2c3ae21591
esp_wifi: the antenna parameter of example is not correct
2023-09-07 10:56:06 +08:00
c4dffd57c3
esp_wifi: fix pre commit issue
2023-09-07 10:56:06 +08:00
9c71aad75b
add enum type for antenna number
2023-09-07 10:56:06 +08:00
7bf89d83d5
add multiple antenna test example
2023-09-07 10:56:06 +08:00
9ab9e05639
feat(st7789): add data endian config
...
Closes https://github.com/espressif/esp-idf/issues/11416
2023-09-06 17:04:34 +08:00
aba35cd526
fix(aes): correct the linking of the DMA descriptors
...
For certain data lengths, the last input descriptor was not getting appended
correctly and hence the EOF flag in the DMA descriptor link list was
set at incorrect location. This was resulting in the peripheral being
stalled expecting more data and eventually the code used to timeout
waiting for the AES completion interrupt.
Required configs for this issue:
CONFIG_MBEDTLS_HARDWARE_AES
CONFIG_SOC_AES_SUPPORT_DMA
This observation is similar to the issue reported in:
https://github.com/espressif/esp-idf/issues/10647
To recreate this issue, start the AES-GCM DMA operation with data length
12280 bytes and this should stall the operation forever.
In this fix, we are tracing the entire descriptor list and then appending the
extra bytes descriptor at correct position (as the last node).
2023-09-06 08:30:00 +05:30
29be69d797
fix(aes-gcm): correct the DMA completion wait condition for hardware GCM case
...
DMA operation completion must wait until the last DMA descriptor
ownership has been changed to hardware, that is hardware is completed
the write operation for entire data. Earlier for the hardware GCM case,
the first DMA descriptor was checked and it could have resulted in some
race condition for non interrupt (MBEDTLS_AES_USE_INTERRUPT disabled) case.
2023-09-06 08:29:57 +05:30
c95c3ba38e
feat(bt/bluedroid): Set SBC encoder as PTS required for BQB test.
...
1: set SBC encoder as PTS required. The encoder is effective first.
But it changes to default after media start.
2023-09-05 01:55:37 +00:00
14b1290a20
fix(bt/bluedroid): Reject SET CONFIGURATION command with error code INVALID_CODEC_TYPE.
...
1: reset p_scb->avdt_handle in cleanup function.
2: cancel comparing p_scb->codec_type and p_scb->seps[xx].codec_type to
send the error INVALID_CODEC_TYPE.
2023-09-05 01:55:37 +00:00
8668c55512
feat(esp_lcd): add user data and init cmd
2023-09-04 13:26:18 +08:00
7e4a64a9ab
fix(bt/controller): Fixed some HCI commands parameter check
...
Fixed HCI_Change_Connection_Packet_Type Command parameter check
Fixed HCI_Accpet_Synchronous_Connection_Request Command parameter check
Fixed HCI_Set_Connectionless_Peripheral_Broadcast_Data Command parameter check
2023-09-04 11:36:29 +08:00
1eae9ce61c
ci(wifi): Test connect api at different phase
2023-09-02 21:48:59 +08:00
7a3d12316a
fix(esp_wifi): Skip PMK cache usage if configured password is incorrect
2023-09-01 18:48:11 +05:30
bf1a67362e
fix(spi_master): polling_transmit forgot release bus lock when alloc DMA buffer failed
...
Close https://github.com/espressif/esp-idf/issues/11845
2023-09-01 17:30:26 +08:00
6c37f49d16
bug(tools): dependency check catch exception when package not installed
2023-08-30 17:14:10 +02:00
11e8970a45
bluedroid: add GATT read multi variable API and evt
2023-08-30 15:17:56 +08:00
0315b24514
bluedroid: add periodic adv sync transfer API and EVT
2023-08-30 15:17:47 +08:00
630154ed2d
bluedroid: support gatts show local database
2023-08-30 15:17:38 +08:00
3100841f64
bluedroid: fixed GATT multi notify and robust caching
2023-08-30 15:17:30 +08:00
285e86ad04
bluedroid: add config for GAP service and periodic adv sync transfer
2023-08-30 15:17:14 +08:00
0b76c3615e
bluedroid: add internal GATT API for PTS
2023-08-30 15:15:23 +08:00
69b8b587c9
bluedroid: add config for robust caching and RPA timeout
2023-08-30 15:15:09 +08:00
42a1d94830
bluedroid: support GATT robust caching feature
2023-08-30 15:13:03 +08:00
1ce00f01ca
bluedroid: support GATT services database hash calculate
2023-08-30 15:12:52 +08:00
ed34a2b500
bluedroid: support periodic advertising sync transfer cmd
2023-08-30 15:12:41 +08:00
52e3e684e0
bluedroid: support LE L2CAP credit based connection
2023-08-30 15:12:12 +08:00
4145099bdc
bluedroid: support oob pairing for smp secure connection
2023-08-30 15:11:34 +08:00
5577f709b0
fix(breakpoint): fix bp/wp logic when debugger is connected
2023-08-29 12:37:33 +02:00
03ec7a0c5d
feat(pcnt): support set interrupt priority(v5.0)
2023-08-29 07:48:30 +00:00
eb25e92584
backport for v5.0 delete esp32c6 info
2023-08-29 11:48:52 +08:00
7065c87963
Merge branch 'bugfix/ble_hci_issues_chain_mbuf_v5.0' into 'release/v5.0'
...
fix hci issues when chain mbuf exists
See merge request espressif/esp-idf!25533
2023-08-29 10:27:40 +08:00
715ff1e432
freertos: Fix vTaskSuspendAll unit test falkiness
...
This commit fixes falkey unit tests (due to memory leaks) by adding a short
delay at the end of the test to allow the idle task to free task memory.
2023-08-28 19:09:53 +08:00
a9f039e56f
feat(gcov): make gcov dump task size configurable
2023-08-28 12:02:58 +02:00
760ce1ebd8
docs: update power save part
2023-08-28 14:23:19 +08:00
86310135f6
add low power doc and picture
...
Merges https://github.com/espressif/esp-idf/pull/9694
2023-08-28 14:23:09 +08:00
a78ad034f5
Merge branch 'bugfix/fix_mem_map_issue_v5.0' into 'release/v5.0'
...
flash_mmap: fix range issue (v5.0)
See merge request espressif/esp-idf!24529
2023-08-26 10:28:44 +08:00
45e1b89efe
Merge branch 'feature/default_clock_source_can_leave_empty_v5.0' into 'release/v5.0'
...
feat(mcpwm): default clock source setting can leave empty (v5.0)
See merge request espressif/esp-idf!25549
2023-08-26 10:15:28 +08:00
62e6999279
Merge branch 'bugfix/fix_adc_continuous_driver_isr_flag_issue_v5.0' into 'release/v5.0'
...
adc: fix continuous hal func not in iram when gdma isr iram (v5.0)
See merge request espressif/esp-idf!25506
2023-08-26 09:59:54 +08:00
3d99ce2d1a
Merge branch 'bugfix/supplicant_osi_violation_v5.0' into 'release/v5.0'
...
Fix abstraction violation in wpa_supplicant (Backport v5.0)
See merge request espressif/esp-idf!25566
2023-08-26 07:24:11 +08:00
8797a92844
Merge branch 'bugfix/fixed_esp32_psram_2t_mode_cannot_detect_issue_v5.0' into 'release/v5.0'
...
psram: fixed esp32 2t mode fail issue (v5.0)
See merge request espressif/esp-idf!23028
2023-08-25 15:07:35 +08:00
304d6164ae
fix(supplicant): Fix abstraction violation in wpa_supplicant
2023-08-25 12:33:29 +05:30
4095399436
feat(nimble): Added support for high duty adv interval
2023-08-25 12:06:50 +05:30
8f3085c1bb
Merge branch 'docs/uninstall_idf_v5.0' into 'release/v5.0'
...
docs(idf-tools): Add uninstallation instructions (backport v5.0)
See merge request espressif/esp-idf!25495
2023-08-25 14:33:29 +08:00
a6958aa142
feat(esp_lcd): spi add support for quad mode
2023-08-25 14:18:41 +08:00
c6992fa8b8
feat(esp_lcd): rgb add callback when bounce buffer finish
2023-08-25 14:18:41 +08:00
ff523686b5
esp_wifi: Make enterprise support configurable to save binary size.
2023-08-25 11:14:49 +05:30
f7618e10da
Merge branch 'fix/esp_prov_recent_changes_v5.0' into 'release/v5.0'
...
fix(esp_prov): update devices tuple usage due to API deprecations (v5.0)
See merge request espressif/esp-idf!25537
2023-08-25 13:36:07 +08:00
eb8a741be2
ble: Assert when getting memory fail
2023-08-25 12:27:05 +08:00
1baf1055bd
Merge branch 'feature/config_device_name_in_eir_v5.0' into 'release/v5.0'
...
feat(bt/bluedroid): Add option whether to include device name in extended inquiry response
See merge request espressif/esp-idf!25542
2023-08-25 12:27:03 +08:00
0861bf4c55
ble: Fix hci issues when chain mbuf exists
2023-08-25 12:26:50 +08:00
f218fa50d4
Merge branch 'ci/fix_example_test_advanced_ota_v5.0' into 'release/v5.0'
...
ci(fix): example test advanced_https_ota_example_bluedroid_gatts (v5.0)
See merge request espressif/esp-idf!25525
2023-08-25 12:14:10 +08:00
e8507d1380
Merge branch 'contrib/github_pr_11923_v5.0' into 'release/v5.0'
...
fix(esp-tls): fix pointer cast and condition for CONFIG_ATECC608A_TCUSTOM (GitHub PR) (v5.0)
See merge request espressif/esp-idf!25501
2023-08-25 12:11:12 +08:00
8e3b112c74
Merge branch 'bugfix/fix_legacy_adc_continuous_driver_dma_descriptor_not_internal_issue_v5.0' into 'release/v5.0'
...
adc: fixed legacy adc continuous driver dma descriptor not in internal ram issue (v5.0)
See merge request espressif/esp-idf!25509
2023-08-25 12:08:15 +08:00
328f592e9d
Merge branch 'bugfix/esp_timer_prevents_delay_for_isr_dispatch_callbacks_v5.0' into 'release/v5.0'
...
fix(esp_timer): Fix delay in ISR dispatch callbacks (v5.0)
See merge request espressif/esp-idf!25473
2023-08-25 12:08:02 +08:00
1b580186f2
Merge branch 'bugfix/sdmmc_host_cclk_lp_v5.0' into 'release/v5.0'
...
sdmmc: keep clock enabled for the duration of ACMD41 (v5.0)
See merge request espressif/esp-idf!24334
2023-08-25 12:07:24 +08:00
787a6c9408
Merge branch 'bugfix/fix_no_mac_retention_at_wifi_start_v5.0' into 'release/v5.0'
...
fix(esp_wifi): fix no mac retention at wifi start
See merge request espressif/esp-idf!25517
2023-08-25 11:32:12 +08:00
d90cb866f1
test(adc): continuous driver iram test with gdma iram safe option only
2023-08-25 10:56:20 +08:00
53b1c2a2e6
test(flash_mmap): test flash mmap pages
2023-08-25 10:37:48 +08:00
6183b555aa
fix(flash_mmap): fixed limited free I/D pages on ESP32S3, C2, C3
2023-08-25 10:37:48 +08:00
358b408753
feat(mcpwm): default clock source setting can leave empty
2023-08-25 10:26:36 +08:00
676553f432
fix(adc): invalid assertion on the adc_unit
2023-08-25 10:21:46 +08:00
615222f1c2
feat(MCPWM): Support set interrupt priority(v5.0)
2023-08-24 19:56:42 +08:00
d82a2e2eec
feat(bt/bluedroid): Add option whether to include device name in extended inquiry response
2023-08-24 19:36:26 +08:00
771f6b2b7e
fix(esp_prov): update devices tuple usage due to API deprecations
...
- a recent commit fixed the API deprecations,
and the BLEDevice object now needs to be accessed through a tuple.
- thus the changes were made in the code wherein the object was used,
but updating the usage in the condition when de
vname is not None got skipped.
2023-08-24 14:48:39 +05:30
9d6809bc99
psram: fixed esp32 2t mode fail issue
2023-08-24 15:30:07 +08:00
484f4cce31
fix(esp_wifi): fix no mac retention at wifi start
2023-08-24 06:36:34 +00:00
61ef154a60
Merge branch 'bugfix/v5.0_ble_issues_bugfix_c2' into 'release/v5.0'
...
Bugfix/v5.0 ble issues bugfix c2
See merge request espressif/esp-idf!25437
2023-08-24 14:13:26 +08:00
a84f601493
ci(fix): example test advanced_https_ota_example_bluedroid_gatts
2023-08-24 12:25:02 +08:00
97bdb74766
fix(esp-tls): fix pointer cast and condition for CONFIG_ATECC608A_TCUSTOM
...
Closes https://github.com/espressif/esp-idf/pull/11923
2023-08-24 04:17:56 +00:00
2a88fb9e81
feat(MCPWM): Add mcpwm carrier clk source
...
The MCPWM carrier is part of the operator and can work independently
without the MCPWM timer being enabled. This commit add the MCPWM
carrier clk source.
2023-08-24 11:45:28 +08:00
d2fb10008e
fix(adc): fix adc continuous hal func not in iram when gdma isr iram
2023-08-24 10:50:33 +08:00
056de3bfb5
Merge branch 'contrib/github_pr_12039_v5.0' into 'release/v5.0'
...
docs(iperf): Update documentation with console interface details(v5.0)
See merge request espressif/esp-idf!25510
2023-08-24 10:18:41 +08:00
f82d97216a
sdmmc: keep clock enabled for the duration of ACMD41
...
SD specification requires that card clock is not disabled until the
card is idle, following ACMD41 command.
2023-08-24 02:16:37 +00:00
a1920067a2
docs(iperf): Update documentation with console interface details
...
Closes https://github.com/espressif/esp-idf/pull/12039
2023-08-23 19:46:46 +08:00
5a90dfb776
adc: fixed legacy adc continuous driver dma descriptor not in internal ram issue
2023-08-23 19:45:56 +08:00
6bb1e32782
Merge branch 'bugfix/usb/host/urb_compliance_verification_add_v5.0' into 'release/v5.0'
...
[USB Host] added URB check args and transfer check compliance for regular EP transfer submit (v5.0)
See merge request espressif/esp-idf!25469
2023-08-23 19:09:17 +08:00
024c311475
docs: Update CN translation for get-started/index.rst
2023-08-23 11:21:23 +02:00
4cafb6bfa8
docs(idf-tools): Add uninstallation instructions
2023-08-23 11:21:23 +02:00
453e0c784d
refactor(esp_timer): Remove duplicate code and move it to a common file
2023-08-23 17:12:45 +08:00
41dc26f5bd
fix(esp_timer): Fix delay in ISR dispatch callbacks
...
Set the following alarm before calling the alarm handler.
Closes https://github.com/espressif/esp-idf/pull/11637
Closes https://github.com/espressif/esp-idf/issues/11636
2023-08-23 17:10:45 +08:00
46f5638847
Merge branch 'bugfix/incorrect_time_after_ota_v5.0' into 'release/v5.0'
...
esp_hw_support: Fix invalid system time if s_esp_rtc_time_us & s_rtc_last_ticks were moved around (v5.0)
See merge request espressif/esp-idf!24410
2023-08-23 16:34:43 +08:00
29cd791cd9
Merge branch 'bugfix/fix_pmf_set_race_v5.0' into 'release/v5.0'
...
fix(wifi): Prevent PMF config overwritten by tx_cb(v5.0)
See merge request espressif/esp-idf!25416
2023-08-23 14:57:34 +08:00
b01f0fee50
Merge branch 'bugfix/usb_hcd_interrupt_alloc_error_return_v5.0' into 'release/v5.0'
...
USB Host: Fix coverity issues with hcd_install() (v5.0)
See merge request espressif/esp-idf!25464
2023-08-23 14:03:58 +08:00
6c6a55ef91
Merge branch 'bugfix/intr_flags_to_level_v5.0' into 'release/v5.0'
...
fix(intr_flags_to_level): fix value returned one more than correct value (v5.0)
See merge request espressif/esp-idf!25425
2023-08-23 13:55:30 +08:00
711279c36f
fix(wifi): Prevent PMF config overwritten by tx_cb
2023-08-23 03:44:47 +00:00
186b5b4d55
Merge branch 'bugfix/ignore_eapol_nonkey_v5.0' into 'release/v5.0'
...
Ignore EAPOL non-key frames in EAPOL txdone callback (Backport v5.0)
See merge request espressif/esp-idf!25455
2023-08-23 10:37:44 +08:00
ee1c3119a7
ble: update btlib to f9db7b90, some esp32c2 issues bugfixed
2023-08-23 10:23:02 +08:00
af45a6d40d
usb_host: added URB check args and transfer check compliance for regular EP transfer submit
2023-08-22 16:31:37 +08:00
a4fa0019ec
usb_host: Fix coverity issues with hcd_install()
...
- Use single "err_ret" variable for returning errors
- Simplify bail out procedure by using more labels
2023-08-22 15:31:40 +08:00
8b692dd0ca
Merge branch 'contrib/github_pr_11869_v5.0' into 'release/v5.0'
...
bugfix: avoid warning in espcoredump when log disabled (GitHub PR) (v5.0)
See merge request espressif/esp-idf!25144
2023-08-22 14:51:41 +08:00
d52c033574
Merge branch 'fix/wifi_wps_pbc_overlap_v5.0' into 'release/v5.0'
...
fix(wpa_supplicant): Add support to detect PBC overlap in wps registrar mode (Backport v5.0)
See merge request espressif/esp-idf!25441
2023-08-22 10:41:01 +08:00
85b69db02d
Merge branch 'bugfix/fix_dhcp_server_address_pool_issue_5.0' into 'release/v5.0'
...
fix(dhcp server): Fix dhcp server address pool issue 5.0
See merge request espressif/esp-idf!25435
2023-08-22 10:38:55 +08:00
80231a8c58
Merge branch 'bugfix/optimize_beacon_rx_v5.0' into 'release/v5.0'
...
fix(phy): fix some phy issue(v5.0)
See merge request espressif/esp-idf!25436
2023-08-22 10:25:20 +08:00
9489c588bc
fix(supplicant): Ignore EAPOL non-key frames in EAPOL txdone callback
2023-08-21 19:01:45 +05:30
87d429fb57
Merge branch 'bugfix/incr_sdp_max_conns_v5.0' into 'release/v5.0'
...
fix(bt): Increased SDP maximum connections to avoid connection exhausted (v5.0)
See merge request espressif/esp-idf!25430
2023-08-21 20:20:12 +08:00
478022104a
Merge branch 'bugfix/fix_espnow_set_lr_rate_fail_v5.0' into 'release/v5.0'
...
fix(wifi/vendor): fix some bugs in LR and ESP-NOW (backport v5.0)
See merge request espressif/esp-idf!25414
2023-08-21 15:48:37 +08:00
8c22b81949
fix(wpa_supplicant): Add support to detect PBC overlap in wps registrar mode
2023-08-21 12:34:17 +05:30
9aefeb6dcb
Merge branch 'bugfix/twai_install_returns_error_on_intr_alloc_fail_v5.0' into 'release/v5.0'
...
TWAI: twai_driver_install() returns error on interrupt allocation failure (GitHub PR) (v5.0)
See merge request espressif/esp-idf!24824
2023-08-21 13:26:43 +08:00
98c2bc85bb
Merge branch 'bugfix/neighbour_report_crash_v50' into 'release/v5.0'
...
Fix crash in RRM neighbour report requests.(v5.0)
See merge request espressif/esp-idf!25408
2023-08-21 12:30:22 +08:00
cf4c628ef3
fix(phy): fix some phy issue
...
1. WIFI RX multipath optimization
2. BLE TX sideband optimization for C3/S3
3. Optimize ht40 tx side band issue
2023-08-21 12:00:38 +08:00
bc003fc6d4
fix(dhcp server): Fix dhcp server address pool issue
2023-08-21 11:54:30 +08:00
9806a1e7e2
update btlib to f9db7b90, some esp32c2 issues bugfixed
2023-08-21 11:52:56 +08:00
849ab66f5f
fix(bt): Increased SDP maximum connections to avoid connection exhausted
2023-08-21 11:20:48 +08:00
d811f7c1f0
Merge branch 'docs/fatfs_add_api_reference_v5.0' into 'release/v5.0'
...
docs(fatfs): Move mentioned APIs to a separate API reference section (v5.0)
See merge request espressif/esp-idf!25350
2023-08-21 10:42:51 +08:00
f9816801a9
Merge branch 'bugfix/secure_ota_without_padding_v5.0' into 'release/v5.0'
...
fix(secure_ota): secure app verification issue without padding bytes (v5.0)
See merge request espressif/esp-idf!25213
2023-08-21 10:42:05 +08:00
095f1f259b
Merge branch 'bugfix/sha_dma_mode_incorrect_result_v5.0' into 'release/v5.0'
...
fix(sha): DMA mode iteration calculation issue for certain data lengths (v5.0)
See merge request espressif/esp-idf!25128
2023-08-21 10:40:15 +08:00
52e2f9b0ad
Merge branch 'refactor/usb_host_usbh_interface_v5.0' into 'release/v5.0'
...
USB Host: Refactor USBH interface (v5.0)
See merge request espressif/esp-idf!24212
2023-08-21 10:39:28 +08:00
38bd8d3044
Merge branch 'bugfix/esp32s3_usb_otg_console_v5.0' into 'release/v5.0'
...
system: support USB_OTG CDC console on ESP32-S3 (v5.0)
See merge request espressif/esp-idf!24338
2023-08-21 10:37:29 +08:00
7c91c8f78d
Merge branch 'feature/freertos_iram_optimization_5.0' into 'release/v5.0'
...
freertos: Update linker fragment files to optimise IRAM utilisation (v5.0)
See merge request espressif/esp-idf!24222
2023-08-21 10:33:23 +08:00
5a5fae5f1e
fix(intr_flags_to_level): fix value returned one more than correct value
2023-08-21 10:09:00 +08:00
4efb3d7a7a
Merge branch 'lwip/dhcp_client_fix_forwardportV5.0' into 'release/v5.0'
...
Fix: Added check to ensure safe restart of dhcp fine timer (v5.0)
See merge request espressif/esp-idf!24707
2023-08-18 17:22:54 +08:00
80d3e7a0b2
Merge branch 'bugfix/temperature_get_value_negative_v5.0' into 'release/v5.0'
...
bugfix(temperature_sensor): Fix issue that get the value is negative (backport v5.0)
See merge request espressif/esp-idf!25252
2023-08-18 17:21:32 +08:00
8157b2606b
fix(wifi/vendor): fix some bugs in LR and ESP-NOW
...
1. Fix the LR rate set fail for espnow and 80211 tx
2. Fixed the RX error when softAP/station and ESP-NOW both encrypted,
and the ESP-NOW peer address is equal to the connection peer address
2023-08-18 17:13:47 +08:00
273928f14d
Merge branch 'bugfix/netif_default_sta_init_v5.0' into 'release/v5.0'
...
wifi: Fix default wifi-netif creation to assert if no event loop (v5.0)
See merge request espressif/esp-idf!25345
2023-08-18 16:22:23 +08:00
673a3b9b80
fix(rrm) : Fix crash in RRM neighbour report requests.
...
Fix crash in sending new RRM neighbour report requests by removing
the call to neighbour report request timeout callback in case of
already ongoing neighbour report request timer.
2023-08-18 12:53:07 +05:30
958dae0c21
Merge branch 'feature/update_mbedtls_v5.0' into 'release/v5.0'
...
feat(mbedtls): Update to release/v3.4.1 (v5.0)
See merge request espressif/esp-idf!25395
2023-08-18 15:04:23 +08:00
bb4b3a36bc
Merge branch 'bugfix/action_tx_sleep_fix' into 'release/v5.0'
...
Trigger null data frame TX before going offchannel.(v5.0)
See merge request espressif/esp-idf!25111
2023-08-18 15:02:12 +08:00
222190f08d
twai: twai_driver_install() returns error on interrupt allocation failure
...
This commit updates twai_driver_install() so that an error is returned when
esp_intr_alloc() fails, instead of aborting.
Closes https://github.com/espressif/esp-idf/pull/11494
[darian@espressif.com: Refactored object allocation and free procedures]
[darian@espressif.com: Updated commit message]
Signed-off-by: Darian Leung <darian@espressif.com>
2023-08-18 11:20:13 +08:00
7e45bf4573
fix(esp_wifi) : Trigger null data frame TX before offchan channel switch
...
1. Triggers null data frame TX to before channel switch during
offchannel action frame TX req.
2. revert send wake up and sleep null between scaning
2023-08-17 17:35:10 +05:30
53408df990
feat(mbedtls): Update to release/v3.4.1
2023-08-17 17:31:10 +05:30
73d238cdfb
fix: Added check to ensure safe restart of dhcp fine timer
2023-08-17 19:04:33 +10:00
92bc2c74fc
Merge branch 'bugfix/eapol_txdone_cb_issue_v5.0' into 'release/v5.0'
...
Fix EAPOL Key TxDone callback implementation (Backport v5.0)
See merge request espressif/esp-idf!25380
2023-08-17 16:37:42 +08:00
b7a28abd2c
fix(wifi): Fix EAPOL Key TxDone callback implementation
...
Fix issues arising due to not distinguishing between M2 and M4
TxDone during 4-way handshake. Also fix EAPOL frame rate to lowest
possible rate.
2023-08-17 13:58:08 +08:00
58f24412db
Merge branch 'bugfix/fix_ftm_error_propagation_v5.0' into 'release/v5.0'
...
Fix error propagation while initiating FTM (Backport v5.0)
See merge request espressif/esp-idf!25221
2023-08-17 00:42:39 +08:00
de2df68585
fix(wifi): Fix error propagation while initiating FTM
2023-08-16 12:36:14 +05:30
098a0293b1
Merge branch 'fix/v5.0_noload_included_in_flash_size' into 'release/v5.0'
...
fix: noload being included in ram and flash sizes
See merge request espressif/esp-idf!25339
2023-08-15 21:53:40 +08:00
7a0e39d5f0
Merge branch 'feature/improve_pd_vddsido_help_doc_v5.0' into 'release/v5.0'
...
docs(esp_hw_support): improve ESP_SLEEP_PSRAM/FLASH_LEAKAGE_WORKAROUND help doc in Kconfig (backport v5.0)
See merge request espressif/esp-idf!25235
2023-08-15 21:04:23 +08:00
fdbb885964
fix(wifi): Fix default wifi-netif creation to assert if no event loop
...
- Added ESP_ERROR_CHECK() checks to `esp_wifi_set_default_wifi_..._handlers()` calls
- Added ESP_ERROR_CHECH() to `esp_netif_attach_wifi_...()` calls
- Updated documentation to reflect the changes
Closes https://github.com/espressif/esp-idf/issues/11580
2023-08-15 11:06:38 +02:00
cce8fa3781
Merge branch 'bugfix/allow_owe_traffic_after_eapol_v5.0' into 'release/v5.0'
...
Fix some OWE issues (Backport v5.0)
See merge request espressif/esp-idf!25238
2023-08-15 13:59:42 +08:00
0508821a68
Merge branch 'bugfix/minor_enterprise_fixes_v5.0' into 'release/v5.0'
...
Drop Eapol msg if EAP success is not processed (Backport v5.0)
See merge request espressif/esp-idf!25067
2023-08-15 13:59:30 +08:00
01871aa91b
Merge branch 'backport_v5.0' into 'release/v5.0'
...
fix(bt): Fix ble periodic advertising data length 0 error(backport v5.0)
See merge request espressif/esp-idf!25007
2023-08-15 11:04:47 +08:00
402a8f90d7
Merge branch 'bugfix/ccmp_decrypt_log_v5.0' into 'release/v5.0'
...
esp_wifi: Move ccmp mgmt enc/decrypt logs to verbose (v5.0)
See merge request espressif/esp-idf!25169
2023-08-15 11:04:05 +08:00
2a1e6f73ee
docs: Provide CN translation for wear-levelling.rst
2023-08-14 12:59:10 +02:00
556816423c
docs(fatfs): Move mentioned APIs to a separate API reference section
2023-08-14 12:59:08 +02:00
16aef4bbee
Merge branch 'bugfix/remove_deprecated_err_code_v5.0' into 'release/v5.0'
...
fix(bt): Removed an incorrectly defined HCI error code (5.0)
See merge request espressif/esp-idf!25289
2023-08-14 14:56:10 +08:00
9523b57c8d
Merge branch 'bugfix/fix_current_issue_after_ble_init_5.0' into 'release/v5.0'
...
ble: move phy enabled/disable to controller enable/disable
See merge request espressif/esp-idf!25082
2023-08-14 13:11:36 +08:00
018f493cb3
Merge branch 'bugfix/fix_variable_type_v5.0' into 'release/v5.0'
...
fix(bt): Fix argument type of ESP_LOGI for spp examples about format error (backport v5.0)
See merge request espressif/esp-idf!25326
2023-08-14 10:32:38 +08:00
3b047f7572
fix: noload being included in ram and flash sizes
...
This fixes noload sections being included in the total flash and ram
size calculations. These sections represent things that already exist in
the rom or flash in different partitions and are not a part of the app.
2023-08-11 22:32:11 +02:00
342ae32a23
fix(bt): Fix argument type of ESP_LOGI for spp examples about format error
...
Closes https://github.com/espressif/esp-idf/pull/11819
2023-08-11 15:01:18 +08:00
1812fdc58a
Merge branch 'bluedroid/memory_full_v5.0' into 'release/v5.0'
...
fix (Bluedroid) : Fix the memory corruption issue (v5.0)
See merge request espressif/esp-idf!25182
2023-08-11 14:49:12 +08:00
c7cda1c489
Fix the mem corruption
2023-08-10 14:30:32 +00:00
baa90a6177
Merge branch 'feature/support_mbedtls_ecp_fixed_point_configurable_v5.0' into 'release/v5.0'
...
feat(mbedtls): support ecp fixed-point multiplication configurable (backport v5.0)
See merge request espressif/esp-idf!25287
2023-08-10 11:44:14 +08:00
52890aeb22
Merge branch 'bugix/nimble_port_run_crash_v5.0' into 'release/v5.0'
...
fix(nimble): Added checks before accessing event pointers (v5.0)
See merge request espressif/esp-idf!25267
2023-08-09 22:57:20 +08:00
e6c1c5cf6d
Merge branch 'bugfix/role_switch_enc_mode_lmp_timeout_v5.0' into 'release/v5.0'
...
fix(bt/controller): Fix disconnection due to lmp messages not being processed by both sides(v5.0)
See merge request espressif/esp-idf!25203
2023-08-09 19:20:02 +08:00
5983040644
Merge branch 'fix/bin_names_with_dots_v5.0' into 'release/v5.0'
...
fix(build_system): Allow dots in the name of an app binary (backport v5.0)
See merge request espressif/esp-idf!25275
2023-08-09 18:35:19 +08:00
48a31a8a51
fix(bt): Removed an incorrectly defined HCI error code
2023-08-09 17:32:41 +08:00
498d012510
docs: add new mbedtls configuration option in optimize size
2023-08-09 16:54:43 +08:00
b554ee475c
feat(mbedtls): support ecp fixed-point multiplication configurable
2023-08-09 16:54:28 +08:00
78324fc655
Merge branch 'docs/add_cn_trans_for_contribute/index.rst_backport_v5.0' into 'release/v5.0'
...
docs: Provide CN translation for contribute/index.rst_backport v5.0
See merge request espressif/esp-idf!25271
2023-08-09 10:53:18 +08:00
cf90dc98f5
Merge branch 'bugfix/link_gcov_rtio_v5.0' into 'release/v5.0'
...
gcov: Fix not linked gcov rtio functions
See merge request espressif/esp-idf!24502
2023-08-09 00:13:13 +08:00
2ab2d8dce7
Merge branch 'fix/esp32s3_sysview_trace_corrupt_v5.0' into 'release/v5.0'
...
fix(app_trace): Fix apptrace data corruption on ESP32-S3 (v5.0)
See merge request espressif/esp-idf!24681
2023-08-09 00:05:20 +08:00
8abc88dab0
fix(build_system): Allow dots in the name of an app binary
2023-08-08 15:14:35 +02:00
78491181ff
docs:Provide CN translation for contribute/index.rst
2023-08-08 19:40:47 +08:00
b412b1f2c9
fix(nimble): Added checks before accessing event pointers
2023-08-08 15:47:40 +05:30
3c07dc26ed
Merge branch 'version_check_fix_dev_5.0' into 'release/v5.0'
...
fix(tools): check_python_version accept dev releases as requirement (v5.0)
See merge request espressif/esp-idf!25187
2023-08-08 15:20:45 +08:00
42677134dc
ble: move phy enabled/disable to controller enable/disable
2023-08-08 14:10:10 +08:00
60acb3239d
Merge branch 'feature/add_duplicate_excep_list_vsc_v5.0' into 'release/v5.0'
...
feat(mesh): Add support for Duplicate Exception list update VSC for Nimble (v5.0)
See merge request espressif/esp-idf!25133
2023-08-08 13:56:35 +08:00
c7a5b3c948
Merge branch 'bugfix/i80_lcd_reset_gpio_config_v5.0' into 'release/v5.0'
...
fix(i80_lcd): reset cs gpio on exit (v5.0)
See merge request espressif/esp-idf!25244
2023-08-08 10:16:19 +08:00
a55ab7cb5d
Merge branch 'feature/usb_host_restrict_ahb_errata_workaround_to_esp32s2_eco0_v5.0' into 'release/v5.0'
...
USB Host: Restrict ESP32-S2 AHB errata workaround to only ECO0 chips (v5.0)
See merge request espressif/esp-idf!25053
2023-08-08 10:12:42 +08:00
b9c34e83f8
feat(mesh): Add support for Duplicate Exception list update VSC for
...
Nimble
2023-08-07 20:00:14 +05:30
4f67fe7d3f
bugfix(temperature_sensor): Fix issue that get the value is negative
2023-08-07 19:05:59 +08:00
5369eea710
fix(tools): check_python_version accept dev releases as requirement
2023-08-07 10:27:04 +02:00
38c8db565f
fix(i80_lcd): reset cs gpio on exit
2023-08-07 15:54:21 +08:00
6e5bcdfe4c
Merge branch 'bugfix/sbom_hash_check_v5.0' into 'release/v5.0'
...
fix(test_submodules.py): don't rely on submodule init (v5.0)
See merge request espressif/esp-idf!25058
2023-08-07 14:04:04 +08:00
63b32f4dda
fix(esp_wifi): Fix some OWE issues
...
1. Allow flow of traffic after 4 way handshake is completed
2. Fix beacon timeout issue in transition mode
2023-08-07 11:11:00 +05:30
cb139b4386
change(esp_hw_support): improve ESP_SLEEP_PSRAM/FLASH_LEAKAGE_WORKAROUND help doc in Kconfig
2023-08-07 11:35:49 +08:00
bd23db594b
Merge branch 'test/bqb_test_bt_classic_spp_rfcomm_v5.0' into 'release/v5.0'
...
feat(bt/bqb): Add BQB enabling and rfcomm msc command sending support (backport v5.0)
See merge request espressif/esp-idf!25098
2023-08-07 11:35:28 +08:00
5e933a8fc5
Merge branch 'feature/gptimer_interrupt_priority_v5.0' into 'release/v5.0'
...
feat(gptimer): support set interrupt priority (v5.0)
See merge request espressif/esp-idf!25200
2023-08-07 11:14:30 +08:00
116f343115
Merge branch 'feat/psram_support_d2wd_single_clk_u4wdh_v5.0' into 'release/v5.0'
...
spiram: Add support for U4WDH, and fixed D0WD/D2WD cannot share CLK pins (v5.0)
See merge request espressif/esp-idf!25172
2023-08-05 03:28:31 +08:00
2f7ccb7e3f
Merge branch 'bugfix/handle_NULL_data_periodic_adv_v5.0' into 'release/v5.0'
...
fix(nimble): Add check to set length only if data is valid in periodic adv (v5.0)
See merge request espressif/esp-idf!25179
2023-08-04 21:16:09 +08:00
2f88ec6824
Merge branch 'docs/add_Chinese_translation_for_api-guides_hardware-abstraction.rst_backport_v5.0' into 'release/v5.0'
...
docs: provide CN tranlsation for api-guides/hardware-abstraction.rst (backport v5.0)
See merge request espressif/esp-idf!25044
2023-08-04 16:44:32 +08:00
52c9c342bd
fix(secure_ota): secure app verification issue without padding bytes
...
For the following configuration case:
- CONFIG_SECURE_SIGNED_APPS_RSA_SCHEME
- CONFIG_SECURE_SIGNED_ON_UPDATE_NO_SECURE_BOOT
- CONFIG_SECURE_BOOT_ALLOW_SHORT_APP_PARTITION
verification of the application was failing because the externally
padded bytes were not considered in the hash (checksum) process.
This commit fixes the problem by enabling relevant code for secure OTA
without secure boot case.
Closes https://github.com/espressif/esp-idf/issues/11995
2023-08-04 12:25:20 +05:30
f5154364ac
feat(gptimer): support set interrupt priority
...
Related forum post: https://esp32.com/viewtopic.php?f=13&t=34959
2023-08-04 12:55:16 +08:00
4fd3eb28d6
fix(bt/controller): Fix disconnection due to lmp messages not being processed by both sides
...
The master sent lmp_enc_mode_req, and the slave sent lmp_switch_req.
However, both sides failed to handle the LMP message, resulting in LMP timeout.
2023-08-04 11:04:46 +08:00
f34f4272a0
fix (nimble): Add check to set length only if data is valid in periodic adv
2023-08-03 14:45:47 +05:30
5eddb9e016
Merge branch 'bugfix/esp_netif_ppp_backport_regression' into 'release/v5.0'
...
esp_netif: Fix regression from 12d09e0b
when PPP enabled (v5.0)
See merge request espressif/esp-idf!24920
2023-08-03 16:35:43 +08:00
f168e9f174
spiram: Support configure CLK onto the same pin as flash for ESP32-D0WD
...
When using PSRAM of rev0, the Flash and PSRAM should use different clock pins. But if using newer PSRAM, this is not necesary. This MR fixed the issue that allocating CLK of PSRAM to the same pin as Flash may crash.
2023-08-03 15:44:59 +08:00
4b29d8340b
esp_wifi: Move ccmp mgmt enc/decrypt logs to verbose
2023-08-03 10:58:53 +05:30
ca087a174d
Merge branch 'feat/update_cjson_submodule_v5.0' into 'release/v5.0'
...
feat: Update cJSON version to v1.7.16 (v5.0)
See merge request espressif/esp-idf!25138
2023-08-03 13:10:05 +08:00
6fa9586fd8
Merge branch 'esp_prov/update_deprecation_warnings_v5.0' into 'release/v5.0'
...
fix(esp_prov): Fixed the deprecation APIs warnings (v5.0)
See merge request espressif/esp-idf!25151
2023-08-03 12:48:57 +08:00
7744f7888c
Merge branch 'docs/rewrite_all_low_to_any_low_when_not_esp32_v5.0' into 'release/v5.0'
...
Docs: rewrite_all_low_to_any_low_when_not_esp32(backport v5.0)
See merge request espressif/esp-idf!24998
2023-08-03 11:39:58 +08:00
cbb4126f71
Merge branch 'bugfix/fix_cache_data_mem_corrupt_after_sleep_v5.0' into 'release/v5.0'
...
fix(lightsleep): Suspend cache before goto sleep to avoid cache load wrong data (backport v5.0)
See merge request espressif/esp-idf!25089
2023-08-03 11:39:05 +08:00
6daffb32b3
Merge branch 'bugfix/ps_export_extra_paths_v5.0' into 'release/v5.0'
...
tools: export.ps1: define functions for helper python tools (v5.0)
See merge request espressif/esp-idf!25140
2023-08-02 21:17:30 +08:00
6531a415f2
Merge branch 'ble_mesh/esp32c6_BLEQABR23-266v5.0' into 'release/v5.0'
...
ble mesh: stack: return error when scanning failed to be enabled(v5.0)
See merge request espressif/esp-idf!24774
2023-08-02 21:07:21 +08:00
e81d8f8329
ble mesh: stack: return error when scanning failed to be enabled(v5.0)
2023-08-02 21:07:20 +08:00
01a870bd8a
fix(esp_prov): Fixed the deprecation APIs warnings
...
- Updated the extraction of service_uuids using AdvertisementData
- Replaced the `get_services()` API with the `services` property
2023-08-02 17:22:18 +05:30
34efd5af6f
bugfix: avoid warning in espcoredump when log disabled
2023-08-02 15:04:34 +05:30
c5d3f350a0
feat(tools): add espsecure.py to the Windows export scripts
...
This is not needed on Linux/macOS where the path to esptool directory
is added to PATH.
2023-08-02 10:44:15 +02:00
4153351bb8
change(tools): export.ps1: define functions for helper python tools
...
Follows the approach used in Initialise-Idf.ps1 created by the tools
installer. This is the closes equivalent of "alias" used in export.bat
Closes https://github.com/espressif/esp-idf/issues/9849
2023-08-02 10:44:15 +02:00
c6caa80d4c
feat: Update cJSON version to v1.7.16
...
Changelog: https://github.com/DaveGamble/cJSON/releases/tag/v1.7.16
2023-08-02 13:54:33 +05:30
6a7646e5f4
docs(pm/sleep): rewrite_all_low_to_any_low_when_not_esp32
2023-08-02 15:23:03 +08:00
080214b31a
ci(test): add SHA DMA mode test for large data in PSRAM
...
Covers a test scenario described in following issue:
https://github.com/espressif/esp-idf/issues/11915
2023-08-02 04:48:48 +00:00
66b718ac82
fix(sha): DMA mode iteration calculation issue for certain data lengths
...
SHA hardware DMA mode calculation had off-by-one error for specific
input lengths. This was causing last chunk of the input data not being
fed to the hardware accelerator and hence resulting in an incorrect
final result.
Closes: https://github.com/espressif/esp-idf/issues/11915
2023-08-02 04:48:48 +00:00
6db7b11d7e
Merge branch 'doc/c2_5.0' into 'release/v5.0'
...
c2 5.0 doc, header files re-organized
See merge request espressif/esp-idf!25112
2023-08-01 23:11:33 +08:00
339dff07f3
Merge branch 'bugfix/remove_52_feature_macro' into 'release/v5.0'
...
fix(nimble): Update Menuconfig option to remove separate 5.2 feature option
See merge request espressif/esp-idf!24954
2023-08-01 21:42:47 +08:00
3fd6493ade
c2 5.0 doc, header files re-organized
2023-08-01 14:43:11 +08:00
9ec33f6a68
Merge branch 'bugfix/l2cap_coc_more_one_pkt_v5.0' into 'release/v5.0'
...
NimBLE: Fixed crash when L2CAP COC sends large amount of data. (v5.0)
See merge request espressif/esp-idf!25060
2023-08-01 14:01:21 +08:00
8beb1a2f8d
Merge branch 'docs/add_Chinese_translation_for_api-guides/openthread.rst_backport_v5.0' into 'release/v5.0'
...
provide CN translation for api-guides/openthread.rst (backport v5.0)
See merge request espressif/esp-idf!25047
2023-08-01 13:15:18 +08:00
8a187da064
provide CN translation for api-guides/openthread.rst (backport v5.0)
2023-08-01 13:15:17 +08:00
652bc76354
fix(lightsleep): fix access pu_cfg after sleep wakeup which is linked to flash
2023-07-31 21:36:27 +08:00
f5ad81e04a
fix(bt/bqb): Modify BQB related configurations
2023-07-31 18:18:29 +08:00
543a0aaa25
feat(bt): Add BQB enabling and rfcomm msc command sending support
...
1: add the CONFIG_BT_BQB_ENABLED for some functions of bqb test.
2: add bqb_rfc_send_msc_cmd function to send rfcomm msc command with
only address arg input.
2023-07-31 17:58:01 +08:00
ea3f68824f
fix(app_trace): Fix apptrace data corruption on ESP32-S3
...
Close https://github.com/espressif/esp-idf/issues/10604
diff --git a/components/soc/esp32s3/include/soc/tracemem_config.h b/components/soc/esp32s3/include/soc/tracemem_config.h
index 55c9b907dd..75fd87419b 100644
--- a/components/soc/esp32s3/include/soc/tracemem_config.h
+++ b/components/soc/esp32s3/include/soc/tracemem_config.h
@@ -10,7 +10,7 @@ extern "C" {
#endif
#define TRACEMEM_MUX_BLK0_NUM 22
-#define TRACEMEM_MUX_BLK1_NUM 23
+#define TRACEMEM_MUX_BLK1_NUM 26
#if (TRACEMEM_MUX_BLK0_NUM < 6) || (TRACEMEM_MUX_BLK0_NUM > 29)
#error Invalid TRAX block 0 num!
2023-07-31 11:20:44 +03:00
2236c2fd34
fix(lightsleep): suspend cache before goto sleep to avoid cache load wrong data after spi io isolation
2023-07-31 15:35:00 +08:00
1283619767
cache: refactor cache_utils into cache_hal instade
2023-07-31 15:34:56 +08:00
68e07d90ba
cache: fix cache suspended/resumed twice on S3
2023-07-31 15:08:18 +08:00
049c219c8c
Merge branch 'docs/add_protocomm_trans_v5.0' into 'release/v5.0'
...
Docs: add CN translation for api-reference/provisioning/protocomm.rst (backport v5.0)
See merge request espressif/esp-idf!25035
2023-07-31 15:05:49 +08:00
082a2972cd
Docs: add CN translation for api-reference/provisioning/protocomm.rst (backport v5.0)
2023-07-31 15:05:48 +08:00
3fc8422fe6
NimBLE: Fixed crash when L2CAP COC sends large amount of data.
2023-07-28 15:58:48 +05:30
951510489d
fix(test_submodules.py): don't rely on submodule init
...
Current version of the test is using "git-submodule foreach", which
requires submodules to be initialized. Non-initialized submodules are
ignored. Our CI is not performing submodule initialization, but instead
it only downloads the submodule content in tools/ci/ci_fetch_submodule.py
from cache and copies it into the submodule path.
Since we already know the submodule path from .gitconfig, we can use it
as argument to git-ls-tree and avoid calling git-submodule at all. This
allows to perform the test even if the submodules are not initialization
and also it makes the code simpler.
Signed-off-by: Frantisek Hrbata <frantisek.hrbata@espressif.com >
2023-07-28 12:14:41 +02:00
29777aaa51
fix(esp_wifi): Drop Eapol msg if EAP success is not processed
2023-07-28 15:26:20 +05:30
70dde52e91
soc: Move revision MAX/MIN static assert to esp_hw_support
...
Previously, "soc/chip_revision.h" contained a static assert to check that the
CONFIG_ESP_REV_MIN_FULL <= CONFIG_ESP_REV_MAX_FULL. There are two issues with
this assert:
- Contained in a header file, so it is only compiled if the "chip_revision.h"
is included somewhere
- CONFIG_ESP_REV_MIN_FULL and CONFIG_ESP_REV_MAX_FULL are defined in
"esp_hw_support", which is a G0 component. This creates a reverse dependency
of G0 on G1.
This commit moves the static assert "revision.c" in "esp_hw_support".
2023-07-28 11:36:20 +02:00
9935a17b1d
usb_host: Restrict ESP32-S2 AHB errata workaround to only ECO0 chips
2023-07-28 11:34:54 +02:00
f572b91024
Merge branch 'bugfix/fix_wifi_espnow_coexist_API_doc_v5.0' into 'release/v5.0'
...
bugfix: fix wifi espnow coexist api doc v5.0
See merge request espressif/esp-idf!25023
2023-07-28 17:19:27 +08:00
aeef81cde7
usb_host: Run formatting script
2023-07-28 10:39:37 +02:00
3c7776cd58
usb_host: Fix spelling errors
2023-07-28 10:36:41 +02:00
f5f3196c01
usb_host: Refactor USBH and USB Host Library calls to HCD
...
This commit refactors the USBH and the USB Host Library in the following ways:
- USBH now presents an abstraction of an endpoint (via usbh_ep_handle_t)
- Added separate functions to enqueue/dequeue URBs to a particular endpoint
- USB Host Library no longer calls HCD API directly. Calls USBH endpoint API
instead.
- Renamed "notif_cb" to "proc_req_cb" (Processing Request Callback)
- This is to avoid confusion with FreerTOS task notifications and Host
Library client event notifications.
- The processing functions of each layer (i.e., "xxx_process()") request
calls via the "proc_req_cb"
- The main handling function (i.e., usb_host_lib_handle_events()) is
responsible for calling the required "xxx_process()" of each layer
2023-07-28 10:36:41 +02:00
832f1f9f0b
docs: provide CN tranlsation for api-guides/hardware-abstraction.rst
2023-07-28 14:38:20 +08:00
62b7ed25f3
Merge branch 'feature/usb/update_cdc_examples_backport_v5.0' into 'release/v5.0'
...
usb: Update host CDC examples (backport v5.0)
See merge request espressif/esp-idf!23073
2023-07-28 10:33:59 +08:00
8e5718fd0c
Merge branch 'bugfix/bod_intr_v5.0' into 'release/v5.0'
...
brownout: Disable the hardware BOD when BOD interrupt is enabled(backport v5.0)
See merge request espressif/esp-idf!24693
2023-07-28 10:32:19 +08:00
57335c9051
fix(esp_wifi): fix ret when setting channel at wifi not started
2023-07-27 19:09:07 +08:00
9fa4ff5300
fix(nimble): Update Menuconfig option to remove separate 5.2 feature option
2023-07-27 14:38:53 +05:30
332a4d3bef
feat(esp_wifi): add ESPNOW power-save example
2023-07-27 14:23:58 +08:00
c920123629
Merge branch 'bugfix/fix_some_wifi_bugs_230726_v5.0' into 'release/v5.0'
...
fix(wifi): fix some wifi bugs 230726(Backport v5.0)
See merge request espressif/esp-idf!25000
2023-07-27 13:51:21 +08:00
35c484324f
Merge branch 'bugfix/debug_ext_ctrl_c_v5.0' into 'release/v5.0'
...
tools: fix waiting on gdb process when interrupted with CTRL+C (v5.0)
See merge request espressif/esp-idf!24934
2023-07-26 21:09:52 +08:00
8b59c17ef0
fix(wifi): fix some wifi bugs 230726
...
1. process association request verify ssid
2. fix ftm timer macro issue
3. lower the dhcp discover and request retry backoff time
2023-07-26 16:52:13 +08:00
cb85b7b7a7
fix(bt): Fix bug with address resolution enabling during non-connected activities
2023-07-26 16:39:06 +08:00
aff7ff1a9f
docs(bt): Organize header files for esp32c3 and esp32s3
2023-07-26 16:39:06 +08:00
0e9974a918
fix(bt): Fix ble periodic advertising data length 0 error
...
- Fixed issues about data length 0 when set ext adv data,ext scan rsp data and periodic adv data
2023-07-26 16:39:06 +08:00
210ffa0475
fix(wifi): missed annotate ld function from txop fix
2023-07-26 11:54:10 +08:00
b4b4306677
Merge branch 'bugfix/sae_and_nvs_fixes_v5.0' into 'release/v5.0'
...
Fix SAE and SAE related NVS issues (Backport v5.0)
See merge request espressif/esp-idf!24956
2023-07-26 11:06:29 +08:00
ba0ab6687d
Merge branch 'change/rewrite_all_low_to_any_low_when_not_esp32' into 'release/v5.0'
...
Change: rewrite EXT1 triggle mode all_low to any_low when not esp32(backport v5.0)
See merge request espressif/esp-idf!24988
2023-07-26 10:17:43 +08:00
3727d56c82
Change: rewrite EXT1 triggle mode all_low to any_low when not esp32
2023-07-25 17:53:33 +08:00
585cbec17b
fix(wifi): Fix SAE and SAE related NVS issues
...
1. Discard commit frame received at confirmed state in SAE STA
2. Bugfix NVS get values for sae pwe
3. Bugfix memory leak caused by assoc retry timer and assoc IE
4. Bugfix store nvs authmode security values
2023-07-25 13:53:42 +05:30
c36f5fb77a
Merge branch 'contrib/github_pr_11810_v5.0' into 'release/v5.0'
...
ledc.c: Fix frequency calculation. (GitHub PR) (v5.0)
See merge request espressif/esp-idf!24698
2023-07-25 16:15:05 +08:00
3fba3425f1
Merge branch 'bugfix/fix_spi_flash_api_concurrency_issue_v5.0' into 'release/v5.0'
...
spi_flash: fix concurrency issue when concurrently calling esp_flash apis (v5.0)
See merge request espressif/esp-idf!24512
2023-07-25 11:04:57 +08:00
598c1fa7e2
Merge branch 'bugfix/fix_gpio_driver_calloc_v5.0' into 'release/v5.0'
...
fix(gpio): fix potential crash when processing gpio isr (v5.0)
See merge request espressif/esp-idf!24902
2023-07-25 11:03:09 +08:00
5b440d1bd1
Merge branch 'ci/update_pre_commit_copyright_checker_v5.0' into 'release/v5.0'
...
ci(pre-commit): Use the newest copyright checker (v5.0)
See merge request espressif/esp-idf!24908
2023-07-24 21:08:25 +08:00
22d34feac4
Merge branch 'ci/fix_failures_in_esp_http_client_example_v5.0' into 'release/v5.0'
...
CI: fix esp_http_client example failures in CI. Timeout was observed in the... (v5.0)
See merge request espressif/esp-idf!24950
2023-07-24 17:17:23 +08:00
000450504d
Merge branch 'bugfix/cache_writeback_bug_v5.0' into 'release/v5.0'
...
esp_rom: patch Cache_WriteBack_Addr (backport v5.0)
See merge request espressif/esp-idf!24940
2023-07-24 15:41:32 +08:00
b4ee8b573a
ci: requires serial processing for check-all-apps-readmes
2023-07-24 15:28:18 +08:00
38de42bd26
feat(spi_flash): add common test_flash_utils component
2023-07-24 15:28:18 +08:00
403cdb03ec
spi_flash: rename spi_flash_os_func_app: spi_start, spi_end
...
spi_start -> s_acquire_spi_bus_lock
spi_end -> s_release_spi_bus_lock
2023-07-24 15:28:18 +08:00
c56ff93007
spiflash: added esp_flash API concurrency pressure test
2023-07-24 15:28:18 +08:00
5a59c50951
spi_flash: fix concurrency issue when calling esp_flash apis under xip_psram or auto_suspen
2023-07-24 15:28:18 +08:00
0c2cd2dfa6
spiflash: fix not calling on_spi_acquired when CONFIG_SPI_FLASH_SHARE_SPI1_BUS issue
2023-07-24 15:28:18 +08:00
5fb0d557a4
Merge branch 'bugfix/handle_conn_type_and_array_reset_v5.0' into 'release/v5.0'
...
fix(nimble): Update connection type in reattempt connection code (v5.0)
See merge request espressif/esp-idf!24916
2023-07-24 12:21:45 +08:00
6211d5a461
Merge branch 'doc/update_kconfig_example_ext_adv_usage_v5.0' into 'release/v5.0'
...
doc(nimble): Update Kconfig help section for Example Ext Adv (v5.0)
See merge request espressif/esp-idf!24914
2023-07-24 12:08:32 +08:00
805f3bc557
fix(cache): add lock to protect cache sync operation
2023-07-24 10:51:23 +08:00
d8f9786beb
Merge branch 'bugfix/fix_ftm_dist_est_v5.0' into 'release/v5.0'
...
Enable FTM for ESP32C2, fix other FTM issues (Backport v5.0)
See merge request espressif/esp-idf!24921
2023-07-24 10:37:31 +08:00
88a815c84e
fix(ci): update HTTP client example tests runner assignment
...
HTTP client example tests now connect with locally hosted httpbin service
for more stable results across multiple runs
2023-07-21 17:15:35 +05:30
0148546df3
fix(esp_wifi): Enable FTM for ESP32C2, fix other FTM issues
...
Enable FTM for ESP32C2 and update wifi libs with below fixes -
1. Bugfixes in Initiator and Responder mode
2. Fix wrong RTT value in first FTM procedure without connection
3. Update FTM calibration values for ESP32S2, S3, C3 and C2
4. Update distance estimation logic
5. Add some useful command parameters in FTM example
6. Fix bug when number of FTM measurement frames received is more
than (number_of_brusts * FTMs per brust).
Co-authored-by: Sarvesh Bodakhe <sarvesh.bodakhe@espressif.com >
2023-07-21 16:30:47 +05:30
264c807f3a
Merge branch 'bugfix/fix_some_wifi_bugs_230720_v5.0' into 'release/v5.0'
...
fix(wifi): fix some wifi bugs 230720 (backport v5.0)
See merge request espressif/esp-idf!24912
2023-07-21 18:59:42 +08:00
8c6dcfa376
CI: fix esp_http_client example failures in CI. Timeout was observed in the logs while performing HTTP requests. Changing the endpoint when testing in CI
2023-07-21 15:24:22 +05:30
4a2f38930b
fix(esp32s3): patch Cache_WriteBack_Addr api
...
Need to ensure that the cacheline being written back will not be
accessed during the write back process.
2023-07-21 11:46:45 +08:00
bb2e88b27f
Merge branch 'ci/fix_build_examples_v5.0' into 'release/v5.0'
...
ci(esp_prov): remove import future usage
See merge request espressif/esp-idf!24924
2023-07-20 23:23:31 +08:00
6f8c62b205
fix(debug_ext): CTRL+C handling while waiting on gdb process
...
idf.py spawns gdb process within a thread and uses Thread.join() to wait
for the gdb process to finish. As CTRL+C(SIGINT) is used by gdb to interrupt the
running program, we catch the SIGINT while waiting on the gdb to finish,
and try Thread.join() again.
With cpython's commit
commit a22be4943c119fecf5433d999227ff78fc2e5741
Author: Victor Stinner <vstinner@python.org >
Date: Mon Sep 27 14:20:31 2021 +0200
bpo-45274: Fix Thread._wait_for_tstate_lock() race condition (GH-28532)
this logic doesn't work anymore, because cpython internally marks the
thread as stopped when join() is interrupted with an exception. IMHO
this is broken in cpython and there is a bug report about this
https://github.com/python/cpython/issues/90882 . Problem is that
waiting on a thread to finish is based on acquiring a lock. Meaning
join() is waiting on _tstate_lock. If this wait is interrupted, the
above referenced commit adds a logic that checks if the lock is help,
meaning the thread is done and marks the thread as stopped. But there is
no way to tell if the lock was acquired by us running join() or if it's
held by someone else e.g. still by the thread bootstrap code. Meaning
the thread is still running.
I may be missing something, but I don't see any reason why to spawn gdb
process within a thread. This change removes the thread and spawns gdb
directly. Instead waiting on a thread, we wait on the process to finish,
replacing join() with wait() and avoiding this problem.
Closes https://github.com/espressif/esp-idf/issues/11871
Signed-off-by: Frantisek Hrbata <frantisek.hrbata@espressif.com >
2023-07-20 17:12:32 +02:00
d1da86465b
ci(esp_prov): remove import future usage
2023-07-20 16:00:21 +08:00
cc5d5c8d79
esp_netif: Fix regression from 12d09e0b
when PPP enabled
2023-07-20 07:18:13 +02:00
4d301ef3a2
fix(nimble): Update connection type in reattempt connection code
...
Added change to set connection type correctly and clear array when it is
full in reattempt connection flow
2023-07-20 09:37:34 +05:30
8e06eb490b
docs(nimble): Update Kconfig help section for Example Ext Adv
2023-07-20 09:31:51 +05:30
368dca0d84
fix(wifi): Add bugfixes and improvements
...
1. Update wifi security mode
2. Fix association refused temporarily comeback time set to zero issue
3. Vnd ie callback can be set to null
2023-07-20 11:39:41 +08:00
0b42747d0a
Wi-Fi/power save: fix the some mac issues of wifi power save
...
Some APs are configured to hide the SSID, the length field of the SSID element
in the Beacon frame is set to 0. This can cause incorrect parsing of the Beacon
by the Wi-Fi MAC hardware.
Some APs send two beacon frames with different BSSID in a TBTT cycle. After
correctly parsing the beacon of the associated AP, it continue to receive the
other beacon frame, which will cause the MAC to remain in a wait RX/TXING
state, blocking the Wi-Fi go to sleep.
2023-07-20 11:39:41 +08:00
881f3fc54d
doc: remove WEP as security mode
...
Signed-off-by: zhangyanjiao <zhangyanjiao@espressif.com >
Closes https://github.com/espressif/esp-idf/pull/10015
2023-07-20 11:22:23 +08:00
b2134caf0d
spelling correction in documentation
...
Signed-off-by: zhangyanjiao <zhangyanjiao@espressif.com >
Closes https://github.com/espressif/esp-idf/pull/9721
2023-07-20 11:22:09 +08:00
7dddb468f4
feat(wifi): Add API to get RSSI info after station connects to AP
...
- Add esp_wifi_sta_get_rssi() function to retrieve RSSI info after station connects to AP
2023-07-20 11:21:38 +08:00
acec0ef0ce
Merge branch 'contrib/github_pr_11878_v5.0' into 'release/v5.0'
...
feat(mcpwm): Allow for pull up/down to be configurable on generators (GitHub PR) (v5.0)
See merge request espressif/esp-idf!24894
2023-07-20 11:19:30 +08:00
3838862709
ci(pre-commit): Use the newest copyright checker
2023-07-19 15:04:02 +02:00
1da5dbf899
fix(gpio): fix potential crash when processing gpio isr
...
If CONFIG_SPIRAM_USE_MALLOC is enabled, and cache is disabled when GPIO ISR is triggered,
it would lead to Guru Meditation Error due to "Cache disabled but cached memory region accessed".
Closes https://github.com/espressif/esp-idf/issues/11876
2023-07-19 20:01:18 +08:00
55976a5bd7
Merge branch 'bugfix/fix_some_bluedroid_bugs_v5.0' into 'release/v5.0'
...
Fixed some bluedroid bugs (backport v5.0)
See merge request espressif/esp-idf!24861
2023-07-19 17:07:33 +08:00
a87a04992e
feat(mcpwm): support open drain output for generator IO
...
Closes https://github.com/espressif/esp-idf/issues/11877
2023-07-19 16:13:12 +08:00
bf5c09aacd
feat(mcpwm): Allow for pull up/down to be configurable on generators
2023-07-19 16:13:11 +08:00
baecf8d44f
Merge branch 'feature/services_health_therm_v5.0' into 'release/v5.0'
...
NimBLE: Added health thermometer profile (v5.0)
See merge request espressif/esp-idf!24834
2023-07-19 15:13:20 +08:00
70faa798e7
ci: add build test for CONFIG_ESP_CONSOLE_USB_CDC_SUPPORT_ETS_PRINTF
2023-07-18 18:15:37 +02:00
3fca37dbcf
examples: re-enable system/console/advanced_usb_cdc for ESP32-S3
...
Closes https://github.com/espressif/esp-idf/issues/9364
2023-07-18 18:15:37 +02:00
28e6b3565f
esp_system: usb_console support for ESP32-S3
...
Closes https://github.com/espressif/esp-idf/issues/8879
Closes https://github.com/espressif/esp-idf/issues/8738
2023-07-18 18:15:37 +02:00
ce8f2dc894
esp_rom: convert USB related headers to SPDX, update COPYRIGHTS.rst
2023-07-18 18:15:37 +02:00
568e5537b0
esp_rom: implement usb deinit functions added in S3 ROM for S2
...
This cleans up usb_console.c and prepares it for S3 support.
2023-07-18 18:15:37 +02:00
82e8d78b3b
esp_rom: add USB_OTG "port" number for S2 and S3
2023-07-18 18:15:37 +02:00
36bc9ab30c
esp_rom: sync changes for ESP32-S3 USB related files, minor fix for S2
...
Used esp-rom tag esp32s3-20210327 and did manual cleanup.
Rename s_usb_osglue to rom_usb_osglue like it was done for esp32s2.
Some comments in esp32s2 headers are synced from esp32s3.
2023-07-18 18:15:03 +02:00
6f14f5218d
console: minor fixes
...
- wrong comment
- duplicated setvbuf
2023-07-18 18:15:03 +02:00
f2973dc4c6
Merge branch 'bugfix/offchan_action_frame_tx_v50' into 'release/v5.0'
...
Add check to ensure memory allocation for action frame.
See merge request espressif/esp-idf!24611
2023-07-18 21:12:31 +08:00
902c6973f1
fix(bt/bluedroid): Fix memory leak of gattc cache upon disconnection
2023-07-18 11:44:43 +08:00
7ca9ca6f90
bluedroid: fixed compile warning when optimize for performance
2023-07-18 11:41:44 +08:00
621589aeb6
Merge branch 'docs/update_bluetooth_power_save_readme_v5.0' into 'release/v5.0'
...
Docs: update bluetooth power save readme(v5.0)
See merge request espressif/esp-idf!24845
2023-07-18 11:01:22 +08:00
1853b46a37
Merge branch 'backport_v5.0' into 'release/v5.0'
...
fix(bt): Fix the issue of not printing the Bluetooth MAC address for ESP32(backport v5.0)
See merge request espressif/esp-idf!24779
2023-07-18 10:52:39 +08:00
f1d060a511
Merge branch 'bugfix/mbedtls_sha_test_fail_when_run_twice_v5.0' into 'release/v5.0'
...
fix(mbedtls): sha test will fail when run twice (backport v5.0)
See merge request espressif/esp-idf!24828
2023-07-17 20:07:34 +08:00
09854f0e89
docs(bt/example): Updated bluetooth power save readme
2023-07-17 17:06:00 +08:00
b013faa84b
docs(sleep_modes): Updated Wi-Fi/Bluetooth and Sleep Modes in docs
2023-07-17 17:04:53 +08:00
1315845d75
Merge branch 'fix/mbedtls_internal_shaX_process_api_port_v5.0' into 'release/v5.0'
...
fix(mbedtls): Fix the port for mbedtls_internal_shaX_process api (v5.0)
See merge request espressif/esp-idf!24810
2023-07-17 17:00:44 +08:00
642aba7c03
feat (Nimble): Added Health Thermometer as a service
2023-07-17 14:20:05 +05:30
71f5dc4973
NimBLE: Added health thermometer profile
2023-07-17 11:24:04 +05:30
5037c2ec02
fix(action_tx) : Add check to ensure memory allocation for action frame.
...
Add check to ensure memory allocation in tx buffers for off channel action frame.
Prints error message in case of allocation failure in esp_wifi_action_tx_req().
2023-07-17 10:57:03 +05:30
3fc6eb9000
Merge branch 'fix/esp_aes_return_values_v5.0' into 'release/v5.0'
...
fix(mbedtls): fix return values of esp-aes APIs (v5.0)
See merge request espressif/esp-idf!24805
2023-07-17 12:35:24 +08:00
befe69d152
Merge branch 'fix/esp_ptr_check_sign_compare_v5.0' into 'release/v5.0'
...
fix(esp_hw_support): Fix different signed comparison in `esp_ptr_in_drom` (v5.0)
See merge request espressif/esp-idf!24799
2023-07-17 12:34:22 +08:00
7f2c879d71
Merge branch 'bugfix/split_scan_tx_v50' into 'release/v5.0'
...
fix(esp_wifi) : Fix collection of issues in sta roam and scan.
See merge request espressif/esp-idf!24576
2023-07-17 11:17:57 +08:00
f418a998a9
fix(mbedtls): sha test will fail when run twice
2023-07-17 10:54:32 +08:00
05d05f3c51
Merge branch 'bugfix/btm_scan_done_crash_v5.0' into 'release/v5.0'
...
wpa_supplicant : Fix race condition during BTM Request.
See merge request espressif/esp-idf!24398
2023-07-17 10:35:32 +08:00
bb89a5769b
Merge branch 'bugfix/multiple_btm_rrm_task_v50' into 'release/v5.0'
...
Fix race conditions in btm task deletion(v5.0)
See merge request espressif/esp-idf!24766
2023-07-17 10:30:15 +08:00
3d015a44d2
Merge branch 'bugfix/sae_crypto_optimization_esp32_v5.0' into 'release/v5.0'
...
esp_wifi: Optimize sae crypto operations for esp32 (v5.0)
See merge request espressif/esp-idf!24761
2023-07-17 10:29:49 +08:00
086412cb56
Merge branch 'backport/eth-start-spi-initialize-failure-v5.0' into 'release/v5.0'
...
Fix eth_start initializes spi bus with SPI_DMA_CH_AUTO (backport v5.0)
See merge request espressif/esp-idf!23816
2023-07-17 10:29:27 +08:00
87f2e7e415
Merge branch 'bugfix/concurrency_while_eloop_register_v5.0' into 'release/v5.0'
...
esp_wifi: Bugfix concurrency observed while doing eloop register (v5.0)
See merge request espressif/esp-idf!24571
2023-07-17 10:28:36 +08:00
b0b3e0dc70
Merge branch 'bugfix/esp_netif_recieve_returns_v5.0' into 'release/v5.0'
...
esp_netif: Report error if esp_netif_receive() fails (v5.0)
See merge request espressif/esp-idf!24656
2023-07-17 10:28:06 +08:00
4c7e65238f
Merge branch 'bugfix/lwip_dhcps_hook_types_v5.0' into 'release/v5.0'
...
lwip: Fix incorrect invocation of the hook `LWIP_HOOK_DHCPS_POST_APPEND_OPTS` (v5.0)
See merge request espressif/esp-idf!24659
2023-07-17 10:27:06 +08:00
cf83b324d3
Merge branch 'bugfix/ringbuf_static_object_size_v5.0' into 'release/v5.0'
...
Ringbuf: Fix ordering of StaticRingbuffer_t (v5.0)
See merge request espressif/esp-idf!24594
2023-07-17 10:12:02 +08:00
f1ee3e41aa
refactor(mbedtls): refactored the return values check in some esp-aes APIs
2023-07-14 21:00:16 +05:30
8df440175a
Merge branch 'pkg_res_deprecation_5.0' into 'release/v5.0'
...
fix(tools/python_dep_check): replace deprecated pkg_resources with importlib (backport v5.0)
See merge request espressif/esp-idf!24819
2023-07-14 23:13:52 +08:00
c68e7eab06
Merge branch 'bugfix/fix_config_option_v5.0' into 'release/v5.0'
...
Nimble: Fixed setting macro values based on selected configuration (v5.0)
See merge request espressif/esp-idf!24138
2023-07-14 21:23:51 +08:00
0055426b3f
fix(tools/python_dep_check): replace deprecated pkg_resources with importlib
...
Closes https://github.com/espressif/esp-idf/issues/11712
2023-07-14 14:56:30 +02:00
168f2adc28
Merge branch 'update/ble_mesh_debug_log_level_update_v5.0' into 'release/v5.0'
...
update(ble_mesh: stack): Update provisioning bearer check debug log to INFO level (v5.0)
See merge request espressif/esp-idf!24770
2023-07-14 16:56:11 +08:00
3a73b1bf9b
fix(mbedtls): Fix the port for the mbedtls_internal_shaX_process API
...
- Also added the fix to update intermediate SHA state in the mbedtls_shaX_update API
2023-07-14 14:18:10 +05:30
400e220f06
fix(mbedtls): Fixed the transmission of return values of the esp-aes APIs
...
- Earlier, some intermediate return values were not stored and returned,
thus incorrect return values used to get transmitted to the upper layer of APIs.
- Also, zeroised the output buffer in case of error condition.
2023-07-14 13:41:13 +05:30
bc2772819d
fix (nimble): Fixed setting macro values based on selected configuration
2023-07-14 11:51:14 +05:30
b541a23499
Merge branch 'bugfix/fix_pcl_enh_rsp_v5.0' into 'release/v5.0'
...
Nimble: Removed the extra status field in the enh read transmit power level (v5.0)
See merge request espressif/esp-idf!23884
2023-07-14 13:34:36 +08:00
38c0475616
fix(esp_hw_support): Fix different signed comparison in esp_ptr_in_drom
...
- Closes https://github.com/espressif/esp-idf/issues/11653
- Closes https://github.com/espressif/esp-idf/issues/11865
2023-07-14 10:52:32 +05:30
18df8caaa9
Merge branch 'fix/mpi_incorrect_assert_v5.0' into 'release/v5.0'
...
fix(mbedtls): Fix incorrect assert for H/W MPI operations (v5.0)
See merge request espressif/esp-idf!24785
2023-07-14 12:43:10 +08:00
d503e1740f
Merge branch 'contrib/github_pr_11652_v5.0' into 'release/v5.0'
...
Fix ULP FSM register macros with addr[9:0] > 0xFF (GitHub PR) (v5.0)
See merge request espressif/esp-idf!24269
2023-07-14 10:06:30 +08:00
9f2fe912e4
Merge branch 'bugfix/fix_s3_adc1_wrong_clk_div_v5.0' into 'release/v5.0'
...
adc: fix adc oneshot mode clk div issue on esp32, esp32s2 and esp32s3 (v5.0)
See merge request espressif/esp-idf!24744
2023-07-13 21:41:16 +08:00
4da3e20855
fix(mbedtls): Fix incorrect assert for H/W MPI operations
...
- Closes https://github.com/espressif/esp-idf/issues/11850
2023-07-13 16:24:57 +05:30
0fbddcb991
Merge branch 'docs/add_provisioning_CN_trans_backport_v5.0' into 'release/v5.0'
...
Docs: add CN translation for api-reference/provisioning/provisioning.rst (backport v5.0)
See merge request espressif/esp-idf!24485
2023-07-13 18:33:38 +08:00
0e986431bc
Docs: add CN translation for api-reference/provisioning/provisioning.rst (backport v5.0)
2023-07-13 18:33:38 +08:00
031af815da
esp_hw_support: Fix invalid system time if s_esp_rtc_time_us & s_rtc_last_ticks were moved around
...
The commit fixes the case:
If variables in RTC RAM have been moved around by the linker,
they will be filled with garbage data. Any reset other than OTA would work fine
because the variables would still be initialized from the initial bootup.
So now system time will be valid even after OTA.
Closes https://github.com/espressif/esp-idf/issues/9448
2023-07-13 18:30:26 +08:00
e8810e86fc
fix(bt): Fix the issue of not printing the Bluetooth MAC address for ESP32
...
- Add a log statement to print the Bluetooth MAC address
2023-07-13 16:42:48 +08:00
cddca1adf4
fix(bt): Fix ble advertising data length 0 error
...
- Fixed an issue where the BLE advertisement length of 0 was causing an error
2023-07-13 16:42:48 +08:00
c6d190e568
update(ble_mesh: stack): Update provisioning bearer check debug log to INFO level
2023-07-13 14:39:01 +08:00
aa4635e52f
Nimble: Removed the extra status field in the enh read transmit power level
2023-07-13 10:48:31 +05:30
e71bab242e
Merge branch 'bugfix/handle_correct_return_value_v5.0' into 'release/v5.0'
...
Nimble: Corrected conditional check during connection to handle failure case (v5.0)
See merge request espressif/esp-idf!24645
2023-07-13 13:12:04 +08:00
ff9b9583ab
Merge branch 'bugfix/fix_exception_in_wifi_prov_v5.0' into 'release/v5.0'
...
Nimble: Increase the number of semaphore count for allocation (v5.0)
See merge request espressif/esp-idf!24470
2023-07-13 13:00:35 +08:00
d2f2b952bc
Fix(esp_wifi): Fix race conditions in btm task deletion
2023-07-13 10:27:25 +05:30
35b6a541de
Merge branch 'docs/walkthrough_for_multi_adv_examples_v5.0' into 'release/v5.0'
...
Nimble: Added Example Walkthrough tutorial for Multi Adv example (v5.0)
See merge request espressif/esp-idf!24510
2023-07-13 12:51:13 +08:00
f833ea4c2e
Merge branch 'feature/walkthrough_for_htp_examples_v5.0' into 'release/v5.0'
...
Nimble: Added Example Walkthrough tutorial for HTP example in nimble (v5.0)
See merge request espressif/esp-idf!24535
2023-07-13 12:50:48 +08:00
4ff52a94f9
esp_wifi: Optimize sae crypto operations for esp32
2023-07-13 09:47:22 +05:30
03a4137fd4
Merge branch 'ci/fix_efuse_tests' into 'release/v5.0'
...
efuse: Do not load real efuses before some test (some chips have burned efuse blocks)
See merge request espressif/esp-idf!24149
2023-07-13 10:11:32 +08:00
7c149c9fcc
Merge branch 'feature/update_avrcp_v1.5_v5.0' into 'release/v5.0'
...
change(bt/Bluedroid): Update AVRCP version to 1.5(v5.0)
See merge request espressif/esp-idf!24583
2023-07-13 09:48:16 +08:00
1a0dc04ae1
Merge branch 'bugfix/wps_deauth_sent_before_eap_failure_v5.0' into 'release/v5.0'
...
Fix for sending deauth before Eap-Failure in WPS (v5.0)
See merge request espressif/esp-idf!24367
2023-07-13 07:54:24 +08:00
9b82d9731a
Merge branch 'bugfix/systick_loop_v5.0' into 'release/v5.0'
...
freertos: Fix Systick stuck when systimer was not reset (v5.0)
See merge request espressif/esp-idf!24323
2023-07-13 07:53:16 +08:00
a08413f3a8
Merge branch 'bugfix/btm_scan_done_crash_v50' into 'release/v5.0'
...
wpa_supplicant : Fix occasional crash during btm roam.
See merge request espressif/esp-idf!24732
2023-07-13 07:52:31 +08:00
d3031ddddc
Merge branch 'bugfix/fix_some_bt_controller_bug_v5.0' into 'release/v5.0'
...
component_bt:Fixed some bluetooth bugs(v5.0)
See merge request espressif/esp-idf!24711
2023-07-13 07:52:21 +08:00
ae1de35817
Nimble: Corrected conditional check during connection to handle failure case
2023-07-12 19:04:34 +05:30
fdfe75a1fd
Nimble: Increase the number of semaphore count to allow more semaphore
...
allocation
Also updated the return value check for sem / mutex init to catch
allocation failure
2023-07-12 15:30:21 +05:30
abd0fca51a
fix(adc): fixed esp32, esp32s2,esp32s3 adc oneshot mode clk div issue
2023-07-12 17:19:00 +08:00
ba6e04dff6
Merge branch 'bugfix/fix-esp-even-compile-error-v5.0' into 'release/v5.0'
...
esp_event: fix build error related to format (v5.0)
See merge request espressif/esp-idf!24667
2023-07-12 16:48:16 +08:00
ed93de6efa
Merge branch 'bugfix/saving-esp-idf-env-as-utf8-v5.0' into 'release/v5.0'
...
build system: fix init.bat crash in windows when folder contains unicode characters (v5.0)
See merge request espressif/esp-idf!24669
2023-07-12 16:47:27 +08:00
575b540b8b
comm_components: eth_start initializes spi bus with SPI_DMA_CH_AUTO
...
Close https://github.com/espressif/esp-idf/issues/11083
2023-07-12 14:26:25 +08:00
16d7ce0843
Fix for sending deauth before Eap-Failure in WPS
2023-07-12 05:34:46 +00:00
57b365377f
fix(wpa_supplicant) : Fix occasional crash during btm roam.
...
Fix crash due to premature deallocation of neighbour report elements
by scan_done. Post event to btm_rrm_t task to handle scan_done serially
rather than when btm_rrm_t task is processing btm request rx frame.
2023-07-12 10:37:42 +05:30
1f1b10aa26
Merge branch 'bugfix/esp_event_err_docs_v5.0' into 'release/v5.0'
...
fix(core-system/esp event): Fixed missing error return documentation for... (v5.0)
See merge request espressif/esp-idf!24574
2023-07-12 11:21:22 +08:00
2173ff9cc0
Merge branch 'bugfix/resume_ext_scan_pti_in_time_v5.0' into 'release/v5.0'
...
bt: fix the issue that BLE scan uses high priority incorrectly and causes Wi-Fi unable to work normally on ESP32-C3 and ESP32-S3(backport v5.0)
See merge request espressif/esp-idf!24404
2023-07-12 10:51:54 +08:00
f7b97b53c6
Merge branch 'bugfix/fix_i2s_ll_cpp_compilation_failure_v5.0' into 'release/v5.0'
...
i2s: fixed i2s_ll compiling failure under C++ environment (v5.0)
See merge request espressif/esp-idf!24402
2023-07-12 10:08:23 +08:00
9ea1265987
Merge branch 'doc/updata_adc_migration_guide_v5.0' into 'release/v5.0'
...
migration_guide: update adc calibration api part (v5.0)
See merge request espressif/esp-idf!24258
2023-07-12 10:08:04 +08:00
1f919ca454
Merge branch 'docs/add_a_note_about_RMT_preipheral_in_the_programming_guide_v5.0' into 'release/v5.0'
...
docs(rmt): add a note about binding channels to the same GPIO (v5.0)
See merge request espressif/esp-idf!24717
2023-07-12 09:59:59 +08:00
82ce7dc165
Merge branch 'feature/expose_addr_resolv_out_stack_v5.0' into 'release/v5.0'
...
Nimble:Added change to expose addr resolution API outside stack_v5.0
See merge request espressif/esp-idf!23247
2023-07-12 04:21:32 +08:00
7296cc6451
Merge branch 'asyncio_error_v5.0' into 'release/v5.0'
...
fix(tools/hints): add guide to fix error with unsupported asyncio (v5.0)
See merge request espressif/esp-idf!24702
2023-07-12 01:09:06 +08:00
d2dcef277c
docs(rmt): add a note about binding channels to the same GPIO
...
Added a note about RX Channel and TX Channel initialization order when
bound RX and TX to the same gpio.
Closes https://github.com/espressif/esp-idf/issues/11768
2023-07-11 22:17:17 +08:00
9b96d5bd96
bt-coexist: fix the issue for BLE scan in using whitelist that scan PTI keeps high and not resumes after reception of ADV_EXT_IND but no AUX_ADV_IND followed on ESP32-C3 and ESP32-S3, which causes Wi-Fi unable to work normally
2023-07-11 22:11:04 +08:00
8b1efb68fd
Merge branch 'bugfix/add_len_check_per_spi_master_transaction_v5.0' into 'release/v5.0'
...
spi master: added transaction length check to refuse longer than hardware supported length (v5.0)
See merge request espressif/esp-idf!23748
2023-07-11 22:09:14 +08:00
10c1004629
Merge branch 'feature/update_ble_libs_5.0' into 'release/v5.0'
...
ble: Updated the libbt for ESP32-C2
See merge request espressif/esp-idf!24652
2023-07-11 21:40:05 +08:00
d666536a21
change(bt/Bluedroid): Update AVRCP version to 1.5
2023-07-11 11:43:59 +00:00
1c5619b738
bt: Fixed some bluetooth bugs
...
1. Fixed LC_AFH_UPDATE_IND has not benn processed causing memory exhaustion
2. Fixed no free elt in prog push
3. Fixed disconnect due to sniff with error Dsniff
4. Fixed the problem that the host continued to send ACL data to the controller after disconnection, which caused the connection to fail again
2023-07-11 19:37:21 +08:00
5d7b60ec5c
Update bt-lib for esp32
...
- Fixed memory leak when setting adv data
2023-07-11 19:37:17 +08:00
2cf7834db5
components/bt: Fix crash due to NULL point
2023-07-11 19:37:12 +08:00
73551a70cc
Merge branch 'bugfix/fix_mmap_reserved_irom_drom_size_5.0' into 'release/v5.0'
...
fix(mm): correct mmap reserved irom and drom size (v5.0)
See merge request espressif/esp-idf!24603
2023-07-11 18:11:00 +08:00
a6d8a331d9
Merge branch 'bugfix/vfs_uart_outof_bounds_read_v5.0' into 'release/v5.0'
...
vfs_uart: fix out-of-bounds read (v5.0)
See merge request espressif/esp-idf!24313
2023-07-11 18:02:57 +08:00
43fa7e2e4a
Merge branch 'bugfix/mcpwm_legacy_typo_v5.0' into 'release/v5.0'
...
mcpwm: fix typo in backward compatible macro name (v5.0)
See merge request espressif/esp-idf!24228
2023-07-11 18:02:33 +08:00
74e032eb49
Merge branch 'bugfix/rgb_pixel_copy_bpp8_v5.0' into 'release/v5.0'
...
rgb_lcd: Support LCD rotation for LCD whose pixel size is one byte (v5.0)
See merge request espressif/esp-idf!24209
2023-07-11 18:02:13 +08:00
36de1ba9c8
Merge branch 'bugfix/improve-git-describe-handling-v5.0' into 'release/v5.0'
...
build system: more accurate error information for git_describe (v5.0)
See merge request espressif/esp-idf!24668
2023-07-11 17:06:44 +08:00
002efdf88b
fix(tools/hints): add guide to fix error with unsupported asyncio
...
Closes https://github.com/espressif/esp-idf/issues/11732
2023-07-11 10:55:06 +02:00
8fa72ec3b7
Merge branch 'monitor_multibyte_decode' into 'release/v5.0'
...
Tools(monitor): decode multibyte characters on Windows (backport v5.0)
See merge request espressif/esp-idf!24373
2023-07-11 16:40:40 +08:00
bd824a04d6
Merge branch 'fix/pyparsing_3.1.0_compatibility_v5.0' into 'release/v5.0'
...
fix: Compatibility with pyparsing>=3.1.0 (backport v5.0)
See merge request espressif/esp-idf!24370
2023-07-11 16:40:15 +08:00
7bd6e8f707
Merge branch 'bugfix/bump_check_copyright_v5.0' into 'release/v5.0'
...
tools: bump check-copyright in .pre-commit-config.yaml (v5.0)
See merge request espressif/esp-idf!24342
2023-07-11 16:39:46 +08:00
8b01e23558
Merge branch 'fix/ci_coredump_test' into 'release/v5.0'
...
Tools: remove failing IDF Monitor host tests with coredump and fix print filter without ELF file specified
See merge request espressif/esp-idf!24272
2023-07-11 16:39:06 +08:00
f0f859f964
Merge branch 'feature/submodules_sbom_v5.0' into 'release/v5.0'
...
tools: add sbom information for submodules (v5.0)
See merge request espressif/esp-idf!24241
2023-07-11 16:38:18 +08:00
b04c2f6f9b
Merge branch 'docs/add_Chinese_translation_for_api-guides/tools/idf-py_backport_v5.0' into 'release/v5.0'
...
docs: add CN translation for api-guides/tools/idf-py.rst (backport v5.0)
See merge request espressif/esp-idf!24187
2023-07-11 16:36:38 +08:00
6fa3982408
docs: add CN translation for api-guides/tools/idf-py.rst (backport v5.0)
2023-07-11 16:36:36 +08:00
c227759a4d
Merge branch 'docs/add_Chinese_translation_for_api-reference/peripherals/rmt.rst_backport_v5.0' into 'release/v5.0'
...
docs: provide CN translation for api-reference/peripherals/rmt.rst (backport v5.0)
See merge request espressif/esp-idf!24539
2023-07-11 16:15:15 +08:00
3a7e3fbbf6
Merge branch 'contrib/github_pr_11743_v5.0' into 'release/v5.0'
...
docs(jtag): Update chip revisions to follow ESP32-C3 errata (GitHub PR) (v5.0)
See merge request espressif/esp-idf!24590
2023-07-11 16:10:33 +08:00
fb81668aab
fix(ledc): fix frequency calculation
...
ledc.c: Fix frequency calculation.
Round int instead of truncate.
Merges https://github.com/espressif/esp-idf/pull/11810
2023-07-11 15:28:19 +08:00
c5f2db8b11
Merge branch 'docs/trans_wifi_provisioning_backport_v5.0' into 'release/v5.0'
...
Docs: add CN translation for api-reference/provisioning/wifi_provisioning.rst (backport v5.0)
See merge request espressif/esp-idf!24478
2023-07-11 15:25:45 +08:00
a71a6e4a30
Docs: add CN translation for api-reference/provisioning/wifi_provisioning.rst (backport v5.0)
2023-07-11 15:25:45 +08:00
9f0be63126
Merge branch 'docs/add_Chinese_translation_for_linux-host-requirements.rst_and_external-ram-esp32-notes.rst_backport_v5.0' into 'release/v5.0'
...
docs: provide CN translation for linux-host-requirements.rst and external-ram-esp32-notes.rst (backport v5.0)
See merge request espressif/esp-idf!24490
2023-07-11 15:21:33 +08:00
80db9fb3c6
docs: provide CN translation for linux-host-requirements.rst and external-ram-esp32-notes.rst (backport v5.0)
2023-07-11 15:21:33 +08:00
2ea42539a6
Merge branch 'docs/update_code_how_to_configure_multiple_antennas_of_wifi_v5.0' into 'release/v5.0'
...
docs: update code of how to configure multiple antennas of wifi (v5.0)
See merge request espressif/esp-idf!24457
2023-07-11 15:08:06 +08:00
c9129ba2d5
Merge branch 'docs/update_installation_prerequisites_for_ubuntu_debian_v5.0' into 'release/v5.0'
...
docs: update installation prerequisites for Ubuntu and Debian system (v5.0)
See merge request espressif/esp-idf!24452
2023-07-11 15:07:20 +08:00
1655084c90
Merge branch 'docs/fix_typo_in_api-reference_system_ota_v5.0' into 'release/v5.0'
...
fix a typo in api-reference/system/ota (v5.0)
See merge request espressif/esp-idf!24445
2023-07-11 15:07:07 +08:00
378f493851
Merge branch 'docs/fix_typo_in_api_guides_usb_otg_console_v5.0' into 'release/v5.0'
...
docs: fix a typo in api-guides/usb-otg-console (v5.0)
See merge request espressif/esp-idf!24454
2023-07-11 15:06:56 +08:00
e2925cde68
brownout: Disable the hardware BOD when BOD interrupt is enabled
2023-07-11 14:46:30 +08:00
a3722b4cc4
Nimble: Added Example Walkthrough tutorial for Multi Adv example
2023-07-11 11:49:06 +05:30
ab7df868cb
Nimble: Added Example Walkthrough tutorial for HTP example in nimble
2023-07-11 11:47:18 +05:30
55559c3b5b
Nimble:Added change to expose addr resolution API outside stack
2023-07-11 11:36:06 +05:30
12d09e0b3b
esp_netif: Make esp_netif_receive() return value configurable
2023-07-11 06:51:49 +02:00
67f6b668bd
Merge branch 'bufix/fix_assert_while_stack_deinit_v5.0' into 'release/v5.0'
...
fix(nimble): Fix assert due to controller event while stack deinit (v5.0)
See merge request espressif/esp-idf!24621
2023-07-11 12:50:48 +08:00
08c6c90ed9
Merge branch 'doc/add_timing_diagram_for_bt_l2cap_server_and_client_v5.0' into 'release/v5.0'
...
docs(examples/bluetooth): Add the sequence diagram for L2CAP connection and the discription for the diagram (backport v5.0)
See merge request espressif/esp-idf!24662
2023-07-11 12:25:14 +08:00
7a126fa266
Merge branch 'bugfix/fix_deepsleep_wakestub_example_ci_failure_v5.0' into 'release/v5.0'
...
ci: fix deepsleep wakestub example ci failure (backort v5.0)
See merge request espressif/esp-idf!24464
2023-07-11 12:24:45 +08:00
007ae93913
Merge branch 'bugfix/expose_clear_all_wl_api_v5.0' into 'release/v5.0'
...
fix(Nimble): Expose API to clear all addresses in whitelist out of stack (v5.0)
See merge request espressif/esp-idf!24308
2023-07-11 12:24:35 +08:00
afe026f318
Merge branch 'bugfix/increase_pm_dump_time_field_length_v5.0' into 'release/v5.0'
...
Power Management: increase pm_dump time field width (backport v5.0)
See merge request espressif/esp-idf!24449
2023-07-11 12:24:23 +08:00
095bb9f015
Merge branch 'bugfix/sdp_32_and_128_bit_UUID_v5.0' into 'release/v5.0'
...
bt:Fixed SDP not being able to configure 32-bit and 128-bit UUID(v5.0)
See merge request espressif/esp-idf!24443
2023-07-11 12:24:07 +08:00
12d9bafc37
Merge branch 'docs/update_esp_hid_host_v5.0' into 'release/v5.0'
...
[docs] fix documents for Bluetooth HID Host API reference (backport v5.0)
See merge request espressif/esp-idf!24390
2023-07-11 12:23:54 +08:00
5cb2736de6
Merge branch 'bugfix/alarm_not_free_when_a2dp_deinit_v5.0' into 'release/v5.0'
...
bugfix/Fixed the issue of alarm leak (v5.0)
See merge request espressif/esp-idf!24352
2023-07-11 12:23:33 +08:00
10ee73839f
Merge branch 'bugfix/hfp_packet_type_err_v5.0' into 'release/v5.0'
...
Revised (e)SCO configuration parameter sets (v5.0)
See merge request espressif/esp-idf!24347
2023-07-11 12:23:16 +08:00
e99b7835fa
Merge branch 'bugfix/update_esp_rom_layout_v5.0' into 'release/v5.0'
...
esp_rom: fix rom layout issues (backport v5.0)
See merge request espressif/esp-idf!24640
2023-07-11 12:22:40 +08:00
40aac8601b
Merge branch 'bugfix/fix_some_ble_bugs_v5.0' into 'release/v5.0'
...
Fixed some BLE bugs (backport v5.0)
See merge request espressif/esp-idf!24276
2023-07-11 12:21:07 +08:00
44cdf1d6e7
Merge branch 'bugfix/fix_Cache_Count_Flash_bug_v5.0' into 'release/v5.0'
...
cache: patch some rom cache api, rename those apis in ld (backport v5.0)
See merge request espressif/esp-idf!24292
2023-07-11 12:20:04 +08:00
c10505f939
Merge branch 'bugfix/fix_esp32s3_psram_access_failed_in_dfs_v5.0' into 'release/v5.0'
...
esp_pm: fix esp32s3 psram access failed when dfs is enabled (backport v5.0)
See merge request espressif/esp-idf!24199
2023-07-11 12:19:43 +08:00
f0de10e43c
Merge branch 'support/esp_coredump_logs_config_v5.0' into 'release/v5.0'
...
Optionally disable logs in espcoredump component (v5.0)
See merge request espressif/esp-idf!24483
2023-07-11 12:08:12 +08:00
1c0887b363
Merge branch 'fix/mbedtls_ecdsa_veriy_restartable_v5.0' into 'release/v5.0'
...
mbedtls: update submodule (v5.0)
See merge request espressif/esp-idf!24637
2023-07-11 12:07:41 +08:00
8f7d8fb3f5
Merge branch 'protobuf-c/update_submodule_to_v5.0' into 'release/v5.0'
...
protobuf-c: Update submodule to v1.4.1 (v5.0)
See merge request espressif/esp-idf!24421
2023-07-11 12:06:57 +08:00
9e0bd6f7aa
ble: Update the libbt for ESP32-C2
2023-07-11 11:41:48 +08:00
0f44414ce0
Merge branch 'bugfix/added_chip_based_cca_config_v5.0' into 'release/v5.0'
...
ble: fix cca for esp32c2
See merge request espressif/esp-idf!24256
2023-07-11 11:36:03 +08:00
29b1115485
fix(core-system/esp event): Fixed missing error return documentation for esp_event_loop_create_default
...
ESP_ERR_INVALID_STATE was not listed as a possible return error code.
Closes https://github.com/espressif/esp-idf/issues/11745
2023-07-11 03:17:05 +00:00
dfd7102212
docs: provide CN translation for api-reference/peripherals/rmt.rst
2023-07-11 11:13:20 +08:00
a0f14a8f14
Merge branch 'update/version_5_0_3' into 'release/v5.0'
...
Update version to 5.0.3
See merge request espressif/esp-idf!24677
2023-07-11 08:17:54 +08:00
e004907bd5
versions: Update version to 5.0.3
2023-07-10 17:23:26 +08:00
a3ed59744b
spi: added an API to get max transaction length and use in spi lcd driver
2023-07-10 07:17:00 +00:00
2bc999db7b
spi: added transaction length check to refuse longer than hardware supported length
2023-07-10 07:17:00 +00:00
f0a53601e0
Fixed the issue of alarm leak in hf-ag
2023-07-10 06:08:22 +00:00
3061770e7b
Fixed the issue of alarm leak in A2DP
2023-07-10 06:08:22 +00:00
1b7e47d3d3
Revised (e)SCO configuration parameter sets
2023-07-10 06:07:55 +00:00
e1b37bfa66
esp_event: fix build error related to format
...
Closes https://github.com/espressif/esp-idf/issues/11428
See merge request !23833
2023-07-10 11:39:17 +08:00
56994aeb0b
build system: more accurate error information for git_describe
...
Closes https://github.com/espressif/esp-idf/issues/9071
See merge request espressif/esp-idf!23891
2023-07-10 11:36:04 +08:00
a205213cc8
build system: fix init.bat crash in windows when folder contains unicode characters
2023-07-10 11:34:56 +08:00
b4a62fb339
docs(examples/bluetooth): Add the sequence diagram of L2CAP connection and the discription for the sequence diagram
...
1: add the sequence diagram for the bluetooth example projects,bt_l2cap_server and bt_l2cap_client, which implenment the L2CAP connection.
2: add the discription for the sequence diagram.
2023-07-08 12:39:35 +08:00
5689db1ddf
Fix incorrect invocation of the hook LWIP_HOOK_DHCPS_POST_APPEND_OPTS
...
Fix https://github.com/espressif/esp-idf/issues/11373
2023-07-07 14:14:15 +02:00
8ce037e99f
esp_netif: Report error if esp_netif_receive() fails
...
Closes https://github.com/espressif/esp-idf/issues/10770
2023-07-07 13:56:25 +02:00
757f58c3ba
fix(mm): correct mmap reserved irom and drom size
...
Prior to this commit, we don't consider the offset of the irom vaddr
start.
If the offset + size is bigger than the MMU page size, for example:
MMU page size: 0x10000
irom vaddr: 0x4200_0800, so offset = 0x800
irom size: 0xF900
offset + size = 0x10100
Under this condition, the 0x4200_0000 ~ 0x4202_0000, two MMU pages are
used.
With this commit, when reserving the irom and drom, we take the offset
into consideration as well.
Closes https://github.com/espressif/esp-idf/issues/2561
2023-07-07 10:45:26 +00:00
a7ab77663a
Merge branch 'bugfix/fix_ulp_adc_regression_v5.0' into 'release/v5.0'
...
adc_oneshot: move power acquire back to adc_oneshot_new_unit (v5.0)
See merge request espressif/esp-idf!24625
2023-07-07 18:25:06 +08:00
ce1042a267
esp_rom: fix rom layout issues
2023-07-07 01:25:17 -07:00
e858c2c1e0
mbedtls: update submodule to include:
...
fix: mbedtls_ecdsa_can_do was not being defined when ECDSA_SIGN_ALT is defined but ECDSA_VERIFY_ALT is not defined causing mbedtls_ecdsa_verify_restartable to always fail.
feature: initial version of the sbom.yml file
2023-07-07 10:30:33 +05:30
bf5e10dd23
fix(adc): fix s_adc_tsen_enabled not set issue
2023-07-06 16:48:59 +08:00
bd70b44144
adc_oneshot: move power acquire back to adc_oneshot_new_unit
...
Revert and fix of d197c59eaa
in !23575
2023-07-06 16:46:24 +08:00
b4c8d92d94
fix(nimble): Fix assert due to controller event while stack deinit
2023-07-06 11:49:09 +05:30
52589aca08
ringbuf: Fix ordering of StaticRingbuffer_t
...
When building on linux/host compilers (e.g., GCC), the compiler may add padding
depending on the size and order of the member types.
This commit fixes the ordering or the StaticRingbuffer_t such that it matches
the internal Ringbuffer_t. The "_Static_assert" is always enabled for all
compilers.
Note: Removed all usage configSUPPORT_STATIC_ALLOCATION preprocessor conditions
as the macro is always set to 1.
Closes https://github.com/espressif/esp-idf/issues/11726
2023-07-04 21:42:12 +01:00
7114092451
docs(jtag): Update CN translation of 'api-guides/jtag-debugging/index.rst'
2023-07-04 19:29:52 +08:00
bfddc02963
docs(jtag): Update chip revisions to follow ESP32-C3 errata (GitHub PR)
2023-07-04 19:29:52 +08:00
181666c4a7
fix(esp_wifi) : Fix collection of issues in sta roam and scan.
...
1) Fix issue during split scan to allow for data tx.
2) Fix issue when parsing wpa_ie to set correct authmode when AP
supports both WPA_EAP and WPA_EAP_SHA256 authmode.
Closes https://github.com/espressif/esp-idf/issues/11202
3) Fix an occasional crash during sta roam.
4) Add home_channel_dwell_time to wifi_scan_config_t. This allows
configuration of the time spent between scanning consecutive
channels for tx.
5) Adds a obss scan timer disarm when a sta disconnects from an AP
2023-07-04 11:59:26 +05:30
5714d6d324
esp_wifi: Bugfix concurrency observed while doing eloop register
2023-07-04 09:42:39 +05:30
c076c24a11
gcov: Fix not linked gcov rtio functions
2023-07-03 13:10:01 +03:00
4c775e3eb8
Merge branch 'bugfix/fix_bleqabr23_338_v5.0' into 'release/v5.0'
...
bluedroid: fixed gatt tcb free when disconnecting (backport v5.0)
See merge request espressif/esp-idf!24499
2023-06-30 11:05:49 +08:00
2558d4c46d
Merge branch 'bugfix/fix_esp32s3_tsens_v5.0' into 'release/v5.0'
...
fix(esp_wifi): Fix crash caused by tx_pwctrl_background call in ESP32S3(v5.0)
See merge request espressif/esp-idf!24477
2023-06-30 10:18:02 +08:00
64a2778d5f
bluedroid: fixed gatt tcb free when disconnecting
2023-06-29 20:55:37 +08:00
75bd131a54
ble: fix cca for esp32c2
2023-06-29 20:02:34 +08:00
ad5a8be6ab
Merge branch 'bugfix/decouple_softap_c2_v5.0' into 'release/v5.0'
...
Bugfix/decouple softap c2 (v5.0)
See merge request espressif/esp-idf!24471
2023-06-29 18:22:24 +08:00
af44033b5a
esp_wifi: fix timer callback crash after wifi deinit on esp32c2.
2023-06-29 15:09:07 +08:00
ef3fe14b5f
esp_wifi: decouple softap for esp32c2.
2023-06-29 15:09:07 +08:00
b1e79dbcf5
Merge branch 'bugfix/temperature_weak_link_phy_xpd_v5.0' into 'release/v5.0'
...
temperature_sensor: only link phy_xpd_tsens function in phy_lib ( backport v5.0)
See merge request espressif/esp-idf!24473
2023-06-29 15:07:06 +08:00
3a8e28d862
Merge branch 'bugfix/fix_deepsleep_saradc_leakage_by_sar' into 'release/v5.0'
...
bugfix: fix adc current leakage by sar_adc on v5.0
See merge request espressif/esp-idf!24344
2023-06-29 14:23:38 +08:00
8390818e7e
Added description to disable coredump logs to ram_usage.rst
...
Signed-off-by: Vikram <vikram.dattu@espressif.com >
2023-06-29 11:51:03 +05:30
7c766af407
Optionally disable logs in espcoredump component
...
Early log strings used by this component are placed in DRAM.
Disabling these logs saves ~5KB of internal memory
Signed-off-by: Vikram <vikram.dattu@espressif.com >
2023-06-29 11:51:03 +05:30
0f91ea5369
fix(esp_wifi): Fix crash caused by tx_pwctrl_background call in ESP32S3.
2023-06-29 11:08:09 +08:00
045467e439
temperature_sensor: only link phy_xpd_tsens function in phy_lib
2023-06-29 10:27:38 +08:00
e0370d89c3
ci: increase timeout threshold to solve deepsleep wakestub example ci failure
2023-06-28 18:12:33 +08:00
1dbca70b62
docs: update code of how to configure multiple antennas of wifi
2023-06-28 14:43:45 +08:00
a42b4da02d
docs: fix a typo in api-guides/usb-otg-console
2023-06-28 14:40:53 +08:00
94294610e9
docs: update installation prerequisites for Ubuntu and Debian system
2023-06-28 14:38:50 +08:00
3eae74e966
bugfix: increase pm_dump time field width
...
Closes https://github.com/espressif/esp-idf/issues/11704
2023-06-28 14:35:20 +08:00
684e15f729
fix a typo in api-reference/system/ota
2023-06-28 14:28:32 +08:00
837a46b5a7
btc_sdp: add_raw_sdp: fix 32 and 128-bit uuid configuration
...
Added proper conversion of 4 and 16-byte UUIDs values to binary streams.
UUIDs now set with SDP_AddAttribute() instead of
SDP_AddServiceClassIdList().
2023-06-28 14:18:20 +08:00
b947cab073
tools: add sbom information for submodules
...
This adds SBOM information for submodules, which are not managed
by Espressif. Meaning there is no fork for them in the espressif
namespace. Other submodules should add sbom.yml manifest file to
the root of their git repository.
The SBOM information for submodules is stored in the .gitmodules file.
Each SBOM related variable has the "sbom-" prefix and the following
variables may be used:
sbom-version:
submodule version
sbom-cpe:
CPE record if available in NVD. This will be used by the SBOM
tool to check for possible submodule vulnerabilities. The
version in the CPE can be replaced with the "{}" placeholder,
which will be replaced by the "sbom-version" value from above.
sbom-supplier:
Person or organization who is providing the submodule.
It has to start with "Person:" or "Organization:" prefix
as required by the SPDX-2.2 standard.
sbom-url:
URL to the project if exists, e.g. github.
sbom-description:
Project description.
sbom-hash:
Submodule SHA as recorded in the git-tree. This field is used by
CI to check that the submodule checkout hash and info in .gitmodules
are in sync. IOW if submodule is updated and it has SBOM info in
.gitmodules, the .gitmodules has to be updated too. The test is
part of this commit. The checkout has of the submodule can be found
by using "git submodule status".
Example for micro-ecc submodule
---8<---
[submodule "components/bootloader/subproject/components/micro-ecc/micro-ecc"]
path = components/bootloader/subproject/components/micro-ecc/micro-ecc
url = ../../kmackay/micro-ecc.git
sbom-version = 1.0
sbom-cpe = cpe:2.3🅰️ micro-ecc_project:micro-ecc:{}:*:*:*:*:*:*:*
sbom-supplier = Person: Ken MacKay
sbom-url = https://github.com/kmackay/micro-ecc
sbom-description = A small and fast ECDH and ECDSA implementation for 8-bit, 32-bit, and 64-bit processors
sbom-hash = d037ec89546fad14b5c4d5456c2e23a71e554966
---8<---
Signed-off-by: Frantisek Hrbata <frantisek.hrbata@espressif.com >
2023-06-27 10:05:29 +02:00
ff28efe5be
protobuf-c: Update submodule to v1.4.1
2023-06-27 11:17:43 +05:30
a2cf3ae4df
i2s: fixed i2s_ll compiling failure under C++ evironment
...
Closes: https://github.com/espressif/esp-idf/issues/11625
2023-06-27 10:39:43 +08:00
e43622d1df
touch_element: fix unintended integer division
2023-06-26 07:08:04 +00:00
92ca847730
usbh: fix invalid assert on desc_status
2023-06-26 07:08:04 +00:00
93ce0714fd
vfs_uart: fix out-of-bounds read
...
when open uart device "/2" on chips only have 2 UART peripherals
2023-06-26 07:08:04 +00:00
6c14120c7f
wpa_supplicant : Fix occasional crash during btm roam.
...
Fix crash due to premature deallocation of neighbour report elements
by scan_done. Post event to btm_rrm_t task to handle scan_done serially
rather than when btm_rrm_t task is processing btm request rx frame.
2023-06-26 10:34:33 +05:30
49bb1e85b7
component/docs: enable generation of API-reference documents for Bluetooth HID host
2023-06-25 15:37:54 +08:00
df68489f15
resolve the conflicts
2023-06-25 15:37:54 +08:00
02ee20ff3a
pytest: Expect "Calling app_main()" to indicate start of application
...
This commit updates variousf pytest scripts to expect
"main_task: Calling app_main()" instead of "cpu_start: Starting scheduler" as
indicator of the start of an application.
2023-06-23 10:35:56 +02:00
57e188c2e3
fix(monitor/ansi_converter): decode multibyte characters
2023-06-23 09:32:13 +02:00
9c3a13515c
freertos(IDF): Update IDF FreeRTOS linker fragment file
...
This commit updates the linker fragment file for IDF FreeRTOS.
- Linker fragment file's formatting was updated
- Placement rules of functions is now clearly specified inside the linker
fragment file.
- Some extra functions are now placed in flash in accordance to the new
placement rules.
2023-06-23 09:20:18 +02:00
4ac68a97d9
freertos(SMP): Update SMP FreeRTOS linker fragment file
...
This commit updates the linker fragment file for Amazon SMP FreeRTOS.
- Linker fragment file's formatting was updated
- Placement rules of functions is now clearly specified inside the linker
fragment file.
- Some extra functions are now placed in flash in accordance to the new
placement rules.
2023-06-23 07:16:58 +02:00
55644575db
freertos: Add linker fragments for common functions
...
This commit adds a separate linker fragment file "linker_common.lf" for the
functions in "port_common.c". The placement rules are now clearly specified
inside the linker fragment file.
2023-06-22 17:20:48 +02:00
68646e23ae
freertos: Refactor port common functions
...
This commit refactors port_common.c so that it only contains implementation of
FreeRTOS port functions that are common to all FreeRTOS ports (i.e., on all
architectures and on all FreeRTOS implementations).
2023-06-22 17:20:35 +02:00
feee3a3059
freertos: Refactor OS startup functions
...
This commit refactors the OS startup functions as follows:
- Moved the OS/app startup functions listed below to "app_startup.c". Their
implementations are now common to all ports (RISC-V and Xtensa) of all
FreeRTOS implementations (IDF and Amazon SMP).
- esp_startup_start_app()
- esp_startup_start_app_other_cores()
- Removed esp_startup_start_app_common() as app startup functions are now
already common to all ports.
- Added extra logs to "main_task" to help with user debugging
Note: Increased startup delay on "unity_task". The "unity_run_menu()" is non
blocking, thus if the main task or other startup tasks have not been freed
by the time "unity_run_menu()" is run, those tasks will be freed the next time
"unity_task" blocks. This could cause some tests to have a memory leak, thus
the "unity_task" startup delay has increased.
2023-06-22 17:17:18 +02:00
7b98762ff5
fix: Compatibility with pyparsing>=3.1.0
2023-06-22 11:29:14 +02:00
2bdbcf12a9
freertos: Fix Systick stuck when systimer was not reset
...
Relates to OTA update for S3/C3 chips from IDF version 4.3 to v5.0 and above
2023-06-21 14:42:34 +00:00
da223dd790
Nimble: Expose API to clear all addresses in whitelist out of stack
2023-06-21 15:55:58 +05:30
f030c92d05
bugfix: fix adc current leakage by sar_adc on v5.0
2023-06-21 17:43:53 +08:00
96119acc8b
Merge branch 'ci/ignore_pkg_resources_deprecation_warning_v5.0' into 'release/v5.0'
...
ci: ignore pkg_resources deprecation warning (v5.0)
See merge request espressif/esp-idf!24340
2023-06-21 15:36:20 +08:00
4068c1d7b4
tools: bump check-copyright in .pre-commit-config.yaml
...
Newer check-copyright version 1.0.2 contains fixes for copyrights
with single year and also the proposed date update is applied only
if number of changed lines is greater or equal to a limit. The default
limit is 5 and can be changed with the --lines-changed option if needed.
Signed-off-by: Frantisek Hrbata <frantisek.hrbata@espressif.com >
2023-06-21 07:06:15 +02:00
4ff607e9a8
ci: ignore pkg_resources deprecation warning
2023-06-21 07:30:25 +08:00
169d7dc3c9
tools: Fix IDF Monitor print filter when no ELF file is supplemented
...
A different serial handler class is used when there was no ELF file
passed do esp-idf-monitor. This fix will ensure that print filter check
is respected in this case as well.
2023-06-19 16:56:20 +02:00
6212ce9d94
tools: Remove ELF-file-based IDF Monitor tests
2023-06-19 16:56:20 +02:00
861e6a4ef8
cache: patch some rom cache api, rename those apis in ld
...
1. Cache_Count_Flash_Pages, fix this api return enexpected + 1
2. Cache_Suspend_I/DCache, add wait cache idle after suspend cache
3. Cache_Freeze_I/DCache_Enable, add wait cache idle after freeze
2023-06-19 15:15:32 +08:00
da7cbbfb7f
Update bt-lib for esp32
...
1 Fixed disconnection delay on peripheral when slave latency is not zero
2 Fixed LLCP info init for central and peripheral
3 Fixed sent cmd status evt twice when process disconnect cmd
2023-06-16 11:41:24 +08:00
2be8e6e086
Update bt lib for ESP32-C3 and ESP32-S3
...
- Fixed crash when controller initialization fails due to insufficient memory
2023-06-16 11:41:19 +08:00
2dea457d9a
bluedroid: fixed default extended connection params
2023-06-16 11:41:06 +08:00
21cc277c3d
esp_hid: fixed ble hid battery level setting
2023-06-16 11:40:59 +08:00
8600761adf
fix ULP FSM reg ops with addr > 0xFF
2023-06-15 14:00:57 +02:00
d202fc5993
ci: sync master flash_psram test and add access psram with DFS unity test
2023-06-15 14:14:25 +08:00
3ee8a59d59
bugfix: use avaliable gpio for esp32s3 pm_trace
2023-06-15 14:14:25 +08:00
65e8cb55eb
bugfix: fix esp32s3 psram access failed when dfs is enabled
2023-06-15 14:14:21 +08:00
f5c5c539a6
migration_guide: update adc calibration api part
2023-06-15 11:46:40 +08:00
9795444f6c
mcpwm: fix typo in backward compatible macro name
2023-06-15 10:58:50 +08:00
24b9d38a24
Merge branch 'bugfix/fix_esp32s2_tsenor_v5.0' into 'release/v5.0'
...
esp_phy: fix esp32s2 tsensor issue(v5.0)
See merge request espressif/esp-idf!24226
2023-06-15 01:22:02 +08:00
bd90408cc1
Merge branch 'feature/esp_ipc_isr_fix_v5.0' into 'release/v5.0'
...
esp_system: Fix a race-condition in esp_ipc_isr (in QEMU env) (v5.0)
See merge request espressif/esp-idf!23992
2023-06-15 00:56:24 +08:00
d6017a32bd
esp_phy: fix esp32s2 tsensor issue
2023-06-14 21:42:07 +08:00
2798527b0b
Merge branch 'bugfix/fix_some_wifi_bugs_230612_v5.0' into 'release/v5.0'
...
Fixed some wifi bugs 230612 v5.0 (Backport v5.0)
See merge request espressif/esp-idf!24172
2023-06-14 01:10:29 +08:00
7684bd5cdb
Merge branch 'bugfix/memory_cleanup_optimization_v5.0' into 'release/v5.0'
...
Nimble: Fixes for memory leak / optimization (v5.0)
See merge request espressif/esp-idf!24140
2023-06-13 23:43:08 +08:00
fa17fc83cb
Merge branch 'bugfix/fix_adc_continuous_driver_conv_frame_issue_v5.0' into 'release/v5.0'
...
adc: fix adc continuous driver conv_frame_size not bigger than 4092 issue / pr 11500, use circular dma descriptors in adc continuous mode (v5.0)
See merge request espressif/esp-idf!24189
2023-06-13 20:20:25 +08:00
d20884cecb
Merge branch 'bugfix/fix_multicast_example_map_wrong_address_issue_5.0' into 'release/v5.0'
...
Lwip:Backport some lwip bugs to 5.0
See merge request espressif/esp-idf!24193
2023-06-13 20:18:43 +08:00
69b3835cee
Merge branch 'feature/s2_ulp_riscv_adc_v5.0' into 'release/v5.0'
...
ulp-riscv: enable ULP-RISCV ADC example for esp32s2 (v5.0)
See merge request espressif/esp-idf!23372
2023-06-13 20:18:13 +08:00
d994b97c92
Merge branch 'bugfix/init_wpsreg_in_APSTA_mode_v5.0' into 'release/v5.0'
...
esp_wifi:Enable wpsreg to initialize in APSTA mode
See merge request espressif/esp-idf!24198
2023-06-13 20:13:47 +08:00
3a188d309d
Merge branch 'feature/tools_add_ulp_linux_i686_toolchain_v5.0' into 'release/v5.0'
...
tools: add ULP toolchain for linux-i686 platform (v5.0)
See merge request espressif/esp-idf!24195
2023-06-13 18:38:08 +08:00
8704ff0b55
rgb_lcd: support pixel copy for 8bpp
...
Closes https://github.com/espressif/esp-idf/issues/11581
2023-06-13 18:21:32 +08:00
da24d50bb9
Merge branch 'bugfix/fix_bleqabr23_222_v5.0' into 'release/v5.0'
...
Revert "bluedroid: report disconnect event after BLE link closed" (backport 5.0)
See merge request espressif/esp-idf!24191
2023-06-13 18:00:19 +08:00
1b04acf68f
Merge branch 'bugfix/fix_chip_broken_bug_in_monitor_mode_c2c3s2s3_to_v5.0' into 'release/v5.0'
...
ESP32S2/C3/C2: fixed S2 dangerous power parameters in sleep modes and support S2/C3/C2 different sleep mode(v5.0)
See merge request espressif/esp-idf!23754
2023-06-13 17:50:21 +08:00
3ab8ae336c
Merge branch 'bugfix/fix_psram_size_doc_s3_v5.0' into 'release/v5.0'
...
doc: update s3 psram vaddr max range size (v5.0)
See merge request espressif/esp-idf!24188
2023-06-13 17:31:08 +08:00
0f09901e30
esp_wifi: fix some wifi bugs
...
1. mesh: layer2 node will scan all channels when root leave in fixed root network
2. show warning infomation when setting softAP's max connection number
3. update pairwise cipher in softAP
4. overwrite pairwise cipher when softAP auth mode is WPA2 WPA2_WPA3 WAP3
5. fix sta receive csa issue
2023-06-13 16:47:07 +08:00
cb963c5cb5
esp_wifi:Enable wpsreg to initialize in APSTA mode
2023-06-13 12:22:50 +05:30
70998e211a
tools: add ULP toolchain for linux-i686 platform
...
Closes https://github.com/espressif/esp-idf/issues/11561
2023-06-13 12:50:21 +07:00
b85dad9e68
esp_phy:update comments in esp_phy_init.h
2023-06-13 11:57:07 +08:00
64911ed444
Lwip:Backport some lwip bugs to 5.0
...
* Update submodule: git log --oneline d5e56d06658ae11292be1baea56204f7120b6fa7..57c29648ff40e2a19a51683717928aaf766a0495
Detailed description of the changes:
- ip6: add a hook for ip6 source address selection(esp-lwip@57c29648)
- netdb:fixed bug for getaddrinfo returns null when IPV4 mapped address (esp-lwip@dafc8225)
2023-06-13 11:55:49 +08:00
153f34cf74
esp_supplicant: When the softAP authentication mode is set to WPA2_PSK, WPA2_WPA3_PSK, or WPA3_PSK, the pairwise cipher will be overwritten with WIFI_CIPHER_TYPE_CCMP
2023-06-13 11:54:26 +08:00
13f62f9d4b
Nimble: Fixes for memory leak / optimization
2023-06-13 09:20:28 +05:30
5caf842f72
esp_supplicant: wpa pmf should be disabled
2023-06-13 11:43:11 +08:00
1c07880c34
Merge branch 'bugfix/add_event_cb_for_pcl_v5.0' into 'release/v5.0'
...
Nimble: Add support to send power control event in registered callback(v5.0)
See merge request espressif/esp-idf!23584
2023-06-13 11:20:34 +08:00
9f99495cb2
Merge branch 'feature/add_log_when_mspi_timing_tuning_is_enabled_v5.0' into 'release/v5.0'
...
mspi: added timing tuning start, and success log (v5.0)
See merge request espressif/esp-idf!24054
2023-06-13 10:51:49 +08:00
a591730d29
Merge branch 'bugfix/tempsensor_wifi_conflict_v5.0' into 'release/v5.0'
...
temperature_sensor: Fix issue that have conflict with phy / Fix phy pwdet and tsens power cannot be set twice issue (v5.0)
See merge request espressif/esp-idf!24066
2023-06-13 10:47:32 +08:00
187d77d702
Revert "bluedroid: report disconnect event after BLE link closed"
...
This reverts commit 0cb5a90663
.
2023-06-13 10:33:17 +08:00
9bec4233a4
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-13 10:28:46 +08:00
82c055bac9
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-13 10:28:46 +08:00
ac3f74ecb6
adc: fix adc continuous driver conv_frame_size not bigger than 4092 issue
...
Closes https://github.com/espressif/esp-idf/issues/11385
2023-06-13 10:28:46 +08:00
c82d9ca887
Merge branch 'bugfix/bod_glitch_reset_c6_v5.0' into 'release/v5.0'
...
bootloader: fix BOD and glitch reset on C6 and H2 (v5.0)
See merge request espressif/esp-idf!23407
2023-06-13 10:25:47 +08:00
d82af7f54a
fix chip broken bug in monitor mode for c2 c3 s2 s3 to v5.0
2023-06-13 10:22:40 +08:00
c0f55d9a53
Merge branch 'feat/improve_wifi_rx_in_high_interference_v5.0' into 'release/v5.0'
...
esp_phy: update esp32c2 phy lib to fix some issues(v5.0)
See merge request espressif/esp-idf!24162
2023-06-13 10:20:36 +08:00
899925e66b
Merge branch 'feature/usb_host_interface_claim_debug_info_v5.0' into 'release/v5.0'
...
USB Host: better debugging information during usb_host_interface_claim() (backport v5.0)
See merge request espressif/esp-idf!23446
2023-06-13 10:15:42 +08:00
156da3a22c
doc: update s3 psram vaddr max range size
2023-06-13 10:13:57 +08:00
faf54ca1d6
Merge branch 'bugfix/aes_dma_align_issue_v5.0' into 'release/v5.0'
...
aes: fix DMA descriptor calculation for the alignment case (v5.0)
See merge request espressif/esp-idf!24094
2023-06-13 10:09:16 +08:00
e37618cda7
Merge branch 'bugfix/adc_outof_bound_read_v5.0' into 'release/v5.0'
...
adc: fix out of bound read
See merge request espressif/esp-idf!24170
2023-06-13 10:05:39 +08:00
17a455dfa6
Merge branch 'bugfix/removed_working_directory_error_v5.0' into 'release/v5.0'
...
Tools bugfix: Removed working directory when using idf.py (v5.0)
See merge request espressif/esp-idf!24151
2023-06-12 23:18:58 +08:00
6602cfa760
phy: fix phy pwdet and tsens power cannot be set twice issue
...
Closes https://github.com/espressif/esp-idf/issues/11627
2023-06-12 19:42:05 +08:00
6012986e2a
Merge branch 'bugfix/delete_node_during_list_traverse_5.0' into 'release/v5.0'
...
bugfix: Fixed the crash of LoadProhibited caused by invalid operation on list node in handling hci_hardware_error event (v5.0)
See merge request espressif/esp-idf!23117
2023-06-12 18:16:25 +08:00
a40fc4035d
Merge branch 'bugfix/a2dp_source_crash_connect_to_Bose_speaker_v5.0' into 'release/v5.0'
...
Bugfix/a2dp source crash connect to bose speaker (v5.0)
See merge request espressif/esp-idf!23349
2023-06-12 18:16:12 +08:00
c098c0b6fa
Merge branch 'bugfix/dpp_retry_start_listening_issue_v5.0' into 'release/v5.0'
...
esp_dpp: Fix retry with esp_supp_dpp_start_listen after failure (v5.0)
See merge request espressif/esp-idf!23595
2023-06-12 18:15:55 +08:00
75bd7008a5
mspi: added timing tuning start, and success log
2023-06-12 16:14:13 +08:00
25b40c9d5e
esp_wifi: fix some wifi bugs
...
1.pm: mesh sleep support phy ref
2.pm: send wake null after scan if txq isn't idle
3.fix esp32 wifi schm interrupted by ble act
4.fix the bug that ble scan start impacts wifi in some coex scenarios
5.fix softAP qos null issue
6.fix the tx data error when change phymode from LR to 11N
7.fix the heap corrupt issue in MTXON task
8.add new api for supplicant to get softAP's max connection
9.owe: reject pmf incapable ciphers for owe connections
10.fix nvs store softap pmk not match ssid&password
11.install keys after successful transmission of eapol 4/4 message
12.add apis to get assoc id and negotiated phymode
13.softAP pmf: handle SA Query bug in AP-STA concurrent mode when both connections are pmf enabled
14.softAP pmf: merge softAP and station SA Query handlers
15.add wpa_sta_connected callback
16.softAP: validate softAP interface when sending beacon
17.ftm: send ftm frames immediately
18.fix ftm procedure with peer failed status 4 issue
19.fix set inactive time crash issue
2023-06-12 15:40:19 +08:00
811e5e06d2
docs: update ftm docs
2023-06-12 15:24:40 +08:00
0d2271e539
docs: add some details for wifi scan description
2023-06-12 15:24:20 +08:00
b678fa1290
esp_wifi: Combine bugfixes for softAP PMF, beacon tx process and add wpa_sta_connected callback
...
1. Handle SA-Query bug in AP-STA concurrent mode when both connections are PMF enabled
2. Add wpa_sta_connected callback
3. Validate softAP interface when sending beacon frame
2023-06-12 15:24:07 +08:00
ded3169aa5
esp_wifi: Add APIs to get Assoc id and negotiated phymode.
2023-06-12 15:23:55 +08:00
70e3d8f511
esp_wifi: Install keys after successful transmission of EAPOL 4/4 Message
2023-06-12 15:23:40 +08:00
273f36829a
wpa_supplicant: Fix max sta num error for softAP
2023-06-12 15:23:26 +08:00
e70f45acd1
Update the ESP-NOW frame length in docs
2023-06-12 15:23:15 +08:00
a21312a5a1
Fixed bug for stop dhcps before set dns
...
Closes https://github.com/espressif/esp-idf/issues/10762
2023-06-12 15:23:04 +08:00
6849be6397
adc: fix out of bound read
...
when SOC_ADC_PERIPH_NUM==1, the adc_unit should only be assigned with 0
2023-06-12 15:21:19 +08:00
f0b1869ceb
Merge branch 'bugfix/fix_some_txop_issues_v5.0' into 'release/v5.0'
...
esp_wifi: fix some txop issues(Backport v5.0)
See merge request espressif/esp-idf!24160
2023-06-12 15:04:24 +08:00
40b93eaf36
Merge branch 'docs/fix_error_in_esp32-s2-devkitc-1_pin_layout_diagram_v5.0' into 'release/v5.0'
...
Docs/Fix error in esp32-s2-devkitc-1 pin layout diagram (v5.0)
See merge request espressif/esp-idf!24117
2023-06-12 11:56:35 +08:00
cdb11885f5
esp_phy: update esp32c2 phy lib to fix some issues
...
1. improve Wi-Fi rx 11b pkts for AC-DC power supply modules.
2. fix Wi-Fi disconnect in low temperature.
3. fix RTC_SW_CPU_RST occur in Wi-Fi start and stop process.
2023-06-12 11:54:11 +08:00
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
7e810cd65c
fix a2dp source crash when connect to Bose speaker
2023-06-12 03:24:15 +00:00
95b363aa91
fixed the crash of LoadProhibited caused by taht
...
the nodes are deleted during the traversal of the linked list
2023-06-12 03:23:18 +00:00
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
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
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
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
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
398403e251
esp_wifi: fix some txop issues
2023-06-09 23:24:02 +08:00
a66d93a75f
esp_wifi: Fix WPS issue for WPA3+WPA2 mode
2023-06-09 17:58:34 +05:30
5a7eae4743
Tools bugfix: Removed working directory when using idf.py
...
Added check for existence of current working directory when using idf.py
Closes https://github.com/espressif/esp-idf/issues/11476
2023-06-09 14:28:11 +02:00
4ceae4654b
efuse: Do not load real efuses before some test (some chips have burned efuse blocks)
2023-06-09 19:10:47 +08:00
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
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
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
48bd249d7b
fix_error_in_esp32-s2-devkitc-1_pin_layout_diagram
2023-06-08 16:16:00 +08:00
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
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
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
94e139e639
aes: fix DMA descriptor calculation for the alignment case
...
The number of the DMA descriptors allocated for certain length (e.g.,
8176) were not sufficient (off by 1 error). This used to result in the
dynamic memory corruption as the region was modified beyond the
allocated range.
This change fixes the DMA descriptor calculation part and allocates
sufficient DMA descriptors based on the data length alignment considerations.
Test has also been added to cover the specific scenario in the CI.
Closes https://github.com/espressif/esp-idf/issues/11310
2023-06-07 09:26:30 +05:30
839d1a831d
drivers: fix issue reported by coverity
2023-06-07 11:43:17 +08:00
4a05274dc4
adc: fixed the issue that multiply overflow before type expand
2023-06-07 11:42:29 +08:00
8a66cab04c
temperature_sensor: Apply new-shared interface in temperature sensor driver
2023-06-06 01:30:51 +08:00
ca41902ccf
temperature_sensor: Add new interface and reference counts so that phy and driver can use together
2023-06-06 01:30:51 +08:00
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
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
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
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
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
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
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
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
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
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
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
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
4377ba639b
Blufi: use blufi_env.conn_id instead of local variable
2023-05-31 20:10:19 +05:30
0ffee5cd2a
bugfix: fix wakeup failed if powerdown flash in lightsleep
2023-05-31 19:44:40 +08:00
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
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
051cb8dc5f
esp_system: Fix a race-condition in esp_ipc_isr (in QEMU env)
...
The race condition is very unlikely on real hardware but can be observed with
qemu under heavy load.
Also add missing `memw` instructions which are generated by the C compiler but
absent in the assembly code.
Signed-off-by: Paul Guyot <pguyot@kallisys.net >
Signed-off-by: KonstantinKondrashov <konstantin@espressif.com >
Merges https://github.com/espressif/esp-idf/pull/11447
Closes https://github.com/espressif/esp-idf/issues/11433
2023-05-30 23:04:14 +08:00
871a7568b7
bt: Added an example of Bluetooth using light sleep
2023-05-30 20:25:45 +08:00
6f5d61ff49
esp_phy:Update phy lib for ESP32-C2
2023-05-30 15:45:54 +08:00
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
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
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
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
872ada14e2
esp_eth: improved L2 test stability and removed duplicate test cases
2023-05-29 10:49:31 +00:00
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
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
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
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
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
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
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
31b2eedc9f
vfs: select sanity NULL check
...
https://github.com/espressif/esp-idf/issues/9964
2023-05-26 13:46:25 +02:00
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
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
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
d3885faa43
Tools: Update the certificate of idf_tools.py
2023-05-25 16:30:08 +02:00
05714f207d
bugfix: close phy_tsens before deepsleep
2023-05-25 13:14:52 +08:00
8ce59ffe14
ble:fixed build error when disable smp
2023-05-24 20:51:41 +08:00
bc96a1b6c7
ble:esp32c2 add rf temperature compensation
2023-05-24 20:51:41 +08:00
fbe0c85229
Merge branch 'docs/provide_CN_trans_for_22939_backport_v5.0' into 'release/v5.0'
...
docs: update CN translation for mdns.rst (backport_v5.0)
See merge request espressif/esp-idf!23632
2023-05-23 21:05:12 +08:00
e84e884d66
tools: fix control characters print if hints enabled
...
Closes https://github.com/espressif/esp-idf/issues/11351
2023-05-23 18:30:35 +08:00
78ba28f65f
docs: update links in mdns.rst_backport_v5.0
2023-05-23 17:54:17 +08:00
400549eeba
Merge branch 'contrib/github_pr_11402_v5.0' into 'release/v5.0'
...
esp_ds: ignore releasing mutex if not called from same task (GitHub PR) (v5.0)
See merge request espressif/esp-idf!23841
2023-05-23 14:48:06 +08:00
de419dbe0b
Merge branch 'bugfix/fix_some_ble_bug_v5.0' into 'release/v5.0'
...
Fixed some BLE bugs (backport v5.0)
See merge request espressif/esp-idf!23709
2023-05-22 11:09:26 +08:00
5a68c49656
Merge branch 'bugfix/fix_iphone_disconnects_immediately_after_connecting_when_BLE_wifi_coexist_v5.0' into 'release/v5.0'
...
Fix iPhone disconnects immediately after connecting when ble wifi coexist(backport v5.0)
See merge request espressif/esp-idf!23810
2023-05-19 23:03:23 +08:00
441c89d938
Merge branch 'feature/reset_mcpwm_in_restart_v5.0' into 'release/v5.0'
...
mcpwm: reset peripheral in restart, panic and halt (v5.0)
See merge request espressif/esp-idf!23652
2023-05-19 17:49:05 +08:00
f5b0dd48ce
Merge branch 'bugfix/fix_i2c_c2_fifo_len' into 'release/v5.0'
...
i2c: fix fifo length on esp32c2(backport v5.0)
See merge request espressif/esp-idf!23787
2023-05-19 17:48:50 +08:00
128435993e
Merge branch 'bug/interactive_hints_v5.0' into 'release/v5.0'
...
tools: fix hints processing in interactive mode (v5.0)
See merge request espressif/esp-idf!23804
2023-05-19 15:45:04 +08:00
7e6b69e1d6
Merge branch 'bugfix/sync-contribution-guide_v5.0' into 'release/v5.0'
...
docs: updated contribution agreement (v5.0)
See merge request espressif/esp-idf!23838
2023-05-19 13:30:24 +08:00
ebf4abca14
esp_ds: ignore releasing mutex if not called from same task
2023-05-19 08:31:45 +05:30
29545fc030
docs: updated contribution agreement
2023-05-18 16:34:47 +02:00
7b113d2073
docs: update translation for esp_eth
2023-05-18 14:28:21 +00:00
47a3faa0ff
Ethernet driver and documentation clean-up
2023-05-18 14:28:21 +00:00
ab3499ab82
Merge branch 'bugfix/dm9051_rcv_mcast_v5.0' into 'release/v5.0'
...
esp_eth: allowed DM9051 to receive multicast packets v5.0
See merge request espressif/esp-idf!22864
2023-05-18 18:31:42 +08:00
dc63356910
Nimble: Add support to send power control event in registered callback
2023-05-18 14:02:07 +05:30
858199506d
mcpwm: reset peripheral in restart, panic and halt
...
mcpwm is commonly used in power eletronic area, when restart happens,
make sure the mcpwm generator is not working.
closes https://github.com/espressif/esp-idf/issues/11324
2023-05-18 04:56:34 +00:00
550c5b4195
Merge branch 'bugfix/update_test_dl_esp_cert_v5.0' into 'release/v5.0'
...
tests: update Root certificate for the test endpoints (v5.0)
See merge request espressif/esp-idf!23798
2023-05-18 12:39:36 +08:00
20e83f24d2
Fix the bug that the iPhone disconnects immediately after connecting when BLE and wifi coexist
2023-05-18 12:08:07 +08:00
b1a3e6cd58
Merge branch 'docs/esp_protocols_docs_migration_v5.0' into 'release/v5.0'
...
docs: migrated documentation from github.io to docs.espressif.com (v5.0)
See merge request espressif/esp-idf!23318
2023-05-17 20:28:38 +08:00
8e811c1bf2
tools: fix hints processing in interactive mode
...
Currently hints are processed only once the process is finished and
exits with non-error exit code. In interactive mode, e.g. for monitor,
we want to process ouput lines for hints right away.
This adds a simple buffer, which keeps the last line and once EOL is
reached, it is processed for hints.
Since the original hints processing was file based, a new helper
function was added to allow processing hints in string.
Signed-off-by: Frantisek Hrbata <frantisek.hrbata@espressif.com >
2023-05-17 13:27:13 +02:00
8eda836de6
tools: don't print hints directly in print_hints
...
This is partial backport of following commit, which changes
print_hints to generate_hints.
commit 92ef2a4c83
Author: simon.chupin <simon.chupin@espressif.com >
Date: Tue Aug 9 15:39:23 2022 +0200
Tools: Add unit tests for idf.py hints
Only hunks for core_ext.py and tools.py are picked. It would be possible
to use the original print_hints approach, where the hints are directly
printed out and not returned, but it seems to make sense to keep it
closer to most recent version. It should make further backports easier
and it allows to cherry pick the iterative hints approach.
Signed-off-by: Frantisek Hrbata <frantisek.hrbata@espressif.com >
2023-05-17 13:26:46 +02:00
b08267f3b1
Merge branch 'monitor_win_color-v5.0' into 'release/v5.0'
...
bug(idf_monitor): fix color on windows with hints (v5.0)
See merge request espressif/esp-idf!23348
2023-05-17 18:39:32 +08:00
de3fa9ae71
tests: update Root certificate for the test endpoints
...
Use Root certificate (`DigiCert Global Root G2`) for the
`dl.espressif.com` and `espressif.com` test endpoints.
This fixes the test failure introduced due to renewal of
the intermediate certificate.
2023-05-17 15:28:23 +05:30
0229619e16
i2c: fix fifo length on esp32c2,
...
Closes https://github.com/espressif/esp-idf/issues/11413
2023-05-17 11:31:21 +08:00
5b34c34fbc
Merge branch 'feature/remove_coredump_tests_v5.0' into 'release/v5.0'
...
coredump: remove tests (moved to esp-coredump repo) (v5.0)
See merge request espressif/esp-idf!23768
2023-05-17 01:56:21 +08:00
fc4d4f0b8d
Merge branch 'bugfix/espnow_config_channel_v5.0' into 'release/v5.0'
...
esp_wifi: fix espnow example add peer fail when config channel(v5.0)
See merge request espressif/esp-idf!23177
2023-05-16 13:46:40 +08:00
e092b58696
coredump: remove tests (moved to esp-coredump repo)
2023-05-16 12:49:13 +08:00
c47e33a1ff
Merge branch 'bugfix/c2_wdt_reset_reason_v5.0' into 'release/v5.0'
...
wdt: fix IWDT reset reason for esp32c2 (v5.0)
See merge request espressif/esp-idf!23741
2023-05-16 10:36:05 +08:00
3852c15670
Merge branch 'docs/ulp_fsm_example' into 'release/v5.0'
...
ulp: update docs to reflect that ulp_fsm example only supports esp32 (v5.0)
See merge request espressif/esp-idf!23752
2023-05-16 09:22:17 +08:00
10a98e7e58
Merge branch 'contrib/github_pr_11388_v5.0' into 'release/v5.0'
...
Update esp_cpu.h to include esp_attr.h (GitHub PR) (v5.0)
See merge request espressif/esp-idf!23739
2023-05-16 09:21:45 +08:00
6ec490016c
Merge branch 'fix/console-build-error_v5.0' into 'release/v5.0'
...
console: Fix building issue when serial JTAG is set (v5.0)
See merge request espressif/esp-idf!23736
2023-05-16 09:21:06 +08:00
d1280d92f5
Merge branch 'feature/efuse_settings_v5.0' into 'release/v5.0'
...
hal: Explicit setting of efuse time settings (v5.0)
See merge request espressif/esp-idf!23726
2023-05-15 18:48:45 +08:00
0b8800eaae
Merge branch 'contrib/github_pr_10895_v5.0' into 'release/v5.0'
...
Fix possible conversion errors by using __builtin_ffsll (GitHub PR) (v5.0)
See merge request espressif/esp-idf!23691
2023-05-15 18:43:35 +08:00
c6e7bb3ecf
Nimble:Updated nimble examples README to include chip information
2023-05-15 15:33:53 +05:30
ed1feea96f
ulp: update docs to reflect that ulp_fsm example only supports esp32
...
Closes https://github.com/espressif/esp-idf/issues/11386
2023-05-15 14:17:15 +08:00
c21a4c9858
Merge branch 'bugfix/fix_esp32_bugs_230511' into 'release/v5.0'
...
Fixed some esp32 bugs(backport v5.0)
See merge request espressif/esp-idf!23704
2023-05-15 13:40:05 +08:00
4eb2cca03d
Merge branch 'bugfix/esp_netif_loopback_v5.0' into 'release/v5.0'
...
esp-netif: Fix non-lwip build using esp_netif loopback (v5.0)
See merge request espressif/esp-idf!22925
2023-05-15 13:38:03 +08:00
cc37362ffb
Merge branch 'bugfix/lwip_no_garp_for_any_addr_v5.0' into 'release/v5.0'
...
lwip: Send Periodic Gratuitous ARP only on valid IPv4 (v5.0)
See merge request espressif/esp-idf!22965
2023-05-15 13:35:46 +08:00
378fa3b792
Merge branch 'doc/update_mcpwm_deadtime_v5.0' into 'release/v5.0'
...
MCPWM: don't allow to apply the same delay module to multiple generators (v5.0)
See merge request espressif/esp-idf!23664
2023-05-15 12:25:13 +08:00
8645981de0
Merge branch 'bugfix/allow_no_specify_uart_clk_src_v5.0' into 'release/v5.0'
...
uart: Allow omitting source_clk parameter to uart_param_config (v5.0)
See merge request espressif/esp-idf!23452
2023-05-15 10:44:18 +08:00
04d2cc841c
Merge branch 'bugfix/himem_map_range_block_v5.0' into 'release/v5.0'
...
himem: fixed incorrect out_ptr when range_offset is given non-zero. (v5.0)
See merge request espressif/esp-idf!23081
2023-05-15 10:43:03 +08:00
6439e0bd85
Merge branch 'feature/i80_lcd_allow_skip_command_phase_v5.0' into 'release/v5.0'
...
i80_lcd: allow skip command phase (v5.0)
See merge request espressif/esp-idf!23091
2023-05-15 10:41:35 +08:00
633b4cb38b
Merge branch 'bugfix/i2c_timing_wrong_v5.0' into 'release/v5.0'
...
i2c: fix a bug in sda sample timing (backport v5.0)
See merge request espressif/esp-idf!23226
2023-05-15 10:40:01 +08:00
0e71903b18
Merge branch 'contrib/github_pr_11394_v5.0' into 'release/v5.0'
...
docs: Fix typo in Linux/macOS getting started docs (GitHub PR) (v5.0)
See merge request espressif/esp-idf!23733
2023-05-15 10:35:29 +08:00
5946c6ad16
cxx/esp_hw_support: added build test, changed parameter types
...
Changed rv_utils_intr_edge_ack and esp_cpu_intr_edge_ack to
take uint32_t instead of int to avoid build errors.
The test is to test in particular that __builtin_ffsll, used in
xt_utils.h, which is included via esp_cpu.h, compiles fine
in C++20 with -Wsign-conversion enabled.
Closes https://github.com/espressif/esp-idf/pull/10895
2023-05-15 10:03:12 +08:00
641221a10a
Merge branch 'bugfix/rmt_one-wire_v5.0' into 'release/v5.0'
...
rmt_onewire: refactor example with component registry (v5.0)
See merge request espressif/esp-idf!23510
2023-05-15 10:00:15 +08:00
3720ea91c3
ci: re-enable reset reason tests for all targets except H2.
2023-05-15 09:58:16 +08:00
0722386585
esp-system: fixed int WDT reset reason being reported as task WDT on C2
2023-05-15 09:53:18 +08:00
5f27615587
Update esp_cpu.h
...
If esp_attr.h is not included then there are no definitions for the symbol 'FORCE_INLINE_ATTR'.
2023-05-15 09:51:25 +08:00
11653cdc9a
console: Fix building issue when serial JTAG is set
...
Closes https://github.com/espressif/esp-idf/issues/10707
2023-05-15 09:49:10 +08:00
297fbc9629
Fix typo in Linux/macOS getting started docs
...
`hello_word` -> `hello_world`
2023-05-15 09:34:57 +08:00
cea9f80870
Merge branch 'bugfix/mcpwm_bldc_example_v5.0' into 'release/v5.0'
...
mcpwm: test generator force level with dead time module (v5.0)
See merge request espressif/esp-idf!23715
2023-05-14 14:13:02 +08:00
829cf5aaf6
Merge branch 'bugfix/check_filter_range_v5.0' into 'release/v5.0'
...
rmt: check filter and idle threashold (v5.0)
See merge request espressif/esp-idf!23605
2023-05-14 14:12:47 +08:00
bd4802104b
hal: Explicit setting of efuse time settings
...
EFUSE_PWR_ON_NUM in C3 has default value = 0x2880, now = 0x3000
2023-05-12 21:48:05 +08:00
bfe07cbef9
Merge branch 'feature/unicore_bootloader_can_run_multicore_app_v5.0' into 'release/v5.0'
...
esp_system: Fix case when multicore app can not be run if bootloader is unicore (v5.0)
See merge request espressif/esp-idf!23027
2023-05-12 17:49:52 +08:00
21cfccad3a
Merge branch 'feature/add_interface_for_ble_QA_test_5.0' into 'release/v5.0'
...
BLE: Add interface for QA test
See merge request espressif/esp-idf!22980
2023-05-12 16:27:37 +08:00
24a2a98707
Merge branch 'bugfix/rmt_encode_state_init_v5.0' into 'release/v5.0'
...
rmt: define RMT_ENCODING_RESET in rmt_encode_state_t (v5.0)
See merge request espressif/esp-idf!23240
2023-05-12 15:53:22 +08:00
16b2071a4d
Merge branch 'feature/esp32c2_add_hci_buf_get_checking' into 'release/v5.0'
...
Feature/esp32c2 add hci buf get checking
See merge request espressif/esp-idf!22692
2023-05-12 14:47:59 +08:00
32f629d8db
esp_wifi: fix sta auth failed but softap shows it connected issue
2023-05-12 14:43:29 +08:00
a69a6775c9
mcpwm: fix bldc example force output level inverted
...
set_force_level can only set the generator level before the deadtime module.
if the deadtime module enables the inverter, then the real output level is inverted accordingly
2023-05-12 14:40:19 +08:00
2b483c98c4
Merge branch 'bugfix/fix_several_bugs_in_i2s_v5.0' into 'release/v5.0'
...
i2s: fix several bugs in std and tdm mode (v5.0)
See merge request espressif/esp-idf!23670
2023-05-12 11:03:37 +08:00
36291f5468
Merge branch 'docs/add_cn_trans_i2s_v5.0' into 'release/v5.0'
...
Docs: add CN translation for i2s.rst (backport v5.0)
See merge request espressif/esp-idf!23636
2023-05-12 11:01:43 +08:00
ddf36db76a
Docs: add CN translation for i2s.rst (backport v5.0)
2023-05-12 11:01:42 +08:00
6b2d631eac
Merge branch 'bugfix/tx_desc_fragment_v5.0' into 'release/v5.0'
...
esp_wifi: fix potential issue when tx fragment pkt.(v5.0)
See merge request espressif/esp-idf!23043
2023-05-11 23:28:35 +08:00
d2e094d29a
Merge branch 'bugfix/ble_mesh_fix_heartbeat_set_v5.0' into 'release/v5.0'
...
ble_mesh: stack: Update the heartbeat filter entry add/remove handling (v5.0)
See merge request espressif/esp-idf!23165
2023-05-11 21:34:21 +08:00
90f52cf0c7
bluedroid: fix ble ext adv rand addr setting for NRPA
2023-05-11 20:47:45 +08:00
d7a927190b
bluedroid: fix ble adv data construct for device name
2023-05-11 20:47:36 +08:00
dcd8427529
bluedroid: fix ble smp key distribution setting
2023-05-11 20:47:27 +08:00
0cb5a90663
bluedroid: report disconnect event after BLE link closed
2023-05-11 20:47:09 +08:00
35170b7733
fix blufi doc error
2023-05-11 20:14:50 +08:00
81f9fdb6e6
Fixed BLE disconnection failure on ESP32
2023-05-11 20:04:38 +08:00
6545c5aad5
Fixed disconnection due to consecutive CRC errors in first 6 intervals
2023-05-11 20:04:19 +08:00
21f694dc81
Fixed no error report when own address type is rpa_random and no random address setting
2023-05-11 20:03:39 +08:00
8e5d95c953
Fixed battery profile wrong condition
2023-05-11 20:03:18 +08:00
5c0d18b6f5
Add hci uart pin reconfig API
2023-05-11 12:01:21 +00:00
15d347f8c0
ble: Add assertion checking for bluedroid hci on ESP32-C2 and ESP32-H2
2023-05-11 12:01:21 +00:00
6bfeac7b6c
BLE: Add interface for QA test
...
Fix sleep crash issue
2023-05-11 20:01:13 +08:00
19aa6bb56e
Merge branch 'bugfix/fix_mspi_octal_psram_timing_tuning_point_fallback_id_v5.0' into 'release/v5.0'
...
mspi: modified mspi 80mhz octal psram timing tuning point fallback id on s3 (v5.0)
See merge request espressif/esp-idf!23692
2023-05-11 18:56:11 +08:00
e7d4c90277
Merge branch 'bugfix/fix_some_ble_bug_v5.0' into 'release/v5.0'
...
Fixed some BLE bugs (backport v5.0)
See merge request espressif/esp-idf!23299
2023-05-11 17:28:00 +08:00
3bb3ef8920
esp_phy: add menuconfig of phy calibration mode
2023-05-11 09:27:50 +00:00
b2383c57cc
disable reduce PHY TX power when brownout reset
2023-05-11 09:27:50 +00:00
c323399520
Merge branch 'bugfix/fix_hw_ralunderrun_assert_v5.0' into 'release/v5.0'
...
Fixed BLE HW RAL_UNDERRUN assert and backport some bug fix 23-03-30 (back port v5.0)
See merge request espressif/esp-idf!22989
2023-05-11 17:27:32 +08:00
0117a6e7b1
Merge branch 'bugfix/hf_cind_ind_index_v5.0' into 'release/v5.0'
...
bt: Fixed the inconsistency between the indicator event received by the HF application layer and the actually received indicator(v5.0)
See merge request espressif/esp-idf!23560
2023-05-11 17:25:27 +08:00
3cad80e98f
Merge branch 'bugfix/spp_notify_v5.0' into 'release/v5.0'
...
NimBLE: Removed indicate flag from gatt db and added subscription case in spp_server example (v5.0)
See merge request espressif/esp-idf!23459
2023-05-11 17:24:50 +08:00
bc2b5f52e2
Merge branch 'bugfix/bt_diable_enbale_crash_v5.0' into 'release/v5.0'
...
bt:Fixed esp32 controller bug (v5.0)
See merge request espressif/esp-idf!23154
2023-05-11 17:23:48 +08:00
26a5a98912
Merge branch 'bugfix/i2s_fix_intr_flag_for_pdm_rx_v5.0' into 'release/v5.0'
...
i2s: fix interrupt flag of pdm rx mode (v5.0)
See merge request espressif/esp-idf!23126
2023-05-11 17:23:30 +08:00
de6d31aa20
Merge branch 'bugfix/a2dp_source_app_state_error_v5.0' into 'release/v5.0'
...
bt: Fixed the issue that the a2dp source would not send the media start command due to the connection initiated by the peer device(v5.0)
See merge request espressif/esp-idf!23556
2023-05-11 17:22:29 +08:00
a6d818b85b
Merge branch 'fix/sdio_sd_cards_not_detected_correctly_v5.0' into 'release/v5.0'
...
sdmmc: sdio combination cards correct setup (v5.0)
See merge request espressif/esp-idf!23479
2023-05-11 17:21:43 +08:00
65c71e9c12
Merge branch 'rebase/fix_conn_estab_tmo_issue' into 'release/v5.0'
...
ble:fix conn establishment timeout issue
See merge request espressif/esp-idf!23524
2023-05-11 17:21:17 +08:00
ed815995f3
Merge branch 'bugfix/wifi_prov_deinit_github_v5.0' into 'release/v5.0'
...
wifi_prov_mgr: Fixed memory leak after bluetooth stack was stopping. (v5.0)
See merge request espressif/esp-idf!23437
2023-05-11 17:20:14 +08:00
d3a57ff659
Merge branch 'feature/multi_adv_v5.0' into 'release/v5.0'
...
NimbLE: Added multi advertising example (v5.0)
See merge request espressif/esp-idf!22828
2023-05-11 17:19:17 +08:00
d84fc1ea4e
Merge branch 'feature/write_blob_v5.0' into 'release/v5.0'
...
NimBLE: Added support for writing data more than BLE_ATT_ATTR_MAX_LEN (v5.0)
See merge request espressif/esp-idf!22993
2023-05-11 17:18:22 +08:00
f0426aed56
Merge branch 'bugfix/deinit_ble_v5.0' into 'release/v5.0'
...
bugfix: deinit ble for specifies ESP_BT_MODE_BTDM (backport v5.0)
See merge request espressif/esp-idf!23067
2023-05-11 17:17:10 +08:00
054f17c8f3
Merge branch 'bugfix/IDFGH-9552_v5.0' into 'release/v5.0'
...
NimBLE : Added configurable option for resolving peer address in bleprph example. (v5.0)
See merge request espressif/esp-idf!22991
2023-05-11 17:13:53 +08:00
60e68189c4
Merge branch 'bugfix/esp_nimble_config_v5.0' into 'release/v5.0'
...
NimBLE : Fixed config options in esp_nimble_cfg.h (v5.0)
See merge request espressif/esp-idf!23070
2023-05-11 17:13:19 +08:00
34f12c429d
Merge branch 'bugfix/wps_phassphrase_v5.0' into 'release/v5.0'
...
wpa_supplicant: Get WPS credential in passphrase format(v5.0)
See merge request espressif/esp-idf!23076
2023-05-11 17:10:29 +08:00
aa92f108f0
Merge branch 'doc/update_doc_of_esp_bt_gap_set_cod_v5.0' into 'release/v5.0'
...
bt: Optimized the document for GAP API: esp_bt_gap_set_cod (v5.0)
See merge request espressif/esp-idf!22994
2023-05-11 17:09:31 +08:00
e7ebd81eb0
Merge branch 'bugfix/fix_sc_send_failure_and_exit_issue_v5.0' into 'release/v5.0'
...
smartconfig: fix the issue of sending failure and exit (Backport v5.0)
See merge request espressif/esp-idf!23026
2023-05-11 17:04:17 +08:00
7c0d6d4b41
Merge branch 'bugfix/improve_tx_robust_v5.0' into 'release/v5.0'
...
esp_wifi: improve tx robust for c2/c3/s3(v5.0)
See merge request espressif/esp-idf!23008
2023-05-11 17:03:34 +08:00
d841134da0
Merge branch 'bugfix/update_wps_api_documentation_v5.0' into 'release/v5.0'
...
wpa_supplicant: Update WPS API documentation (v5.0)
See merge request espressif/esp-idf!23013
2023-05-11 17:03:12 +08:00
3ac5d6a2dd
Merge branch 'fix/esp32s3_ununsed_dcache_as_dram_v5.0' into 'release/v5.0'
...
esp_hw_support: Update the memory ptr location/property checks to include the unused DCACHE added to DRAM (v5.0)
See merge request espressif/esp-idf!23268
2023-05-11 16:48:32 +08:00
e8500751a8
Merge branch 'bugfix/spi_lcd_max_trans_size_v5.0' into 'release/v5.0'
...
spi_lcd: maximum transfer size should respect bus configuration (v5.0)
See merge request espressif/esp-idf!23230
2023-05-11 16:14:28 +08:00
86aead4f80
Merge branch 'docs/readme_i2s_datasheet_v5.0' into 'release/v5.0'
...
docs: remove link to NS4150 datasheet (v5.0)
See merge request espressif/esp-idf!23107
2023-05-11 14:44:54 +08:00
22eeaf2f70
bt: Deleted some redundant variables in HFP_AG
2023-05-11 06:12:38 +00:00
d19ecff036
bt: Fixed the problem of out-of-bounds access caused by the variable-length array introduced in 3268075231
...
Closes https://github.com/espressif/esp-idf/issues/11264
2023-05-11 06:12:38 +00:00
ff3377ddd1
bt: Fixed codec mode error in ESP_HF_WBS_RESPONSE_EVT
2023-05-11 06:12:38 +00:00
0b697ee9cd
test_apps: Test multicore app can be run by unicore bootloader
2023-05-11 05:55:32 +00:00
861a5fb863
esp_system: Do not rely on bootloader cache settings, do cache settings unconditionally at startup app
...
It makes multicore app runnable by unicore bootloader
Closes https://github.com/espressif/esp-idf/issues/10714
2023-05-11 05:55:32 +00:00
daeb413adc
Merge branch 'contrib/github_pr_10967_v5.0' into 'release/v5.0'
...
[esp-tls] Add addr_family option to esp_tls_cfg_t (GitHub PR) and related coverity fixes (v5.0)
See merge request espressif/esp-idf!23169
2023-05-11 12:08:36 +08:00
3d36df31cf
Merge branch 'bugfix/block9_can_not_be_used_for_fe_v5.0' into 'release/v5.0'
...
efuse: Prevent burning XTS_AES and ECDSA keys into BLOCK9 (BLOCK_KEY5) (v5.0)
See merge request espressif/esp-idf!23290
2023-05-11 12:07:39 +08:00
a1dd8403d6
Merge branch 'feature/update_mbedtls_v5.0' into 'release/v5.0'
...
mbedtls: Update to release/v3.4.0 (v5.0)
See merge request espressif/esp-idf!23400
2023-05-11 12:06:23 +08:00
e670b60126
Fix possible conversion errors by using __builtin_ffsll instead of __builtin_ffs
...
Signed-off-by: term_est <62337595+term-est@users.noreply.github.com >
2023-05-11 11:16:53 +08:00
23cbe3c008
mspi: modified mspi 80mhz octal psram timing tuning point fallback id on s3
2023-05-11 11:16:33 +08:00
889787c7ca
Merge branch 'refactor/improve_adc_power_maintanance_v5.0' into 'release/v5.0'
...
adc: improve adc power maintanance (v5.0)
See merge request espressif/esp-idf!23273
2023-05-11 11:09:31 +08:00
c48debf246
Update bt lib for ESP32-C3 and ESP32-S3
...
- Fixed remote mic error during encryption procedure
2023-05-11 10:58:43 +08:00
8c17ef00b1
Update bt lib for ESP32-C3 and ESP32-S3
...
- Fixed ble hopping selection for connection when disabled 5.0 feature
2023-05-11 10:57:30 +08:00
70c30cad3d
Disable controller 5.0 feature bits if host 5.0 feature is not enabled
2023-05-11 02:45:56 +00:00
4c506a9eea
improve scan performance when scan and sync coexist on ESP32-C3 and ESP32-S3
2023-05-11 02:45:56 +00:00
2279603842
Update bt lib for ESP32-C3 and ESP32-S3
...
- Fixed non-connectable and non-scannable directed adv can't be scanned
2023-05-11 02:45:56 +00:00
d8e4bdc69e
Fixed BLE HW RAL_UNDERRUN assert on ESP32C3 and ESP32S3
2023-05-11 02:45:56 +00:00
45a72222d6
If it is not esp32 chips, hide the configuration item: BT_BLE_RPA_SUPPORTED
2023-05-11 02:45:56 +00:00
f0c6c5962a
set BT_CTRL_BLE_MAX_ACT default value to 6
2023-05-11 02:45:56 +00:00
b9e9a60c4f
Fixed ATT Ignore wrong response error
2023-05-11 02:45:56 +00:00
0e5c6144b7
- Support ESP32C3 and ESP32S3 new BLE lib
...
- Disable controller 5.0 feature bits if host 5.0 feature is not enabled
- Fixed extend ADV parameters check for ADV_DIRECT_HI
2023-05-11 02:45:56 +00:00
c6942be321
Merge ESP32C3 and ESP32S3 BLE bt.c files to one
2023-05-11 02:45:56 +00:00
b7ad0e0ad1
Merge branch 'bugfix/make_clean_files_v5.0' into 'release/v5.0'
...
build-system: replace ADDITIONAL_MAKE_CLEAN_FILES with ADDITIONAL_CLEAN_FILES (v5.0)
See merge request espressif/esp-idf!23662
2023-05-11 10:39:58 +08:00
7d24b991f8
Merge branch 'bugfix/gdma_log_nano_v5.0' into 'release/v5.0'
...
gdma: fixed crash from logging when using newlib nano (v5.0)
See merge request espressif/esp-idf!23586
2023-05-11 10:38:05 +08:00
98d26d3c5e
Merge branch 'refactor/lcd_i2c_panel_reduce_link_size_v5.0' into 'release/v5.0'
...
lcd_i2c: reduce recommended link size (v5.0)
See merge request espressif/esp-idf!23035
2023-05-11 10:32:09 +08:00
0e3b746aeb
Merge branch 'bugfix/fix_esp32_psram_2t_mode_build_fail_v5.0' into 'release/v5.0'
...
esp_psram: fix compile error for SPI PSRAM 2T mode (v5.0)
See merge request espressif/esp-idf!22964
2023-05-11 10:31:44 +08:00
4a6c52708d
Merge branch 'bugfix/fixed_sdmmc_high_speed_ddr_timing_issue_on_esp32s3_v5.0' into 'release/v5.0'
...
sdmmc: fixed incorrect clock phase settings on esp32s3 (v5.0)
See merge request espressif/esp-idf!23259
2023-05-11 10:31:16 +08:00
c465097d9f
Merge branch 'contrib/github_pr_11113_v5.0' into 'release/v5.0'
...
Fix usb enumeration stage error for some device (GitHub PR) (v5.0)
See merge request espressif/esp-idf!23333
2023-05-11 10:30:04 +08:00
9716101e7d
rmt: check filter and idle threashold
...
Closes https://github.com/espressif/esp-idf/issues/11262
2023-05-11 02:29:26 +00:00
9d26757763
rmt_onewire: refactor example with component manager
...
Closes https://github.com/espressif/esp-idf/issues/10790
2023-05-11 02:28:54 +00:00
0542983ed8
rmt: define RMT_ENCODING_RESET in rmt_encode_state_t
...
Closes https://github.com/espressif/esp-idf/issues/11200
2023-05-11 02:28:31 +00:00
54733abf56
i80_lcd: support skip command phase
...
Closes https://github.com/espressif/esp-idf/issues/10794
2023-05-11 02:27:49 +00:00
8d0df0a19f
Merge branch 'bugfix/rmt_calarify_mem_block_symbols_v5.0' into 'release/v5.0'
...
Bugfix/rmt calarify mem block symbols (v5.0)
See merge request espressif/esp-idf!23000
2023-05-11 10:27:13 +08:00
754274c41b
Merge branch 'bugfix/lcd_spi_acquire_bus_v5.0' into 'release/v5.0'
...
spi_lcd: don't release bus if acquire failed (v5.0)
See merge request espressif/esp-idf!23037
2023-05-11 10:26:02 +08:00
1ef71b472c
Merge branch 'contrib/github_pr_11163_v5.0' into 'release/v5.0'
...
Make custom bootloader message match actual output (GitHub PR) (v5.0)
See merge request espressif/esp-idf!23139
2023-05-11 10:25:46 +08:00
b0e5fc994d
Merge branch 'bugfix/esp32_pico_v3_2_chip_info_v5.0' into 'release/v5.0'
...
system: fix esp32 chip info not listing esp32 pico v3-02 as having embedded spiram (v5.0)
See merge request espressif/esp-idf!23394
2023-05-11 10:24:59 +08:00
d20a9c1a93
Merge branch 'bugfix/static_ram_size_v5.0' into 'release/v5.0'
...
system: fixed USE_FIXED_STATIC_RAM_SIZE option (v5.0)
See merge request espressif/esp-idf!23108
2023-05-11 10:18:49 +08:00
e11829e550
Merge branch 'contrib/github_pr_11326_v5.0' into 'release/v5.0'
...
correct typo in reference to ESP-IDF repo (GitHub PR) (v5.0)
See merge request espressif/esp-idf!23552
2023-05-11 10:16:24 +08:00
afe2a2e9cd
Merge branch 'bugfix/adds_iram_attr_for_some_esp_timer_apis_v5.0' into 'release/v5.0'
...
esp_timer: Adds IRAM_ATTR for esp_timer_restart and esp_timer_is_active (v5.0)
See merge request espressif/esp-idf!23306
2023-05-11 02:52:47 +08:00
525da26363
Merge branch 'feature/esp_ringbuf_place_functions_in_flash_v5.0' into 'release/v5.0'
...
esp_ringbuf: Added functions to linker.lf file which can be placed in Flash (v5.0)
See merge request espressif/esp-idf!23101
2023-05-11 02:51:59 +08:00
815c54c922
Merge branch 'contrib/github_pr_11028_v5.0' into 'release/v5.0'
...
Bugfix: Fix compile error for ESP32 FSM ULP GPIO Example (GitHub PR) (v5.0)
See merge request espressif/esp-idf!22988
2023-05-11 02:51:14 +08:00
9206cd4fc0
Merge branch 'feature/fix_load_efuses_from_flash_when_real_fe_is_on_v5.0' into 'release/v5.0'
...
efuse(virtual mode): Fix load_efuses_from_flash when FE is on (v5.0)
See merge request espressif/esp-idf!22968
2023-05-11 02:50:42 +08:00
eeed8c0b8c
Merge branch 'contrib/github_pr_11296_v5.0' into 'release/v5.0'
...
Fix references to IDF_ADD_PATHS_EXTRAS before being assigned (GitHub PR) (v5.0)
See merge request espressif/esp-idf!23600
2023-05-11 00:38:00 +08:00
cd56601138
Merge branch 'esptool_extrav5.0' into 'release/v5.0'
...
feat(esptool): allow to set force for write_flash (v5.0)
See merge request espressif/esp-idf!23256
2023-05-11 00:37:14 +08:00
9c3a44b76e
Merge branch 'monitor/new_kernel-5.0' into 'release/v5.0'
...
bug(monitor/console_reader): replace TIOCSTI with busy wait to suppport kernel > 6.2 (5.0)
See merge request espressif/esp-idf!23351
2023-05-11 00:36:55 +08:00
930539ef25
Merge branch 'bugfix/asyncio_progress_term_width_v5.0' into 'release/v5.0'
...
tools: fix progress output in asyncio.run with zero terminal width (v5.0)
See merge request espressif/esp-idf!23219
2023-05-11 00:35:38 +08:00
85a3cca773
Merge branch 'feature/hfp_ag_hints_v5.0' into 'release/v5.0'
...
tools: Update idf-py hints with Bluedroid HFP AG info[backport 5.0]
See merge request espressif/esp-idf!23153
2023-05-11 00:35:21 +08:00
86eff35977
Merge branch 'feature/update-OpenOCD-to-v0.12.0-esp32-20230419_v5.0' into 'release/v5.0'
...
tools: update OpenOCD version to v0.12.0-esp32-20230419 (v5.0)
See merge request espressif/esp-idf!23678
2023-05-11 00:33:25 +08:00
37b3ed9ba2
Merge branch 'update/version_5_0_2' into 'release/v5.0'
...
Update version to 5.0.2
See merge request espressif/esp-idf!23674
2023-05-10 23:25:08 +08:00
98fd372e91
tools: update OpenOCD version to v0.12.0-esp32-20230419
2023-05-10 13:18:56 +03:00
5181de8ac5
versions: Update version to 5.0.2
2023-05-10 09:59:18 +02:00
95d32520b1
i2s_doc: fixed the data of stereo left/right state
2023-05-10 12:30:20 +08:00
4dd5909b13
i2s_tdm: fixed half sample bit calculation and add check for slot mask
2023-05-10 12:28:52 +08:00
f0c13fc7a8
i2s_std: fixed mclk check for 24-bit data and enable left alignment as default
2023-05-10 12:25:35 +08:00
49c83f112d
mcpwm: can't apply the same delay module to multiple generators
...
This is a hardware limitation, one delay module can only be used by one generator at one time.
Closes https://github.com/espressif/esp-idf/issues/11327
2023-05-10 10:10:16 +08:00
124a43e9ec
build-system: replace ADDITIONAL_MAKE_CLEAN_FILES with ADDITIONAL_CLEAN_FILES
...
ADDITIONAL_MAKE_CLEAN_FILES is deprecated and only worked with make.
Replaced with the new ADDITIONAL_CLEAN_FILES (CMake 3.15) which also works with ninja.
2023-05-10 09:56:15 +08:00
f9f0dfa134
uart: Allow the users to not specify the source_clk in uart_config_t when calling uart_param_config
2023-05-09 12:09:18 +00:00
ed70f1c66b
i2c: fix a bug in sda sample timing
...
* Closes https://github.com/espressif/esp-idf/issues/9777
This bug prevented SCL line to work properly after a NACK was received in master mode.
2023-05-06 08:05:32 +00:00
798dac6225
gdma: fixed crash from logging when using newlib nano
...
Newlib nano printf formatting do not support %z, and will crash if such an identifier
is followed by a %s indentifier.
Closes https://github.com/espressif/esp-idf/issues/9631
2023-05-06 13:48:48 +08:00
e33ec673ed
Fix references to IDF_ADD_PATHS_EXTRAS before being declared
2023-05-05 11:17:39 +02:00
1f39f07bca
doc: update deep_sleep_wake_stub readme
2023-05-04 16:46:15 +08:00
4c3b8c13df
feature: add wake up time cost info to deep_sleep_wake_stub example
2023-05-04 16:46:15 +08:00
554400dbc5
docs: add wake stub example link to deep-sleep-stub.rst
2023-05-04 16:46:15 +08:00
af7223727d
ld: fix rtc.data rtc.bss section issues
...
1. rtc.data section: should include sbss srodata in rtc_wake_stub*.*
2. rtc.bss section: move rtc .bss .bss.* from rtc.data to rtc.bss
2023-05-04 16:46:15 +08:00
72676d230a
use LL function to get wakeup cause
2023-05-04 16:46:15 +08:00
4261fd0940
rtc_time.c: simplify the rtc_time_get with LL function
2023-05-04 16:46:15 +08:00
c8aa155086
deep sleep example: typo corrected in readme
2023-05-04 16:46:15 +08:00
4f5f235208
add pytest for example deep sleep wake stub
2023-05-04 16:46:15 +08:00
24a38e3153
feature: add example deep sleep wake stub
...
Closes https://github.com/espressif/esp-idf/issues/8208
2023-05-04 16:46:15 +08:00
f6aafd3539
hal: add rtc_cntl LL function for wake stub
2023-05-04 16:46:15 +08:00
cd1b88c97e
Fixed duplicate scan refresh cycle is not accurate after restarting scan on ESP32
2023-05-04 06:37:19 +00:00
239e97ff7e
bt: added coex adapter operation to get version of coexist module to ESP32 Bluetooth Controller
2023-05-04 06:37:19 +00:00
a83b16f18d
bt:Fixed esp32 controller bug
...
1. Fixed crash after controller disable and re-enable
2. Fixed the crash caused by processing the HCI_Read_Remote_Extented_Features command in the non-connected state
3. Fixed disconnection due to not handling lmp_unsniff_req in LC_WAIT_SNIFF_SUB_RSP state
4. Fixed crash caused by supervision timeout greater than sniff interval
Closes https://github.com/espressif/esp-idf/issues/11164
Closes https://github.com/espressif/esp-idf/issues/10835
2023-05-04 06:37:19 +00:00
0624049a60
bt: Fixed the inconsistency between the indicator event received by the HF application layer and the actually received indicator.
...
Closes https://github.com/espressif/esp-idf/issues/6486
2023-05-04 14:12:56 +08:00
841e033de8
soc/esp32s3: Fix the SOC_MEM_INTERNAL_HIGH
value
...
- As per the memory block diagram for ESP32-S3, the
internal memory address ranges as follows:
DRAM: 0x3FC88000 (== SOC_MEM_INTERNAL_LOW) <-> 0x3FCF0000
IRAM: 0x40378000 <-> 0x403E0000 (== SOC_MEM_INTERNAL_HIGH)
2023-05-04 10:54:35 +05:30
e0bedd19ab
esp_hw_support: Update memory ptr location/property checks
...
- to acknowledge the unused DCACHE added to DRAM for ESP32-S3
- For ESP32-S3, when the DCACHE size is set to 16 kB, the unused 48 kB is added to
the heap in 2 blocks of 32 kB (from 0x3FCF0000) and 16 kB (from 0x3C000000).
- But, if we try allocating memory from the 16 kB block and run an `esp_ptr_internal`
check on that memory pointer, it fails as the address block from 0x3C000000
corresponds to the external memory symbols SOC_DROM_LOW and SOC_EXTRAM_DATA_LOW.
(E.g. freertos - If the IDLE task stack buffer gets allocated from this region,
the firmware will abort due to this failure).
- Thus, the checks `esp_ptr_internal`, `esp_ptr_in_drom` and `esp_ptr_byte_accessible`
have been updated to acknowledge this memory as a part of the DRAM.
Co-authored-by: Mahavir Jain <mahavir@espressif.com >
2023-05-04 10:54:34 +05:30
a4bfa33109
docs: fix wrong link to esp-adf github issues in migration guide
2023-05-04 12:57:24 +08:00
18d7ecc470
i2s: fix interrupt flag of pdm rx mode
...
Forgot to update in PR https://github.com/espressif/esp-idf/pull/10997
2023-05-04 04:23:30 +00:00
b631852cb1
Fixed the issue that the a2dp source would not send the media start command due to the connection initiated by the peer device
...
Closes https://github.com/espressif/esp-idf/issues/11170
2023-05-04 12:10:33 +08:00
7c67245da5
correct typo in reference to ESP-IDF repo
...
There's a reference to the ESP-ADF repo that looks like it was intended to be a reference to the ESP-IDF repo. This branch fixes the reference.
2023-05-04 11:43:17 +08:00
a2de1f0c67
improve thread safety in esp_timer
...
Inadequate locking in the esp_timer component allowed corruption
of the s_timers linked list:
1. timer_armed(timer) returns false
2. another task arms the timer and adds it to s_timers
3. the list is locked
4. the timer is inserted into s_timers again
The last step results in a loop in the s_timers list, which causes
an infinite loop when iterated. This change always locks the
list before checking if the timer is already armed avoiding
the data race.
2023-05-02 20:22:38 +02:00
3654dd0d6f
NimBLE: Removed indicate flag from gatt db, added subscription case and corrected indentation
...
in spp_server example.
2023-05-02 05:58:00 +00:00
11e71cd3eb
fixup! efuse: Prevent burning XTS_AES and ECDSA keys into BLOCK9 (BLOCK_KEY5)
2023-05-01 06:23:23 +00:00
da96a8a104
docs: add a note regarding EFuse Block9 key purpose quirk for some chips
2023-05-01 06:23:23 +00:00
94ae902d78
efuse: Prevent burning XTS_AES and ECDSA keys into BLOCK9 (BLOCK_KEY5)
...
eFuse module has a hardware bug.
It is related to ESP32-C3, C6, S3, H2 chips:
- BLOCK9 (BLOCK_KEY5) can not be used by XTS_AES keys.
For H2 chips, the BLOCK9 (BLOCK_KEY5) can not be used by ECDSA keys.
S2 does not have such a hardware bug.
2023-05-01 06:23:23 +00:00
0f9ba10f4e
ble:fix connection establishemnt timeout issue
2023-04-28 17:47:29 +08:00
f00c78b020
Merge branch 'ci/fix_idf_build_apps_in_5.0' into 'release/v5.0'
...
ci: add missing sdkconfig files (v5.0)
See merge request espressif/esp-idf!23134
2023-04-28 15:54:06 +08:00
04f04d6ccf
Merge branch 'bugfix/owe_assoc_resp_fail_v5.0' into 'release/v5.0'
...
Fix association response processing in OWE (Backport v5.0)
See merge request espressif/esp-idf!23098
2023-04-28 15:53:43 +08:00
08c77a7eaf
sar: init sar periph power state
2023-04-27 10:52:38 +08:00
6bb750901d
sdmmc: sdio combination cards correct setup
...
Co-authored-by: Mau Abata <mauabata@gmail.com >
Closes https://github.com/espressif/esp-idf/issues/9822
Closes https://github.com/espressif/esp-idf/issues/10280
2023-04-26 13:28:09 +02:00
424b5c32d1
usb_host: better debugging information during hcd_pipe_alloc() when usb_host_interface_claim() is being fulfiled.
2023-04-25 17:05:17 +02:00
8aff96d382
wifi_prov_mgr: Fixed memory leak after bluetooth stack was stopping.
2023-04-25 15:48:18 +05:30
1b03bfb3ea
feat(monitor): flush terminal detection seq
2023-04-24 11:25:47 +02:00
f0dea7d9ff
bug(monitor/ansi_converter): fix output decode detection
2023-04-24 11:25:47 +02:00
d47c309d7f
fix(monitor/ansi_converter): do not catch status and cursor escape sequences
2023-04-24 11:25:47 +02:00
5746495450
bug(idf_monitor): fix color on windows with hints
...
Closes https://github.com/espressif/esp-idf/issues/9610
2023-04-24 11:25:32 +02:00
35d466b814
mbedtls: fix ci failures for update v3.4.0
...
- While updating to mbedtls release/v3.4.0, building mbedtls/library/psa_crypto.c,
clang produced an unreachable-code warning, so added `-Wno-unreachable-code` compile option for clang.
- In `mbedtls/v3.4.0`, the ECDSA restartable sign and verify functions (`ecdsa.c`) were made public.
- But the `mbedtls_ecdsa_sign_det_restartable` function prototype was declared in the file `ecdsa.h`,
only when `MBEDTLS_ECDSA_SIGN_ALT` was not defined.
- added a patch in mbedtls library to fix it.
2023-04-24 12:07:10 +05:30
c293708409
mbedtls: replace low-level sha apis with md apis in esp_ssl_tls
2023-04-24 12:03:55 +05:30
8017e23611
mbedtls: Update config options as per release/v3.4.0
...
- Added a Kconfig option for the newly added mbedtls option MBEDTLS_PKCS7_C
2023-04-24 12:03:55 +05:30
911c12b7f0
mbedtls: Update to release/v3.4.0
...
- Release Notes: https://github.com/Mbed-TLS/mbedtls/releases/tag/v3.4.0
2023-04-24 12:03:55 +05:30
b2c883f0c0
system: fix esp32 chip info not listing esp32 pico v3-02 as having embedded spiram
...
Closes https://github.com/espressif/esp-idf/issues/11233
2023-04-24 13:53:34 +08:00
8227ca97bd
bootloader: enable super WDT and BOD reset on C2
2023-04-24 11:44:53 +08:00
6ce4fd9eab
bootloader: cleanup ana reset config code
2023-04-24 11:44:53 +08:00
d43934f32d
bootloader: fixed super watchdog not enabled issue on C3, S3, H4
2023-04-24 11:44:52 +08:00
1392cce5e1
bootloader: removed unavailable rtc features
2023-04-24 11:44:52 +08:00
07471019ef
ulp-riscv: enable ULP-RISCV ADC example for esp32s2
...
ADC can now be used from the ULP-RISCV on S2 after the RTC power parameters were
fixed in a624d8d061
Closes https://github.com/espressif/esp-idf/issues/11052
Closes https://github.com/espressif/esp-idf/issues/11040
2023-04-24 10:12:09 +08:00
c8e800ce8a
bug(console_reader): replace TIOCSTI with busy wait to suppport kernel > 6.2
...
Closes https://github.com/espressif/esp-idf/issues/11027
2023-04-21 15:35:36 +02:00
b79cdd7e54
usb_host: Update docs and comments regarding first configuration enumeration
...
This commit updates some comments and documentation regarding changes made in
PR https://github.com/espressif/esp-idf/pull/11113 .
2023-04-21 12:50:00 +08:00
62e1e5b765
Fix usb enumeration stage error for some device
2023-04-21 12:50:00 +08:00
72d9b9d94f
docs: remove outdated section on custom toolchain for 64-bit time_t
...
Co-authored-by: Ivan Grokhotkov <ivan@espressif.com >
2023-04-20 17:42:32 +02:00
58a3498305
docs: migrated documentetation from github.io to docs.espressif.com
2023-04-20 13:33:52 +04:00
b1315b27c5
esp_timer: Adds IRAM_ATTR for esp_timer_restart and esp_timer_is_active
...
Closes https://github.com/espressif/esp-idf/issues/10522
Closes https://github.com/espressif/esp-idf/issues/10859
2023-04-20 14:49:12 +08:00
46a1253022
bugfix: fix deepsleep saradc leakage
2023-04-20 11:45:58 +08:00
d84cdace52
sleep: fix sleep current issue caused by sar adc
2023-04-20 11:45:58 +08:00
cceb2b4db6
bluedroid: support get bluetooth device name
2023-04-20 10:54:16 +08:00
3eb5185b7b
bluedroid: report status after clearing the BLE white list
2023-04-20 10:38:23 +08:00
11147b0473
bluedroid: fix GATTC cache address save
2023-04-20 10:37:13 +08:00
fa051d8dc4
bluedroid: fix adv and scan state conflict
2023-04-20 10:36:14 +08:00
2a3ee80fba
ci: add missing sdkconfig files
2023-04-20 10:35:16 +08:00
85980884d7
adc: improve adc power logic
2023-04-20 10:34:37 +08:00
1ebeea7763
sdmmc: I/O phase adjustments
...
1. Fix incorrect meaning of SDMMC.clock bits, synchronize the names
with the TRM.
2. Choose input and output phases to satisfy typical timing
requirements.
3. Move use_hold_reg setting into the host driver, since it is related
to timing.
Closes https://github.com/espressif/esp-idf/issues/8521
Related to https://github.com/espressif/esp-idf/issues/8257
2023-04-19 15:38:57 +08:00
15a76983a8
ci: add missing sdkconfig files
2023-04-19 15:38:53 +08:00
9c4282ac5f
feat(esptool): allow to set force for write_flash
2023-04-18 13:47:09 +02:00
2b9ca66752
spi_lcd: test spi lcd io can transfer color data to a fixed window region
...
also test the io tx_param and tx_color can skip the command phase
2023-04-18 10:46:52 +08:00
f4d27b0f92
spi_lcd: maximum transfer size should respect bus configuration
...
Also this commit added the SPI_TRANS_CS_KEEP_ACTIVE flag for io_tx_color
2023-04-18 10:46:52 +08:00
dc53189e46
esp_ringbuf: Added functions to linker.lf file which can be placed in Flash
...
This commit adds symbols from the ringbuf.c file which can be placed in
Flash in order to free up IRAM space.
2023-04-17 16:11:23 +02:00
8be7a05487
tools: fix progress output in asyncio.run with zero terminal width
...
Currently the forced progress in RunTool is trying to fit the output
line into a terminal width, but it doesn't take into an account a
situation when the terminal width is reported as zero. This manifests
when running in docker image with redirected output and can be seen
in the github workflow output for esp-idf-ci-action.
docker run --rm -t my_ubuntu_esp python3 -c 'import os,sys; print(os.get_terminal_size(), sys.stdout.isatty())'
os.terminal_size(columns=238, lines=59) True
vs
docker run --rm -t my_ubuntu_esp python3 -c 'import os,sys; print(os.get_terminal_size(), sys.stdout.isatty())' | tee
os.terminal_size(columns=0, lines=0) True
Since the output is reported as tty and the terminal width as 0, the
fit_text_in_terminal() function returns empty string. I also verified this
by running idf.py build inside a testing docker image.
This fix adjusts the fit_text_in_terminal() function to return original
line if the terminal width is zero.
Also simplify the progress print and use same approach as ninja
https://github.com/ninja-build/ninja/blob/master/src/line_printer.cc#L66
Signed-off-by: Frantisek Hrbata <frantisek.hrbata@espressif.com >
2023-04-15 12:22:37 +02:00
62d4adb482
esp_wifi: fix espnow example add peer fail when config channel
...
Closes https://github.com/espressif/esp-idf/issues/9592
2023-04-13 10:55:53 +08:00
1a389f4ebb
Fix coverity warning in esp-tls component
...
The regressions was introduced in the commit: 0abd1cb51f
2023-04-12 17:23:47 +05:30
ee403a1bb6
[esp-tls] Add addr_family option to esp_tls_cfg_t
2023-04-12 16:02:18 +05:30
b9f7049bc5
ble_mesh: stack: Update the heartbeat filter entry add/remove handling
2023-04-12 16:11:24 +08:00
93c8e1ff5a
tools: Update idf-py hints with Bluedroid HFP AG info
2023-04-11 20:38:57 +08:00
5cdc107a90
Make custom bootloader message match actual output
...
Fixes the custom bootloader README.md so that the example output matches
what will actually be output by default in the custom bootloader.
Signed-off-by: hasheddan <georgedanielmangum@gmail.com >
2023-04-11 13:41:30 +08:00
307c454757
ci: add missing sdkconfig files
2023-04-11 10:53:06 +08:00
2fe39f79d1
wpa_supplicant : Fix association response processing in OWE
2023-04-07 11:44:23 +05:30
0ec457bcbb
docs: remove link to NS4150 datasheet
2023-04-07 12:00:14 +08:00
80e4b67fd1
himem: Fixed incorrect out_ptr when calling esp_himem_map range_offset non-zero
...
Closes: https://github.com/espressif/esp-idf/issues/5639
2023-04-06 01:46:20 +08:00
c4941e2e75
wpa_supplicant: Get WPS credential in passphrase format
...
Closes https://github.com/espressif/esp-idf/issues/10339
2023-04-05 16:05:44 +05:30
842e8a9889
usb: Update host CDC examples
2023-04-05 07:54:29 +02:00
dbeeaf6a21
NimBLE : Fixed config options in esp_nimble_cfg.h
2023-04-04 17:39:18 +05:30
3cc5ad7ac4
bugfix: deinit ble for specifies ESP_BT_MODE_BTDM
2023-04-04 18:04:12 +08:00
3f4e4cf964
esp_wifi: fix potential issue when tx fragment pkt.
2023-04-03 17:50:02 +08:00
3afa39b408
spi_lcd: don't release bus if acquire failed
...
Closes https://github.com/espressif/esp-idf/issues/10952
2023-04-03 13:15:28 +08:00
3c4c1fe010
lcd_i2c: reduce recommended link size
...
Closes: https://github.com/espressif/esp-idf/issues/11015
2023-04-03 09:41:18 +08:00
3537da8d85
smartconfig: fix the issue of sending failure and exit
2023-03-31 17:23:31 +08:00
5d11967f2e
rmt: calarify the meaning of mem_block_symbols in DMA and non-DMA mode
2023-03-31 09:59:32 +08:00
f44ce0960a
wpa_supplicant: Update WPS API documentation
2023-03-30 20:04:53 +05:30
97225286ca
esp_wifi: improve tx robust for c2/c3/s3
2023-03-30 21:46:07 +08:00
be4fca4fb4
NimbLE: Added multi advertising example.
2023-03-30 17:56:52 +05:30
e06bea0445
rmt: use gpio_num_t to define gpio number
2023-03-30 15:52:08 +08:00
02bfc34aa0
Optimized the document for GAP API:
...
`esp_bt_gap_set_cod`
2023-03-30 14:16:02 +08:00
a5b20d3d52
NimBLE: Added support for writing data more than BLE_ATT_ATTR_MAX_LEN
2023-03-30 11:26:52 +05:30
9dc5b6b02d
NimBLE: Added configurable option for resolving peer address in bleprph example
...
Closes IDFGH-9552
2023-03-30 11:00:35 +05:30
d0b8fcb371
bugfix: made C code C++ compatible
2023-03-30 11:28:23 +08:00
e66a1755df
bugfix: Change namespace variable to nvs_namespace (C++ compatibility)
...
Closes https://github.com/espressif/esp-idf/pull/11028
2023-03-30 11:28:23 +08:00
ef4b1b7704
Merge branch 'contrib/github_pr_10997_v5.0' into 'release/v5.0'
...
i2s: intrerrupt fix (GitHub PR) (v5.0)
See merge request espressif/esp-idf!22953
2023-03-30 09:35:10 +08:00
5919c3fba5
Merge branch 'bugfix/usb_host_enumeration_delay_v5.0' into 'release/v5.0'
...
USB Host: SetAddress recovery interval + menuconfig configuration (backport v5.0)
See merge request espressif/esp-idf!22711
2023-03-30 09:34:32 +08:00
834ca549a2
Merge branch 'feature/remove-cxx-experimental-v5.0' into 'release/v5.0'
...
cxx: removed cxx experimental components (v5.0)
See merge request espressif/esp-idf!22531
2023-03-30 09:34:01 +08:00
bb43066205
Merge branch 'feature/phy_write_blob_v5.0' into 'release/v5.0'
...
NimBLE: Demo of using write blob in ble phy example (v5.0)
See merge request espressif/esp-idf!22973
2023-03-30 09:33:32 +08:00
7d5c6b9b0a
Merge branch 'bugfix/fix_systimer_stall_issue_in_lightsleep-esp32c2_espnow_enter_modem_sleep_unexpectly_v5.0' into 'release/v5.0'
...
fix: systimer_stall_issue_in_lightsleep & esp32c2_espnow_enter_modem_sleep_unexpectly (v5.0)
See merge request espressif/esp-idf!22983
2023-03-30 04:14:51 +08:00
e3778fa2a9
Merge branch 'bugfix/add_unregister_wpa3_cb_v5.0' into 'release/v5.0'
...
wpa_supplicant : Fix issues encountered in WFA testing (v5.0)
See merge request espressif/esp-idf!22891
2023-03-30 00:56:59 +08:00
63994a2f52
Merge branch 'bugfix/sta_sa_query_process_v5.0' into 'release/v5.0'
...
esp_wifi: Improve station SA query procedure handling and other bugfixes (Backport v5.0)
See merge request espressif/esp-idf!22903
2023-03-30 00:12:42 +08:00
dfb4a3daa0
esp_wifi: fix espnow unexpectly enter modem sleep on esp32c2
2023-03-29 21:20:33 +08:00
6b5bc6304a
rtc_sleep: workaround systimer stall issue during lightsleep on ESP32C3
2023-03-29 21:19:21 +08:00
a3ca732e5d
esp-netif: Fix non-lwip build using esp_netif loopback
...
This partially backports 8142a6f9fc633c5f3ef461af41528eb5a6794755.
allowing esp_netif build with loopback only
Closes https://github.com/espressif/esp-idf/issues/10587
2023-03-29 11:35:22 +00:00
f944418ca4
Merge branch 'bugfix/delay_report_memory_leak_v5.0' into 'release/v5.0'
...
bugfix: fixed memory leak in AVDT delay report (v5.0)
See merge request espressif/esp-idf!22885
2023-03-29 19:14:40 +08:00
c35de0c0c7
Merge branch 'feature/gatt_server_improvements_v5_0' into 'release/v5.0'
...
NimBLE: Added custom GATT server functionality and encryption (v5.0)
See merge request espressif/esp-idf!22740
2023-03-29 19:14:12 +08:00
273b1b3bc5
Merge branch 'feature/add_ext_adv_instance_check' into 'release/v5.0'
...
NimBLE: Added ble_gap_ext_adv_active() to check if extended advertising instance is active or not.
See merge request espressif/esp-idf!22837
2023-03-29 19:11:45 +08:00
c7fa23b7b4
NimBLE: Demo of using write blob in ble phy example
2023-03-29 14:23:13 +05:30
ee70990288
Merge branch 'docs/ledc_datasheet_v5.0' into 'release/v5.0'
...
docs: update readme links to ledstrip datasheet (v5.0)
See merge request espressif/esp-idf!22958
2023-03-29 16:05:09 +08:00
fa4dccbe68
Merge branch 'bugfix/remove_Wno_format_in_esp_phy_esp_wifi_and_wpa_supplicant_components_v5.0' into 'release/v5.0'
...
Remove -Wno-format in esp_phy, esp_wifi, part of wpa_supplicant components(Backport v5.0)
See merge request espressif/esp-idf!22829
2023-03-29 15:49:14 +08:00
76291d0095
efuse: Fix load_efuses_from_flash when FE is on
...
esp_efuse_utility_load_efuses_from_flash() read emul_efuse
as an encrypted partition, but that is not correct,
this partition was never encrypted.
Need to read it as not encrypted partition.
Fxed the case: If FE is already on then EFUSE VIRT mode can work with it.
Closes https://github.com/espressif/esp-idf/issues/10929
2023-03-29 14:58:50 +08:00
fd19fc9343
esp_wifi: Improve station SA query procedure handling and other bugfixes
...
1. Disable SA query timers when station disconnect and other SA query related improvements
2. Send appropriate reason code in 4 way handshake failure
2023-03-29 11:15:50 +05:30
98777343bd
lwip:esp_netif: Send Periodic Gratuitous ARP only on valid IPv4
...
It was possible that the device would send a Gratuitous ARP before
acquiring a valid address, advertising it has 0.0.0.0 address.
2023-03-29 07:25:31 +02:00
6cfc016dc5
esp_psram: fix compile error for SPI PSRAM 2T mode
2023-03-29 11:42:51 +08:00
2048d1e0c0
Merge branch 'mesh/bugfix_fix_bugs_for_mesh_network_v5.0' into 'release/v5.0'
...
wifi_mesh: fix bugs for mesh network (backport v5.0)
See merge request espressif/esp-idf!22902
2023-03-29 10:45:49 +08:00
9eea794f8e
docs: update readme links to ledstrip datasheet
2023-03-29 10:16:26 +08:00
30058e3b31
Merge branch 'bugfix/enable_security_example_for_c2_v5.0' into 'release/v5.0'
...
examples: enable security example for ESP32-C2 (v5.0)
See merge request espressif/esp-idf!22947
2023-03-29 10:06:26 +08:00
f241f61c48
esp_eth: DM9051 stop/start issue fixed
2023-03-28 17:41:39 +02:00
7bfc40b5fb
i2s interrupt fix
...
Merges: https://github.com/espressif/esp-idf/pull/10997
2023-03-28 18:37:48 +08:00
c86f48ad80
Merge branch 'feature/ble_mesh_console_stack_update_v5.0' into 'release/v5.0'
...
ble_mesh: stack: Miscellaneous fixes and updates(v5.0)
See merge request espressif/esp-idf!22922
2023-03-28 15:19:22 +08:00
f92ee6d70b
ble_mesh: stack: Minor fix for provisioner provisioning timeout
2023-03-28 04:29:07 +00:00
353eade320
ble_mesh: add BQB LOG
2023-03-28 04:29:07 +00:00
d63bcc75a4
ble_mesh: stack: forward rfu dst for the case NODE/RLY/BV-01
2023-03-28 04:29:07 +00:00
d63200c0b4
ble_mesh: stack: add send transaction ack befor provisioner send prov failed msg
2023-03-28 04:29:07 +00:00
0f87363e3e
ble_mesh: stack: for the case MESH/PVNR/PBADV/BV-01, add the close link reason before reset link
2023-03-28 04:29:07 +00:00
72a20d8c7f
examples: enable security example for ESP32-C2
...
Tested that example could work with flash encryption enabled case
Closes IDF-6959
2023-03-28 09:52:08 +05:30
b6be20a95d
Remove -Wno-format in esp_phy, esp_wifi and part of wpa_supplicat components
2023-03-27 17:33:32 +08:00
149a2cfc5e
Merge branch 'docs/extra_component_dirs_v5.0' into 'release/v5.0'
...
docs: fixed EXTRA_COMPONENT_DIRS being mispelled as EXTRA_COMPONENTS_DIRS in build-system guide (v5.0)
See merge request espressif/esp-idf!22800
2023-03-27 17:03:57 +08:00
6eb0d366a4
Merge branch 'feature/ble_mesh_add_bqb_log_test_macro_v5.0' into 'release/v5.0'
...
ble_mesh: stack: Add macros for BQB test to enable some internal function or log (v5.0)
See merge request espressif/esp-idf!22921
2023-03-27 16:42:55 +08:00
9f36ad8ab6
ble_mesh: stack: bug fix in bqb
2023-03-24 16:21:40 +08:00
f02b18b392
ble_mesh: stack: add description of internal BQB Test
2023-03-24 16:20:06 +08:00
71bc754b0a
ble_mesh: stack: Minor updates for BQB test log
2023-03-24 16:05:08 +08:00
161e78150f
ble_mesh: stack: Add a BQB macro for BQB test to enable some internal function or log
2023-03-24 16:05:01 +08:00
e715f0fefd
Merge branch 'bugfix/increase_nmea_example_default_stack_v5.0' into 'release/v5.0'
...
uart: increase default stack size for nmea example (v5.0)
See merge request espressif/esp-idf!22915
2023-03-24 14:27:15 +08:00
f1070229f8
system: fixed USE_FIXED_STATIC_RAM_SIZE option
...
The USE_FIXED_STATIC_RAM_SIZE was not actually causing the heap to start
at a fixed address.
Closes https://github.com/espressif/esp-idf/issues/10270
Closes https://github.com/espressif/esp-idf/issues/10271
2023-03-24 12:33:14 +08:00
b97d2ed15a
uart: increase default stack size for nmea example
...
With the old value of 2048 bytes we are right on the stack border when running on S3.
Closes https://github.com/espressif/esp-idf/issues/11044
2023-03-24 12:21:22 +08:00
7398a9b273
Merge branch 'fix/esptool_py_wrapper_v5.0' into 'release/v5.0'
...
Tools: don't add the esptool directory with wrappers to the PATH (v5.0)
See merge request espressif/esp-idf!22878
2023-03-24 02:06:57 +08:00
9801647fa5
wifi_mesh: update mesh doc
2023-03-23 17:18:23 +08:00
348f8f9bac
wifi_mesh: Fix several bugs on mesh network
2023-03-23 17:18:00 +08:00
d8d6d3da5b
Merge branch 'bugfix/fix_deep_sleep_crash_when_psram_high_freq_5.0' into 'release/v5.0'
...
mspi: turn down freq to fix crash when sleep (v5.0)
See merge request espressif/esp-idf!22841
2023-03-23 17:08:56 +08:00
76c8f09856
Merge branch 'bugfix/usb_serial_driver_block_v5.0' into 'release/v5.0'
...
usb_serial_jtag: Fix bug of blocking TX xfer when using driver (backport v5.0)
See merge request espressif/esp-idf!22830
2023-03-23 16:58:36 +08:00
e8205de110
Merge branch 'bugfix/lwip_core_locking_v5.0' into 'release/v5.0'
...
esp_netif/lwip: Fix core-locking config (v5.0)
See merge request espressif/esp-idf!22443
2023-03-23 16:54:49 +08:00
8f202f0ea5
Merge branch 'bugfix/fix_uart_tx_done_hardware_concurrency_v5.0' into 'release/v5.0'
...
uart: Fix TX side concurrency issues (v5.0)
See merge request espressif/esp-idf!22595
2023-03-23 15:29:33 +08:00
4a0fbdccc7
wpa_supplicant : Add disable for tls key usage check.
...
Disable the key usage check this leads to false negative results
while using wfa certificates during testing.
2023-03-23 10:53:13 +05:30
4e1d466fc5
wpa_supplicant : Add validations for 192-bit Suite B test cases.
...
Add validation for group data cipher, pairwise cipher and AKM Suites to
ensure correct ciphers are supported by AP during 192-bit Enterprise
connections.
2023-03-23 10:53:13 +05:30
6279e58c42
wpa_supplicant : Add deinitialization of Enterprise config_methods.
...
Add deinitialization of config_methods as it prevents correct reinitialization of sta in eap_peer_config_init() during reassoc.
2023-03-23 10:53:13 +05:30
f283b589ed
wpa_supplicant : Add support for unregistering wifi wpa3 callbacks.
...
Unregister wifi callbacks allows for disabling support for wpa3 functions when not required.
2023-03-23 10:53:13 +05:30
7cf3f99bfa
Merge branch 'bugfix/nvs_save_for_new_config_v5.0' into 'release/v5.0'
...
esp_wifi: Add nvs code for new config params(backport v5.0)
See merge request espressif/esp-idf!22867
2023-03-23 12:22:07 +08:00
7d61e0bc52
Fixed memory leak in AVDT delay report
2023-03-23 11:23:43 +08:00
cf7a01cb6e
Merge branch 'bugfix/hfp_ag_cannot_init_conn_v5.0' into 'release/v5.0'
...
bt: Fixed the index out of bounds of hfp_ag BTC control block (v5.0)
See merge request espressif/esp-idf!22872
2023-03-23 10:51:24 +08:00
c7a70b6d0e
Tools: don't add the esptool directory with wrappers to the PATH
...
Esptool.py is available from the esptool package which is installed in
every ESP-IDF v5.0+ shells. Therefore, the path to the legacy wrapper
scripts is not needed to be in the PATH. In some cases like
https://github.com/espressif/esp-idf/issues/10926 it even cases problem
because the wrapper doesn't have a shebang line and is not executable.
Note that the wrapper is kept only for invoking esptool as "python
$IDF_PATH/..../esptool.py" which was previously used mostly in CMake
files. There should be no other use-case where the esptool wrappers are
still needed.
2023-03-22 11:36:47 +01:00
b0f6a4174a
Fixed the index out of bounds of hfp_ag BTC control block
2023-03-22 15:48:32 +08:00
8a6bc4363e
esp_wifi: Add nvs code for new config params
2023-03-22 12:40:55 +05:30
9d7132c330
esp_eth: allowed DM9051 to receive multicast packets
...
Removed extra PHY status link checks from DM9051 MAC layer
2023-03-21 16:20:24 +00:00
3050ea656f
Merge branch 'bugfix/i2s_pdm_dac_wrong_clock_freq_v5.0' into 'release/v5.0'
...
i2s_pdm: fix tx frequency limitation (v5.0)
See merge request espressif/esp-idf!22832
2023-03-21 20:23:50 +08:00
3154ad8a23
Merge branch 'feature/modbus_remove_example_tests_v5' into 'release/v5.0'
...
modbus remove example tests (backport v5.0)
See merge request espressif/esp-idf!22843
2023-03-21 20:20:50 +08:00
da4c7eb7c4
Added custom gatt server functionality and encryption.
2023-03-21 17:40:41 +05:30
c575587ea4
Merge branch 'bugfix/flash_large_memory_size_v5.0' into 'release/v5.0'
...
spi_flash: Fix issue that cannot get accurate flash size when encounter large size memory(backport v5.0)
See merge request espressif/esp-idf!21533
2023-03-21 18:58:33 +08:00
a18d019fc9
lwip: Fix lwiopts macro expansion and dhcps-test
...
Minor issue in lwipopts.h in macro expansion in parameters (cosmetic
change: it expands correctly but doesn't pass the expected argument)
Fix lwip thread safety issue in tests: dhcp server should be started and
stopped only in lwip context/thread. Without this fix, the test would
fail if `CONFIG_LWIP_CHECK_THREAD_SAFETY=y`
Adds CONFIG_LWIP_TCPIP_CORE_LOCKING=y to some mqtt example tests (the
same configs as used in v5.1)
2023-03-21 11:21:07 +01:00
285362e8d6
lwip: Add missing esp_sntp_enabled()
2023-03-21 11:09:56 +01:00
42594bffe4
lwip/sntp: Fix esp_sntp_ API races (v5.0)
...
Some of the esp_sntp_...() APIs that wrap lwip's SNTP
module use tcpip_callback() to execute the lwip functionality
in the correct state (either with locked TCP/IP core,
or within the TCP/IP thread).
tcpip_callback() however doesn't wait for completion of the callback,
which doesn't prevent from using the stack variables after destroy
if used as a parameter.
Introduced in a71fa82
.
Fixed by using of tcpip_api_call() instead of the tcpip_callback().
Closes https://github.com/espressif/esp-idf/issues/10611
2023-03-21 11:09:56 +01:00
25cbcd6a1c
docs: CN translation for system_time.rst (v5.0)
2023-03-21 11:09:56 +01:00
5b75693522
esp_netif/lwip: Fix core-locking config (v5.0)
...
* Fix thread safety issues in non-core locking
* Add option to verify thread safety issues in lwip (core-lock assertion)
* Make esp_sntp.h thread safe API
* Fix sntp examples
Closes https://github.com/espressif/esp-idf/issues/9908
Closes https://github.com/espressif/esp-idf/issues/10502
Closes https://github.com/espressif/esp-idf/issues/10466
2023-03-21 11:09:56 +01:00
f9f4a23159
Merge branch 'bugfix/set_generic_len_for_rsnxe_v5.0' into 'release/v5.0'
...
esp_wifi: bugfix RSNXE related changes
See merge request espressif/esp-idf!22420
2023-03-21 12:35:11 +08:00
4c66d7e6df
esp_flash: correct veriable 'size' description
2023-03-21 12:10:38 +08:00
77c675db25
esp_wifi: bugfix RSNXE related changes
...
1. Set AP rsnxe len generic
2. Set transition_disable value in wifi get config
2023-03-20 21:55:44 +05:30
be59a273c6
modbus remove example tests
2023-03-20 13:12:30 +01:00
20924e3a72
mspi: turn down freq to fix crash when sleep
2023-03-20 19:46:25 +08:00
ec55f7fe6e
i2s_pdm: fix tx frequency limitation
...
Closes: https://github.com/espressif/esp-idf/issues/10420
2023-03-20 19:22:40 +08:00
d3546e3fa3
NimBLE: Added ble_gap_ext_adv_active() to check if extended advertising instance is active or not.
2023-03-20 16:36:20 +05:30
2ce6ddacfc
Merge branch 'bufix/fix_check_kconfigs_mention_v5.0' into 'release/v5.0'
...
bugfix: Fix documentation reference to check_kconfigs.py (v5.0)
See merge request espressif/esp-idf!22816
2023-03-20 17:06:11 +08:00
dc172b63d3
Merge branch 'bugfix/close_rf_in_deep_sleep_backport_v5.0' into 'release/v5.0'
...
deep sleep: further optimize sleep current if RF is enabled (backport v5.0)
See merge request espressif/esp-idf!22738
2023-03-20 15:48:29 +08:00
b02d50e33b
i2s: fix some typos
2023-03-20 14:51:07 +08:00
8e3b4f68dc
usb_serial_jtag: Fix bug of blocking TX xfer when using driver,
...
Merges https://github.com/espressif/esp-idf/pull/10208
2023-03-20 14:07:55 +08:00
6f0746734f
[USB Serial/JTAG Driver] use time-limited blocking for TX
2023-03-20 14:07:41 +08:00
763e369858
Merge branch 'feature/support_7.2.8_soc/pvt_dig_v5.0' into 'release/v5.0'
...
ESP32S3:support auto adjust LDO voltage based on pvt-dig(backport 5.0)
See merge request espressif/esp-idf!19774
2023-03-20 14:06:48 +08:00
e94d95103e
spi_flash: Fix issue that cannot get accurate flash size when encounter large size memory,
...
Closes https://github.com/espressif/esp-idf/pull/9566
2023-03-20 13:07:35 +08:00
55e040b54b
Merge branch 'bugfix/wakeup_io_hold_unhold_in_sleep_v5.0' into 'release/v5.0'
...
gpio: Fix deep sleep wakeup IOs unable to unhold after wakeup (v5.0)
See merge request espressif/esp-idf!22665
2023-03-20 12:49:56 +08:00
58f24af363
Merge branch 'contrib/github_pr_10935_v5.0' into 'release/v5.0'
...
export: avoid error on unbound variable (GitHub PR) (v5.0)
See merge request espressif/esp-idf!22820
2023-03-18 15:38:32 +08:00
1ed1d1cf64
Merge branch 'feature/export_fish_exit_code_success_v5.0' into 'release/v5.0'
...
Tools: export.fish exit with success exit code (v5.0)
See merge request espressif/esp-idf!22818
2023-03-18 15:36:55 +08:00
1160e6e6b8
export: avoid error on unbound variable
...
I the shell has `set -u` (to abort on unbound variable), sourcing
export.sh currently fails when IDF_EXPORT_QUIET or IDF_PATH is not set:
> /path/to/esp-idf/export.sh:16: IDF_EXPORT_QUIET: unbound variable
This commit sets a default empty value to those variable, as done
in 16731833fb
(which forgot IDF_PATH as it's usually set, the other
variable landed later in the file).
2023-03-17 18:13:58 +01:00
5a0cf6d175
Make export.fish exit with SUCCESS exit code
...
The export.fish script exits with an exit code of 4. Thus, any shell checks that make sure the source command exits successfully always failed. This was due to the last line trying to erase the __main function. In fish, you can't erase a function using the `set` command, you can only erase variables. By removing that line the script now exits with an exit code of 0 instead of 4.
Erase __main function at the end of export.fish
Closes https://github.com/espressif/esp-idf/pull/10828
2023-03-17 18:08:23 +01:00
561e7357ac
doc: fix a small typo for check_kconfigs.py
...
The script was moved in bcc8f2628c
,
update the doc reference to match.
2023-03-17 15:22:52 +01:00
e9b2f6ddce
Merge branch 'bugfix/minor_syntax_changes_v5.0' into 'release/v5.0'
...
wpa_supplicant : Fixing a collection of issues encountered during application testing.
See merge request espressif/esp-idf!22178
2023-03-17 19:39:49 +08:00
faad05cf56
Merge branch 'bugfix/default_wpa2_causing_pmk_recal_v5.0' into 'release/v5.0'
...
esp_wifi: Fix for default wpa2 authmode casing pmk recalculation.(v5.0)
See merge request espressif/esp-idf!22427
2023-03-17 19:39:40 +08:00
385ca5a041
Merge branch 'test/add_spi_slave_freq_test_v5.0' into 'release/v5.0'
...
spi_slave: fix io re-config issue (v5.0)
See merge request espressif/esp-idf!22592
2023-03-17 19:17:23 +08:00
135381943a
1.add ldo parameters in efuse table; 2.set ldo based on pvt-efuse; 3.ldo voltage is changed based on cpu freq
2023-03-17 11:14:01 +00:00
122dd1ed32
Merge branch 'bugfix/fix_potential_null_pointer_dereference_v5.0' into 'release/v5.0'
...
Fix potential null pointer dereference (backport v5.0)
See merge request espressif/esp-idf!22184
2023-03-17 17:29:17 +08:00
3da8120029
Merge branch 'bugfix/gpio_ut_usj_v5.0' into 'release/v5.0'
...
gpio: add a test case to test the ability of disabling USB D+ pin pull-up (v5.0)
See merge request espressif/esp-idf!22605
2023-03-17 16:34:17 +08:00
27f9ee66d5
gpio: Fix IO hold function related problems
...
1. Fix deep sleep wakeup IOs can not be unhold issue
2. Correct hold related APIs' description
3. Fix gpio_force_hold_all API
docs: Add GPIO wakeup source to sleep_modes doc for ESP32C3 and C2
2023-03-17 14:44:29 +08:00
b3b3947207
examples: system/deep_sleep
...
1. Fix EXT0 wakeup pin error on ESP32: GPIO3 is not a RTC IO, change to use GPIO25.
2. Add ESP_ERROR_CHECK to explicitly show the runtime error
3. Improve example README
2023-03-17 14:44:29 +08:00
a7222acf47
rtcio: Add a test case to test RTCIO's hold ability after deep sleep wakeup
2023-03-17 14:44:23 +08:00
fe743a057f
Merge branch 'bugfix/avrcp_psth_cmd_rsp_v5.0' into 'release/v5.0'
...
bt:Added a parameter to tell the user the result of the pass through command implementation(v5.0)
See merge request espressif/esp-idf!22726
2023-03-17 14:22:22 +08:00
9718c91a38
Merge branch 'bugfix/bluedroid_le_coc_compile_error_v5.0' into 'release/v5.0'
...
bt: fix Bluedroid compile errors after enable CONFIG_ESP_SYSTEM_USE_EH_FRAME on RISC-V SoCs(backport v5.0)
See merge request espressif/esp-idf!22492
2023-03-17 13:56:36 +08:00
df0ec3f5e4
Merge branch 'bugfix/modify_configuration_for_ble_5_v5.0' into 'release/v5.0'
...
Nimble: Update example configuration to enable ext adv feature only for BLE5.0 supported chips (v5.0)
See merge request espressif/esp-idf!22780
2023-03-17 13:56:22 +08:00
b837e910a9
Merge branch 'bugfix/add_debug_check_v5.0' into 'release/v5.0'
...
Nimble: Added debug relate flag around debug code_v5.0
See merge request espressif/esp-idf!22782
2023-03-17 13:55:54 +08:00
4cbabc0542
docs: fixed EXTRA_COMPONENT_DIRS being mispelled as EXTRA_COMPONENTS_DIRS in build-system guide
2023-03-17 11:49:51 +08:00
b7ca4320bb
Merge branch 'bugfix/atomic_gptimer_fsm_v5.0' into 'release/v5.0'
...
gptimer: fix race condition between start and stop (v5.0)
See merge request espressif/esp-idf!22712
2023-03-17 10:38:53 +08:00
0f798b31d8
Merge branch 'bugfix/mqtt_docs_migration_5.x_v5.0' into 'release/v5.0'
...
mqtt/docs: Mention removal of user_context in 5.x migration guide (v5.0)
See merge request espressif/esp-idf!22557
2023-03-17 10:35:38 +08:00
14723a07d1
Merge branch 'bugfix/flakey_task_snapshot_tests_v5.0' into 'release/v5.0'
...
FreeRTOS: Fix flakey task snapshot tests (v5.0)
See merge request espressif/esp-idf!22778
2023-03-17 10:25:25 +08:00
32a02459dc
Nimble: Update example configuration to enable ext adv feature only for BLE5.0 supported chips
2023-03-16 12:08:58 +05:30
49c5a92181
esp_wifi: Fix for default wpa2 authmode casing pmk recalculation.
...
Closes https://github.com/espressif/esp-idf/issues/10214
2023-03-16 11:48:55 +05:30
6dc6b57180
Merge branch 'bufix/Backport_some_wifi_lwip_bugs_for_5.0_0314' into 'release/v5.0'
...
bufix/Backport_some_wifi_lwip_bugs_for_5.0_0314
See merge request espressif/esp-idf!22758
2023-03-16 10:49:26 +08:00
10010b1976
Merge branch 'bugfix/fix_fast_packets_handling_v5.0' into 'release/v5.0'
...
Nimble: Retry buffer allocation, if previous allocation fails (v5.0)
See merge request espressif/esp-idf!22730
2023-03-16 10:27:42 +08:00
ce7df40968
Nimble: Added debug relate flag around debug code
2023-03-15 16:30:29 +05:30
1d6ba06366
esp_wifi:bugfix for optimize abnormal beacon log
2023-03-15 16:21:02 +08:00
392533f0e2
Fixed bug for dhcp server support CIDR
...
Closes https://github.com/espressif/esp-idf/issues/10024
Closes https://github.com/espressif/esp-idf/issues/10559
2023-03-15 16:20:33 +08:00
e0b1ccf6ce
freertos: Fix flakey task snapshot tests
...
The task snapshot tests use esp_cpu_stall() to stall the other CPU before
manually walking the task lists. However, it is possible that the other CPU
was also accessing the task lists when esp_cpu_stall() is called, leading to
flakey tests
This commit fixes the test by using a 2-way handshake instead of
esp_cpu_stall().
2023-03-15 16:12:24 +08:00
446b49cc15
dhcp server:bugfix softap excedes the range of subnet
2023-03-15 14:35:42 +08:00
62983624ae
1 dhcp: Fix dhcp_fine_tmr() not to use netif after free
...
2 tcp_in/ooseq: Fix incorrect segment trim when FIN moved
* Update submodule: git log --oneline 10197b212a95c49c733fb18ffed56cafb0d196d4..d5e56d06658ae11292be1baea56204f7120b6fa7
Detailed description of the changes:
- dhcp: Fix dhcp_fine_tmr() not to use netif after free (esp-lwip@d5e56d06)
- tcp_in/ooseq: Fix incorrect segment trim when FIN moved (esp-lwip@9e62afff)
- netdb:fixed addrtype and length in gethostbyname (esp-lwip@aee6b3ed)
- lwip/napt: Added api to enable/disable napt based on lwip netif (esp-lwip@280c3d61)
- lwip/dhcp: Fixed ondemand fine timers bug, that allowed only one dhcp (esp-lwip@86df9f44)
2023-03-15 14:35:42 +08:00
3b46f2f698
lwip:optimization dhcp coarse timer
2023-03-15 14:35:42 +08:00
6f311db07e
lwip: solve some routers do not forward multicast packet issue
2023-03-15 14:35:42 +08:00
84b9cebb04
Merge branch 'docs/broken_links_2_v5.0' into 'release/v5.0'
...
docs: fix broken links (v5.0)
See merge request espressif/esp-idf!22748
2023-03-15 14:16:15 +08:00
04758d2782
Merge branch 'contrib/github_pr_10970' into 'release/v5.0'
...
Bugfix: Fix compile error for ESP32 FSM ULP ADC Example (GitHub PR)
See merge request espressif/esp-idf!22746
2023-03-15 10:47:11 +08:00
63983fbdfa
Merge branch 'bugfix/nimble_ext_adv_v5.0' into 'release/v5.0'
...
NimBLE: Fixed advertising instance check api in bleprph example (v5.0)
See merge request espressif/esp-idf!22752
2023-03-15 10:33:38 +08:00
e9e1702b23
Merge branch 'bugfix/IDFGH_9535_v5.0' into 'release/v5.0'
...
wifi_prov_mgr : Fixed return value of characteristic read operation in nimble (v5.0)
See merge request espressif/esp-idf!22672
2023-03-15 10:33:05 +08:00
5158af3fed
NimBLE: Fixed advertising instance check api in bleprph example
2023-03-14 12:22:49 +05:30
ff004d9ab9
wifi_prov_mgr : Fixed return value of characteristic read operation
2023-03-14 06:50:20 +00:00
86447548f8
Merge branch 'bugfix/restart_ext_adv_after_discovery_v5.0' into 'release/v5.0'
...
Nimble: Updated bleprph example to re-enable ext adv after advertising is completed (v5.0)
See merge request espressif/esp-idf!22542
2023-03-14 13:59:53 +08:00
0c1e80fc5b
Merge branch 'feature/add_pcl_example_blecent_v5.0' into 'release/v5.0'
...
Nimble:Added power control API usage demo in blecent app (v5.0)
See merge request espressif/esp-idf!22541
2023-03-14 13:59:30 +08:00
8ebb50906f
Merge branch 'bugfix/set_component_relative_path_v5.0' into 'release/v5.0'
...
Nimble: component path relative to IDF (v5.0)
See merge request espressif/esp-idf!22545
2023-03-14 13:59:10 +08:00
64d5421d8b
deep sleep: close rf to optimize sleep current
2023-03-14 13:57:42 +08:00
6db1f2f9a7
Merge branch 'bugfix/some_small_fix_for_sleep_backport_v5.0' into 'release/v5.0'
...
soc/soc_caps: update soc caps for chips that support power-down of modem hardware(backport v5.0)
See merge request espressif/esp-idf!22720
2023-03-14 13:55:39 +08:00
420e20f95b
docs: fix broken links
2023-03-14 10:24:51 +08:00
e14c47ee44
Merge branch 'bugfix/ulp_docs_incorrect_jump_desc_v5.0' into 'release/v5.0'
...
docs: Updated incorrect description for ULP FSM JUMPR and JUMPS instructions (v5.0)
See merge request espressif/esp-idf!22731
2023-03-14 03:59:10 +08:00
568dd3d823
Revert "optimize deep sleep current in wifi softap mode"
...
This reverts commit 344ec80fad
.
2023-03-13 20:49:36 +08:00
89bb920c86
Merge branch 'bugfix/ps_bufferable_mmpdu_v5.0' into 'release/v5.0'
...
Combine improvements in sa query and buffer mgmt frames on SoftAP, fix NULL ptr dereference (Backport v5.0)
See merge request espressif/esp-idf!22215
2023-03-13 19:39:03 +08:00
316a1de567
docs: Updated incorrect description for ULP FSM JUMPR and JUMPS instructions
...
This commit updates the incorrect description for the JUMPR and JUMPS
instructions for ULP FSM on esp32/s2/s3.
Closes https://github.com/espressif/esp-idf/issues/10923
2023-03-13 11:05:52 +01:00
ceeff063e8
Nimble: Added change to give time to allocate buffers, in case previous
...
allocation fails
Closes https://github.com/espressif/esp-idf/issues/10849
2023-03-13 15:23:04 +05:30
28aa12ed01
Nimble:Change component path to relative path for remaining examples
2023-03-13 14:24:08 +05:30
861517ecb0
component path relative to IDF
...
Change the component path to relative to the IDF as the build will fail if the example is moved from its folder.
(cherry picked from commit 4011f5ce595d114c69c46298088440a230eed937)
Signed-off-by: Rahul Tank <rahul.tank@espressif.com >
2023-03-13 14:22:54 +05:30
358ed1af5d
Merge branch 'bugfix/add_return_type_nimble_port_init_v5.0' into 'release/v5.0'
...
Nimble: Added return value (success / failure ) to nimble_port_init / nimble_port_deinit (v5.0)
See merge request espressif/esp-idf!22191
2023-03-13 15:19:06 +08:00
41e52fc5e9
Merge branch 'bugfix/fix_hidh_connection_bug_v5.0' into 'release/v5.0'
...
Bugfix/Fix HID Host bug when handling the two consecutive connection request[backport 5.0]
See merge request espressif/esp-idf!22721
2023-03-13 15:07:03 +08:00
46e7347177
bt:Added a parameter to tell the user the result of the pass through command implementation
2023-03-13 15:03:55 +08:00
15b160ae55
Merge branch 'bugfix/remove_Wno_format_in_bluedroid_bt_examples_v5.0' into 'release/v5.0'
...
bt: Remove `-Wno-format` compile option for bluedroid classic bluetooth examples(v5.0)
See merge request espressif/esp-idf!21870
2023-03-13 14:29:25 +08:00
3d3df29792
Merge branch 'bugfix/wifi_enterprise_example_typo_v5.0' into 'release/v5.0'
...
esp_wifi: fix typo in wifi_enterprise example README (Backport v5.0)
See merge request espressif/esp-idf!22650
2023-03-13 14:06:12 +08:00
833f201610
soc/soc_caps: update soc caps for chips that support power-down of modem hardware
2023-03-13 13:33:18 +08:00
109d42bb85
fix HID Host bug when handling the two consecutive connection request
...
Closes https://github.com/espressif/esp-idf/issues/10504
2023-03-13 10:16:51 +08:00
7905aa2c27
Bugfix: Fix compile error with out of order designated initializer when using C++20 in ESP32 ULP ADC example
2023-03-11 14:42:18 +01:00
c24222dcde
gptimer: fix race condition between start and stop
...
Added state transition in gptimer_start/stop functions.
So that it's not possible to make a stopped timer continue to run
because of race condition.
2023-03-11 11:42:09 +08:00
bf082dcd1c
Merge branch 'bugfix/spram_and_virt_efuse_can_work' into 'release/v5.0'
...
esp_psram: Use efuse_ll instead of efuse API
See merge request espressif/esp-idf!22641
2023-03-11 00:00:08 +08:00
35068ee7b9
usb_host: add recovering interval after SetAddress(). Possibility to change constant delay value via menuconfig.
...
Closes https://github.com/espressif/esp-idf/issues/10444
Closes https://github.com/espressif/esp-idf/issues/10718
2023-03-10 12:40:01 +01:00
cad044a3b6
wpa_supplicant:Fix potential null pointer dereference
2023-03-10 16:00:55 +05:30
7999489c6e
Combine improvements in sa query and buffer deauth, disassoc, action frames for connected station in sleep mode
2023-03-10 16:00:55 +05:30
1ea59bd351
Merge branch 'bugfix/spp_server_doc_v5.0' into 'release/v5.0'
...
SPP server documentation fix (v5.0)
See merge request espressif/esp-idf!22678
2023-03-10 17:22:53 +08:00
57b26802a5
bt: fix Bluedroid compile errors after enable CONFIG_ESP_SYSTEM_USE_EH_FRAME on RISC-V SoCs
...
This root cause is incorrect source code separation by conditonal MACROs for BLE L2CAP COC related functions
2023-03-10 07:37:24 +00:00
89f4ed527e
Nimble:Added power control API usage demo in blecent app
2023-03-10 12:59:11 +05:30
ac0237670b
Merge branch 'bugfix/fixed_wrong_sdm_struct_sequence_v5.0' into 'release/v5.0'
...
sdm: fixed potential memory leak (v5.0)
See merge request espressif/esp-idf!22648
2023-03-10 15:19:22 +08:00
83e7710c2e
Merge branch 'bugfix/fix_build_issue_esp_tls_server_session_tickets_v5.0' into 'release/v5.0'
...
esp-tls: Fix build issue when esp-tls server session tickets have been enabled. (v5.0)
See merge request espressif/esp-idf!22660
2023-03-10 13:49:40 +08:00
963a8b1c57
esp_psram: Use efuse_ll instead of efuse API
...
When the virt efuse mode is on and psram is on as well
then efuse buffer is not filled by efuses (it is filled by 0).
So the psram init func gets wrong pkg_ver = 0.
Closes https://github.com/espressif/esp-idf/issues/10925
Close IDFGH-9576
2023-03-10 05:14:50 +00:00
a6b190c083
sdm: fixed potential memory leak
2023-03-10 03:48:27 +00:00
6692a1346b
esp-tls: Fix build issue when esp-tls server session tickets have been enabled.
...
Closes https://github.com/espressif/esp-idf/issues/10765
2023-03-10 03:46:19 +00:00
319208c3d1
Merge branch 'bugfix/clang_tidy_and_nvs_memory_issue' into 'release/v5.0'
...
clang tidy add C++ and nvs memory issue (backports 5.0)
See merge request espressif/esp-idf!22666
2023-03-10 11:42:02 +08:00
045ad4638e
Merge branch 'feature/memprot_test_app_v5.0' into 'release/v5.0'
...
memprot: Fix incorrect faulting address reported for esp32c3 & esp32s3 (v5.0)
See merge request espressif/esp-idf!22582
2023-03-10 11:27:01 +08:00
f31e3c1046
Merge branch 'fix/esp32_hw_mpi_data_corruption_v5.0' into 'release/v5.0'
...
esp32/mpi: Added alternate workaround for MPI data corruption issue (v5.0)
See merge request espressif/esp-idf!22581
2023-03-10 11:17:31 +08:00
72d59d1ced
ci: add .cpp and .hpp files, but ignore nvs_storage.cpp
...
* nvs_storage.cpp seems to produce a false positive
2023-03-09 17:38:53 +08:00
0a47d78680
Doc : SPP server documentation fix
...
Closes https://github.com/espressif/esp-idf/issues/10930
2023-03-09 11:58:14 +05:30
e9092c2d2d
Merge branch 'feature/support_ble_write_and_notify_throughput_test_at_the_same_time_v5.0' into 'release/v5.0'
...
support ble write and notify throughput test at the same time (backport v5.0)
See merge request espressif/esp-idf!22143
2023-03-09 11:38:15 +08:00
2a804de4b7
Merge branch 'staging/rename_twdt_config_examples_v5.0' into 'release/v5.0'
...
TWDT: Use the new TWDT Kconfig options in the examples and tests (Backport v5.0)
See merge request espressif/esp-idf!22631
2023-03-08 16:09:58 +08:00
e111b46e7d
esp_wifi: fix typo in wifi_enterprise example README
...
Closes https://github.com/espressif/esp-idf/issues/10042
2023-03-08 13:18:24 +05:30
0eddee63e8
bugfix(nvs_flash): fixed potential memory leak in nvs::Storage::init()
2023-03-08 14:13:11 +08:00
416ada0ce1
Merge branch 'refactor/nvs_allocatable_objects_v5.0' into 'release/v5.0'
...
refactor(nvs): custom allocator for all objects allocated in NVS (v5.0)
See merge request espressif/esp-idf!21792
2023-03-07 14:15:49 +08:00
a77d7d2343
Merge branch 'bugfix/timg0_disable_v5.0' into 'release/v5.0'
...
esp_system: Fix TIMG0 still enabled after Timer is freed (v5.0)
See merge request espressif/esp-idf!22630
2023-03-07 11:56:50 +08:00
83907aaa20
TWDT: Use the new TWDT Kconfig options in the examples and tests
2023-03-07 10:23:43 +08:00
2b6576ff08
Merge branch 'bugfix/some_small_fix_for_sleep_examples_backport_v5.0' into 'release/v5.0'
...
examples: some small fix for sleep examples(backport v5.0)
See merge request espressif/esp-idf!22618
2023-03-07 10:20:02 +08:00
4cd4762b1f
Merge branch 'bugfix/return_error_when_fail_detect_oct_psram_v5.0' into 'release/v5.0'
...
esp_psram: return error when fail to detect oct psram (v5.0)
See merge request espressif/esp-idf!22612
2023-03-07 10:18:28 +08:00
aab0a5a4a8
esp_system: Fix TIMG0 still enabled after Timer is freed
...
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com >
2023-03-07 10:02:06 +08:00
24484887a9
esp_system: Ensure TIMG0 clock is always enabled during normal operation
...
If the TimerGroup 0 clock is disabled and then reenabled, the watchdog
registers (Flashboot protection included) will be re-enabled, and some
seconds later, will trigger an unintended reset.
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com >
2023-03-07 10:02:06 +08:00
a2dd95434f
memprot: Fix incorrect faulting address reported for esp32c3 & esp32s3
...
Co-authored-by: Mahavir Jain <mahavir@espressif.com >
2023-03-06 12:39:12 +00:00
6b397d5114
Merge branch 'contrib/github_pr_10640_v5.0' into 'release/v5.0'
...
hal/uart_ll.h: Fix compile with C++ (ESP32-S3/H2) (GitHub PR) (v5.0)
See merge request espressif/esp-idf!22588
2023-03-06 15:35:24 +08:00
d53d4ec930
esp32/mpi: Added alternate workaround for MPI data corruption issue
...
- Use DPORT_WRITE_REG (volatile writes) wrappers to write to the
MPI peripheral
- Updated the previous workaround added for the same issue as it
was failing in some long runs and with `COMPILER_OPTIMIZATION_PERF`
enabled.
- The test performance numbers had to be updated due to the
performance penalty introduced by this fix.
Closes https://github.com/espressif/esp-idf/issues/10403
2023-03-06 06:43:17 +00:00
cb64ff74fc
system/test: use TEST_ESP_OK instead of ESP_ERROR_CHECK
2023-03-06 11:56:56 +08:00
38c25ebceb
konfig: make rtc fast mem related kconfig depend on SOC_RTC_FAST_MEM_SUPPORTED
2023-03-06 11:53:35 +08:00
5d6c050376
examples/wifi/power_save: use 1000Hz freertos tick to lower sleep time threshold
2023-03-06 11:51:55 +08:00
63db044e9c
esp32c2/ci: reenable deep sleep example test
2023-03-06 11:51:41 +08:00
c6fbdb4acb
examples/system/deep_sleep:
...
Use nvs instead of RTC_DATA_ATTR to record deep sleep enter time when
the target chip does not have rtc mem.
2023-03-06 11:46:56 +08:00
a7be8fddcb
examples/system/light_sleep:
...
Add some hints in README to remind users that they can try to power down
the CPU and SPI Flash for lower power consumption.
2023-03-06 11:46:37 +08:00
639e49d157
gpio: add a test case to test the ability of disabling USB D+ pin pull-up
2023-03-06 11:14:05 +08:00
753ed2697f
esp_psram: return error when fail to detect oct psram
2023-03-06 10:56:28 +08:00
2b14b7d061
Merge branch 'contrib/github_pr_10402_v5.0' into 'release/v5.0'
...
ledc: move callback to IRAM as it's called from an ISR (GitHub PR) (v5.0)
See merge request espressif/esp-idf!22590
2023-03-06 10:14:58 +08:00
7ea24f38a7
Merge branch 'refactor/move_rom_test_to_fpga_only_v5.0' into 'release/v5.0'
...
esp_rom: miniz test only on FPGA (backport 5.0)
See merge request espressif/esp-idf!22601
2023-03-06 09:15:54 +08:00
6f74272d56
Merge branch 'contrib/github_pr_10856_v5.0' into 'release/v5.0'
...
Correct typo in referenced function name (GitHub PR) (v5.0)
See merge request espressif/esp-idf!22587
2023-03-05 23:42:37 +08:00
2aed3d6056
Merge branch 'contrib/github_pr_10334_v5.0' into 'release/v5.0'
...
Set errno in adjtime (GitHub PR) (v5.0)
See merge request espressif/esp-idf!22598
2023-03-05 21:37:45 +08:00
20db248fb2
cxx: removed cxx experimental components
2023-03-05 10:23:28 +01:00
f177b2c6c6
uart: Fix two TX concurrency issues
...
1. Concurrency might cause ESP_ERR_TIMEOUT when calling uart_wait_tx_done
2. Concurrency might cause RTS line being de-assreted during tx transmission for rs485 mode
2023-03-03 19:18:08 +08:00
aa496e6550
Set errno in adjtime if delta is too large
...
errno should be set to EINVAL in this case according to adjtime's man
page.
2023-03-03 18:15:27 +08:00
f2c8de6b1b
Set errno in adjtime if newlib time funcs are not implemented
...
Other time functions (e.g. settimeofday) set errno to ENOSYS if
IMPL_NEWLIB_TIME_FUNCS is not set.
adjtime should probably do the same.
2023-03-03 18:15:26 +08:00
1581c494d3
refactor(esp_rom): miniz test only on FPGA now
2023-03-03 18:15:06 +08:00
62e1e2500c
spi_slave: fix io re-config issue
2023-03-03 17:56:23 +08:00
bdffb4403d
ledc: Add check for whether the registered callback is in iram in ledc_cb_register
2023-03-03 17:21:56 +08:00
c3db512280
ledc: move callback to IRAM, it's called from an ISR
2023-03-03 17:21:56 +08:00
9d34501ad1
hal/uart_ll.h: Fix compile issue with C++
...
Merges https://github.com/espressif/esp-idf/pull/10640
2023-03-03 16:50:26 +08:00
701780891c
uart: Correct typo in referenced function name
...
The functions `uart_enable_pattern_det_intr` have been renamed to `uart_enable_pattern_det_baud_intr`, but a reference to these functions in the programming guide was not updated.
Merges https://github.com/espressif/esp-idf/pull/10856
2023-03-03 16:45:17 +08:00
11c59a2e69
Merge branch 'bugfix/fix_psram_kconfig_help_v5.0' into 'release/v5.0'
...
psram: removed deprecated statement about coredump and external BSS (backport v5.0)
See merge request espressif/esp-idf!22562
2023-03-03 13:35:30 +08:00
7d7196d2d2
Merge branch 'ci/add_generic_to_xtal_26mhz_runners_5.0' into 'release/v5.0'
...
Ci: add generic to xtal 26mhz runners 5.0
See merge request espressif/esp-idf!21756
2023-03-02 17:17:47 +08:00
0a5ed6ff9c
Merge branch 'bugfix/fix_btld_app_overlap_c2_v5.0' into 'release/v5.0'
...
ld: fixed bootloader and app potential overlap issue (v5.0)
See merge request espressif/esp-idf!22569
2023-03-02 15:26:02 +08:00
2b5f1140dd
Nimble: Added return value (success / failure ) to nimble_port_init
2023-03-02 09:47:03 +05:30
28c325b291
refactor(nvs): custom allocator for all objects allocated in NVS
2023-03-02 10:49:53 +08:00
fbe7d6fca9
ld: fixed bootloader and app potential overlap issue
2023-03-02 10:45:40 +08:00
3c58ca9285
CI: optimize test case test_examples_protocol_socket_tcpserver
2023-03-01 22:40:34 +08:00
a62e103109
CI: add example adc tests
2023-03-01 22:40:34 +08:00
c8e7ab7f17
CI: add generic to xtal_40mhz jobs
2023-03-01 22:40:32 +08:00
21b42ce760
Merge branch 'bugfix/fix_adc_pm_lock_release_issue_v5.0' into 'release/v5.0'
...
esp_adc: fix continuous mode pm lock release fail issue and add tests (v5.0)
See merge request espressif/esp-idf!22551
2023-03-01 22:35:22 +08:00
e4c94328b9
psram: removed deprecated statement about coredump and external BSS
2023-03-01 19:02:24 +08:00
850ac2c037
Merge branch 'docs/fix_errors_in_esp32-c3-devkitm-1_pin_list_v5.0' into 'release/v5.0'
...
Docs/Fix Errors in ESP32-C3-DevKitM-1 Pin List (v5.0)
See merge request espressif/esp-idf!22487
2023-03-01 18:41:22 +08:00
e24ae3bb21
mqtt/docs: Mention removal of user_context in 5.x migration guide
...
update CN for migration-guides/release-5.x/5.0/protocols.rst
Co-Authored-By: Wang Zi Yan <wangziyan@espressif.com >
Closes https://github.com/espressif/esp-idf/issues/10644
2023-03-01 08:22:56 +01:00
aa3cc6ac17
esp_adc: fix continuous mode pm lock release fail issue and add tests
...
Closes https://github.com/espressif/esp-idf/issues/10853
2023-03-01 10:51:19 +08:00
564b94fe5b
Merge branch 'feature/esp32c2_optimize_npl_api_v5.0' into 'release/v5.0'
...
Optimized NPL Freertos API
See merge request espressif/esp-idf!21906
2023-02-28 20:51:49 +08:00
d759ee5aea
Merge branch 'touch_sensor/update_touch_sensor_examples_v5.0' into 'release/v5.0'
...
touch: update examples and tests (v5.0)
See merge request espressif/esp-idf!19725
2023-02-28 19:55:27 +08:00
d56a6e1691
Merge branch 'fix/http_client_disable_auto_redirect_causes_loop_v5.0' into 'release/v5.0'
...
http_client: fixed looping caused when disable_auto_redirect enabled (v5.0)
See merge request espressif/esp-idf!22536
2023-02-28 19:54:31 +08:00
af1f67424c
Nimble:Re-run ext adv after completion
2023-02-28 17:22:03 +05:30
008a4dc54e
Merge branch 'bugfix/peer_dev_rec_add_and_clear_issue_v5.0' into 'release/v5.0'
...
NimBLE: Fix incomplete clearing of peer_dev_rec (v5.0)
See merge request espressif/esp-idf!21952
2023-02-28 14:20:48 +08:00
f39f6011f5
http_client: fixed looping caused when disable_auto_redirect enabled
...
Closes https://github.com/espressif/esp-idf/issues/10629
2023-02-28 10:29:24 +05:30
3eb8a9cf1e
ble: Fixed flow control count error on ESP32-C2
2023-02-27 21:48:19 +08:00
61c3b96957
Fixed vulnerability attacks that could cause heap overflow in fragmented Blufi packet processing
2023-02-27 13:01:13 +00:00
1a9300af1f
support ble notify and write throughput test at the same time
2023-02-27 13:01:13 +00:00
ca0623e311
Merge branch 'bugfix/freertos_stream_buffer_test_v5.0' into 'release/v5.0'
...
FreeRTOS: Fix stream buffer send-receive test (v5.0)
See merge request espressif/esp-idf!22507
2023-02-27 19:02:04 +08:00
fd707e1d03
Merge branch 'bugfix/twai_listen_only_errata_v5.0' into 'release/v5.0'
...
twai: Add errata workaround for listen only mode (v5.0)
See merge request espressif/esp-idf!22514
2023-02-27 18:13:11 +08:00
0fce029b92
[esp32c2] Fixed the occasional assertion when deinit the ble controller
2023-02-27 16:56:05 +08:00
7b28d40c0a
ble:Fixed issues of adv error stop and abnormal reporting of connection update complete event on ESP32-C2
2023-02-27 16:56:05 +08:00
530c07a5be
Optimized NPL Freertos API
2023-02-27 16:56:05 +08:00
ace6a3b4bb
NimBLE: Fix incomplete clearing of peer_dev_rec
2023-02-27 14:21:57 +05:30
9a3c8a6567
Merge branch 'bugfix/change_position_of_vendor_model_and_gen_onoff_model_callback_forv5.0' into 'release/v5.0'
...
ble_mesh:example:change position of vendor model and generic onoff model callback(v5.0)
See merge request espressif/esp-idf!21798
2023-02-27 15:13:27 +08:00
a9af2080e4
Merge branch 'bugfix/fix_ext_adv_compilation_issue_v5.0' into 'release/v5.0'
...
Nimble: Fix compilation issue for examples for esp32c6 and esp32h4 (v5.0)
See merge request espressif/esp-idf!22066
2023-02-27 15:12:48 +08:00
4abb6efb36
Merge branch 'bugfix/fix_gpio_wakeup_related_issues_in_ssc_sleep_test_backport_v5.0' into 'release/v5.0'
...
sleep: fix gpio wakeup related issues(backport v5.0)
See merge request espressif/esp-idf!22332
2023-02-27 15:12:13 +08:00
b29c869698
Merge branch 'bugfix/fix_assert_pcl_bleprph_example_v5.0' into 'release/v5.0'
...
Nimble: Fix runtime assertion in bleprph due to two disconnect events (v5.0)
See merge request espressif/esp-idf!22212
2023-02-27 15:11:51 +08:00
5ca38da869
Merge branch 'bugfix/remove_global_min_max_def_v5.0' into 'release/v5.0'
...
Nimble: Removes global min/max definition causing problems with other libraries (v5.0)
See merge request espressif/esp-idf!21817
2023-02-27 15:11:28 +08:00
d4eebd5e80
Merge branch 'bugfix/update_ble_l2cap_coc_example_v5.0' into 'release/v5.0'
...
Nimble: Updated ble_l2cap_coc example (v5.0)
See merge request espressif/esp-idf!22064
2023-02-27 15:10:57 +08:00
1f73b5e4cd
Merge branch 'bugfix/wps_start_state_issue_v5.0' into 'release/v5.0'
...
esp_wifi: Add check for wps start state (v5.0)
See merge request espressif/esp-idf!22025
2023-02-27 15:10:01 +08:00
809aeb77b7
Merge branch 'bugfix/update_esp_rom_rtc_header_v5.0' into 'release/v5.0'
...
update esp rom rtc header (backport to v5.0)
See merge request espressif/esp-idf!21915
2023-02-27 15:09:19 +08:00
2ab97d57f9
Merge branch 'bugfix/fixed_hci_uart_flow_ctrl_error_on_esp32c2_v5.0' into 'release/v5.0'
...
Bugfix/fixed hci uart flow ctrl error on esp32c2 v5.0
See merge request espressif/esp-idf!21887
2023-02-27 15:08:28 +08:00
5fca58742e
Merge branch 'doc/update_wifi_amsdu_docs_v5.0' into 'release/v5.0'
...
doc: update wifi amsdu docs(Backport v5.0)
See merge request espressif/esp-idf!21751
2023-02-27 15:07:58 +08:00
7c20c3742d
Merge branch 'bugfix/fix_the_bluedroid_hci_crash_on_esp32c2' into 'release/v5.0'
...
Fixed the bluedroid hci crash due to insufficient memory on ESP32C2
See merge request espressif/esp-idf!22056
2023-02-27 15:07:31 +08:00
3132e45747
Merge branch 'bugfix/remove_-Wno-formate_in_mesh_example_v5.0' into 'release/v5.0'
...
wifi_mesh: Remove-Wno-format compile option for mesh examples(Backport v5.0)
See merge request espressif/esp-idf!22254
2023-02-27 15:07:15 +08:00
224b3203e9
Merge branch 'bugfix/remove_-Wno-formate_in_wifi_example_v5.0' into 'release/v5.0'
...
esp_wifi: Remove -Wno-format compile option for FTM example, iperf example, roaming example(Backport v5.0)
See merge request espressif/esp-idf!21779
2023-02-27 15:07:05 +08:00
8a83241c49
Merge branch 'bugfix/spp_clear_conn_array_v5.0' into 'release/v5.0'
...
Bluetooth/NimBLE : Fixed clearing connection_handle[] after disconnect event (v5.0)
See merge request espressif/esp-idf!22272
2023-02-27 15:06:49 +08:00
335ad04cba
Merge branch 'feature/support_feature_depend_on_rtc_fast_mem_for_esp32c2_backport_v5.0' into 'release/v5.0'
...
esp32c2: support feature(rtc time) depend on rtc fast mem(backport v5.0)
See merge request espressif/esp-idf!22224
2023-02-27 15:06:31 +08:00
f39c3b286c
Merge branch 'bugfix/coex_enable_disable_not_in_pairs_v5.0' into 'release/v5.0'
...
bluetooth: fix that functions "coex_enable" and "coex_disable" are not used in pairs(backport v5.0)
See merge request espressif/esp-idf!22094
2023-02-27 15:05:49 +08:00
4cc03645e8
Merge branch 'bugfix/fix_some_ble_bug_v5.0' into 'release/v5.0'
...
Fixed some BLE bugs (backport v5.0)
See merge request espressif/esp-idf!22363
2023-02-27 15:05:38 +08:00
3bc9260dea
Merge branch 'support/release_v5.0_fix_h2_phy_init_when_sw_restart' into 'release/v5.0'
...
esp_phy: fix phy init when SW restart(backport 5.0)
See merge request espressif/esp-idf!22309
2023-02-27 15:04:02 +08:00
de865b8973
Merge branch 'docs/ulp_docs_incorrect_notes_v5.0' into 'release/v5.0'
...
docs: Ulpdated ULP docs to have the correct notes directive (v5.0)
See merge request espressif/esp-idf!22509
2023-02-27 09:42:44 +08:00
491800f144
Merge branch 'refactor/resolve_mmu_soc_dependency_to_sdkconfig_h_v5.0' into 'release/v5.0'
...
g0: resolve MMU_PAGE_SIZE not defined in g0 build issue (v5.0)
See merge request espressif/esp-idf!22488
2023-02-25 17:30:47 +08:00
3318fac02f
twai: Add errata workaround for listen only mode
...
This commit adds a workaround for the TWAI listen only mode errata which is
present on the ESP32, ESP32-S2, ESP32-S3, and ESP32-C3. twai_get_status_info()
has also been updated to account for the fact that TEC/REC are frozen in
listen only mode.
Errata Description:
When the TWAI controller is put into listen only mode, it should not influence
the TWAI bus in any way (i.e., should never send a dominant bit). However,
on the targets listed above, the TWAI controller will send dominant bits in an
error frame (i.e., active error frame), even if the controller is set to listen
only mode.
Workaround:
We can force the TWAI controller into the error passive state on startup (by
setting the REC to >= 128). Since the TEC/REC are frozen in listen only mode,
the TWAI controller will remain error passive and only send recessive bits
(i.e., passive error frames), thus will not influence the TWAI bus.
Closes https://github.com/espressif/esp-idf/issues/9157
2023-02-24 19:26:22 +08:00
da46d216df
Merge branch 'bugfix/correct_ext_mem_defs_for_internal_ram_v5.0' into 'release/v5.0'
...
soc: update iram/dram addr range in ext_mem_defs.h (v5.0)
See merge request espressif/esp-idf!22489
2023-02-24 18:35:50 +08:00
4b75883ea4
docs: Ulpdated ULP docs to have the correct notes directive
...
This commit updates the ULP .rst files to have the correct notes
directive format. The notes directives were missing a colon.
2023-02-24 11:22:48 +01:00
3623dc0fce
freertos: Fix stream buffer send-receive test
...
The stream buffer send-receive test preivously contained the following bugs:
- "sender" task would send 101 bytes instead of 100
- The main task would return before "sender" task sends its 101st item. Thus
the sender task would cause memory corruption when accessing "tc" structure
allocated on the main task's stack
This commit fixes and simplifies the stream buffer test.
2023-02-24 16:24:25 +08:00
53c66a6dae
Merge branch 'fix/heap-get-allocated-size_v5.0' into 'release/v5.0'
...
heap: Fix erroneous value returned by heap_caps_get_allocated_size() when poisoning is enabled (backport v5.0)
See merge request espressif/esp-idf!22187
2023-02-24 11:05:41 +08:00
bbda601f62
Merge branch 'docs/support_for_pre_calculated_signatures_v5.0' into 'release/v5.0'
...
docs: Added documetation for using pre-calculated signatures (v5.0)
See merge request espressif/esp-idf!21855
2023-02-23 22:07:47 +08:00
22a45d2a09
Merge branch 'feature/add_ws_auth_5.0' into 'release/v5.0'
...
tcp_transport: Add authorization header for websocket client (v5.0)
See merge request espressif/esp-idf!22438
2023-02-23 16:51:07 +08:00
97c8f15e48
docs: Added documentation for using pre-calculated signatures
...
to generate secure boot enabled binaries.
2023-02-23 11:54:22 +05:30
866d727477
soc: remove unused macro in ext_mem_defs.h
...
ESP_CACHE_TEMP_ADDR is not used in IDF
2023-02-23 12:40:43 +08:00
86b331b40f
soc: update iram/dram addr range in ext_mem_defs.h
...
IRAM0/DRAM0 addr range update, on s3, c3, c2, h4, c6:
IRAM0_ADDRESS_LOW ~ IRAM0_ADDRESS_HIGH
DRAM0_ADDRESS_LOW ~ DRAM0_ADDRESS_HIGH
now are for the real IRAM0 and DRAM0
2023-02-23 12:39:54 +08:00
ac86ef31c1
g0: resolve MMU_PAGE_SIZE not defined in g0 build issue
2023-02-23 12:35:52 +08:00
9ebe3fbfc1
docs/fix_errors_in_esp32-c3-devkitm-1_pin_list
2023-02-23 11:52:13 +08:00
c120f5777e
tcp_transport: Add authorization header for websocket client
2023-02-22 16:19:41 +04:00
4c606d3381
Merge branch 'feature/websocket-client-errorhandlin_v5.0' into 'release/v5.0'
...
[ws_transport]-Added `esp_transport_ws_get_upgrade_request_status` API (v5.0)
See merge request espressif/esp-idf!22360
2023-02-22 19:46:47 +08:00
2ea046c091
heap: Fix erroneous value returned by heap_caps_get_allocated_size() when poisoning is enabled
...
When light (or comprehensive) poisoning is enabled, the size requested by the user for allocation
is extended by a few bytes to store the canary header and footer. heap_caps_get_allocated_size() should
return the original size asked by the user (without the additional canary bytes).
test_malloc.c extended with a new test assuring that heap_caps_get_allocated_size() returns the proper size
regardless of the degree of poisoning.
2023-02-22 11:42:02 +01:00
498dc8d09d
Merge branch 'bugfix/nvs_cxx_example_v5.0' into 'release/v5.0'
...
nvs_flash: fixed wrong error check after open_nvs_handle in example (v5.0)
See merge request espressif/esp-idf!22303
2023-02-22 16:39:13 +08:00
3a6e2021ff
Remove compile option for bluedroid classic bluetooth examples
2023-02-22 11:23:12 +08:00
57d113bdd2
Merge branch 'example/opt_a2dp_gatts_coex_example_v5.0' into 'release/v5.0'
...
rebase a2dp_gatts_coex to latest a2dp_sink (v5.0)
See merge request espressif/esp-idf!22003
2023-02-22 11:03:02 +08:00
6b08f05282
Merge branch 'bugfix/rmt_buffer_allocation_v5.0' into 'release/v5.0'
...
legacy rmt driver: fix wrong buffer allocation (v5.0)
See merge request espressif/esp-idf!22429
2023-02-22 10:23:38 +08:00
38da5115cb
Merge branch 'docs/refactor_secure_boot_v2_documentation_v5.0' into 'release/v5.0'
...
docs: refactored Secure Boot V2 documentation (v5.0)
See merge request espressif/esp-idf!22341
2023-02-21 22:08:44 +08:00
60087c0b22
rebase a2dp_gatts_coex to latest a2dp_sink
2023-02-21 10:58:51 +00:00
3d80d4b795
Merge branch 'bugfix/sdp_event_status_overwritten_by_handle_v5.0' into 'release/v5.0'
...
bt: Fixed SDP BTA_SDP_REMOVE_RECORD_USER_EVT event status overridden by handle
See merge request espressif/esp-idf!22213
2023-02-21 18:21:33 +08:00
8439e6184c
Merge branch 'bugfix/build_err_with_ssr_enabled_v5.0' into 'release/v5.0'
...
bt: Fixed build errors when sniff subrating is enabled (v5.0)
See merge request espressif/esp-idf!22350
2023-02-21 18:20:06 +08:00
11c65947d8
Merge branch 'bugfix/access_nullptr_when_ble_disconn_v5.0' into 'release/v5.0'
...
Bugfix/Fixed crash caused by accessing nullptr in `btm_acl_disconnected` (v5.0)
See merge request espressif/esp-idf!21879
2023-02-21 18:18:48 +08:00
b94db7a64e
Merge branch 'bugfix/blufi_notify_v5.0' into 'release/v5.0'
...
BluFi : Fixed hdr getting free twice (v5.0)
See merge request espressif/esp-idf!22448
2023-02-21 18:17:50 +08:00
84d6cce56e
Merge branch 'docs/fix_typo_peripherals_gpio' into 'release/v5.0'
...
docs:fix a typo in api-reference/peripherals/gpio
See merge request espressif/esp-idf!22432
2023-02-21 16:04:00 +08:00
049cffcb2a
BluFi : Fixed hdr getting free twice
...
Closes IDFGH-9378
2023-02-21 11:44:12 +05:30
481cca3490
[ws_transport] - Added esp_transport_ws_get_upgrade_request_status
API
2023-02-20 14:12:48 +00:00
82458fd31d
Merge branch 'bugfix/extram_stack_coredump_v5.0' into 'release/v5.0'
...
coredump: add support for stacks in external RAM (backport v5.0)
See merge request espressif/esp-idf!22410
2023-02-20 20:32:19 +08:00
86a75d1d73
Merge branch 'feature/gdbstub_esp32c2_v5.0' into 'release/v5.0'
...
gdb stub: re-enable for ESP32-C2 (v5.0)
See merge request espressif/esp-idf!21770
2023-02-20 17:13:37 +08:00
892f6fa695
docs:fix a typo in api-reference/peripherals/gpio
2023-02-20 16:12:25 +08:00
18bda1be31
Merge branch 'feature/re-enable-heap-test-c2_v5.0' into 'release/v5.0'
...
heap: re-enable temporarily disabled test on esp32c2 (backport v5.0)
See merge request espressif/esp-idf!21873
2023-02-20 15:34:16 +08:00
fc3f49d589
Merge branch 'docs/freertos_doc_organization_v5.0' into 'release/v5.0'
...
Docs: Update FreeRTOS documentation organization for IDF and Amazon SMP FreeRTOS (v5.0)
See merge request espressif/esp-idf!22395
2023-02-20 15:26:23 +08:00
5b718a81a0
Merge branch 'feat/verbose-alloc-failure-abort_v5.0' into 'release/v5.0'
...
heap: print size and caps when malloc fails before calling system abort (backport v5.0)
See merge request espressif/esp-idf!22343
2023-02-20 15:17:51 +08:00
47bc882caa
Merge branch 'feature/re-enable-intr-alloc-test-c2_v5.0' into 'release/v5.0'
...
esp-hw-support: Re-enable intr_alloc tests on esp32c2 target (backport v5.0)
See merge request espressif/esp-idf!21874
2023-02-20 15:16:36 +08:00
bca7446a53
Merge branch 'bugfix/ulp_riscv_i2c_example_crashes_on_s2_v5.0' into 'release/v5.0'
...
ulp-riscv: ULP RISC-V I2C example gets stuck on esp32s2 (v5.0)
See merge request espressif/esp-idf!21860
2023-02-20 15:14:56 +08:00
b731bd6a60
rmt: fix rmt buffer allocation issue
2023-02-20 15:12:30 +08:00
d33d3d7884
Merge branch 'feature/re-enable-newlib-test-c2_v5.0' into 'release/v5.0'
...
newlib: Remove tests using RTC related features from the esp32c2 test set (backport v5.0)
See merge request espressif/esp-idf!21878
2023-02-20 15:11:16 +08:00
1a98df0c93
bugfix(nvs_flash): fixed wrong error check after open_nvs_handle
...
Closes https://github.com/espressif/esp-idf/issues/10240
2023-02-20 14:20:18 +08:00
f58f8116de
Merge branch 'feature/adc_calibration_c2_v5.0' into 'release/v5.0'
...
esp_adc: support adc calibration on esp32c2 (v5.0)
See merge request espressif/esp-idf!22382
2023-02-20 14:13:23 +08:00
41bf6dab0d
Merge branch 'bugfix/newlib_tz_env_mutex_v5.0' into 'release/v5.0'
...
newlib: Use correct recursive mutex for env and regular mutex for tz (v5.0)
See merge request espressif/esp-idf!22293
2023-02-20 13:04:17 +08:00
5400061f6a
Merge branch 'docs/elm_chan_broken_link_v5.0' into 'release/v5.0'
...
docs: fix broken link in fatfs doc (v5.0)
See merge request espressif/esp-idf!22297
2023-02-20 12:21:28 +08:00
962d716456
Merge branch 'bugfix/secure_boot_v2_part_size_check_v5.0' into 'release/v5.0'
...
gen_esp32part: allow secure boot v2 based app partition size 4K aligned (v5.0)
See merge request espressif/esp-idf!22284
2023-02-20 12:19:38 +08:00
03a4f75f98
Merge branch 'docs/fix_broken_link_format_v5.0' into 'release/v5.0'
...
docs: fix rst external links with wrong format (v5.0)
See merge request espressif/esp-idf!22336
2023-02-20 11:20:42 +08:00
1990335623
Merge branch 'bugfix/fix_adc_channel_h_not_aligned_to_ng_driver_issue_v5.0' into 'release/v5.0'
...
adc: make adc_channel.h macros work with ng driver (v5.0)
See merge request espressif/esp-idf!22020
2023-02-20 11:08:42 +08:00
ef4280c3f5
Merge branch 'docs/make_s3_octal_flash_error_handling_clearer_v5.0' into 'release/v5.0'
...
docs: make s3 octal flash error handling clearer (v5.0)
See merge request espressif/esp-idf!22269
2023-02-20 11:07:13 +08:00
d101d9c100
esp_adc: update license
2023-02-20 10:34:34 +08:00
0f49c8677b
include inttypes.h
2023-02-20 10:34:34 +08:00
f3ee3b68bf
esp_adc: defined an example macro for attenuation
2023-02-20 10:34:34 +08:00
22431bc41b
doc: make adc wifi hardware limitation visible on esp32
2023-02-20 10:34:34 +08:00
45776dc0cc
esp_adc: add esp32c2 adc high/low test threshold and expected val
2023-02-20 10:34:34 +08:00
ed98062c66
esp_adc: refacotr tests for all supported attenuations
2023-02-20 10:34:34 +08:00
a03ca90d4a
esp_adc: replace hardcoded calibration version to a macro
...
On esp32c3 and esp32s3, we support calibration version 1. This commit
replace it with ESP_EFUSE_ADC_CALIB_VER to avoid hardcode.
2023-02-20 10:34:34 +08:00
fe0643ca40
esp_adc: support adc calibration on esp32c2
2023-02-20 10:34:34 +08:00
70d62f5c85
efuse: added adc calibration efuse fields on esp32c2
2023-02-20 10:34:34 +08:00
d9992320c8
efuse: remove PVT_LOW field on esp32c2
...
PVT_LOW doesn't exist on ESP32C2
2023-02-20 10:34:33 +08:00
bd7bcbb03b
1.add ldo parameters in efuse table; 2.set ldo dbias based on pvt-efuse; 3.add pll cali stop function; 4. add efuse_ocode
2023-02-20 10:33:25 +08:00
dbb3830c44
Merge branch 'docs/ignore_isa_link_v5.0' into 'release/v5.0'
...
docs: ignore xtensa isa-summary during linkcheck (v5.0)
See merge request espressif/esp-idf!22145
2023-02-20 10:30:47 +08:00
b289b7a1f1
Merge branch 'feature/mbedtls-3.3.0_v5.0' into 'release/v5.0'
...
mbedtls: Update to v3.3.0 (v5.0)
See merge request espressif/esp-idf!22121
2023-02-19 14:41:06 +08:00
a823a4907f
Merge branch 'bugfix/fix_return_value_in_httpd_socket_apis_v5.0' into 'release/v5.0'
...
esp_http_server: fix return values for `httpd_socket_send()` and `httpd_socket_recv()` APIs (v5.0)
See merge request espressif/esp-idf!22307
2023-02-19 12:10:36 +08:00
c71f9a3e1e
Merge branch 'fix/stack-dram-memory-protection_v5.0' into 'release/v5.0'
...
heap: Modify the memory type of the memory used as startup stack when memory protection is enabled (backport v5.0)
See merge request espressif/esp-idf!22170
2023-02-19 11:57:54 +08:00
ca7045d904
protocomm: Fix test-app build for esp32c2 & esp32c6
...
- AES context has a breaking change, rather than storing
round keys directly, it stores the offset at which the keys
are present in the context buffer
2023-02-19 03:53:02 +00:00
db99f311fc
mbedtls: Fix build with dynamic buffers feature
2023-02-19 03:53:02 +00:00
6384299167
wpa_supplicant: Update deprecated API (mbedtls_pkcs5_pbkdf2_hmac
)
...
- The newer alternative does not require HMAC context for its
operation
2023-02-19 03:53:02 +00:00
8b5ab6820f
mbedtls: Update config options as per v3.3.0 release
2023-02-19 03:53:02 +00:00
88aa45ff17
mbedtls: Update to v3.3.0
2023-02-19 03:53:02 +00:00
e532de9aa5
partition_table: add tests for checking secure boot part size
2023-02-19 03:50:03 +00:00
33568182d4
gen_esp32part: allow secure boot v2 based app partition size 4K aligned
...
For Secure Boot v2 case, unsigned image is first padded to next 64K
aligned boundary and then a signature block of 4K gets appended. Thus
an app partition whose size is 4K aligned should be allowed here.
For Secure Boot v1 case, app partition size must be 64K aligned as the
signature block lies at the very end of 64K boundary.
Relevant:
57b601ab7f
2023-02-19 03:50:03 +00:00
dcae357500
Merge branch 'fix/hardware_ecc_port_v5.0' into 'release/v5.0'
...
mbedtls/ecp: Fix incorrect ECP parameter value
See merge request espressif/esp-idf!22112
2023-02-19 11:49:14 +08:00
395b682aa3
Merge branch 'fix/mbedtls_port_sanity_checks_and_return_values_v5.0' into 'release/v5.0'
...
mbedtls/port: refactor sanity checks and their return values (v5.0)
See merge request espressif/esp-idf!22127
2023-02-19 11:47:47 +08:00
4ec28232df
Merge branch 'bugfix/i80_pll240_esp32s3_v5.0' into 'release/v5.0'
...
lcd: support PLL240M as i80 clock source on esp32s3 (v5.0)
See merge request espressif/esp-idf!22366
2023-02-18 20:45:13 +08:00
ce0316df99
lcd: support PLL240M as i80 clock source on esp32s3
2023-02-18 15:14:12 +08:00
f603aa7d76
Merge branch 'bugfix/i2s_update_regs_before_start_v5.0' into 'release/v5.0'
...
i2s: fixed rx update stuck bug (v5.0)
See merge request espressif/esp-idf!21776
2023-02-18 15:07:05 +08:00
db8b56c9ac
Merge branch 'bugfix/fix_micro_error_SPI_HOST_MAX_v5.0' into 'release/v5.0'
...
spi: fix micro SPI_HOST_MAX error (v5.0)
See merge request espressif/esp-idf!22147
2023-02-18 15:06:35 +08:00
e892fa8cc5
Merge branch 'docs/adc_filter_migration_guide_v5.0' into 'release/v5.0'
...
adc: added adc filter migration guide (v5.0)
See merge request espressif/esp-idf!22349
2023-02-18 15:05:22 +08:00
3f68b61f3e
Merge branch 'feature/mcpwm_non_varg_version_api_v5.0' into 'release/v5.0'
...
mcpwm: support non-vararg version of generator functions (v5.0)
See merge request espressif/esp-idf!21951
2023-02-18 15:04:17 +08:00
15471b450d
Merge branch 'feature/mcpwm_cap_not_reset_io_at_exit_v5.0' into 'release/v5.0'
...
mcpwm: support not reset GPIO config at exit (v5.0)
See merge request espressif/esp-idf!22023
2023-02-18 15:03:13 +08:00
27ca6549d5
Merge branch 'bugfix/gdma_uhci_id_5.0' into 'release/v5.0'
...
gdma: correct the dma trigger of UHCI && fix async memcpy conflict with peripheral DMA (v5.0)
See merge request espressif/esp-idf!22006
2023-02-18 15:02:32 +08:00
10dd0cc4a1
Merge branch 'feature/rmt_no_light_sleep_lock_v5.0' into 'release/v5.0'
...
rmt: avoid auto light sleep when use xtal as the clock source (v5.0)
See merge request espressif/esp-idf!22053
2023-02-18 15:00:56 +08:00
92b1f4fa27
Merge branch 'bugfix/gptimer_pm_lock_xtal_5.0' into 'release/v5.0'
...
gptimer: acquire pm lock for xtal clock source (v5.0)
See merge request espressif/esp-idf!22281
2023-02-18 15:00:24 +08:00
9fb838c0b5
Merge branch 'bugfix/mcpwm_config_name_v5.0' into 'release/v5.0'
...
mcpwm: modify wrong config name (v5.0)
See merge request espressif/esp-idf!22385
2023-02-18 14:58:00 +08:00
8a6fb6df19
Merge branch 'feature/secure_features_are_enabled_correctly_v5.0' into 'release/v5.0'
...
security: Adds new APIs to check that all eFuse security features are enabled correctly (v5.0)
See merge request espressif/esp-idf!22116
2023-02-17 21:40:42 +08:00
08283c213b
Merge branch 'feature/mac_crc_v5.0' into 'release/v5.0'
...
esp_hw_support(esp32): If the MAC_FACTORY CRC check fails, then INVALID_CRC instead of abort (v5.0)
See merge request espressif/esp-idf!22114
2023-02-17 21:36:59 +08:00
75b7202d71
Merge branch 'bugfix/usb_host_hub_enumeration_string_handling_v5.0' into 'release/v5.0'
...
USB Host: Fix string descriptor handling by the hub driver during enumeration (backport v5.0)
See merge request espressif/esp-idf!22324
2023-02-17 21:22:59 +08:00
d3b1ae10d8
Merge branch 'fix/lcd_spi_example_colors_v5.0' into 'release/v5.0'
...
examples/spi_lcd_touch: Fixed colors on ILI9341 (backport v5.0)
See merge request espressif/esp-idf!22049
2023-02-17 21:21:55 +08:00
6a86124ff5
Merge branch 'feature/usb_host_feature_and_refactor_backports_v5.0' into 'release/v5.0'
...
USB Host: Backport multiple feature and refactors to v5.0
See merge request espressif/esp-idf!21584
2023-02-17 20:49:46 +08:00
e68bc99347
Merge branch 'bugfix/esp_pm_and_sleep_build_errors_v5.0' into 'release/v5.0'
...
esp_system: Fix various PM and sleep build errors (v5.0)
See merge request espressif/esp-idf!21781
2023-02-17 20:49:22 +08:00
77480ea12b
freertos: Update ESP-IDF FreeRTOS and FreeRTOS Additions documentation
...
This commit updates the ESP-IDF FreeRTOS and FreeRTOS Additions to account for
the fact that there are now two implementations of SMP FreeRTOS (i.e., IDF SMP
vs Amazon SMP).
2023-02-17 20:43:30 +08:00
b56f66d28d
freertos: Update FreeRTOS overview document
...
This commit updates "freertos.rst" to act as an overview document of FreeRTOS
in ESP-IDF, outlining the different FreeRTOS implementations (IDF vs Amazon)
and various supplemental features. The details of each implementation will be
separated to their own documents.
2023-02-17 20:43:30 +08:00
fe11add262
freertos: Rename SMP changes document to ESP-IDF FreeRTOS
...
This commit renames "freertos-smp" docuemnt to "freertos_idf". This fits better
with the current dual FreeRTOS implementation (i.e., IDF FreeRTOS and Amazon
SMP FreeRTOS), both of which are SMP capable.
2023-02-17 20:43:30 +08:00
69dd34dfb6
Merge branch 'bugfix/rtc_8md256_deepsleep_time_esp32_v5.0' into 'release/v5.0'
...
pm: Fixed sleep time inaccurate bug when select 8MD256 as rtc slow clock on ESP32 (v5.0)
See merge request espressif/esp-idf!21821
2023-02-17 19:47:58 +08:00
d7cc519221
Merge branch 'fix/idf_tools_python_dir_change_v5.0' into 'release/v5.0'
...
Tools: Allow custom Python installation path with IDF_PYTHON_ENV_PATH (v5.0)
See merge request espressif/esp-idf!22392
2023-02-17 19:43:39 +08:00
6b1869b42c
Merge branch 'bugfix/gdbinit_target_hoookpost_v5.0' into 'release/v5.0'
...
tools: fix idf.py gdb memory access before remote target is connected (v5.0)
See merge request espressif/esp-idf!22123
2023-02-17 19:43:08 +08:00
db7348e973
Merge branch 'bugfix/fix_windows_path_case_sensitivity_v5.0' into 'release/v5.0'
...
bugfix: Fix windows path case sensitivity (v5.0)
See merge request espressif/esp-idf!22075
2023-02-17 19:42:51 +08:00
b559e2ccb6
Merge branch 'fix/esp_local_ctrl_header_incl_v5.0' into 'release/v5.0'
...
esp_local_ctrl: Fix header inclusion (v5.0)
See merge request espressif/esp-idf!22134
2023-02-17 19:42:25 +08:00
e5f975c5cf
Merge branch 'fix/revert-sdio-slave-gcc11-workaround_v5.0' into 'release/v5.0'
...
sdio_slave: fix strict aliasing violation for sdio_ringbuf_recv() (v5.0)
See merge request espressif/esp-idf!22404
2023-02-17 19:41:53 +08:00
ca16d12b22
Merge branch 'fix/tools_click_envvar_v5.0' into 'release/v5.0'
...
Tools: Improve idf.py error message when the argument value collides with the environment variable (v5.0)
See merge request espressif/esp-idf!21885
2023-02-17 19:41:39 +08:00
66f5a4a497
Merge branch 'fix/fix_incorrectly_defined_coredump_chip_ver' into 'release/v5.0'
...
espcoredump: fix incorrectly defined coredump chip version (v5.0)
See merge request espressif/esp-idf!21967
2023-02-17 19:41:07 +08:00
188f118c91
Merge branch 'bugfix/env_var_SDKCONFIG_DEFAULTS_fail_with_bootloader_subproject_v5.0' into 'release/v5.0'
...
build_system: stop looking for env var `SDKCONFIG_DEFAULTS` in bootloader subproject (v5.0)
See merge request espressif/esp-idf!21974
2023-02-17 19:39:16 +08:00
78638641a7
Merge branch 'contrib/github_pr_10378_v5.0' into 'release/v5.0'
...
Stop WiFi provisioning in the esp_event thread instead of creating new thread (GitHub PR) (v5.0)
See merge request espressif/esp-idf!22244
2023-02-17 19:36:06 +08:00
8ae1ed57d2
Merge branch 'feature/usb/update_tusb_backport_v5.0' into 'release/v5.0'
...
usb: Update TinyUSB version (backport v5.0)
See merge request espressif/esp-idf!22107
2023-02-17 19:35:23 +08:00
50336c9479
Merge branch 'doc_update_esp32c2_jtag_v5.0' into 'release/v5.0'
...
docs: JTAG debugging update for ESP32C2 (v5.0)
See merge request espressif/esp-idf!22133
2023-02-17 19:34:20 +08:00
0033b02ce5
Merge branch 'fix/efuse-function-declaration_v5.0' into 'release/v5.0'
...
efuse: fix esp_efuse_utility_write_reg() declaration (v5.0)
See merge request espressif/esp-idf!22086
2023-02-17 19:33:22 +08:00
d576146984
Merge branch 'bugfix/tools_json_riscv_gdb_targets_v5.0' into 'release/v5.0'
...
tools: fix RISC-V GDB not being installed for C2, H2 (v5.0)
See merge request espressif/esp-idf!21771
2023-02-17 19:32:24 +08:00
3e5ea5a941
Merge branch 'contrib/github_pr_10391_v5.0' into 'release/v5.0'
...
[Docs] specify Digital Signature byte order, and esp_ds_sign() clarification (GitHub PR) (v5.0)
See merge request espressif/esp-idf!21767
2023-02-17 19:30:58 +08:00
4fc89f445c
Merge branch 'fix/protocomm_kconfig_flag_v5.0' into 'release/v5.0'
...
protocomm: Fix Kconfig flag dependency on wifi_provisioning component (v5.0)
See merge request espressif/esp-idf!22135
2023-02-17 19:26:12 +08:00
33ba447da4
Merge branch 'docs/fix_broken_link_in_mcpwm_API_reference_v5.0' into 'release/v5.0'
...
docs: fix a broken link in mcpwm of API reference (v5.0)
See merge request espressif/esp-idf!22374
2023-02-17 19:08:50 +08:00
38917a36b5
Merge branch 'feature/add_bootloader_sector_pad_option_v5.0' into 'release/v5.0'
...
esptool_py: Added a --pad-to-size flag to align the bootloader image (v5.0)
See merge request espressif/esp-idf!21916
2023-02-17 19:02:52 +08:00
18125ff7b7
coredump: add support for stacks in external RAM
...
Tasks having their stacks in SPIRAM can now be part of the coredump written to flash
2023-02-17 10:39:07 +08:00
886e98a2c1
Merge branch 'bugfix/support_coredump_stack_xtensa_v5.0' into 'release/v5.0'
...
coredump: custom core dump stack is now supported on Xtensa targets (backport v5.0)
See merge request espressif/esp-idf!21804
2023-02-17 10:35:35 +08:00
05086c446e
Merge branch 'update/version_5_0_1' into 'release/v5.0'
...
Update version to 5.0.1
See merge request espressif/esp-idf!22394
2023-02-17 10:34:43 +08:00
7db42d3a40
sdio_slave: fix strict aliasing violation for sdio_ringbuf_recv()
...
This happened because of passing sdio_slave_hal_send_desc_t** to function
sdio_ringbuf_recv() which is declared to have char** as input parameter
2023-02-16 13:48:58 +07:00
4005886b8a
Revert "sdio_slave: workaround the sdio_slave crash issue with release config + GCC11"
...
This reverts commit 19add3fb05
.
2023-02-16 13:48:58 +07:00
99c6be712d
ci: fix ci error
2023-02-16 10:55:50 +08:00
ac47b093f6
esp32c2/rtc: fix 8md256 as rtc slow clk not work properly during deep sleep
2023-02-16 10:55:50 +08:00
eb27e688fb
UT/esp32c2: reenable pm and sleep related UT
2023-02-16 10:54:11 +08:00
2da8497358
UT/esp32c2: reenable rtc clk calibration compensation UT
2023-02-16 10:52:59 +08:00
e109c5f998
esp32c2: support rtc time feature depend on rtc memory, since c2 does not have rtc memory
2023-02-16 10:52:59 +08:00
a4afa44435
versions: Update version to 5.0.1
2023-02-15 12:30:03 +00:00
9b923dfd21
Merge branch 'ci/fix/isort_incompatible_with_py37_v5.0' into 'release/v5.0'
...
ci: fix isort py37 incompatible issue (v5.0)
See merge request espressif/esp-idf!22225
2023-02-15 20:25:28 +08:00
912c82fc5a
freertos: Expand CONFIG_FREERTOS_SMP description
...
This commit adds more details to the CONFIG_FREERTOS_SMP option's description.
2023-02-15 20:16:55 +08:00
1feccdc414
Tools: Allow custom Python installation path with IDF_PYTHON_ENV_PATH
...
IDF_PYTHON_ENV_PATH is the path where the Python environment is created
and used. By default it is inside IDF_TOOLS_PATH. IDF_PYTHON_ENV_PATH
was exported by idf_tools.py but was not imported back. This fixes the
issue and ESP-IDF will honor the value of IDF_PYTHON_ENV_PATH.
Closes https://github.com/espressif/esp-idf/issues/10489
2023-02-15 12:15:46 +01:00
256dd53120
mcpwm: modify wrong config name
2023-02-15 17:55:55 +08:00
1b9df395b0
docs: fix a broken link in mcpwm of API reference
2023-02-15 11:04:01 +08:00
e6862798aa
examples: fix ble address type of adv and scan params
2023-02-14 11:24:11 +08:00
58851cd5cd
bluedroid: support ble privacy by controller
2023-02-14 11:24:02 +08:00
a13b89a043
bluedroid: add params in GATT connect event
2023-02-14 11:23:50 +08:00
78437f48ae
update bt-lib for ESP32
...
fix ble disconnect due to channel map update instant passed
2023-02-14 11:23:01 +08:00
2b665ee327
usb_host: Hub driver skips fetching string descriptors if their index is 0
...
When a USB does not support a particular string dsecriptor (e.g.,
manufacturer, product, and serial number), the string descriptors corresponding
index will be set to 0 in the device descriptor (e.g., iManufacturer, iProduct,
iString).
Previously, the Hub driver would always attempt to fetch the all three string
descriptors, thus leading an error in CHECK_SHORT_SER_STR_DESC if the device
did not support the descriptor.
This commit fixes the Hub drvier by skipping the enumeration stages of a
particular descriptor if its index is 0 (i.e., not supported by the device).
2023-02-13 17:05:11 +05:30
6e9500ad13
usb_host: Fix error when fetching LANGID table
...
USB devices may support string descriptors in multiple languages. The supported
languages are stored in a LANGID table, which itself is a string descriptor at
index 0.
When fetching the LANGID table itself, the USB 2.0 specification does not
specify what LANGID to use, thus the Hub driver would use the default LANGID
"ENUM_LANGID". However, this would cause some devices to stall.
This commit fixes the issue by always requesting the LANGID table itself using
a LANGID of 0.
2023-02-13 17:04:46 +05:30
3f1cff699d
usb_host: Fix interface descriptor parsing
...
Previously the USB host driver did not accept interface number greater or equal bNumInterfaces, even though these are valid interface numbers
2023-02-13 17:03:59 +05:30
dcaaadbbe1
adc: added adc filter migration guide
...
Closes https://github.com/espressif/esp-idf/issues/10663
2023-02-13 17:51:36 +08:00
2db423c62b
Fixed build errors when sniff subrating is enabled.
2023-02-13 17:26:35 +08:00
6e35b1eba3
heap: Fix priority in shex() bit shift
2023-02-13 09:03:32 +01:00
6ed2371bd1
[Logs] print size and caps when malloc fails
2023-02-13 09:02:59 +01:00
d55b870ff2
docs: secure-boot-v2: add a section about secure padding
2023-02-13 13:16:08 +05:30
3beea950b7
docs: refactored Secure Boot V2 documentation
...
- Added "Signing using pre-calculate signatures" section
- Refactored "Signing using an external HSM" section
2023-02-13 13:15:57 +05:30
55c2ac7b96
docs: fix rst external links with wrong format
2023-02-13 12:05:21 +08:00
935661ba4a
esp_http_server: fix return values for httpd_socket_send()
and httpd_socket_recv()
APIs
...
Closes https://github.com/espressif/esp-idf/issues/10658
2023-02-10 10:57:05 +05:30
7f15980de9
sleep: fix gpio wakeup not working properly in some cases
...
Before this fix, when we call esp_pm_configure after gpio_wakeup_enable,
the configuration of GPIO in sleep state in gpio_wakeup_enable will be
overwritten by esp_pm_configure.
2023-02-09 17:32:13 +08:00
50feb8f75b
soc_caps: remove SOC_GPIO_SUPPORT_SLP_SWITCH
...
all esp chips support this feature
2023-02-09 17:29:40 +08:00
33afa9a14a
docs: fix broken link in fatfs doc
2023-02-09 16:10:57 +08:00
60f678b736
Use correct recursive mutex for env and regular mutex for tz
2023-02-09 16:02:50 +08:00
bddbd66e13
esp_phy: fix phy init when SW restart
2023-02-09 15:11:44 +08:00
de8409fa88
gptimer: acquire pm lock for xtal clock source
2023-02-09 14:10:15 +08:00
f136f16f72
wpa_supplicant: Enable ECC test case
2023-02-08 21:35:49 +05:30
131faba944
mbedtls/ecp: Fix incorrect ECP parameter value
...
- Add sanity checks in mbedtls port
- Add ECP test cases covering shorter scalar values
2023-02-08 21:35:49 +05:30
5de3f74f5e
touch_sensor: fix touch_sensor_v1 filter issue
2023-02-08 14:32:36 +08:00
42dad0c541
Bluetooth/NimBLE : Fixed clearing connection_handle[] after disconnect event
2023-02-08 10:56:16 +05:30
9892fb760b
touch: move unit tests to test_app
2023-02-08 12:26:27 +08:00
e51845d04c
touch: update touch-related code to compile without -Wno-format flag
2023-02-08 12:23:40 +08:00
173118d2b3
docs: make s3 octal flash error handling clearer
2023-02-08 12:16:10 +08:00
d1abf90854
wifi_mesh: Remove-Wno-format compile option for mesh examples
2023-02-07 11:50:51 +08:00
c9ce87a1a9
Clean up wifi provisioning in the esp_event thread
...
Signed-off-by: Laukik Hase <laukik.hase@espressif.com >
2023-02-06 18:31:11 +05:30
d764b863f6
ci: fix isort py37 incompatible issue
2023-02-06 10:31:24 +08:00
699dde8a38
Fixed the bluedroid hci crash due insufficient memory on ESP32C2
2023-02-03 20:41:23 +08:00
a16896af68
bt: fix SDP event status overwritten by handle
2023-02-02 20:13:52 +08:00
5b19866eb8
Nimble: Fix runtime assertion in bleprph due to two disconnect events
2023-02-02 17:38:39 +05:30
885e501d99
Merge branch 'feature/remove_80m_ddr_warning_v5.0' into 'release/v5.0'
...
mspi: remove mspi 80m ddr mode warning regarding to timing tuning (v5.0)
See merge request espressif/esp-idf!21904
2023-02-01 18:24:11 +08:00
f6e8a4ea90
wpa_supplicant : Prevent h2e config overwrite
...
Current esp_wifi_get_config doesn't return correct value of h2e config which will cause h2e config to be overwritten in Station connected handler.
Add one preventative condition to take care of this.
2023-02-01 12:51:12 +05:30
a36991d7a9
wpa_supplicant : fix invalid de-init of last_scan_res_used
...
During the wifi deinit last_scan_res_used is not set to 0 which will cause it be used directly after reinit.
Added changes which will set it to 0 during init and deinit.
2023-02-01 12:39:23 +05:30
0ec506961e
wpa_supplicant : Correct scan results for GCMP RSN
...
Fixed a typo which was causing scan results for GCMP not showing correctly
2023-02-01 12:39:11 +05:30
5213664cea
wpa_supplicant:Fix potential null pointer dereference
2023-02-01 12:06:42 +05:30
6b8d4dfe14
gdma: prevent mutli-channels connect to the same peripheral
...
1. add check in the gdma driver, to prevent multiple channels connecting
to the same peripheral
2. memory copy DMA ID will occupy the peripheral's DMA ID on some ESP
targets (e.g. esp32c3/s3). We should search for a free one when
install async memcpy driver.
Closes https://github.com/espressif/esp-idf/issues/10575
2023-02-01 11:06:48 +08:00
ac05d033b9
gdma: correct the dma trigger of uart
...
GDMA trigger actually is not assigned to UART controller, but for UHCI
controller
2023-02-01 11:02:24 +08:00
41fd87fd89
heap: Modify the memory type of the memory used as startup stack when memory protection is enabled
...
If memory protection is enabled on esp32c3 and esp32s3, we don't want to the heap component to see
the startup stack memory as D/IRAM but as DRAM only. Introduce a new type to make this possible in
the same fashion the regular D/IRAM regions are handled.
2023-01-31 07:40:20 +01:00
9fd62d547c
spi_flash: fix flash function arg_check with spi host_id
2023-01-30 10:33:17 +08:00
d51f4583a4
spi: fix micro SPI_HOST_MAX error
...
Closes https://github.com/espressif/esp-idf/issues/10349
2023-01-29 16:24:59 +08:00
67f78a03ae
docs: ignore xtensa isa-summary during linkcheck
2023-01-29 11:45:41 +08:00
e60d82463b
protocomm: Fix Kconfig dependency on wifi_provisioning
component config
...
- `protocomm` depends on a config option `CONFIG_WIFI_PROV_BLE_FORCE_ENCRYPTION`
from `wifi_provisioning`; however, a lower layer component (`protocomm`) should
not have any `#ifdef` guard dependent on an upper layer component (`wifi_provisioning`).
- Added a new `ble_link_encryption` flag in `protocomm_ble_config_t` to manage the same
Closes https://github.com/espressif/esp-idf/issues/9443
2023-01-26 12:57:19 +05:30
09c0b58b97
esp_local_ctrl: Fix header inclusion
...
- Included `sdkconfig.h` and HTTP/S server based headers
explicitly
2023-01-26 12:53:02 +05:30
c9af189b59
docs: JTAG debugging update for ESP32C2
2023-01-25 22:17:51 +01:00
3ca447956c
mbedtls: fix null pointer dereference of variable iv_off
...
iv_off gets dereferenced before being check for NULL
2023-01-25 15:32:56 +05:30
79fb21952e
mbedtls/port: refactor sanity checks and their return values
...
Refactored and returned correct error codes for sanity checks
present in port layer esp_aes.c and esp_aes_gcm.c
2023-01-25 15:30:20 +05:30
7e00b1f356
mbedtls/port: added stream_block parameter sanity check
2023-01-25 15:30:20 +05:30
e8fcb93d0f
bootloader_support(esp32c2): Fix esp_secure_boot_cfg_verify_release_mode API
...
When FE and SB keys are set then:
- 128 low bits are read protected
- 128 hi bits are readable
2023-01-24 18:21:37 +08:00
c4fd8a9114
tools: fix idf.py gdb memory access before remote target is connected
...
Currently loading of esp32s3 ROM ELF symbols fails with
"Cannot access memory at address 0x3ff194ad". Let's perform
add-symbol-file after connection to the target.
Signed-off-by: Frantisek Hrbata <frantisek.hrbata@espressif.com >
2023-01-24 09:58:04 +01:00
905f9bf25f
examples(efuse): Set CONFIG_SECURE_ENABLE_SECURE_ROM_DL_MODE
...
For efuse example test, we set CONFIG_SECURE_ENABLE_SECURE_ROM_DL_MODE=y
by default because in the python test we expect secure boot is in RELEASE mode
2023-01-24 16:27:05 +08:00
1cb0472520
bootloader_support(esp32c2): Fix WR_DIS_RD_DIS burn for secure boot key
...
SB key is left readable, the corresponding bit in RD_DIS is unset.
We set write-protection for RD_DIS to ensure that the SB key is always readable.
2023-01-23 21:35:31 +08:00
07bf145e06
doc: Update hmac article
2023-01-23 21:03:00 +08:00
5d37e26d35
security: Adds new APIs to check that all eFuse security features are enabled correctly
2023-01-23 21:02:55 +08:00
7a23bf19be
esp_hw_support(esp32): If the MAC_FACTORY CRC check fails, then esp_efuse_mac_get_default returns INVALID_CRC instead of abort
...
Closes https://github.com/espressif/esp-idf/issues/10401
2023-01-23 20:02:16 +08:00
80626f17c0
usb: Update TinyUSB version
2023-01-20 09:17:04 +01:00
ebb7650e63
bluetooth: fix that functions "coex_enable" and "coex_disable" are not used in pairs on ESP32-C3, ESP32-S3 and ESP32-C2
2023-01-20 10:47:58 +08:00
fa46e1b491
efuse: fix esp_efuse_utility_write_reg() declaration
2023-01-19 14:29:26 +07:00
69f500c680
bugfix: Fix windows path case sensitivity
...
This commit fixes an issue where paths on Windows are case insensitive, for instance when setting the build folder its name would be converted to lowercase.
The culprit is our realpath() function, that was calling os.path.normcase() internally, since we are removing that call it makes sense to just remove the function entirely and call os.path.realpath() wherever necessary.
Closes https://github.com/espressif/esp-idf/issues/10282
2023-01-18 11:25:25 +01:00
e7eccf7ed0
Nimble: Fix compilation issue for examples for esp32c6 and esp32h4
2023-01-17 10:25:32 +05:30
4da5d3e7a5
Nimble: Updated ble_l2cap_coc example
...
1. Corrected format
2. Fixed double free of memory issue in case of disconnection
3. Updated sdkconfig.default file to have correct value for
COC_MAX_NUM configuration setting
2023-01-17 10:19:18 +05:30
c41bb46d92
Merge branch 'bugfix/ledc_glb_clk_compiler_warning_v5.0' into 'release/v5.0'
...
ledc: Fix -Werror=maybe-uninitialized warning on glb_clk variable on ESP32 (v5.0)
See merge request espressif/esp-idf!21941
2023-01-17 10:30:11 +08:00
5aa55ffc34
mcpwm: support not reset GPIO config at exit
...
By default, the driver will reset the GPIO used by the MCPWM capture
channel at exit. But in some special use cases, the same gpio may also
be used by another device, which shares the same gpio configuration,
resetting the gpio is not expected.
Closes https://github.com/espressif/esp-idf/issues/10327
2023-01-16 11:22:58 +08:00
1884442a80
rmt: no auto light sleep if xtal is working as the clock source
2023-01-16 10:20:40 +08:00
e894e9d68f
Merge branch 'bugfix/clear_pmk_cache_for_missing_reason_codes_v5.0' into 'release/v5.0'
...
Fix missing disconnected callback (Backport v5.0)
See merge request espressif/esp-idf!22042
2023-01-14 10:23:02 +08:00
4d9d8c5eca
examples/spi_lcd_touch: Fixed colors on ILI9341.
...
(cherry picked from commit 0ea1317983
)
2023-01-13 13:42:30 +01:00
e4f5fe72d0
esp_wifi: Fix missing disconnected callback
2023-01-13 13:27:32 +05:30
fbeedbc238
Merge branch 'bugfix/prevent_open_auth_sae' into 'release/v5.0'
...
Fix SAE open auth and PMK issues (Backport v5.0)
See merge request espressif/esp-idf!21852
2023-01-13 15:51:56 +08:00
86aa89c532
esp_wifi: Add check for wps start state
2023-01-12 17:01:58 +05:30
179a2717c0
Merge branch 'bugfix/esp_netif_ip_reconnect_v5.0' into 'release/v5.0'
...
esp_netif: Post IP event for PPP netifs unconditionally (v5.0)
See merge request espressif/esp-idf!21670
2023-01-12 16:21:26 +08:00
42bf734139
Merge branch 'bugfix/esp32s3_int_wdt_v5.0' into 'release/v5.0'
...
system: disable interrupts in esp_restart_noos_dig to fix infinite int_wdt on ESP32-S3 (v5.0)
See merge request espressif/esp-idf!21769
2023-01-12 16:19:27 +08:00
96db537020
Merge branch 'feature/apply_new_version_logic_v5.0' into 'release/v5.0'
...
all: Apply new version logic (major * 100 + minor) (v5.0)
See merge request espressif/esp-idf!20941
2023-01-12 16:18:23 +08:00
6988e82430
Merge branch 'feature/esp_http_server_esp_events_v5.0' into 'release/v5.0'
...
esp_http_server: Added support for esp_events (v5.0)
See merge request espressif/esp-idf!21844
2023-01-12 12:40:12 +08:00
00d5130b65
Merge branch 'fix/wifi_prov_scan_method_v5.0' into 'release/v5.0'
...
Changed wifi provisioning scan method (v5.0)
See merge request espressif/esp-idf!21854
2023-01-12 12:39:20 +08:00
ef5465b3d9
Merge branch 'feature/gcm_operation_using_ctr_based_calculation_v5.0' into 'release/v5.0'
...
GCM operation optimisation (v5.0)
See merge request espressif/esp-idf!21856
2023-01-12 12:38:42 +08:00
31f239c22f
Merge branch 'bugfix/esp_tls_timeout_v5.0' into 'release/v5.0'
...
esp_tls: Fix issue when timeout is not explicitly given in esp_tls_cfg_t (v5.0)
See merge request espressif/esp-idf!21743
2023-01-12 12:37:58 +08:00
bc918310c2
Merge branch 'esp_local_ctrl/fix_https_server_dep_v5.0' into 'release/v5.0'
...
esp_local_ctrl: Add support for insecure HTTP server transport (v5.0)
See merge request espressif/esp-idf!21815
2023-01-12 12:37:26 +08:00
e0f215811e
Merge branch 'bugfix/remove_s3_dis_boot_remap_efuse_bit_v5.0' into 'release/v5.0'
...
docs: remove mention of DIS_BOOT_REMAP for chips other than ESP32-S2 (v5.0)
See merge request espressif/esp-idf!21809
2023-01-12 12:36:47 +08:00
870f4efa0d
adc: make adc_channel.h macros work with ng driver
...
Closes https://github.com/espressif/esp-idf/issues/10508
2023-01-12 11:15:57 +08:00
18e6fa945e
wpa_supplicant: Set PMK from PMKSA incase of caching
2023-01-11 11:17:02 +05:30
677c813137
esp_wifi: Fix open auth issue after commit message exchange
2023-01-11 11:16:13 +05:30
13eb2e8dae
Merge branch 'bugfix/remove_sha384_hash_for_bigger_certs_v5.0' into 'release/v5.0'
...
esp_wifi: remove sha384 hash for cert size > 2k (v5.0)
See merge request espressif/esp-idf!21963
2023-01-11 10:35:58 +08:00
72bae2b873
Merge branch 'doc/add_esp_now_change_to_migration_guides_v5.0' into 'release/v5.0'
...
doc: add esp now changes to migration guides
See merge request espressif/esp-idf!21787
2023-01-11 10:35:20 +08:00
1db1a5f17e
Removed sha384 hash for certs > 2k
2023-01-10 13:14:21 +00:00
4d5e324844
Merge branch 'bugfix/avoid_ftm_initiator_mode_on_softap_v5.0' into 'release/v5.0'
...
Avoid ftm initiator mode on softap (Backport v5.0)
See merge request espressif/esp-idf!21772
2023-01-10 14:26:36 +08:00
9f01d9aa2c
build_system: stop looking for sdkconfig file specified by env var SDKCONFIG_DEFAULTS
in bootloader subproject
2023-01-10 09:48:59 +08:00
3c1ac62969
mbedtls: GCM implementation is replaced with CTR-based calculation
...
- GCM operation in mbedtls used ECB, which calculated only 16 bytes of data each time.
- Therefore, when processing a large amount of data, it is necessary to frequently set hardware acceleration calculations,
- which could not make good use of the AES DMA function to improve efficiency.
- Hence, GCM implementation is replaced with CTR-based calculation which utilizes AES DMA to improve efficiency.
2023-01-09 18:37:07 +05:30
f111ed2d9a
mbedtls: fix esp_aes_gcm_update_ad()
API implementation
...
Closes IDFGH-10467
2023-01-09 18:35:25 +05:30
065e121451
espcoredump: fix incorrectly defined coredump chip version
2023-01-09 19:54:01 +08:00
cc159dfc5b
usb: Fix incorrect bmRequestType direction flag in USB Host Library
...
usb_host_transfer_submit_control() uses the incorrect bmRequestType direction
flag. Therefore, when doing a transfer check, all transfers were mistakenly
treated as OUT transfers (only affects transfer check and not actual transfer).
2023-01-09 17:56:06 +08:00
ff4e4f4c80
hal: Fix USB DWC HAL host channel halt race condition
...
This commit fixes a race condtion bug with usb_dwc_hal_chan_request_halt()
where a channel the channel is halted if it has just completed a transfer
(i.e., finished processing a QTD with the "HOC" flag set) but the channel is
still pending interrupt handling. In this case...
- usb_dwc_hal_chan_request_halt() would simply read the channel's underlying
register, determine it is not active, not set the "halt_requested" flag, and
simply return true.
- The caller assumes of usb_dwc_hal_chan_request_halt() will assume that the
channel has halted, and may proceed to reconfigure the pipe/port
- When usb_dwc_hal_chan_decode_intr() comes to process the pending interrupt
it will simply return USB_DWC_HAL_CHAN_EVENT_CPLT not knowing a halt has been
requested.
This commit updates the implementation of usb_dwc_hal_chan_request_halt() so
that a halt is properly requested even if the underlying channel has already
physically halted.
2023-01-09 17:55:48 +08:00
05f30c1052
usb: Refactor USB Host tests
...
* USB tests migrated to pytest
* Error messages improved
* Configurable for different mock devices
2023-01-09 17:55:20 +08:00
b4f281f523
tinyusb: Add TinyUSB example tests
2023-01-09 17:55:02 +08:00
8d85a76a74
usb_host: Rename struct/ll/hal symbols to use "usb_dwc" prefix
...
Following the file renaming to use the "usb_dwc" prefix, this commit
updates the symbol names of those files to use the "usb_dwc" as well.
Some LL functions were also renamed so that the register name is
mentioned.
2023-01-09 17:48:09 +08:00
da91dbccfa
usb_host: Rename struct/ll/hal files to use "usb_dwc" prefix
...
This commit updates the DWC_OTG based struct/ll/hal file names to
use the prefix "usb_dwc". This naming scheme reduces ambiguity if
another USB controller implementation is added.
As a result, "hcd.c" has been renamed to "hcd_dwc.c"
2023-01-09 17:47:42 +08:00
ae7c8de4a7
mcpwm: support non-varg version of generator functions
...
Closes https://github.com/espressif/esp-idf/issues/10449
2023-01-09 15:09:40 +08:00
e8386ed732
ledc: Fix -Werror=maybe-uninitialized warning on glb_clk variable on specific kconfig options selected
...
Closes https://github.com/espressif/esp-idf/pull/9025
Closes https://github.com/espressif/esp-idf/issues/10322
2023-01-07 17:29:45 +08:00
d2ddb4b5e1
test_apps(gdb): Updates the chip version format (vX.Y)
2023-01-06 02:00:52 +08:00
ac068eed34
esp32c2: fixed chip revision of ECO2
2023-01-06 02:00:52 +08:00
0c0049b5e4
tools: Update check_copyright_ignore.txt
2023-01-06 02:00:52 +08:00
9538f9c5ff
ci: Fix environment variable IDF_CI_BUILD is not set
2023-01-06 02:00:52 +08:00
d130b5b6ba
esp_hw_support: Removes esp32c2 eco2 support
2023-01-06 02:00:52 +08:00
df9e24a8ca
bootloader_support: Fix iram_loader_seg overflow for ESP32-S2 when -O0
2023-01-06 02:00:52 +08:00
ada85449f1
docs: update CN translation for system.rst
2023-01-06 02:00:52 +08:00
bb0c26c233
esp32c2: put v2.0 back to development stage
2023-01-06 02:00:52 +08:00
823024c10c
all: Apply new version logic (major * 100 + minor)
2023-01-06 02:00:52 +08:00
536825dda1
esptool_py: Added a sector-pad option for bootloader image
...
When SECURE BOOT V2 is enabled and CONFIG_SECURE_BOOT_SIGNED_BINARIES
is not set, sector-pad the bootloader image, which is required for an
external PKCS#11 interface to generate a signature.
2023-01-05 13:39:57 +05:30
d9efa662c8
esp_hw_support: support riscv call
2023-01-05 15:58:37 +08:00
8e6dfb8af4
soc: H2(beta) support SOC_PM_SUPPORT_DEEPSLEEP_CHECK_STUB_ONLY
2023-01-05 15:56:20 +08:00
7585e86a05
esp_rom: update H2 and C2 rom rtc.h
2023-01-05 15:52:49 +08:00
698be13236
mspi: remove mspi 80m ddr mode warning regarding to timing tuning
2023-01-05 11:50:57 +08:00
a032c6ea3b
docs: update cn trans for flash-encryptions
2023-01-04 21:29:40 +05:30
7860662a93
docs: remove mention of DIS_BOOT_REMAP for chips other than ESP32-S2
...
Relevant: https://esp32.com/viewtopic.php?f=13&t=31188
2023-01-04 21:29:33 +05:30
a68fad98ed
Fixed task watchdog trigger issue when closed hci uart
2023-01-04 15:30:32 +08:00
249fde21e5
esp_hw_support: allow writing in IRAM when CONFIG_ESP_SYSTEM_PMP_IDRAM_SPLIT is not set for esp32C2
...
when CONFIG_ESP_SYSTEM_PMP_IDRAM_SPLIT is not set, the PMP rule for esp32c2 shoud allow write access.
Fix esp_cpu_configure_region_protection() in cpu.c accordingly.
2023-01-04 07:51:46 +01:00
4c6aad37f6
Fixed crash caused by accessing nullptr in btm_acl_disconnected
2023-01-04 11:46:04 +08:00
6b0a64d722
Fixed hci uart flow ctrl error on ESP32-C2 and ESP32-H4
2023-01-04 09:59:32 +08:00
0883101f7f
Tools: Improve idf.py error message when the argument value collides with the environment variable
...
Closes https://github.com/espressif/esp-idf/issues/10475
2023-01-03 19:00:48 +01:00
327bf0d608
heap: RE-enable ESP32C2 test in test_apps
2023-01-03 09:52:33 +01:00
4175dd7a56
newlib: Update the esp32c2 config default to avoid RTC related test to not run on esp32c2
...
Set CONFIG_NEWLIB_TIME_SYSCALL_USE_HRT to enable to force CONFIG_ESP_TIME_FUNCS_USE_RTC_TIMER to disable
and hence prevent the following tests from being executed:
- Timestamp after abort is correct in case RTC & High-res timer have + big error
- Timestamp after restart is correct in case RTC & High-res timer have + big error
- Timestamp after restart is correct in case RTC & High-res timer have - big error
2023-01-03 08:37:28 +01:00
3711a032ff
esp-hw-support: fix interrupt allocation tests on esp32c2
...
A part of the test 'Can allocate IRAM int only with an IRAM handler' was to
allocate an intr with the handler in RTC memory which is not supported by esp32c2.
A condition was added to prevent this part of the test to execute on esp32c2 targets.
2023-01-03 07:52:07 +01:00
f244a8b209
ulp-riscv: ULP RISC-V I2C example gets stuck on esp32s2
...
This commit fixes an issue where in the ULP RISC-V I2C example causes
a spurious wakeup of the main CPU because of a Trap signal when the ULP
core does not meet the wakeup threshold values. This was due to the fact
that the RTC_CNTL_COCPU_DONE signal was being set before the
RTC_CNTL_COCPU_SHUT_RESET_EN signal which was causing the the ULP RISC-V
core to not reset properly on each cycle.
Closes https://github.com/espressif/esp-idf/issues/10301
2023-01-02 14:21:24 +01:00
40f2caa950
mbedtls: fix esp_aes_crypt_ctr writing to null stream block
2023-01-02 12:02:47 +05:30
ea07ce9367
mbedtls: added SOC_AES_SUPPORT_AES_192 check in esp_aes_gcm_setkey()
2023-01-02 12:02:47 +05:30
d1d273bece
test_aes_gcm: fix output_size paramter in mbedtls_get_update()
...
mbedtls_get_update() returned MBEDTLS_ERR_GCM_BUFFER_TOO_SMALL,
as 0 used to get passed in the output_size paramter.
2023-01-02 12:02:47 +05:30
1c0e11efc0
mbedtls: populate mbedtls_gcm_update() output_length paramater
2023-01-02 12:02:47 +05:30
9067214f33
Changed wifi provisioning scan method
...
Signed-off-by: sanket.wadekar <sanket.wadekar@espressif.com >
2022-12-31 18:09:45 +05:30
1a39a17777
esp_http_server: Added support for esp_events
2022-12-29 18:08:38 +05:30
524f1195bf
sleep: fix sleep time inaccurate bug when select 8MD256 as rtc slow clock on ESP32
...
Related to: https://github.com/espressif/esp-idf/issues/6687
2022-12-28 15:33:20 +08:00
7279244f8c
esp_local_ctrl: Add support for insecure HTTP server transport
2022-12-28 11:17:10 +05:30
72e637750e
Nimble: Removes global min/max definition causing problems with other libraries
2022-12-28 10:17:10 +05:30
eb66430793
coredump: custom core dump stack is now supported on Xtensa targets
2022-12-26 12:07:58 +01:00
824d869bb4
ble_mesh:example:change position of vendor model and generic onoff model callback
2022-12-26 17:26:15 +08:00
27f3a3195d
doc: add esp now changes to migration guides
2022-12-23 19:11:06 +08:00
bedfc5063d
esp_pm: Fix string formatting type errors
...
This commit fixes a string formatting error in esp_pm with CONFIG_PM_PROFILING
is enabled.
Closes https://github.com/espressif/esp-idf/issues/10347
2022-12-23 15:04:13 +08:00
4be58114dc
esp_pm: Fix build error when CONFIG_PM_PROFILING is enabled
2022-12-23 15:04:08 +08:00
ebb8d0b3b2
esp_wifi: Remove -Wno-format compile option for FTM example, iperf example, roaming example
2022-12-23 11:14:12 +08:00
d93b7246b0
i2s: fixed rx update stuck bug
2022-12-23 10:45:51 +08:00
506f7d0d8e
tools: fix RISC-V GDB not being installed for C2, H2
2022-12-22 11:42:29 +01:00
002e21bda4
esp_wifi:Update wifi libs
...
1. Avoid ftm initiator mode on softap
2. Fix home channel issue in ftm for apsta mode
3. Fix int overflow for T1-T4 counter variable
2022-12-22 16:10:28 +05:30
acb2397341
gdb stub: re-enable for ESP32-C2
2022-12-22 11:39:02 +01:00
35135d7b29
system: disable interrupts in esp_restart_noos_dig
2022-12-22 11:34:38 +01:00
af01082a56
doc: update wifi amsdu docs
2022-12-22 18:32:03 +08:00
caf794ad26
[Docs] specify Digital Signature byte order, and esp_ds_sign() clarification
2022-12-22 15:41:30 +05:30
490216a2ac
Merge branch 'bugfix/fix_httpd_req_cleanup_v5.0' into 'release/v5.0'
...
esp_http_server: fix wrong context pointer in httpd_req_cleanup function (v5.0)
See merge request espressif/esp-idf!21731
2022-12-22 10:22:06 +08:00
d64e8f5caf
Merge branch 'bugfix/fix_test_failure_in_test_phy_multi_init_data_bin_issue_v5.0' into 'release/v5.0'
...
esp_phy: add country code 01 to country code map type table(Backport v5.0)
See merge request espressif/esp-idf!21749
2022-12-22 09:35:25 +08:00
244e51fca7
Merge branch 'examples/remove_wno_format_compile_option_v5.0' into 'release/v5.0'
...
protocols/security: Remove `-Wno-format` compile option for examples (v5.0)
See merge request espressif/esp-idf!21742
2022-12-21 23:51:52 +08:00
9fa8329148
Merge branch 'feature/emac_buff_v5.0' into 'release/v5.0'
...
esp_eth: receive buffer allocation optimization (v5.0)
See merge request espressif/esp-idf!21547
2022-12-21 23:35:30 +08:00
e6b3038cbd
Merge branch 'docs/update_esp_https_ota_docs_for_esp_events_v5.0' into 'release/v5.0'
...
docs: Update esp_https_ota docs to have information about OTA events (v5.0)
See merge request espressif/esp-idf!21733
2022-12-21 20:59:41 +08:00
94d2040ba7
esp_phy: add country code 01 to country code map type table
2022-12-21 20:00:36 +08:00
205ca920bf
Merge branch 'contrib/github_pr_10199_v5.0' into 'release/v5.0'
...
Removed the 'configASSERT( xInheritanceOccurred == pdFALSE )' assertion from xQueueSemaphoreTake (GitHub PR)(v5.0)
See merge request espressif/esp-idf!21500
2022-12-21 19:56:13 +08:00
27bc387512
Merge branch 'bugfix/free_osmbuf_l2cap_v5.0' into 'release/v5.0'
...
Nimbe: L2CAP COC example - Fixed freeing up of same memory address twice. (v5.0)
See merge request espressif/esp-idf!21724
2022-12-21 19:25:08 +08:00
26fb8cb6ef
Merge branch 'bugfix/nimble_remove_wno_format_v5.0' into 'release/v5.0'
...
Nimble: Remove `-Wno-format` compile option for nimble examples (v5.0)
See merge request espressif/esp-idf!21730
2022-12-21 19:13:42 +08:00
4a0708fe61
Merge branch 'fix/clear_cur_pmksa_v5.0' into 'release/v5.0'
...
Clear current pmksa before generating RSN IE (Backport v5.0)
See merge request espressif/esp-idf!21690
2022-12-21 19:06:07 +08:00
3bd8a8e890
Merge branch 'bugfix/remove_-Wno-formate_in_ble_mesh_examples_v5.0' into 'release/v5.0'
...
ble_mesh: example: Remove -Wno-format compile option for BLE Mesh examples(v5.0)
See merge request espressif/esp-idf!21675
2022-12-21 18:32:13 +08:00
c541b9082e
Merge branch 'contrib/github_pr_10027_v5.0' into 'release/v5.0'
...
[Panic] also print to secondary USB Serial/JTAG Console (GitHub PR) (v5.0)
See merge request espressif/esp-idf!21021
2022-12-21 17:15:04 +08:00
081e2ac97e
esp_tls: Fix issue when timeout is not explicitly given in esp_tls_cfg_t
...
- If internet connectivity weakened or disappeared suddenly while we were
in the TLS handshake stage, the app got stuck at that point indefinitely.
- This was because when timeout was not explicitly specified in esp_tls_cfg_t,
the default timeout was set at the wrong place. This causes the sockets to be
setup with zero timeout, hence the indefinite wait.
2022-12-21 14:42:33 +05:30
73ea8543e3
protocols/security: Remove -Wno-format
compile option for examples
2022-12-21 14:39:46 +05:30
5efbb7171d
Merge branch 'bugfix/sdmmc_target_test_v5.0' into 'release/v5.0'
...
ci: add missing target-test jobs for sdcard and extflash examples (v5.0)
See merge request espressif/esp-idf!21700
2022-12-21 17:03:55 +08:00
20d4335d60
Merge branch 'fix/sdspi_no_cs_v5.0' into 'release/v5.0'
...
sdspi: Allow CS line to be set to GPIO_NUM_NC (-1) (v5.0)
See merge request espressif/esp-idf!20915
2022-12-21 16:37:25 +08:00
83896d877a
docs: Update esp_https_ota docs to have information about OTA events
2022-12-21 10:39:35 +05:30
a5ee1504f8
esp_http_server: fix wrong context pointer in httpd_req_cleanup function
...
Added example which fails without the fix
Closes https://github.com/espressif/esp-idf/issues/10265
2022-12-21 10:32:34 +05:30
cbf8cf77c2
Nimble: Fixed compilation issues in nimble examples after removing "-Wno-format" option
2022-12-21 10:18:57 +05:30
823b6c8f56
wpa_supplicant: Clear current pmksa before generating RSN IE
...
Also update wifi libs with below changes -
- Fix reason codes for Invalid PMKID
- Fix handling of Assoc Resp status codes for Station
2022-12-21 11:51:48 +08:00
25eb1f0c6e
Merge branch 'bugfix/some_wifi_fixes_v5.0' into 'release/v5.0'
...
esp_wifi: update wifi lib to latest master for v5.0
See merge request espressif/esp-idf!21680
2022-12-21 10:50:49 +08:00
594dd810f1
Merge branch 'bugfix/esp_lcd_modify_bounce_buffer_index_v5.0' into 'release/v5.0'
...
RGB LCD: support multi frame buffer in bounce buffer mode (v5.0)
See merge request espressif/esp-idf!21660
2022-12-21 10:48:18 +08:00
8300f0e52a
Merge branch 'contrib/github_pr_10304_v5.0' into 'release/v5.0'
...
Fixed mismatch in printf types (GitHub PR) (v5.0)
See merge request espressif/esp-idf!21706
2022-12-20 21:22:51 +08:00
6972b61ea5
Merge branch 'staging/esp_static_assert_v5.0' into 'release/v5.0'
...
C/Cxx: unify static assertions with the macro ESP_STATIC_ASSERT (backport v5.0)
See merge request espressif/esp-idf!21695
2022-12-20 20:53:02 +08:00
5c50cbc18e
L2CAP COC example : Fixed freeing up of same memory address twice.
2022-12-20 18:04:00 +05:30
fca1b1dd58
ble_mesh: example: Remove -Wno-format compile option for BLE Mesh examples
2022-12-20 10:57:39 +00:00
83e2cf1a68
Merge branch 'staging/riscv_wrapper_freertos_tasks_v5.0' into 'release/v5.0'
...
RISC-V: Create a wrapper around FreeRTOS Tasks to detect the ones returning (backport v5.0)
See merge request espressif/esp-idf!21202
2022-12-20 16:34:13 +08:00
39cadc7e46
Queue Send fix
...
Fixes rare deadlock on heavy loaded multicore-systems.
2022-12-20 08:30:53 +00:00
3b20f9fbc2
Merge branch 'doc/cpu_breakpoint_watchpoint_num_v5.0' into 'release/v5.0'
...
docs: fix the number of breakpoints and watchpoints for RISC-V chips (v5.0)
See merge request espressif/esp-idf!21703
2022-12-20 16:29:58 +08:00
74b340391a
Merge branch 'doc/opt_esp32_eco3_v5.0' into 'release/v5.0'
...
docs: mention that increasing ESP32_REV_MIN can reduce IRAM size (v5.0)
See merge request espressif/esp-idf!21701
2022-12-20 16:27:33 +08:00
a0c6c1ff34
Merge branch 'bugfix/update_docs_for_secure_dl_mode_v5.0' into 'release/v5.0'
...
docs: Fix Secure DL mode documentation about flash read being unsupported (v5.0)
See merge request espressif/esp-idf!21653
2022-12-20 13:56:59 +08:00
c173845ff3
Merge branch 'feature/tlsf-dynamic-control-size_v5.0' into 'release/v5.0'
...
heap: Update to the new tlsf implementation of dynamic metadata size (backport v5.0)
See merge request espressif/esp-idf!20774
2022-12-20 13:51:07 +08:00
133184b59f
Merge branch 'bugfix/flush_pmksa_entry_after_disconnect_v5.0' into 'release/v5.0'
...
Fix PMK caching related regression (Backport v5.0)
See merge request espressif/esp-idf!21698
2022-12-20 13:47:37 +08:00
fd844f092d
Merge branch 'ci/fix_example_test_ip_issues_5.0' into 'release/v5.0'
...
Ci: fix example test ip related issues
See merge request espressif/esp-idf!21708
2022-12-20 13:46:56 +08:00
50ec3e0145
CI: fix ethernet throughput test
2022-12-20 11:26:43 +08:00
afc433114e
CI: fix ipv6 test failed on some runners
2022-12-20 11:26:32 +08:00
7dae4181a8
Merge branch 'bugfix/fix_some_ble_bugs_by_cjh_v5.0' into 'release/v5.0'
...
Fixed some BLE bugs (backport v5.0)
See merge request espressif/esp-idf!21682
2022-12-20 11:14:48 +08:00
cf88b7a743
Merge branch 'bugfix/fix_ble_some_bugs_20221219' into 'release/v5.0'
...
backport some BLE bugs 20221219 (backport v5.0)
See merge request espressif/esp-idf!21697
2022-12-20 10:52:53 +08:00
368ede2eb4
Merge branch 'bugfix/spp_vfs_memory_leak_v5.0' into 'release/v5.0'
...
Component_bt/fix esp_spp_vfs_register memory leak(v5.0)
See merge request espressif/esp-idf!21678
2022-12-20 10:37:10 +08:00
66703dc788
Merge branch 'feature/spiflash_override_cmake_function_v5.0' into 'release/v5.0'
...
build system: Add spi_flash_add_link_dependency function for spi_flash custom driver (v5.0)
See merge request espressif/esp-idf!21705
2022-12-20 06:19:07 +08:00
ecd599872e
Merge branch 'bugfix/fix_esp32s3_diram_calculation_v5.0' into 'release/v5.0'
...
Tools: Fix diram size calculation (v5.0)
See merge request espressif/esp-idf!21669
2022-12-20 00:35:18 +08:00
0ce97d88c2
Fixed mismatch in printf types
...
Removed duplicate `l` in format
Updated print types
Updated CMake
2022-12-19 15:42:13 +01:00
e760a54e37
docs: update CN translation for build-system.rst
2022-12-19 15:25:30 +01:00
8468ea3dcc
build system: Add idf_component_add_link_dependency function, use for spi_flash overriding
2022-12-19 15:25:30 +01:00
ac2ac0c705
CI: check_public_headers script will detect the use of static asserts in headers
...
When a public header contains _Static_assert or static_assert, check_public_headers.py script will detect it and report it as an issue.
Indeed, public headers shall now use ESP_STATIC_ASSERT.
2022-12-19 15:06:20 +01:00
0714847552
C/Cxx: unify static assertions with the macro ESP_STATIC_ASSERT
...
Closes https://github.com/espressif/esp-idf/issues/9938
2022-12-19 15:06:15 +01:00
6203254900
wpa_supplicant: Fix PMK caching related regression
...
Fixed regression caused by commit e566e0b5
2022-12-19 19:10:11 +05:30
1d0c5aa6d8
docs: fix the number of breakpoints and watchpoints for RISC-V chips
2022-12-19 14:37:03 +01:00
1c35538b96
idf_size.py: Fix issue where diram size was halved in cases where iram was not fully filled with cache
...
This fixes an attempted fix for diram size calculation where it was counted twice, however the fix did not account for cases where iram was not fully filled with cache and therefore was of non 0 size.
Now the calculation should be correct regardless of the cache size.
Closes https://github.com/espressif/esp-idf/issues/9960
Fix expected output
2022-12-19 14:33:10 +01:00
cfeb493694
docs: mention that increasing ESP32_REV_MIN can reduce IRAM size
2022-12-19 14:07:20 +01:00
2f0ed546f5
ci: add missing target-test jobs for sdcard and extflash examples
2022-12-19 14:06:11 +01:00
16f9add4f6
Remove -Wno-format
compile option for bluedroid BLE examples
2022-12-19 20:27:06 +08:00
0733694f1f
Update bt lib for ESP32
...
- Add config to set duplicate scan list refresh period
- overwrite the oldest device infor if the list is full
- Fixed duplicate scan period is not accurate
2022-12-19 20:26:17 +08:00
e7ee437bcf
Update bt lib for ESP32-C3 and ESP32-S3
...
- Add config to set duplicate scan list refresh period
- overwrite the oldest device infor if the list is full
- Fixed duplicate scan period is not accurate
2022-12-19 20:24:26 +08:00
e95d7202ce
update bt lib for ESP32-C3 and ESP32-S3
...
1 fixed privacy error for directed adv
2 fixed multi periodic adv sync failed in air
2022-12-19 20:23:34 +08:00
c656e7ec07
Fixed some memory was not released after bluetooth controller initialization failed on ESP32-C3 and ESP32-S3
2022-12-19 20:22:58 +08:00
0b8f0e5456
update bt-lib for ESP32
...
1 change default TX power to 9 dBm
2 fixed disconnect reason 0x1f (unspecified error)
3 fixed connection timeout due to terminate ind has not been acknowledged
2022-12-19 20:19:59 +08:00
5fff471b50
Fixed some memory was not released after bluetooth controller initialization failed on ESP32
2022-12-19 20:19:28 +08:00
938d912daa
bluedroid: fix ble connection update with same params
2022-12-19 20:17:00 +08:00
e8fef195a2
examples: fix ble hid led output report
2022-12-19 20:17:00 +08:00
c97df72bb2
bluedroid: fix encrypt keysize of GATT characteristic permission
2022-12-19 20:17:00 +08:00
4b7702c0a4
bluedroid: correct the length of att read by type pdu
2022-12-19 20:17:00 +08:00
dfa9a81233
Merge branch 'feature/add_periodic_helper_macros_v5.0' into 'release/v5.0'
...
Nimble: Add helper macros to set interval min / max for periodic adv (v5.0)
See merge request espressif/esp-idf!21620
2022-12-19 19:33:27 +08:00
4ace4e6bec
Merge branch 'bugfix/skip_sae_during_wps_v5.0' into 'release/v5.0'
...
esp_wifi: Add changes to skip SAE handshake during WPS connection
See merge request espressif/esp-idf!21677
2022-12-19 19:33:04 +08:00
bf8167ed42
fix typos in docs
2022-12-19 14:20:29 +08:00
c43c41967c
fix typos error
2022-12-19 14:20:16 +08:00
270940dda0
esp_wifi: change max connection num on ESP32C3 and ESP32S3
...
Closes WIFI-5114
2022-12-19 14:20:05 +08:00
869d8c4fd8
esp_wifi: Update wifi libs
...
Update wifi libs with below changes -
1. reject AP when assoc comeback time given is greater than 5 seconds
2. handle when assoc req is received before SA query procedure is finished
Closes https://github.com/espressif/esp-idf/issues/9428
2022-12-19 14:19:14 +08:00
a01847c24f
esp_wifi: fix multicast pkts drop issue for some AP when DTIM period > 1
...
Closes WIFI-5076
2022-12-19 14:18:27 +08:00
6818b3012d
esp_wifi: upload more wifi pkt info in rx callback for espnow & csi
2022-12-19 14:16:48 +08:00
096aa4b84d
esp_exmaples: Update ESP32C2 chip in Readme
2022-12-19 14:15:24 +08:00
2accc311a2
WiFi: Add WPS softAP registrar example and events
2022-12-19 14:09:05 +08:00
81f39c8d09
esp_wifi: fix softap beacon memory leak issue
...
1. fix softap beacon memory leak issue.
2. fix esp wifi sta get ap info does not return connected ssid issue.
3. update inactive timer when recv ps-poll or success send data.
4. decrease test memory leak threshold.
2022-12-19 14:07:22 +08:00
8281933297
Merge branch 'bugfix/bdsa_security_issues_v5.0' into 'release/v5.0'
...
esp_wifi:BDSA related patch updates
See merge request espressif/esp-idf!21676
2022-12-19 13:52:30 +08:00
32a50118a4
Assert when malloc user_data fail
2022-12-19 11:32:19 +08:00
474cf2cf64
Modified spp vfs example
2022-12-19 11:32:14 +08:00
29b718bdf5
Fixed memory leak when SPP initialization failed
2022-12-19 11:32:09 +08:00
3f5aaf11db
Added esp_spp_vfs_unregister() to free memory allocated by esp_spp_vfs_register()
2022-12-19 11:32:01 +08:00
51dfbafce2
esp_wifi: Add changes to skip SAE handshake during WPS connection
2022-12-19 09:00:24 +05:30
c881f2dd6f
Merge branch 'bugfix/flush_pmk_for_akm_change_v5.0' into 'release/v5.0'
...
esp_wifi: Flush PMK caching if bss akm has changed(backport v5.0)
See merge request espressif/esp-idf!21646
2022-12-19 10:47:29 +08:00
10bb4c8279
Merge branch 'bugfix/update_esp_rom_gpio_header_v5.0' into 'release/v5.0'
...
esp_rom: update rom gpio.h (backport v5.0)
See merge request espressif/esp-idf!21621
2022-12-19 10:47:24 +08:00
31a58dbb4e
Merge branch 'bugfix/a2dp_error_code_v5.0' into 'release/v5.0'
...
bt: Update A2DP version to v1.4(v5.0)
See merge request espressif/esp-idf!21622
2022-12-19 10:46:58 +08:00
e566e0b597
esp_wifi:BDSA related patch updates
2022-12-19 02:14:26 +05:30
d2791b32fd
esp_netif: Post IP event for PPP netifs unconditionally
...
IP update notification for "point to point" interfaces is performed
via the same callback function as for any other interfaces (dhcp_cb,
although it's not DHCP related). In P2P interfaces we have to assure
that we always get a notification, so we can set the interface up.
This was omitted when getting the same IP address for the second
time, causing the PPPoS interface (in esp-modem applications) failing
to reconnect if disconnected.
Closes https://github.com/espressif/esp-idf/issues/10308
Closes https://github.com/espressif/esp-protocols/issues/188
2022-12-16 18:32:55 +01:00
12f8e55d7c
[Panic] also print to secondary USB Serial/JTAG Console
2022-12-16 14:40:00 +01:00
6d22959461
doc: recommend turn on psram xip feature for bounbe buffer mode
2022-12-16 17:48:28 +08:00
07d65333c3
rgb_lcd: support multi-fb with bounce buffer
2022-12-16 17:48:28 +08:00
e207c60805
Merge branch 'bugfix/no_more_public_adc2_dma_on_c3_s3_v5.0' into 'release/v5.0'
...
adc: no longer support adc2 continuous mode on esp32c3 and esp32s3 (v5.0)
See merge request espressif/esp-idf!21645
2022-12-16 17:46:31 +08:00
88c3e0b4d4
docs: Fix Secure DL mode documentation about flash read being unsupported
...
Simple flash read command is not supported if Secure DL mode is enabled on the target.
Remove reference of this from the relevant docs part.
Related: https://github.com/espressif/esptool/issues/810
Related: ESPTOOL-567
Closes IDF-6468
2022-12-16 11:51:52 +05:30
8866d09830
Merge branch 'bugfix/change_the_level_of_nimble_log_forv5.0' into 'release/v5.0'
...
ble_mesh:example:change the level of nimble host log(v5.0)
See merge request espressif/esp-idf!21628
2022-12-16 14:12:51 +08:00
ac5898c848
Merge branch 'bugfix/fix_mspi_timing_tuning_psram_timing_issue_v5.0' into 'release/v5.0'
...
mspi_tuning: fix psram timing tuning bug (v5.0)
See merge request espressif/esp-idf!21624
2022-12-16 14:05:59 +08:00
bb074904b4
adc: no longer support adc2 oneshot mode on esp32c3
...
Due to HW limitation, we don't support this anymore. On c3, ADC2 under oneshot mode is not stable.
However, you can enable CONFIG_ADC_ONESHOT_FORCE_USE_ADC2_ON_C3 to force use
ADC2.
Refer to errata to know more details:
https://www.espressif.com/sites/default/files/documentation/esp32-s3_errata_en.pdf
https://www.espressif.com/sites/default/files/documentation/esp32-c3_errata_en.pdf
2022-12-16 12:07:38 +08:00
1c373cf293
adc: no longer support adc2 continuous mode on esp32c3 and esp32s3
...
Due to HW limitation, we don't support this anymore. On s3 and c3, ADC2 under continuous mode is not stable.
However, you can enable CONFIG_ADC_CONTINUOUS_FORCE_USE_ADC2_ON_C3_S3 to force use
ADC2.
Refer to errata to know more details:
https://www.espressif.com/sites/default/files/documentation/esp32-s3_errata_en.pdf
https://www.espressif.com/sites/default/files/documentation/esp32-c3_errata_en.pdf
2022-12-16 12:07:38 +08:00
6fd80903de
adc: added a soc macro indicating digital controller supported unit
2022-12-16 12:07:38 +08:00
39ed5dc39d
esp_wifi: Flush PMK caching if bss akm has changed
2022-12-16 08:33:28 +05:30
eff97476eb
ble_mesh:example:change the level of nimble host log
2022-12-15 17:57:12 +08:00
2369fa4d66
mspi_tuning: fix psram timing tuning bug
...
Prior to this commit, when calling:
- spi_timing_enter_mspi_low_speed_mode()
- spi_timing_enter_mspi_high_speed_mode()
psram timing is not tuned. This will lead to a stall during early
startup. This bug is on S3, for 80MHz DDR PSRAM
This commit will add psram timing tuning, in these two functions.
2022-12-15 17:04:23 +08:00
71bd180095
bt: Update HFP version to v1.8
2022-12-15 16:57:56 +08:00
e5794669de
bt: Update A2DP version to v1.4
2022-12-15 16:57:51 +08:00
9bd1484386
bt:Fixed the use of invalid configuration when the peer device configures the stream, and returned an incorrect error code
2022-12-15 16:57:46 +08:00
5f7d8bfd6b
esp_rom: update rom gpio.h
2022-12-15 16:27:57 +08:00
1623ad0a25
Nimble: Add helper macros to set interval min / max for periodic adv
2022-12-15 13:41:24 +05:30
5278cc7de0
Merge branch 'bugfix/fix_failure_of_wifi_channel_configuration_v5.0' into 'release/v5.0'
...
phy: only set phy_init_flag at power domain off, when all modems deinit
See merge request espressif/esp-idf!21610
2022-12-15 13:52:30 +08:00
8ba9f8a6cf
ci: fix esp_phy_modem_deinit issue
2022-12-15 10:48:04 +08:00
7d16868e32
phy: only set phy_init_flag at power domain off, when all modems deinit
2022-12-15 10:45:09 +08:00
0fa3443cea
cxx: fixed stack smash test case failing due to changed output
...
__stack_chk_fail no longer prints "abort() was called" message,
changed test case to reflect this.
2022-12-14 12:37:23 +01:00
87a738962e
esp_system: fix placement of __stack_chk_fail from flash to RAM
...
When stack check is enabled, certain functions (sometimes placed in RAM)
are being decorated with stack guards and a call to __stask_chk_fail() in
case ofr stack corruption. For this reason, __stack_chk_fail() must be
placed in RAM too.
Add stack check config in heap tests on all targets to find eventual flash to RAM
calls due to stack checks when running callgraph_check.py
2022-12-14 12:37:23 +01:00
72e7cbee88
heap: Remove size check in multi_heap.c when registering a new heap
...
The tlsf now checks for size validity when creating a new heap.
The check previously done in multi_heap_register_impl() is no longer
valid since the tlsf_size() is not known at this time (as the metadata
size is linked ot the size of the memory region passed as parameter
when calling tlsf_create_with_pool())
The tlsf_create_with_pool() will return a null pointer if the size
of the memory is not big enough to hold the metadata overhead and
at least a small block.
Update the test according to the changes in TLSF API
2022-12-14 12:37:23 +01:00
47dc520538
heap: Update host tests after incorporation of the new TLSF implementation
2022-12-14 12:37:23 +01:00
6c926ab7b0
heap: Update the component to incorporate the new TLSF implementation
...
- remove tlsf_platform.h from esp-idf since the fl_index is now calculated
based on the size of the requested heap
- update CMakeLists.txt accordingly
2022-12-14 12:37:23 +01:00
be74fd1e8c
heap: fix linker issues and remove spi flash dependencies
2022-12-14 12:37:23 +01:00
35260d4325
feat: remove tlsf_fls and tlsf_ffs from linker as they are inlined.
2022-12-14 12:37:23 +01:00
c47ea5d2bb
tools: update list of references to not include symbold used by __assert_func calls
...
On xtensa architecture, the call to __assert_func uses a reference to __func__ that can
sometimes be placed in flash. Since the __asert_func can be called from functions in IRAM
the check_callgraph script can report an error when checking for invalid calls from IRAM
to flash sections. However, the __asert_func prevents this scenario at runtime so the
check_callgraph script reports a 'flas positive' situation. For this reasson, all references
to __func__$x found prior to a call to __assert_func are droped in the parsing of the rtl files.
2022-12-14 12:37:23 +01:00
e92250e6a2
heap: add check for usage of flash content from iram
...
this commits:
- adds build-time test to check that no call to flash regions are done from IRAM functions
- resolves problems related to IRAM function using content in flash memory
- update heap_caps_alloc_failed to use a default function name in DRAM
when necessary instead of creating a function name variable in DRAM for
each call of heap_caps_alloc_failed. This allows to save some extra bytes
in RAM.
2022-12-14 12:37:16 +01:00
9ae796b36b
Merge branch 'fix/tools_gdbgui_requirement_v5.0' into 'release/v5.0'
...
Tools: gdbgui is not supported on Python 3.11 (v5.0)
See merge request espressif/esp-idf!21598
2022-12-14 19:28:53 +08:00
d8db7d7cc4
Merge branch 'feature/esp_https_ota_events_v5.0' into 'release/v5.0'
...
esp_https_ota: Added support for esp_events (v5.0)
See merge request espressif/esp-idf!21109
2022-12-14 17:11:50 +08:00
34a1a1b098
Tools: gdbgui is not supported on Python 3.11
...
This is a follow-up of a816dfbfc3
with
additional check.
Related to https://github.com/espressif/esp-idf/issues/10116
2022-12-14 09:50:11 +01:00
eb08eb6578
Merge branch 'feature/esp32c2_optimize_npl_element_count_v5.0' into 'release/v5.0'
...
Feature/esp32c2 optimize npl element count v5.0
See merge request espressif/esp-idf!21563
2022-12-14 15:13:42 +08:00
fe0d9a5cf4
Merge branch 'docs/provide_CN_translation_for_peripherals_migration_guides_v5.0' into 'release/v5.0'
...
docs: provide CN translation for peripherals in migration guides (v5.0)
See merge request espressif/esp-idf!20292
2022-12-14 12:44:43 +08:00
8881fd2f9c
docs: provide CN translation for peripherals in migration guides (v5.0)
2022-12-14 12:44:43 +08:00
232a4aee15
Merge branch 'feature/report_acl_conn_cmp_stat_to_app_v5.0' into 'release/v5.0'
...
feature/report ACL link related events to application (v5.0)
See merge request espressif/esp-idf!21524
2022-12-14 10:45:15 +08:00
88a82c89c6
Merge branch 'feature/nimble_support_ble_max_conn_num_v5.0' into 'release/v5.0'
...
Nimble: Support maximum number of connections to 9 on ESP32-C3 and ESP32-S3 (v5.0)
See merge request espressif/esp-idf!21550
2022-12-14 10:44:50 +08:00
625483193a
Merge branch 'doc/update_nimble_mesh_example_information_v5.0' into 'release/v5.0'
...
Nimble: Update Mesh example documentation (v5.0)
See merge request espressif/esp-idf!21578
2022-12-14 10:44:11 +08:00
e8555efe5b
Renamed BAH
2022-12-13 18:05:00 +08:00
756dbc3f94
Fixed some occasional ble issues on ESP32H2BETA2
2022-12-13 17:50:14 +08:00
5cab9686bb
Optimized the number of npl on ESP32C2
2022-12-13 17:50:00 +08:00
a3b040e991
Merge branch 'feature/_spi_slave_reset_trans_queue_api_v5.0' into 'release/v5.0'
...
spi: limit esp32 dma workaround only on esp32(v5.0)
See merge request espressif/esp-idf!21381
2022-12-13 16:29:41 +08:00
71e1c0a564
Nimble: Update documentation to include distinction between upstream
...
mesh example and ESP-BLE-MESH
2022-12-13 12:56:06 +05:30
fe18c89961
Merge branch 'bugfix/system_examples_print_format_v5.0' into 'release/v5.0'
...
system: fix printf format errors in all system examples (v5.0)
See merge request espressif/esp-idf!21564
2022-12-13 13:40:56 +08:00
cc3dd0046d
Merge branch 'bugfix/unstall_other_cpu_on_core_reset_v5.0' into 'release/v5.0'
...
bugfix: unstall other cpu on core reset (backport v5.0)
See merge request espressif/esp-idf!21497
2022-12-12 20:05:05 +08:00
12535d6d75
Merge branch 'contrib/github_pr_9529_v5.0' into 'release/v5.0'
...
component_bt: Fixed memory leak due to not freeing memory if posting a message to a thread fails(v5.0)
See merge request espressif/esp-idf!21556
2022-12-12 17:54:13 +08:00
f81cae4e1e
system: fix printf format errors in all system and cxx examples
2022-12-12 16:56:20 +08:00
12a069d593
Merge branch 'feature/seperate_ble_wifi_test_environment_v5.0' into 'release/v5.0'
...
seperate ble wifi environment and support ci esp32c2 (backport v5.0)
See merge request espressif/esp-idf!20084
2022-12-12 16:36:20 +08:00
96ff16199a
seperate ble wifi environment and support ci esp32c2 (backport v5.0)
2022-12-12 16:36:20 +08:00
3691ce2329
Merge branch 'feature/periodic_adv_example_v5.0' into 'release/v5.0'
...
Nimble: support for periodic adv / sync example (v5.0)
See merge request espressif/esp-idf!20341
2022-12-12 14:53:21 +08:00
640b86025b
Merge branch 'bugfix/correct_the_default_SR_mode_v5.0' into 'release/v5.0'
...
bugfix/correct the SR_mode selection when konw nothing about Peripheral's SR_mode (v5.0)
See merge request espressif/esp-idf!21519
2022-12-12 14:51:57 +08:00
3fcbf617ec
Merge branch 'rebase/remove_redundant_pm_lock_on_ble_v5.0' into 'release/v5.0'
...
Rebase/remove redundant pm lock on ble v5.0
See merge request espressif/esp-idf!21423
2022-12-12 14:49:37 +08:00
5a9281de5d
Merge branch 'ci/change_cache_runner_label_v5.0' into 'release/v5.0'
...
Ci/change cache runner label (v5.0)
See merge request espressif/esp-idf!21549
2022-12-12 14:03:04 +08:00
7cb4504c55
Merge branch 'doc/esp_lcd_class_diagram_v5.0' into 'release/v5.0'
...
RGB LCD multi-framebuffer support (v5.0)
See merge request espressif/esp-idf!21476
2022-12-12 11:47:38 +08:00
6321e24bac
Merge branch 'feature/enc28j60_not_new_design_v5.0' into 'release/v5.0'
...
Ethernet examples: added warning that ENC28J60 is not recommended for new designs (v5.0)
See merge request espressif/esp-idf!21546
2022-12-12 11:41:19 +08:00
987e6b4e29
Merge branch 'bugfix/fix_xip_from_psram_cache_disable_issue_v5.0' into 'release/v5.0'
...
system: don't disable cache if Flash .text and .rodata are moved to PSRAM (v5.0)
See merge request espressif/esp-idf!21540
2022-12-12 11:37:27 +08:00
6fdd8552da
Fixed incorrect parameters in switching to BTC context
2022-12-12 11:26:39 +08:00
c0392d3dd9
bt:Modify the member variable *arg in struct btc_msg to arg[0]
2022-12-12 11:26:34 +08:00
f9732cb65f
bt: Fixed memory leak due to not freeing memory if posting a message to a thread fails
2022-12-12 11:26:26 +08:00
818ba6affb
Merge branch 'bugfix/spp_50005_crash_v5.0' into 'release/v5.0'
...
bt: Added esp_spp_enhanced_init() API to indicate whether to enable L2CAP ERTM(v5.0)
See merge request espressif/esp-idf!20822
2022-12-12 11:00:28 +08:00
7d68a35cbe
Nimble: Support maximum number of connections to 9 on ESP32-C3 and ESP32-S3
2022-12-11 18:16:05 +05:30
85e1927add
ci: use different tag for runners to run the cache jobs
2022-12-09 20:20:35 +08:00
49f673c52d
Improved emac rx task code to suppress Coverity false positive memory leak indication
2022-12-09 11:57:25 +00:00
df76911671
esp_eth: receive buffer allocation optimization
...
Receive buffers are allocated with a size equal to actual received frame size
2022-12-09 11:43:19 +00:00
a811ea38b9
Ethernet examples: added warning that ENC28J60 is not recommended for new designs using ESP32 series of chips
2022-12-09 11:35:07 +00:00
06e1ff2881
system: don't disable cache if Flash .text and .rodata are moved to PSRAM
2022-12-09 18:02:57 +08:00
23dda413a5
Merge branch 'fix/add-region-allowed-checks_v5.0' into 'release/v5.0'
...
heap: Fix memory boundary condition checks when adding new region (backport v5.0)
See merge request espressif/esp-idf!20557
2022-12-09 17:27:39 +08:00
0b971cf314
Merge branch 'fix/fix_behaviour_of_api_to_set_fe_release_mode_v5.0' into 'release/v5.0'
...
esp_flash_encrypt: If it is supported then Enable secure download mode in... (v5.0)
See merge request espressif/esp-idf!21493
2022-12-09 17:18:34 +08:00
842349de6d
ble: fix occasional assertion on ble rtc intr
2022-12-09 15:25:37 +08:00
de7e62fdfe
Unify controller internal error code on ESP32-C2
2022-12-09 15:25:37 +08:00
5c481c5a08
ble: remove redundant pm lock on ble
2022-12-09 15:25:37 +08:00
0bb86b0eaa
Merge branch 'fix/docs-SYSVIEW_FreeRTOS_txt-path_v5.0' into 'release/v5.0'
...
docs: fix path to SYSVIEW_FreeRTOS.txt (v5.0)
See merge request espressif/esp-idf!21507
2022-12-09 14:18:48 +08:00
254afaba28
Added ACL link related events handler in A2DP sink GAP callback
2022-12-09 11:08:10 +08:00
80da46eff3
Added reporting for ACL link related events to application
2022-12-09 11:07:50 +08:00
a1de1bfd3c
correct the SR_mode selection when konw nothing about Peripheral
2022-12-09 10:24:24 +08:00
2693c89c05
Merge branch 'bugfix/notify_gattc_to_gatts_v5.0' into 'release/v5.0'
...
NimBLE : Change GATT notify/indicate from gattc to gatts (v5.0)
See merge request espressif/esp-idf!20892
2022-12-08 20:36:25 +08:00
fd10ca4293
docs: fix path to SYSVIEW_FreeRTOS.txt
2022-12-08 17:25:36 +07:00
d4ff9f13c7
Merge branch 'bugfix/fix_esp_https_server_initialize_v5.0' into 'release/v5.0'
...
esp_https_server: Fix initializers missing in esp_https_server (backport v5.0)
See merge request espressif/esp-idf!21481
2022-12-08 16:00:14 +08:00
c280d4b56e
bugfix: unstall other cpu on core reset
...
- Closes https://github.com/espressif/esp-idf/issues/10320
2022-12-08 15:40:56 +08:00
04cdc55efc
esp_flash_encrypt: If it is supported then Enable secure download mode in release mode instead of disabling it completely.
2022-12-08 10:28:30 +05:30
ed663e395f
Merge branch 'feature/support_le_power_control_v5.0' into 'release/v5.0'
...
Nimble: Add LE Power CTRL changes (v5.0)
See merge request espressif/esp-idf!21188
2022-12-08 11:53:00 +08:00
9dd8e497fd
Merge branch 'feature/esp_tls_add_cert_selection_callback_v5.0' into 'release/v5.0'
...
esp-tls: Add support for the CERTIFICATE SELECTION HOOK. The hook has access... (v5.0)
See merge request espressif/esp-idf!21220
2022-12-08 11:52:45 +08:00
67f1ff7fa1
Merge branch 'feature/gd_e_hpm_support_v5.0' into 'release/v5.0'
...
spi_flash: Add GD25QxxE and ZBit flash HPM(120M) support(backport v5.0)
See merge request espressif/esp-idf!20240
2022-12-08 11:52:21 +08:00
1c45872a00
doc: add api reference for controller lcd drivers
2022-12-07 17:55:19 +08:00
698fd7abb3
lcd: support multi framebuffers for RGB LCD driver
2022-12-07 17:55:19 +08:00
654e198464
bt: Remove SPP default send buffer size option and add parameters to configure send buffer size in esp_spp_enhance_init()
2022-12-07 09:38:24 +00:00
c2c9b090c7
bt: Added esp_spp_enhance_init() API to indicate whether to enable L2CAP ERTM
2022-12-07 09:38:24 +00:00
6d57e7878d
bt: Keep the maximum number of credits unchanged
2022-12-07 09:38:24 +00:00
aa25c4391c
bt: Replaced the tx queue in SPP VFS mode with ringbuffer
2022-12-07 09:38:24 +00:00
6d9987f4c8
bt: Split SPP application layer data packets according to the MTU of the peer
2022-12-07 09:38:24 +00:00
bce0e93b73
bt: Enter the congestion state when the queue length waiting for the peer to ack is greater than or equal to the L2CAP ERTM tx window size
2022-12-07 09:38:24 +00:00
b1d87a41d2
NimBLE : Change GATT notify/indicate from gattc to gatts
2022-12-07 14:41:51 +05:30
22b82efbe5
Merge branch 'bugfix/tool_removal_offer_macOS_v5.0' into 'release/v5.0'
...
Tools: bugfix Export script offers cmake & ninja for removal on macOS (v5.0)
See merge request espressif/esp-idf!21451
2022-12-07 17:06:19 +08:00
d48b085735
esp_https_server: Fix initializers missing in esp_https_server
2022-12-07 14:36:26 +08:00
9d3e15704c
Nimble: Add example for periodic adv/sync
2022-12-07 11:56:10 +05:30
c3d3ee8767
Merge branch 'contrib/github_pr_10106_v5.0' into 'release/v5.0'
...
hal/uart_ll.h: Fix compile with C++ (GitHub PR) (v5.0)
See merge request espressif/esp-idf!21454
2022-12-07 13:24:12 +08:00
5397b7300a
Merge branch 'feature/add_keep_alive_for_httpserver_v5.0' into 'release/v5.0'
...
esp_http_server: Add support to enable TCP keepalive config (backport v5.0)
See merge request espressif/esp-idf!21426
2022-12-07 12:11:39 +08:00
23f7989006
Merge branch 'bugfix/reduce_BTU_TASK_stack_consumption_v5.0' into 'release/v5.0'
...
Reduce the stack consumption of BTU_TASK (backport v5.0)
See merge request espressif/esp-idf!21434
2022-12-07 11:29:39 +08:00
4fb6f42120
Merge branch 'feature/support_rotating_lcd_ssd1306_v5.0' into 'release/v5.0'
...
Support rotation on SSD1306 (backport v5.0)
See merge request espressif/esp-idf!21468
2022-12-07 11:14:44 +08:00
27de5e8a1b
Merge branch 'bugfix/fix_lwip_bugs_1206_v5.0' into 'release/v5.0'
...
lwip: fix some lwip bugs (backport v5.0)
See merge request espressif/esp-idf!21464
2022-12-07 11:13:23 +08:00
70e8f96d92
Merge branch 'docs/remote_signing_of_images_cmd_fix_v5.0' into 'release/v5.0'
...
docs: fix secure boot "Remote Signing of Images" section command (v5.0)
See merge request espressif/esp-idf!21470
2022-12-07 11:11:16 +08:00
313edcd8a5
Merge branch 'bugfix/freertos_fpu_isr_pins_task_v5.0' into 'release/v5.0'
...
FreeRTOS: Fix bug where FPU usage in ISR pins the interrupted task (v5.0)
See merge request espressif/esp-idf!20626
2022-12-07 05:02:01 +08:00
43cdd2bfe2
docs: fix secure boot "Remote Signing of Images" section command
2022-12-06 23:46:34 +05:30
5faeb1e97e
Merge branch 'bugfix/freertos_port_miss_header_v5.0' into 'release/v5.0'
...
freertos: add missing header include for esp_chip_info.h to port.c (v5.0)
See merge request espressif/esp-idf!21458
2022-12-06 23:00:03 +08:00
5f6eac2283
lcd: Support rotation SSD1306 and fix mirror y.
2022-12-06 15:24:19 +01:00
795a70f8b3
Merge branch 'bugfix/Fix_exceptional_list_params_check_v5.0' into 'release/v5.0'
...
ble_mesh: stack: Fix exceptional list parameters check issue(v5.0)
See merge request espressif/esp-idf!21441
2022-12-06 20:41:08 +08:00
e843281c8f
Merge branch 'doc/explain_ledc_callback_return_value_v5.0' into 'release/v5.0'
...
ledc: explain the callback return value (v5.0)
See merge request espressif/esp-idf!20966
2022-12-06 18:08:32 +08:00
ffdec34c11
Merge branch 'bugfix/hints_require_v5.0' into 'release/v5.0'
...
hints: add a more complete description for component not found errors (v5.0)
See merge request espressif/esp-idf!21457
2022-12-06 17:33:18 +08:00
e8e79e8e16
Nimble: Add LE Power CTRL changes
2022-12-06 14:56:20 +05:30
0e04bff488
Merge branch 'feature/LE_Conn_Subrating_v5.0' into 'release/v5.0'
...
Nimble: Stack support for Connection subrating feature (v5.0)
See merge request espressif/esp-idf!20814
2022-12-06 17:21:57 +08:00
8e4bcb4875
Merge branch 'feature/add_comments_for_bt_connections' into 'release/v5.0'
...
Explain how much memory that will be used by each connection/advertiser.
See merge request espressif/esp-idf!21322
2022-12-06 17:21:12 +08:00
8290b18e5c
Merge branch 'feat/NimBLE-Blufi-custom-use_v5.0' into 'release/v5.0'
...
Nimble: Add support to expose blufi handler for external BLE application (v5.0)
See merge request espressif/esp-idf!20890
2022-12-06 16:51:38 +08:00
651db95177
lwip:optimization dns ipv4 ipv6 timeir
...
* Update submodule: git log --oneline 33912690ea005e8ff05b2c579ebbf0a4189c3b00..705dd71d46779bf29653f1f1d7b1af5a09fb2aa7
Detailed description of the changes:
- dhcp: init fine timer when dhcp start(esp-lwip@705dd71d)
- ip6 timer: optimization lwip ip6 reassembly timer (esp-lwip@9813ea9a)
- ip4 timer: optimization lwip ip4 reassembly timer (esp-lwip@ce1a7099)
- dns timer: optimization lwip dns timer (esp-lwip@6b0bfc2e)
2022-12-06 16:06:57 +08:00
ebd1609073
lwip timer:optimization dhcp fine timer
2022-12-06 16:04:21 +08:00
4d46e8205a
lwip: fix the bug that long time to get IP
2022-12-06 16:01:38 +08:00
4757c9e389
Merge branch 'bugfix/multiple_wifi_fixes_v5.0_wave2' into 'release/v5.0'
...
esp_wifi : update wifi lib
See merge request espressif/esp-idf!21427
2022-12-06 15:25:55 +08:00
7a72210157
Blufi: Add function for blufi management inside custom gap event handler
2022-12-06 10:53:09 +05:30
7aa2b03204
esp_wifi: fix the ESPNOW crash when modify the interface of the peer
...
Closes WIFI-5046
Closes WIFI-5047
2022-12-06 05:06:18 +00:00
ffadd88af4
esp_wifi: Update wifi libs
...
- Fixed regression caused in commit ef80cf0b65
- Fixed unprotected SA Query issue
2022-12-06 05:06:18 +00:00
38bb7c2a60
esp_wifi:Mandate stations to have minimum security wpa3
2022-12-06 05:06:18 +00:00
8136f98ddc
esp_wifi: Update wifi libs
...
Add changes to prevent security overwritten in full scan
Co-authored-by: Nachiket Kukade <nachiket.kukade@espressif.com >
2022-12-06 05:06:18 +00:00
0db6920b8c
esp_wifi: Update wifi libs
...
Fix unprotected SA Query issue and scan regression
2022-12-06 05:06:18 +00:00
91804983b7
esp_wifi: fix esp32c3 connect fail
...
Closes IDFCI-1524
2022-12-06 05:06:18 +00:00
8afd990e71
update wifi lib:
...
1. Modify wifi max connection num
2. Fix the ESPNOW senf fail after changing opmode
Closes IDFGH-7960
Closes WIFI-4176
Closes WIFI-5004
2022-12-06 05:06:18 +00:00
fe4efc0df6
update doc for espnow max encryped connection
2022-12-06 05:06:18 +00:00
175f0dec6c
Modify maximum softap conn num and espnow encryption peer num
2022-12-06 05:06:18 +00:00
b2396cee86
Merge branch 'bugfix/multiple_wifi_fixes_v5.0' into 'release/v5.0'
...
esp_wifi: update wifi lib
See merge request espressif/esp-idf!21425
2022-12-06 13:05:08 +08:00
7add623e73
freertos: add missing header include for esp_chip_info.h to port.c
...
Closes https://github.com/espressif/esp-idf/issues/10310
2022-12-06 12:17:17 +08:00
c3f578d17c
hints: add a more complete description for component not found errors
2022-12-06 12:16:24 +08:00
9aba2fe078
Merge branch 'bugfix/remove_get_modle_and_get_comp_api_forv5.0' into 'release/v5.0'
...
ble_mesh:example:change the method of get model(for v5.0)
See merge request espressif/esp-idf!20388
2022-12-06 10:52:05 +08:00
5ba75187b0
hal/uart_ll.h: Fix compile with C++
...
I'm including <hal/uart_ll.h> in my C++ application because I need to
bypass the uart driver. The inline functions in the header file fail to
compile as C++.
All of the enums need explicit casts for conversion to/from integers.
Merges https://github.com/espressif/esp-idf/pull/10106
2022-12-06 10:13:03 +08:00
e1f486a49f
Merge branch 'feature/remove_psram_cs_clk_pin_settings_config_s2_s3_v5.0' into 'release/v5.0'
...
psram: remove CS/CLK pin settings in kconfig on ESP32S2/S3 (v5.0)
See merge request espressif/esp-idf!21042
2022-12-06 10:09:41 +08:00
ad9884463c
freertos: Backport FPU tests from master to v5.0
...
This commit combines and backports the FPU unit tests updates of the following
commits:
423fb361e7
d69361779e
2022-12-06 00:03:50 +08:00
13b8a8f2af
freertos: Fix FPU ISR core pinning bug
...
This commit fixes a bug where if an unpinned task is interrupted by a level 1
ISR that users the FPU, the FPU usage will cause the interrupted task to
become pinned to the current core.
Note: This bug was already fixed in SMP FreeRTOS in commit
d69361779e
. This commit simply backports the
fix to IDF FreeRTOS.
2022-12-06 00:03:50 +08:00
39ee8117c3
Tools: bugfix Export script offers cmake & ninja for removal on macOS
2022-12-05 15:56:08 +01:00
a4782767d9
Merge branch 'feature/mqtt_cmakefile_cleanup_v5.0' into 'release/v5.0'
...
Mqtt: Cmakelists.txt file simplification. (v5.0)
See merge request espressif/esp-idf!20493
2022-12-05 20:43:10 +08:00
9d79c71498
ble_mesh: stack: Fix exceptional list parameters check issue
2022-12-05 20:24:21 +08:00
6688ba7b8e
Merge branch 'ci/upload_elf_map_to_minio_v5.0' into 'release/v5.0'
...
ci: upload elf map file to s3 server to reduce artifacts size (v5.0)
See merge request espressif/esp-idf!19902
2022-12-05 18:17:59 +08:00
7884457d1f
Reduce the stack consumption of BTU_TASK
2022-12-05 17:12:27 +08:00
3867f7cf70
ble_mesh:example:change the method of get model
2022-12-05 16:47:41 +08:00
759f7ec13d
Merge branch 'feature/add_int_task_wdt_esp32c2_v5.0' into 'release/v5.0'
...
WDT: implement interrupt wdt and task wdt for ESP32-C2 (backport v5.0)
See merge request espressif/esp-idf!20980
2022-12-05 16:38:35 +08:00
6536aee5cc
Merge branch 'bugfix/xtensa_freertos_16B_aligned_v5.0' into 'release/v5.0'
...
FreeRTOS: Make the default stack alignment 16 for Xtensa (backport v5.0)
See merge request espressif/esp-idf!21078
2022-12-05 16:38:25 +08:00
9af06d112c
Merge branch 'bugfix/rtc_retain_mem_always_erased_v5.0' into 'release/v5.0'
...
Bootloader: retained memory can now be kept after reboot when custom data enabled (backport v5.0)
See merge request espressif/esp-idf!21232
2022-12-05 16:38:08 +08:00
2d826ddf3a
Merge branch 'bugfix/add_missing_ifdef_to_static_structs_v5.0' into 'release/v5.0'
...
freertos: Add missing ESP_PLATFORM preprocessor directive for FreeRTOS static data structs (v5.0)
See merge request espressif/esp-idf!20743
2022-12-05 15:28:24 +08:00
9f49fa2c1b
Merge branch 'bugfix/s3_ulp_riscv_cocpu_trap_v5.0' into 'release/v5.0'
...
ulp-riscv: always force COCPU clock on S3 (v5.0)
See merge request espressif/esp-idf!20768
2022-12-05 14:50:48 +08:00
027d92da14
Merge branch 'bugfix/fix_https_x509_example_v5.0' into 'release/v5.0'
...
ci: fix https_x509 example (v5.0)
See merge request espressif/esp-idf!20937
2022-12-05 14:15:47 +08:00
77333d2d64
Merge branch 'bugfix/fix_current_leakage_when_hold_digital_io_during_deep_sleep_backport_v5.0' into 'release/v5.0'
...
esp_hw_support/sleep: fix current leakage when hold digital io during deep sleep(backport v5.0)
See merge request espressif/esp-idf!20806
2022-12-05 14:00:59 +08:00
76657faec3
Merge branch 'fix/secure_boot_v2_fix_warning_message_v5.0' into 'release/v5.0'
...
Fix/secure boot v2 fix warning message (v5.0)
See merge request espressif/esp-idf!21274
2022-12-05 12:21:31 +08:00
755ee147bd
Merge branch 'feature/support_ble_max_conn_num_to_9_v5.0' into 'release/v5.0'
...
Support bluedroid host maximum number of connections to 9 (backport v5.0)
See merge request espressif/esp-idf!21400
2022-12-05 12:16:53 +08:00
ec7265dca4
spi: limit esp32 dma workaround only on esp32
2022-12-05 12:10:45 +08:00
c60ccebb77
Merge branch 'bugfix/share_intr_v5.0' into 'release/v5.0'
...
intr_alloc: fixed freed interrupt sources not being able to be allocated again with different flags (v5.0)
See merge request espressif/esp-idf!21285
2022-12-05 12:09:52 +08:00
3fd37357b6
Merge branch 'bugfix/c2_chip_info_gpio_range_v5.0' into 'release/v5.0'
...
hw-support: update C2 chip info to reflect that esp8684 has embedded flash (v5.0)
See merge request espressif/esp-idf!21066
2022-12-05 12:06:39 +08:00
586a4715ad
Nimble: Stack support for Connection subrating feature
2022-12-05 09:26:11 +05:30
311b50498b
esp_http_server: Add support to enable TCP keepalive config
...
Closes https://github.com/espressif/esp-idf/issues/9848
2022-12-05 11:43:06 +08:00
19fae974fa
esp_mesh: fix the memeory leak issue when call esp_mesh_start/stop
...
Closes WIFI-5023
Closes FCS-1081
Closes IDFGH-4525
2022-12-05 11:39:34 +08:00
64d17fc9bc
Merge branch 'feature/iram_overflow_hint_v5.0' into 'release/v5.0'
...
idf.py hints: add hint IRAM overflow (v5.0)
See merge request espressif/esp-idf!20736
2022-12-05 11:37:06 +08:00
e4161a1bc1
esp_wifi_mesh: update wifi mesh libs
...
1. fix invalid child issue
2. fix WIFI_EVENT_AP_STADISCONNECTED event error
2022-12-05 11:37:06 +08:00
5cd324413a
esp_wifi: fix some connectionless related issue and add connectionless power save guide
2022-12-05 11:35:23 +08:00
675f9555df
esp_wifi: fix some softap issues
...
1. add lldesc_config and clr PWR MGT flag
2. send null data instead of qos null data when receive ps-poll while power save queue is empty
3. update power save queue hw len
4. set more data bit
5. only send null data when psq hw len is 0 after recv ps-poll
2022-12-05 11:33:50 +08:00
a5d2158cd0
Apply suggestions to 2 files
2022-12-05 11:32:03 +08:00
054fdeb8c7
esp_wifi: Modify wifi scan return value.
...
1. Modify wifi scan return value same to docs.
2. Change some logs' log level wo avoid misunderstanding.
3. Fix connect fail return wrong error code issue
2022-12-05 11:31:52 +08:00
645e5657c6
update doc for set channel
2022-12-05 11:31:40 +08:00
acf7f03f67
update wifi reason code
2022-12-05 11:31:27 +08:00
f768845b16
esp_wifi: fix wapi gtk id compability issue and adapt tx frag pn sequently.
2022-12-05 11:30:51 +08:00
8819aa2f38
esp_https_server: fix coverity warning about null pointer dereference
2022-12-05 08:59:24 +05:30
16e18d9170
esp-tls/Kconfig: Fix dependency for ESP-TLS Server menuconfig option
2022-12-05 08:59:24 +05:30
079e10666a
esp_tls: Update documentation for cert callback
2022-12-05 08:59:24 +05:30
6ef7d24fc9
esp-tls: Add changes to the Cert selection callback PR.
2022-12-05 08:59:24 +05:30
e6442657fd
esp-tls: Add support for the CERTIFICATE SELECTION HOOK. The hook has access to required information so that the application can make a more informed decision on which certificate to serve (such as alpn value, server certificate type, etc.)
...
Closes https://github.com/espressif/esp-idf/pull/9833
Signed-off-by: Aditya Patwardhan <aditya.patwardhan@espressif.com >
2022-12-05 08:59:24 +05:30
39080a2d59
docs: update BluFi documentation
2022-12-05 11:23:41 +08:00
497b45186e
blufi: update version to 1.3
...
record connecting status, got ip status, maximum retry, connection end info (reason code, rssi) and provide greater information to phone
2022-12-05 11:23:29 +08:00
9a914cc6d4
ci: fix https_x509 example
2022-12-05 03:17:08 +00:00
14efa6e214
Merge branch 'feature/upgrade_argtable_3_2_2_files_v5.0' into 'release/v5.0'
...
console: argtable3: upgrade to v3.2.2 (v5.0)
See merge request espressif/esp-idf!21013
2022-12-05 11:16:31 +08:00
3290fc1a6d
Merge branch 'bugfix/multiple_bugfixes_v5.0' into 'release/v5.0'
...
Add multiple bugfixes (Backport v5.0)
See merge request espressif/esp-idf!20997
2022-12-05 11:16:27 +08:00
e15dfec417
Merge branch 'fix/esp_http_client_fix_behavior_disable_auto_redirect_enabled_v5.0' into 'release/v5.0'
...
fix: esp_http_client fix behaviour when disable_auto_redirect is enabled (v5.0)
See merge request espressif/esp-idf!21081
2022-12-05 11:14:57 +08:00
c13c884921
Merge branch 'bugfix/esp_timer_isr_dispatch_test_fail_v5.0' into 'release/v5.0'
...
esp_timer: fix ESP_TIMER_ISR dispatch method due to off by one error (v5.0)
See merge request espressif/esp-idf!21026
2022-12-05 11:12:27 +08:00
f8aeda2d45
Merge branch 'ci/optimize_test_wifi_get_started_v5.0' into 'release/v5.0'
...
CI: optimize wifi get started example test (v5.0)
See merge request espressif/esp-idf!20607
2022-12-05 10:45:52 +08:00
d14f5c5cf4
Merge branch 'ci/example_test_simple_sniffer_v5.0' into 'release/v5.0'
...
ci: change example simple sniffer test channel (v5.0)
See merge request espressif/esp-idf!20524
2022-12-05 10:44:24 +08:00
2643e4b320
idf.py hints: add hint IRAM overflow
2022-12-05 10:34:41 +08:00
864ca34199
Merge branch 'bugfix/i2c_func_iram_v5.0' into 'release/v5.0'
...
I2C: put some interrupt used functions into IRAM( v5.0)
See merge request espressif/esp-idf!21404
2022-12-05 10:31:33 +08:00
a918c13db5
examples: update max GPIO range for C2 examples to exclude UART0 pins
...
Closes https://github.com/espressif/esp-idf/issues/10174
2022-12-05 02:29:46 +00:00
7cd7056341
hw-support: update C2 chip info to reflect that esp8684 has embedded flash
...
Closes https://github.com/espressif/esp-idf/issues/10175
2022-12-05 02:29:46 +00:00
218a797ecc
Merge branch 'ci/enable_c2_tests_default_v5.0' into 'release/v5.0'
...
ci: enable running C2 tests by default (v5.0)
See merge request espressif/esp-idf!21105
2022-12-05 10:29:15 +08:00
4756a44c97
Merge branch 'feature/rgb_lcd_restart_v5.0' into 'release/v5.0'
...
rgb_lcd: support restart dma transmission manually (v5.0)
See merge request espressif/esp-idf!21408
2022-12-05 10:24:53 +08:00
631ba1e88d
Merge branch 'bugfix/fix_slave_gpio_cs_mixed_with_iomux_bus_v5.0' into 'release/v5.0'
...
spi_slave: fix slave can't use iomux bus mixed with gpio cs_pin (v5.0)
See merge request espressif/esp-idf!21374
2022-12-05 10:21:09 +08:00
2dd67ecd05
ledc: explain the callback return value
...
Closes https://github.com/espressif/esp-idf/issues/10093
2022-12-05 02:11:48 +00:00
31ebcad8d6
Merge branch 'contrib/github_pr_7144_v5.0' into 'release/v5.0'
...
Update i2c.c to consider two I2C buses for clear bus counter (GitHub PR) (backport v5.0)
See merge request espressif/esp-idf!20504
2022-12-05 10:11:18 +08:00
aff2157f10
Merge branch 'feature/esp_rom_alias_mz_crc32_to_crc32_le_v5.0' into 'release/v5.0'
...
move {target}/rom/miniz.h to a common miniz.h (backport to v5.0)
See merge request espressif/esp-idf!21104
2022-12-05 10:10:38 +08:00
a3275f2b9e
Merge branch 'feature/usb_host_inflight_transfer_check_v5.0' into 'release/v5.0'
...
USB Host: Fix usbh_dev_open(), Fix usbh_ep_alloc(), Add USB Host Library check to prevent resubmitting inflight transfers, Don't access uninit pointer if usbh_install fails (backport v5.0)
See merge request espressif/esp-idf!20953
2022-12-05 10:08:32 +08:00
02cf6230e7
ci: build apps only on shiny server
2022-12-02 15:42:40 +00:00
283ba0f074
ci: fix check_test_scripts_build_test_rules not install pytest error
2022-12-02 15:42:40 +00:00
e118bf5c1f
test: remove elf sha256 check from pytest_blink to qemu test
...
not upload elf file
2022-12-02 15:42:40 +00:00
bd386775b1
ci: adjust build jobs parallel count
2022-12-02 15:42:40 +00:00
e1d2635a83
adc: skip linking static functions when not COMPILER_OPTIMIZATION_DEFAULT
2022-12-02 15:42:40 +00:00
17bdab020f
esp_pm: fix esp32c2 no sleep_enable_memory_retention error
2022-12-02 15:42:40 +00:00
3eb66d2ef0
ci: move LDGEN_CHECK_MAPPING to configure_ci_environment.sh
2022-12-02 15:42:40 +00:00
1d40386215
ci: upload elf map file to s3 server to reduce artifacts size
...
f
2022-12-02 15:42:40 +00:00
75c3a69feb
Merge branch 'docs/fix-typo-touch-pad-esp32s2-esp32s3_v5.0' into 'release/v5.0'
...
docs:fix a typo in touch_sensor.h of esp32s2 and esp32s3 (v5.0)
See merge request espressif/esp-idf!21043
2022-12-02 22:47:33 +08:00
62cbfaee2d
Merge branch 'test/improve_adc_continuous_iram_test_aim_v5.0' into 'release/v5.0'
...
esp_adc: improve adc continuous iram test aim (v5.0)
See merge request espressif/esp-idf!20549
2022-12-02 22:47:00 +08:00
302ecb0764
Merge branch 'doc/pcnt_overflow_compensate_v5.0' into 'release/v5.0'
...
pcnt: support accumulate the count value in the high/low limit event (v5.0)
See merge request espressif/esp-idf!21170
2022-12-02 22:42:50 +08:00
e17b4463c1
Merge branch 'bugfix/legacy_rmt_resource_leak_v5.0' into 'release/v5.0'
...
rmt: fix memory leak in the legacy driver (v5.0)
See merge request espressif/esp-idf!21166
2022-12-02 22:43:05 +08:00
9406e80d5f
Merge branch 'bugfix/fix_c3_s3_ble_temperature_performance_v5.0' into 'release/v5.0'
...
Fixed bluetooth disconnection caused by HW temperature rise or fall(backport v5.0)
See merge request espressif/esp-idf!21370
2022-12-02 20:39:17 +08:00
316e0e2295
Merge branch 'bugfix/fix_hid_device_vup_without_connection_5.0' into 'release/v5.0'
...
Bugfix/Fix HID Device can not remove virtually cabled device without a connection[backport 5.0]
See merge request espressif/esp-idf!21365
2022-12-02 20:38:57 +08:00
e35e255651
Merge branch 'bugfix/sta_set_extra_ies_for_open_AP_v5.0' into 'release/v5.0'
...
esp_wifi: STA set extra IEs for open AP v5.0
See merge request espressif/esp-idf!21362
2022-12-02 20:38:15 +08:00
b74cb360f0
Merge branch 'bugfix/update_esp_rom_lldesc_header_v5.0' into 'release/v5.0'
...
esp_rom: remove lldesc_xxx definitions since no actual function bodies (backport v5.0)
See merge request espressif/esp-idf!21354
2022-12-02 20:38:00 +08:00
f83a531929
Merge branch 'bufix/a2dp_fail_connect_again_after_disconnect_v5.0' into 'release/v5.0'
...
component_bt: Fixed a2dp failing to connect again after disconnect(v5.0)
See merge request espressif/esp-idf!21342
2022-12-02 20:38:13 +08:00
378a267378
Merge branch 'bugfix/disable_prov_encryption_v5.0' into 'release/v5.0'
...
Wifi Prov: Disabled the default support for BLE Encrpytion on characteristics read /write (v5.0)
See merge request espressif/esp-idf!21263
2022-12-02 20:37:16 +08:00
6d1f2821f1
Merge branch 'feature/esp32c2_optimize_ble_init_v5.0' into 'release/v5.0'
...
Fixed memory leak when RAM free size is insufficient or setting ext scan...
See merge request espressif/esp-idf!21262
2022-12-02 20:37:16 +08:00
a0dda599d3
Merge branch 'remove_deprecated_rc4_v5.0' into 'release/v5.0'
...
Removed some occurences of the RC4 cipher suite(deprecated now)
See merge request espressif/esp-idf!21255
2022-12-02 20:37:06 +08:00
cd6e76588b
Merge branch 'bugfix/optimize_hidh_disconnection_5.0' into 'release/v5.0'
...
Bugfix/Fix HID Host improper handle of freeing resource in esp_hid component[backport 5.0]
See merge request espressif/esp-idf!21248
2022-12-02 20:36:50 +08:00
d92765bf9c
Merge branch 'bt/opt_audio_datapath_v5.0' into 'release/v5.0'
...
bt/optimized a2dp_sink audio datapath (v5.0)
See merge request espressif/esp-idf!21222
2022-12-02 20:36:14 +08:00
97233718b0
Merge branch 'bugfix/fixed_HIDH_connection_failure_v5.0' into 'release/v5.0'
...
bugfix/fixed connection failure and build errors of HID host (v5.0)
See merge request espressif/esp-idf!21211
2022-12-02 20:36:03 +08:00
7c395f3ca8
Merge branch 'feature/support_ble_memory_release_on_esp32c2_v5.0' into 'release/v5.0'
...
Support BLE memory release on ESP32C2 (v5.0)
See merge request espressif/esp-idf!21189
2022-12-02 20:35:18 +08:00
52b0a5a1d5
Merge branch 'bugfix/fix_hfp_clcc_parser_bug_5.0' into 'release/v5.0'
...
Bugfix/Fix HFP client parse CLCC command response bug[backport 5.0]
See merge request espressif/esp-idf!21155
2022-12-02 20:34:18 +08:00
9a7ad14b07
Merge branch 'bugfix/a2dp_source_memory_access_out_of_bounds_v5.0' into 'release/v5.0'
...
Fixed the issue memory access out of bounds in a2dp_source example (v5.0)
See merge request espressif/esp-idf!21144
2022-12-02 20:33:20 +08:00
b20c0b59d9
Merge branch 'bugfix/change_log_print_forv5.0' into 'release/v5.0'
...
ble_mesh:example:Add command to test the function of duplicate exceptional list(v5.0)
See merge request espressif/esp-idf!21125
2022-12-02 20:33:05 +08:00
c0d79f2ef1
Merge branch 'bugfix/ble_mesh_event_typo_fix_v5.0' into 'release/v5.0'
...
ble_mesh: stack: Fix typo in directly erase settings event (v5.0)
See merge request espressif/esp-idf!21107
2022-12-02 20:33:17 +08:00
a56b2f778c
ble_mesh:example:Add command to test the function of duplicate exceptional list(v5.0)
2022-12-02 20:33:05 +08:00
6442112bb9
Merge branch 'bugfix/change_default_tx_power_on_c3_and_s3_v5.0' into 'release/v5.0'
...
Change BLE default TX power on ESP32C3 and ESP32S3(backport v5.0)
See merge request espressif/esp-idf!21099
2022-12-02 20:32:53 +08:00
ee57fe20de
Merge branch 'bugfix/wpa_enterprise_reauth_v5.0' into 'release/v5.0'
...
esp_wifi: Fix WiFi Enterprise Reauthentication issue (v5.0)
See merge request espressif/esp-idf!21071
2022-12-02 20:32:27 +08:00
af7322aed5
Merge branch 'bugfix/a2dp_can_not_connect_after_ble_connected_v5.0' into 'release/v5.0'
...
fixed the issue iOS devices cannot initiate connection (v5.0)
See merge request espressif/esp-idf!21063
2022-12-02 20:32:03 +08:00
8295bfc031
Merge branch 'bugfix/fixing_memory_leak_wps_scan_v5.0' into 'release/v5.0'
...
(wpa_supplicant) : Fixed a memory leak issue created when parsing scan results
See merge request espressif/esp-idf!20987
2022-12-02 20:30:23 +08:00
c0cf0b07b0
Merge branch 'bugfix/bt_bss_wrong_address_v5.0' into 'release/v5.0'
...
Bluetooth: fix BSS placement in the linker script generated by ldgen (backport v5.0)
See merge request espressif/esp-idf!20976
2022-12-02 20:29:52 +08:00
ef1f1a8adb
Merge branch 'bugfix/fix_trans_optional_info_using_group_addr_v5.0' into 'release/v5.0'
...
ble_mesh: stack: Fix can't trans optional info to group address(v5.0)
See merge request espressif/esp-idf!20958
2022-12-02 20:29:35 +08:00
fb1ee6b468
Merge branch 'bugfix/blufi_add_host_deinit_api_v5.0' into 'release/v5.0'
...
Blufi: Added an API to stop Bluetooth / Blufi profile (v5.0)
See merge request espressif/esp-idf!20863
2022-12-02 20:27:15 +08:00
a258f7993c
Merge branch 'feature/put_rom_tlsf_patch_code_to_iram_v5.0' into 'release/v5.0'
...
esp_rom: put rom tlsf patch code in iram by default (backport to v5.0)
See merge request espressif/esp-idf!20817
2022-12-02 20:26:47 +08:00
b48971317f
Merge branch 'bugfix/fix_part_of_modem_not_reset_when_power_on_backport_v5.0' into 'release/v5.0'
...
Coexistence: fix part of modem module not reset when power up(backport v5.0)
See merge request espressif/esp-idf!20807
2022-12-02 20:25:21 +08:00
c581b4340a
esp_hw_support/sleep: remove redundant spinlock protection for deep sleep
2022-12-02 12:24:52 +00:00
99c8c0c645
hal/gpio_ll: fix digital gpio can not enable hold during deep sleep when force_unhold set(32/s2/s3)
2022-12-02 12:24:52 +00:00
4223427127
hal/gpio_ll: fix digital gpio can not disable hold during deep sleep
2022-12-02 12:24:52 +00:00
21c9ec5eee
esp_hw_support/sleep: fix current leakage when hold digital io during deep sleep
2022-12-02 12:24:52 +00:00
df80bc864d
Merge branch 'bugfix/fix_xtal_related_rtc_params_for_esp32_backport_v5.0' into 'release/v5.0'
...
esp32/rtc: fix xtal unstable in some cases when sleep(backport v5.0)
See merge request espressif/esp-idf!20799
2022-12-02 20:24:25 +08:00
052d01b551
Merge branch 'bugfix/handle_issue_of_malloc_fail_v5.0' into 'release/v5.0'
...
bugfix/avoid unexpected free when malloc failed (v5.0)
See merge request espressif/esp-idf!20728
2022-12-02 20:23:58 +08:00
e65d706ee3
Merge branch 'bugfix/crash_in_i2s_when_reconnect_to_a2dp_v5.0' into 'release/v5.0'
...
fixed crash in I2S when reconnect to a2dp sink (v5.0)
See merge request espressif/esp-idf!20718
2022-12-02 19:54:03 +08:00
90dfbdcfc9
Merge branch 'bugfix/update_ctrl_init_config_macro_v5.0' into 'release/v5.0'
...
Bugfix/update ctrl init config macro (v5.0)
See merge request espressif/esp-idf!20711
2022-12-02 19:53:18 +08:00
5e461357a0
Merge branch 'bugfix/esp_spp_write_len_0_v5.0' into 'release/v5.0'
...
bt: Fixed esp_spp_write() crash when len is 0(v5.0)
See merge request espressif/esp-idf!20704
2022-12-02 19:53:19 +08:00
81fd39545c
Merge branch 'feature/nimble_port_init_deinit_v5.0' into 'release/v5.0'
...
NimBLE : Init deinit nimble stack in a loop (v5.0)
See merge request espressif/esp-idf!20696
2022-12-02 19:52:40 +08:00
ff88f19ddd
Merge branch 'feature/add_rom_tlsf_function_prototype_v5.0' into 'release/v5.0'
...
esp_rom: add rom tlsf function prototype instead of void * (backport to v5.0)
See merge request espressif/esp-idf!20684
2022-12-02 19:52:51 +08:00
85f4192ca5
Merge branch 'feature/Add_IVI_recovery_option_v5.0' into 'release/v5.0'
...
ble_mesh: stack: Add IV index recovery option when device missed the whole IV update(v5.0)
See merge request espressif/esp-idf!20641
2022-12-02 19:52:34 +08:00
8a956957f6
Merge branch 'bugfix/fix_fast_interval_prov_adv_v5.0' into 'release/v5.0'
...
ble_mesh: stack: Fix send fast interval prov_adv failed (v5.0)
See merge request espressif/esp-idf!20635
2022-12-02 19:51:49 +08:00
fb519f3bb5
Merge branch 'bugfix/fix_esprv_intc_int_set_type_err_parameter_backport_v5.0' into 'release/v5.0'
...
bugfix: esprv_intc_int_set_type should not use bitmap parameter(backportv5.0)
See merge request espressif/esp-idf!20610
2022-12-02 19:51:34 +08:00
53746605d8
Merge branch 'bugfix/esprv_intc_int_set_type_error_v5.0' into 'release/v5.0'
...
Nimble: Fixed esprv_intc_int_set_type() usage (v5.0)
See merge request espressif/esp-idf!20616
2022-12-02 19:51:10 +08:00
8b7fee3296
Merge branch 'bugfix/ble_phy_readme_v5.0' into 'release/v5.0'
...
NimBLE: Fixed README file for BLE PHY prph example (v5.0)
See merge request espressif/esp-idf!20256
2022-12-02 19:50:11 +08:00
010416cf3e
Merge branch 'bugfix/ble_mesh_console_memory_leak_test_forv5.0' into 'release/v5.0'
...
ble_mesh:example:fix memory leak(v5.0)
See merge request espressif/esp-idf!20037
2022-12-02 19:49:32 +08:00
af425e5a8e
move {target}/rom/miniz.h to a common miniz.h
...
- Move {target}/rom/miniz.h to common miniz.h
- Add ESP_ROM_HAS_MZ_CRC32 for ESP32/S2/S3/C3/H2
- Alias mz_crc32 to crc32_le if chips not support ESP_ROM_HAS_MZ_CRC32
2022-12-02 19:39:44 +08:00
228ecfdce0
Merge branch 'bugfix/serial_reader_linux_writes_correctly_5.0' into 'release/v5.0'
...
bugfix(tools): idf.py monitor now reads correctly on Linux (backport 5.0)
See merge request espressif/esp-idf!21270
2022-12-02 19:35:24 +08:00
b25b76be9f
Merge branch 'contrib/github_pr_9943_v5.0' into 'release/v5.0'
...
Update build-system.rst (GitHub PR) (v5.0)
See merge request espressif/esp-idf!20530
2022-12-02 19:33:23 +08:00
e1efc8299f
Merge branch 'docs/update_index_v5.0' into 'release/v5.0'
...
docs: remove rarely used items from the home page (v5.0)
See merge request espressif/esp-idf!20496
2022-12-02 19:32:58 +08:00
de2d43255f
Merge branch 'docs/remove_bt_video_link_v5.0' into 'release/v5.0'
...
docs: remove old and dead BT video example link (v5.0)
See merge request espressif/esp-idf!20331
2022-12-02 19:32:15 +08:00
539a8c221c
Merge branch 'gdbstub/unused_handle_v5.0' into 'release/v5.0'
...
gdbstub: fixed build-error due to potentially uninitialized variable on -O2 (v5.0)
See merge request espressif/esp-idf!20137
2022-12-02 19:30:34 +08:00
85eff825a9
Merge branch 'bugfix/do_not_mix_esp_partition_and_spi_flash_apis_v5.0' into 'release/v5.0'
...
partition: use esp_partition_munmap instead of spi_flash_munmap (v5.0)
See merge request espressif/esp-idf!21024
2022-12-02 19:29:49 +08:00
bdf2153a88
Merge branch 'bugfix/esp32s3_rom_has_ets_printf_issue_v5.0' into 'release/v5.0'
...
esp_rom: fix esp32s3 rom ets_printf bug (backport to v5.0)
See merge request espressif/esp-idf!20798
2022-12-02 19:28:14 +08:00
c231d9e01e
Merge branch 'bugfix/update_esp_rom_caps_v5.0' into 'release/v5.0'
...
esp_rom: update esp_rom_caps.h (backport v5.0)
See merge request espressif/esp-idf!20572
2022-12-02 19:27:29 +08:00
09242d8bcc
Merge branch 'docs/i2c_spec_url_v5.0' into 'release/v5.0'
...
docs: remove link to i2c specs (v5.0)
See merge request espressif/esp-idf!20859
2022-12-02 19:25:15 +08:00
7a5643342a
Merge branch 'bugfix/time_jump_after_reboot_v5.0' into 'release/v5.0'
...
esp_hw_support: Fix time jump after reboot (v5.0)
See merge request espressif/esp-idf!20906
2022-12-02 19:21:08 +08:00
5dc102bfac
Merge branch 'feature/upgrade_components_version_v5.0' into 'release/v5.0'
...
Feature/upgrade components version (v5.0)
See merge request espressif/esp-idf!21069
2022-12-02 19:20:32 +08:00
e31463efbe
Merge branch 'docs/add_hw_ref_c2_link_v5.0' into 'release/v5.0'
...
docs: add TRM links for C2 to hw ref chapter (v5.0)
See merge request espressif/esp-idf!21025
2022-12-02 19:19:34 +08:00
e3101bc138
Merge branch 'feature/esp_lcd_register_io_callback_v5.0' into 'release/v5.0'
...
esp_lcd: Add function for register on color done callback (backport v5.0)
See merge request espressif/esp-idf!21030
2022-12-02 19:19:39 +08:00
8731d281f1
FreeRTOS: Make the default stack alignment 16 for Xtensa
2022-12-02 11:17:38 +00:00
21629b7840
Merge branch 'bugfix/fix_iram_end_redefined_backportv5.0' into 'release/v5.0'
...
bugfix: fix redefined _iram_end (backport v5.0)
See merge request espressif/esp-idf!21161
2022-12-02 19:17:04 +08:00
5968ca76aa
ci: enable running C2 tests by default
2022-12-02 11:15:58 +00:00
75edeabec9
Merge branch 'fix/gdbgui_v5.0' into 'release/v5.0'
...
Tools: gdbgui is not supported on Python 3.11 (v5.0)
See merge request espressif/esp-idf!21327
2022-12-02 19:14:50 +08:00
9d412d9a16
Merge branch 'docs/test_utils_no_butter_v5.0' into 'release/v5.0'
...
docs: heap records are not eatable! (v5.0)
See merge request espressif/esp-idf!21326
2022-12-02 19:14:13 +08:00
c14a29c99f
Merge branch 'bugfix/fix_bootloader_sha256_flash_contents_mask_issue_v5.0' into 'release/v5.0'
...
bootloader: fix bootloader_sha256_flash_contents mmap issue (v5.0)
See merge request espressif/esp-idf!21392
2022-12-02 19:13:42 +08:00
f7a32dbb1d
Merge branch 'tools/idf_tools_use_mirror_url_v5.0' into 'release/v5.0'
...
tools: espidf constraints also supports mirror url (v5.0)
See merge request espressif/esp-idf!21086
2022-12-02 19:12:17 +08:00
8faf09234c
Merge branch 'feature/use_tools_json_to_check_toolchain_ver_v5.0' into 'release/v5.0'
...
Tools: use tools.json to double-check toolchain version when building (v5.0)
See merge request espressif/esp-idf!20662
2022-12-02 19:11:54 +08:00
5ae4abe717
Merge branch 'fix/idf_tools_venv_check_v5.0' into 'release/v5.0'
...
Tools: Check venv the same way how it will be used later (v5.0)
See merge request espressif/esp-idf!20544
2022-12-02 19:10:33 +08:00
e08150e534
Merge branch 'fix/tools-gdbinit-with-elf-symbols_v5.0' into 'release/v5.0'
...
tools: fixed elf symbols load if gdbinit specified (v5.0)
See merge request espressif/esp-idf!20467
2022-12-02 19:09:48 +08:00
e8fcd2ff23
Merge branch 'refactor/editorconfig_remove_freertos_tabs_5.0' into 'release/v5.0'
...
editorconfig: Removed FreeRTOS tab rule (backport 5.0)
See merge request espressif/esp-idf!20370
2022-12-02 19:09:02 +08:00
d1a32474b3
Merge branch 'fix/idf_tools_download_issues_v5.0' into 'release/v5.0'
...
Tools: Improve download error messages coming from idf_tools.py (v5.0)
See merge request espressif/esp-idf!20352
2022-12-02 19:08:33 +08:00
f1f7ac2f28
Merge branch 'bugfix/writable_idf_tools_path_v5.0' into 'release/v5.0'
...
Tools: Support ESP-IDF installed in system-wide shared directory for all users (v5.0)
See merge request espressif/esp-idf!20328
2022-12-02 19:07:50 +08:00
17ad259e8e
Merge branch 'feature/freertos_smp_sysview_v5.0' into 'release/v5.0'
...
sysview: Adds FreeRTOS SMP port (v5.0)
See merge request espressif/esp-idf!20015
2022-12-02 19:07:14 +08:00
7d39d1223b
rgb_lcd: support restart dma transmission manually
...
When doing Flash operations (e.g. OTA), LCD's DMA bandwidth will be not
sufficient, causing the desync between the LCD controller and DMA.
Added a restart function to help the user to make them sync again.
2022-12-02 16:29:21 +08:00
1bd4c6a8cf
I2C: put some interrupt used functions into IRAM,
...
closes https://github.com/espressif/esp-idf/issues/10079
2022-12-02 15:13:51 +08:00
dcc310f468
Explain how mush memory that will be used by each connection/advertiser.
2022-12-02 14:22:53 +08:00
8b0ec09c71
update BLE lib for ESP32-C3 and ESP32-S3
...
- Fixed lld_con.c line 3048 assert
- Fixed crash sometimes when connected as a slave by 8th device
2022-12-02 12:18:52 +08:00
2a76e35ed1
bluedroid host supports the maximum number of connections to 9
2022-12-02 12:18:40 +08:00
c60257e862
bootloader: fix bootloader_sha256_flash_contents mmap issue
2022-12-01 21:46:24 +08:00
54046ee4bf
soc: remove unused DR_REG_DPORT_END macro for c2/c3/s2/s3
2022-12-01 21:09:05 +08:00
18fef64089
wifi/bt: fix part of modem module not reset when power up
2022-12-01 21:08:57 +08:00
7f5ecbe533
Merge branch 'bugfix/wafer_version_minor_s3_v5.0' into 'release/v5.0'
...
esp32s3: fixed bug chip v0.0 detected as vX.8 (v5.0)
See merge request espressif/esp-idf!21351
2022-12-01 20:37:52 +08:00
5afd0f5a3d
Merge branch 'fix/esp32s3_memprot_v5.0' into 'release/v5.0'
...
ESP32S3: Add memory protection for Icache region (v5.0)
See merge request espressif/esp-idf!21359
2022-12-01 20:36:42 +08:00
12f9170862
spi_slave: fix slave can't use iomux bus mixed with gpio cs_pin
2022-12-01 20:12:58 +08:00
3e9701205c
esp_timer: add a function to restart timer
...
Timers, periodic or not, can now be restarted thanks to esp_timer_restart function.
This is done atomically, which can be used to feed a periodic timer, or simply change the period.
2022-12-01 10:45:35 +00:00
1169dfa1eb
Flash: fix flash_suspend example to include worst case
...
flash_suspend example will now test the worst case in order to be able
to detect real regression:
- shorter response time is acceptable, as the tested function may be in the cache already
- response time longer than 120us will be considered a potential regression
2022-12-01 10:45:35 +00:00
6b4e1619d8
TWDT: the Kconfig option ESP_TASK_WDT_EN is now used to enable Task Watchdog
2022-12-01 10:45:35 +00:00
1840c48538
TWDT: refactor the TWDT to be driver agnostic
...
This refactoring brings a private API for the TWDT implementation, which
can now use a hardware timer (Timer Group) or a software timer (esp_timer)
2022-12-01 10:45:35 +00:00
b675bb2a4d
WDT: implement interrupt wdt and task wdt for ESP32-C2
...
ESP32-C2 has a single group timer, thus it will use it for the interrupt watchdog,
which is more critical than the task watchdog. The latter is implement in
software thanks to the `esp_timer`component.
2022-12-01 10:45:35 +00:00
add561aed8
Fixed CI esp32s3.default_2_s3.Test failed
2022-12-01 18:44:44 +08:00
9cfffd2915
- update phy lib
...
- Enable BLE pll track to fix bluetooth disconnection caused by temperature rise or fall on ESP32C3 and ESP32S3
- call pll track in controller task
2022-12-01 18:44:31 +08:00
823c8d4e77
usb: Don't access uninit pointer if usbh_install fails
2022-12-01 08:33:22 +01:00
ad43b04898
fix HID device can not remove virtually cabled device without a connection
...
Closes https://github.com/espressif/esp-idf/issues/10107
2022-12-01 15:14:25 +08:00
046e28fa70
esp_wifi: STA set extra IEs for open AP
2022-12-01 12:13:33 +05:30
af773c047a
esp32s3/memprot: Fix DRAM fault address calculation
2022-12-01 09:19:08 +05:30
c83eb9dfc4
esp32s3/memprot: Fix SRAM region high addresses
2022-12-01 09:19:08 +05:30
634c2c8bf1
esp32s3/memprot: Set permission for Icache region
2022-12-01 09:19:07 +05:30
93fffd51bb
esp_rom: remove lldesc_xxx definitions since no actual function bodies
2022-12-01 09:34:11 +08:00
277e4d5471
esp32s3: fixed bug chip v0.0 detected as vX.Y
...
A typical value is 2.8.
Previous commit 32ef2b321a
doesn't fix the issue cleanly. The MSB of wafer_minor also has this problem.
2022-12-01 01:56:53 +08:00
d47bf56850
Fixed a2dp failing to connect again after disconnect
2022-11-30 18:46:59 +08:00
2c1b0b3643
Tools: gdbgui is not supported on Python 3.11
...
Closes https://github.com/espressif/esp-idf/issues/10116
2022-11-29 14:32:41 +01:00
b1e174f8e2
docs(test_utils): heap records are not eatable!
...
Instead of becoming spread, heap records should go into a buffer.
Hungry commits shall be avoided.
2022-11-29 13:47:50 +01:00
b4470860f9
Merge branch 'bugfix/i2s_tdm_doubled_mclk_v5.0' into 'release/v5.0'
...
i2s: fixed double mclk in tdm mode (v5.0)
See merge request espressif/esp-idf!21191
2022-11-29 16:57:11 +08:00
06290d44c3
Fixed interrupt latency when cache is disable on ESP32-C2
2022-11-29 16:27:05 +08:00
90fa0e5c49
Fixed memory leak when RAM free size is insufficient or setting ext scan parameters failed on ESP32-C2
2022-11-29 16:27:05 +08:00
5e79c3166c
Merge branch 'feature/multiple_spi_lcd_backport_v5.0' into 'release/v5.0'
...
spi_lcd: inherit more IO flags from SPI master driver (5.0)
See merge request espressif/esp-idf!21119
2022-11-29 10:41:59 +08:00
521a726316
intr_alloc: fixed freed interrupt sources not being able to be allocated again with different flags
...
Mark the vector descriptor source as freed.
2022-11-28 10:43:01 +08:00
5dbfe4d502
secure_boot_v2: Fix warning message
2022-11-25 18:34:10 +05:30
46c92405f2
bugfix(tools): idf.py monitor now reads correctly on Linux
...
A missing flush in the serial reader implementation for
Linux target was causing input to idf.py monitor to not
be forwarded to the application. This is fixed now.
2022-11-25 11:32:49 +01:00
6091627f2e
Wifi Prov: Disabled the default support for BLE Encrpytion on characteristics read /write
...
By default, disabled the BLE Encrpyption requirement for provisioning characteristic.
With this flag enabled, when remote attempts to read and if the ACL link is not encrypted,
ESP device will return Insufficient Authentication. It is remote device responsibility to go
for link encryption which may result in pairing.
Some devices do not proceed for any pairing and just show failure pop-up. Also, user needs
to remove bonding on remote phone manually and then try again. This is causing bad user experience.
End user can enable it as per their use case.
2022-11-25 14:18:05 +05:30
5f25bd8437
Merge branch 'bugfix/tcp_transport_err_propagate_v5.0' into 'release/v5.0'
...
tcp_transport: Fix error propagation on tcp_read() (v5.0)
See merge request espressif/esp-idf!21203
2022-11-25 15:19:48 +08:00
2d0ef53e94
Removed some occurences of the RC4 cipher suite(deprecated now)
2022-11-25 10:07:56 +05:30
de55b5d33e
optimize HID Host disconnection procedure
2022-11-25 08:54:04 +08:00
755dded0f5
heap: add documentation about the function placement in IRAM and its usage in ISR
...
This commits adds a internal.md file in the heap directory to clarify the idea behind
which functions is placed in IRAM or in flash.
A section in mem_alloc.rst documentation is added to specify which functions from the
heap component API can be used in interrupt handlers.
2022-11-24 12:40:00 +01:00
47cfd0a0d8
heap: add selective placement of function in IRAM
...
This commit aims to place in the IRAM section only the functions that
are relevent for performance instead of placing the entire content of
multi_heap.c, mullti_heap_poisoning.c and tlsf.c in the IRAM.
2022-11-24 12:39:46 +01:00
9e88f790ff
Merge branch 'bugfix/parttool_commands_extra_partition_subtypes_v5.0' into 'release/v5.0'
...
parttool: fix parttool commands attribute parsing (v5.0)
See merge request espressif/esp-idf!21221
Closes https://github.com/espressif/esp-idf/issues/10238
2022-11-24 18:47:09 +08:00
971221f283
Merge branch 'fix/fix_esp_cryptoauthlib_dependency_for_esp_tls_v5.0' into 'release/v5.0'
...
esp-tls: Fix esp-cryptoauthlib built dependency when secure element (v5.0)
See merge request espressif/esp-idf!21219
2022-11-24 18:45:55 +08:00
62ad5c2258
Bootloader: retained memory can now be kept after reboot when custom data enabled
...
User's custom data are not taken into account during the CRC calculation anymore.
Which means taht the retained mem structure is not systematically erased
on each reboot anymore.
2022-11-24 17:35:55 +08:00
c0f99f5a28
[MQTT] Simplifies MQTT CMakeLists file
...
- Uses mocks from tools instead of creating them.
- Move host based definition to test code.
2022-11-24 08:48:00 +01:00
dd57ba77a3
parttool: added tests to check the external interface (parsing) of the parttool commands
...
The existing tests detect errors in the internal interface (eg. parttool read-write functions) and did not check for any possible breakages in the args parsing of the parttool commands.
2022-11-24 10:45:05 +05:30
9977dbe8e2
parttool: fix extra_partition_subtypes attribute parsing
2022-11-24 10:45:05 +05:30
ae32582cc7
esp-tls: Fix esp-cryptoauthlib built dependency when secure element
...
support is enabled
2022-11-24 09:32:30 +05:30
9ad1c7df96
Increase BtI2STask stack depth to avoid stack overflow
2022-11-24 11:21:57 +08:00
75b2e639e1
optimized a2dp_sink audio datapath
...
1. removed audio cache in BTC layer of Bluedroid
2. added flow control for audio data in application layer
Closes https://github.com/espressif/esp-idf/issues/9622
2022-11-24 11:21:57 +08:00
728e2c97b4
1. changed pin_type of Legacy Paring from FIXED to VARIABLE to avoid authentication failure
...
2. provide compatibilities with devices that do not support Secure Simple Paring
Closes https://github.com/espressif/esp-idf/issues/10069
Closes https://github.com/espressif/esp-idf/issues/10005
2022-11-23 20:51:12 +08:00
a69c5408a3
fixed build errors with Secure Simple Paring disabled
2022-11-23 20:50:59 +08:00
3caeaece6b
tcp_transport: Fix error propagation on tcp_read()
2022-11-23 09:49:35 +01:00
a4b2aa8a57
RISC-V: fix PC not saved when using backtrace
2022-11-23 15:49:42 +08:00
96346c1eed
RISC-V: Create a wrapper around FreeRTOS Tasks to detect the ones returning
2022-11-23 15:44:44 +08:00
3d1c15cd94
Merge branch 'fix/call_esptool_v5.0' into 'release/v5.0'
...
Tools: Fix esptool wrappers by avoiding importing the module (v5.0)
See merge request espressif/esp-idf!21182
2022-11-22 23:37:08 +08:00
1f614bdcff
Merge branch 'feature/oocd_ver_upgrade_v5.0' into 'release/v5.0'
...
tools: Updates OpenOCD version to 'v0.11.0-esp32-20221026' (v5.0)
See merge request espressif/esp-idf!21004
2022-11-22 22:12:26 +08:00
592a51ae96
i2s: fixed typo 'philip'
...
Closes: https://github.com/espressif/esp-idf/issues/10197
2022-11-22 15:59:51 +08:00
85661a037f
i2s: fixed tdm mclk doubled issue
...
Closes: https://github.com/espressif/esp-idf/issues/10196
2022-11-22 15:57:33 +08:00
6c4292f7b1
Support BLE memory release on ESP32C2
2022-11-22 10:38:40 +05:30
c93c6317f5
Tools: Fix esptool wrappers by avoiding importing the module
...
Importing esptool in wrappers could cause importing the wrapper itself.
Updating the PATH is not reliable. For example, os.path.realpath()
changes the Windows driver letter to uppercase therefore, misses the
right path for users with small device letters in their PATH. Removing
paths without considering cases could also lead to errors.
This fix invokes esptool scripts as modules without the need to
importing them.
Closes https://github.com/espressif/esp-idf/issues/9861
Closes https://github.com/espressif/vscode-esp-idf-extension/issues/791
2022-11-21 15:20:14 +01:00
0dbbf7bac5
pcnt: support accumulate count value
...
Closes https://github.com/espressif/esp-idf/issues/10167
2022-11-21 15:17:55 +08:00
03f8d8a0e2
esp_https_ota: Send data to event handler
2022-11-21 03:31:06 +00:00
4934d01795
esp_https_ota: Added support for esp_events
2022-11-21 03:31:06 +00:00
1b4499046a
support BLE memory release on ESP32C3 and ESP32S3
2022-11-21 10:33:55 +08:00
7e168de48d
Update bt lib for ESP32C3 and ESP32S3
...
- Added config to disable scan backoff
- Fixed llm_scan.c assert at line 1485 during controller deinit if duplicate scan is not stopped
- Call pll track in controller task
2022-11-21 10:33:35 +08:00
f258183ec5
Fixed ble_compatibility_test example NVS init error
2022-11-21 10:33:35 +08:00
0af189b012
Fixed errors reported by CI clang_tidy_check
2022-11-21 10:33:35 +08:00
fdd75ea5e8
cleanup sdkconfig.defaults
2022-11-21 10:33:35 +08:00
2e0a5b3111
Fixed sometimes BTU task overflow when doing read and write performance test
2022-11-21 10:33:35 +08:00
99cd53490b
change default tx power from 3dBm to 9dBm
2022-11-21 10:33:35 +08:00
6d11786776
Update_sdkdefaultconfig_BLE_only_flag ESP32C2
2022-11-21 10:33:35 +08:00
0bf7145181
rmt: fix memory leak in the legacy driver
...
Closes https://github.com/espressif/esp-idf/issues/10173
2022-11-21 09:59:58 +08:00
76817e6d76
bugfix: fix redefined _iram_end
2022-11-18 19:53:19 +08:00
2539529360
fix HFP client parse CLCC command response bug
2022-11-18 19:38:58 +08:00
aae167824e
Fixed the issue memory access out of bounds in a2dp_source example
2022-11-18 16:39:04 +08:00
69b9b0b7a6
esp_lcd: add condition for spi to keep cs low
2022-11-18 03:36:37 +00:00
313700e285
esp_lcd: support sio mode for spi LCD
2022-11-18 03:36:37 +00:00
4c3c23562c
spi_lcd: panel_io_spi_tx_color without cmd
...
Closes https://github.com/espressif/esp-idf/issues/9881
2022-11-18 03:36:37 +00:00
e518e3efd3
spi_lcd: allow dc gpio set to -1
...
Closes https://github.com/espressif/esp-idf/issues/9881
2022-11-18 03:36:37 +00:00
39d2a2e0bd
spi_lcd: support CS active high
...
Closes https://github.com/espressif/esp-idf/issues/9881
2022-11-18 03:36:37 +00:00
ad2cc1f102
doc: Update the bluetooth low energy part in migration-guides
2022-11-17 11:48:59 +00:00
1529613561
ble_mesh: stack: Fix typo in directly erase settings event
2022-11-17 11:48:59 +00:00
919b3e621e
Merge branch 'bugfix/flake8_precommit_v5.0' into 'release/v5.0'
...
precommit: update flake8 repo url to use github (v5.0)
See merge request espressif/esp-idf!21095
2022-11-17 15:52:21 +08:00
92964f0733
precommit: update flake8 repo url to use github
...
Gitlab mirror repo has been deprecated.
2022-11-15 16:13:20 +08:00
6f583ccb29
tools: idf extra wheels url can be set by environment variables
2022-11-14 19:53:34 +08:00
0dbf7f5d4c
tools: support download espidf constraints files from mirror url
2022-11-14 19:53:34 +08:00
9463a66fc0
fix: esp_http_client fix behaviour when disable_auto_redirect is enabled
2022-11-14 15:56:17 +05:30
ecaa2e8040
esp_wifi: Bugfix WPA Enterprise Reauthentication issue
2022-11-14 11:09:01 +05:30
df988596b1
cbor: Update cbor component version in idf_component.yml file in example
2022-11-14 10:08:07 +05:30
650b665384
fixed the issue iOS devices cannot initiate connection
...
to ESP32 while there is a BLE connection to this ESP32
Closes https://github.com/espressif/esp-idf/issues/6557
2022-11-14 09:45:34 +08:00
7f4bcc3695
Merge branch 'bugfix/revision_format_v5.0' into 'release/v5.0'
...
soc: upgrade version printing to vX.Y (v5.0)
See merge request espressif/esp-idf!21011
2022-11-12 00:28:57 +08:00
561cce9446
(wpa_supplicant) : Fixed a memory leak issue created when parsing scan results
2022-11-11 17:17:28 +05:30
4a6d51e698
docs:fix a typo in touch_sensor.h of esp32s2 and esp32s3
2022-11-11 17:40:09 +08:00
a67409275e
psram: remove CS/CLK pin settings in kconfig on ESP32S2/S3
2022-11-11 17:23:39 +08:00
eedc5bbdb7
esp_rom: add rom api esp_rom_uart_set_as_console for riscv chips
2022-11-11 10:09:56 +08:00
8b0d0cbf5d
esp_rom: remove ESP_ROM_SUPPORT_MULTIPLE_UART
2022-11-11 10:07:14 +08:00
7472018f06
esp_rom: fix esp32s3 rom ets_printf bug
2022-11-11 10:04:00 +08:00
bc54778b6c
esp_rom: update esp_rom_caps.h
2022-11-11 10:03:52 +08:00
a38828651b
esp_lcd: Add function for register on color done callback.
...
(cherry picked from commit 747c5993a8
)
2022-11-10 12:12:18 +01:00
61990fc8d4
esp_timer: fix ESP_TIMER_ISR dispatch method due to off by one error
2022-11-10 15:02:03 +08:00
7d2ba509e5
docs: add datasheets, hw guidelines and erratas for all chips
2022-11-10 15:00:41 +08:00
f53bd52bbb
docs: add TRM links for C2 to hw ref chapter
2022-11-10 14:59:01 +08:00
f8d4bc8911
soc: upgrade version printing to vX.Y
2022-11-10 06:21:11 +00:00
3f2f35bd5e
Merge branch 'bugfix/esp32s3_efuse_wafer_major_v5.0' into 'release/v5.0'
...
esp32s3: fixed bug chip v0.0 detected as vX.0 (v5.0)
See merge request espressif/esp-idf!21016
2022-11-10 12:04:31 +08:00
d4725fb34d
partition: use esp_partition_munmap instead of spi_flash_munmap
2022-11-10 11:26:51 +08:00
5b0448eaed
esp32s3: fixed bug chip v0.0 detected as vX.0
...
A typical value is 2.0.
2022-11-09 18:21:43 +08:00
fc0f640736
console: argtable3: upgrade to v3.2.2
...
Closes https://github.com/espressif/esp-idf/issues/9907
Closes https://github.com/espressif/esp-idf/pull/10016
2022-11-09 10:59:39 +01:00
e10d97a5d2
tools: Updates OpenOCD version to 'v0.11.0-esp32-20221026'
2022-11-08 21:15:28 +03:00
676a3475ed
esp_wifi: Support external coex for C2 & H2.(59313b6c)
2022-11-08 19:20:33 +05:30
9bbe6e7fa3
Support external coexist formal code for C2 & S3,
...
and optimize RX category in external coex.
2022-11-08 19:10:38 +05:30
4307be2906
esp_wifi: replace deprecated CONFIGS with their new versions
2022-11-08 19:08:30 +05:30
44366f57d8
esp_wifi: number of WiFi cache TX buffers should not equal 0 when enable SPIRAM
2022-11-08 19:02:51 +05:30
1362b58b58
esp_wifi: report rssi info in wifi event
2022-11-08 18:33:59 +05:30
78fe8e77e5
Adding check for ies in match security
2022-11-08 18:25:12 +05:30
f8e2c30b32
esp_wifi: Add config option for AP retry count
2022-11-08 18:20:54 +05:30
d4070f725c
Bluetooth: fix BSS placement in the linker script generated by ldgen
2022-11-08 14:00:02 +08:00
f825fcdda0
ble_mesh: stack: Fix can't trans optional info to group address
2022-11-07 15:46:39 +08:00
2dc3664075
usb_host: Test host library inflight transfer resubmission check
...
This commit updates the USB Host Library unit tests to test that resubmitting
an inflight transfer will return an error.
2022-11-07 13:41:46 +08:00
9670402e1c
usb_host: Add check to prevent submitting already inflight transfers
...
This commit adds a simple flag/check in the USB Host Library that prevents
users from submitting a transfer that is already inflight.
- A transfer is considered inflight as soon as it is submitted by calling
usb_host_transfer_submit() or usb_host_transfer_submit_control()
- An inflight transfer remains inflight up until right before its callback
is called by one of the USB Host Library handler functions.
Closes https://github.com/espressif/esp-idf/issues/8748
2022-11-07 13:41:41 +08:00
9e145c5d30
usb_host: Fixed incorrect opening devices from multiple clients
...
1. During USBH device open both queues (idle and pending) must be checked.
2. Don't overwrite already allocated endpoints
2022-11-07 13:41:35 +08:00
166effd4b8
Merge branch 'feature/partition_api_new_component_v5.0' into 'release/v5.0'
...
Storage: Partition APIs moved to the new component 'esp_partition' (v5.0)
See merge request espressif/esp-idf!20855
2022-11-04 14:58:51 +08:00
7ca457b519
sdspi: Allow CS line to be set to GPIO_NUM_NC (-1)
...
Closes https://github.com/espressif/esp-idf/issues/7852
2022-11-03 10:12:29 +08:00
4ef2ba26f9
I2C: Fix the reset counter
2022-11-03 02:09:44 +00:00
1ea5682617
Update i2c.c
...
Fix issue with single bus clear counter but two I2C buses (I2C0, I2C1). The previously implemented single (static) counter would impact the second bus either if one bus has counter expiry.
Merges https://github.com/espressif/esp-idf/pull/7144
2022-11-03 02:09:44 +00:00
a8ef7570ca
Merge branch 'examples/remove_c2_build_disable_yml_v5.0' into 'release/v5.0'
...
example: remove build disable rules of spi_xxx example for c2 in build-test-rules.yml (v5.0)
See merge request espressif/esp-idf!20594
2022-11-03 10:07:57 +08:00
ed92569ed1
Merge branch 'contrib/github_pr_10087_v5.0' into 'release/v5.0'
...
fixed url to console component (GitHub PR) (v5.0)
See merge request espressif/esp-idf!20900
2022-11-03 10:01:10 +08:00
a8ebd8ad04
unity: add linux port
...
This allows using unity fixture in Linux host tests
2022-11-02 21:49:15 +01:00
af81bd1b0a
Storage: Partition APIs moved to the new component 'esp_partition'
...
All the partition handling API functions and data-types were moved from the 'spi_flash' component to the new one named 'esp_partition'. See Storage 5.x migration guide for more details
2022-11-02 21:49:08 +01:00
61d05c0325
esp_hw_support: Fix time jump after reboot
...
Closes https://github.com/espressif/esp-idf/issues/9448
2022-11-02 18:18:38 +08:00
725eacbf16
Merge branch 'feature/usb/voltage_monitoring_backport_v5.0' into 'release/v5.0'
...
tinyusb: TinyUSB in IDF v5.0.0 (backport v5.0)
See merge request espressif/esp-idf!20673
2022-11-02 17:26:22 +08:00
940530c505
doc: redirect console page
...
Previous the console doc is moved from api-guide to api-reference, which
broken the URL as well, this commit added a redirect link to ensure the
old URL can still work.
2022-11-02 16:11:24 +08:00
3305987d66
Merge branch 'bugfix/esp32c2_create_sync_lost_v5.0' into 'release/v5.0'
...
Fixed occasional failure to establish sync and occasional wdt timeout issues on ESP32C2
See merge request espressif/esp-idf!20862
2022-11-02 11:35:00 +08:00
e63724adce
Merge branch 'bugfix/fix_ble_array_access_out_of_bounds_v5.0' into 'release/v5.0'
...
Fixed BLE array access out of bounds (backport v5.0)
See merge request espressif/esp-idf!20875
2022-11-01 21:00:20 +08:00
53075e44ad
Merge branch 'contrib/github_pr_10083_v5.0' into 'release/v5.0'
...
temperature_sensor: fix typo (github PR) (v5.0)
See merge request espressif/esp-idf!20888
2022-11-01 19:23:27 +08:00
79aea89853
Merge branch 'bugfix/add_protection_for_mac_rst_v5.0' into 'release/v5.0'
...
esp_wifi: add protection for mac reset (backport 5.0)
See merge request espressif/esp-idf!20871
2022-11-01 18:45:01 +08:00
bc225c8886
Fixed typo
2022-11-01 14:36:44 +08:00
88482af17a
Merge branch 'bugfix/i2s_tx_auto_clear_not_totally_clean_the_buf_v5.0' into 'release/v5.0'
...
i2s: fix tx incomplete auto clear (v5.0)
See merge request espressif/esp-idf!20570
2022-11-01 10:14:54 +08:00
a6d2c65fdc
Merge branch 'bugfix/2nd_bootloader_uart1_baudrate_issues_v5.0' into 'release/v5.0'
...
esp_rom: fix 2nd bootloader custom uart1 baudrate issue (backport to v5.0)
See merge request espressif/esp-idf!20653
2022-11-01 10:11:28 +08:00
c35b14bb49
Fixed BLE array access out of bounds
2022-10-31 20:13:26 +08:00
eb71cf38bb
Merge branch 'feature/move_eloop_to_pptask_v5.0' into 'release/v5.0'
...
wpa_supplicant: Run eloop timer in ppTask context (v5.0)
See merge request espressif/esp-idf!20864
2022-10-31 20:11:44 +08:00
07d0cd15c3
Merge branch 'bugfix/softap_pmf_espnow_issues_v5.0' into 'release/v5.0'
...
Fix some SoftAP PMF and espnow key issues (Backport v5.0)
See merge request espressif/esp-idf!20853
2022-10-31 19:27:11 +08:00
eb61f5835a
esp_wifi: add protection for mac reset (backport 5.0)
2022-10-31 17:55:03 +08:00
cbee4d4328
esp_wifi: Update wifi libs
...
Fix some SoftAP PMF and espnow key management related issues
2022-10-31 12:49:48 +05:30
34bb7af431
wpa_supplicant: Run eloop timer in ppTask context
...
Currently eloop runs in timer context which may cause some
inconsistent behavior.
Add changes to run eloop in ppTask context
2022-10-31 10:38:01 +05:30
ab2dee9439
Nimble/blufi: Added an API to stop Bluetooth / Blufi
2022-10-31 09:49:13 +05:30
3bc38b7ff4
Fixed occasional failure to establish sync and occasional wdt timeout issues on ESP32C2
2022-10-31 12:01:35 +08:00
20949d444f
Merge branch 'bugfix/rtc_function_needs_disable_usj_pads_esp32s3_v5.0' into 'release/v5.0'
...
rtcio: Disable USB Serial JTAG pad when setting pins 19 and 20 as RTC function on ESP32S3 (backport v5.0)
See merge request espressif/esp-idf!20550
2022-10-31 11:57:07 +08:00
c7e8aca45f
docs: remove link to i2c specs
2022-10-31 11:54:00 +08:00
b1c856022c
Merge branch 'bugfix/spi2_add_device_cs_more_than_3_v5.0' into 'release/v5.0'
...
spi_master:fix error when use `spi_bus_add_device` more than 3 device(v5.0)
See merge request espressif/esp-idf!20073
2022-10-31 11:46:16 +08:00
ad5b5ed4ed
Merge branch 'bugfix/fixed_signal_gap_in_i2s_adc_dac_example_v5.0' into 'release/v5.0'
...
i2s_example: fixed i2s_adc_dac output gap (v5.0)
See merge request espressif/esp-idf!20355
2022-10-31 11:37:43 +08:00
9108dcafd1
Merge branch 'refactor/use_managed_component_in_es7210_example_v5.0' into 'release/v5.0'
...
es8311: update the version of es8311 (v5.0)
See merge request espressif/esp-idf!20849
2022-10-31 11:34:46 +08:00
2635a18df2
Merge branch 'bufix/Backport_some_wifi_lwip_bugs_for_5.0_0821' into 'release/v5.0'
...
Bufix/backport some wifi lwip bugs for 5.0 0821
See merge request espressif/esp-idf!20732
2022-10-28 16:33:50 +08:00
237a5a0585
Merge branch 'bugfix/eloop_timer_crash_v5.0' into 'release/v5.0'
...
wpa_supplicant: Validate eloop struct before deleting it (v5.0)
See merge request espressif/esp-idf!20846
2022-10-28 16:29:34 +08:00
838abedbc8
es7210: use managed component
2022-10-28 14:59:33 +08:00
2444d99612
wpa_supplicant: Validate eloop struct before deleting it
2022-10-28 09:44:32 +05:30
a43a6809c7
Merge branch 'feature/esp32c2_optimize_npl_os_freertos_ram_v5.0' into 'release/v5.0'
...
Feature/esp32c2 optimize npl os freertos ram v5.0
See merge request espressif/esp-idf!20776
2022-10-28 11:42:16 +08:00
78773966c3
Merge branch 'feature/rgb_lcd_yuv_converter_v5.0' into 'release/v5.0'
...
RGB-YUV converter (v5.0)
See merge request espressif/esp-idf!20362
2022-10-28 10:07:48 +08:00
8481fbf752
Merge branch 'bugfix/change_clock_name_v5.0' into 'release/v5.0'
...
mcpwm: fix wrong return value in the legacy MCPWM driver (5.0)
See merge request espressif/esp-idf!20693
2022-10-28 10:02:40 +08:00
a13d5ef224
Merge branch 'bugfix/update_duty_on_tez_tep_v5.0' into 'release/v5.0'
...
mcpwm: update compare value on both tep and tez (v5.0)
See merge request espressif/esp-idf!20766
2022-10-28 10:00:36 +08:00
108274f6c0
Merge branch 'bugfix/esp32_hardware_mpi_fix_v5.0' into 'release/v5.0'
...
esp32: mpi: add workaround for data corruption issue observed with IDF 5.x toolchain (v5.0)
See merge request espressif/esp-idf!20819
2022-10-27 20:43:11 +08:00
0830a47b60
Merge branch 'bugfix/http_cached_data_in_redirection_v5.0' into 'release/v5.0'
...
esp_http_client: free cached data in case connection gets closed for redirection (v5.0)
See merge request espressif/esp-idf!20791
2022-10-27 20:42:37 +08:00
1af8f48a22
Merge branch 'bugfix/fix_wifi_retry_v5.0' into 'release/v5.0'
...
wifi_provisioning: fix error codes for wifi connect retry (v5.0)
See merge request espressif/esp-idf!20716
2022-10-27 20:42:20 +08:00
ba76bffb8b
Merge branch 'esp_prov/update_deprecated_api_v5.0' into 'release/v5.0'
...
esp_prov: Update deprecated APIs (v5.0)
See merge request espressif/esp-idf!20793
2022-10-27 20:41:55 +08:00
dbffc26bac
Merge branch 'bugfix/wifi_prov_sec2_bluedroid_v5.0' into 'release/v5.0'
...
protocomm: Increase Bluedroid-BLE maximum buffer size (v5.0)
See merge request espressif/esp-idf!20820
2022-10-27 20:41:30 +08:00
8becd5a856
protocomm: Increase Bluedroid-BLE maximum buffer size
...
- For the security2 scheme, the payload size is quite larger
than that for security1.
2022-10-27 09:56:10 +05:30
84b0254fbf
esp32: mpi: add workaround for data corruption issue observed with IDF 5.x toolchain
...
This fix adds a workaround to disable compiler optimization flag "-ftree-loop-distribute-patterns"
for `mpi_to_mem_block` routine. It was observed that compiler with release configuration was falling
back to `memset` call from ROM library causing an issue in correctly zero initializing MPI peripheral
block.
Please see following linked issue for more discussion and context on this issue.
Closes https://github.com/espressif/esp-idf/issues/8710
Closes https://github.com/espressif/esp-idf/issues/9371
Closes https://github.com/espressif/esp-idf/issues/9256
Closes IDFGH-7102
Closes IDFGH-7842
Closes IDFGH-7714
Closes IDFCI-1452
Closes IDF-6029
2022-10-27 09:54:26 +05:30
fe70b5f987
esp_rom: put rom tlsf patch code in iram by default
2022-10-27 10:42:04 +08:00
cb647b5198
bt: Fixed SPP VFS mode not being able to send data
2022-10-26 16:41:09 +08:00
47232f54a8
bt: Fixed esp_spp_write() crash when len is 0
...
Closes https://github.com/espressif/esp-idf/issues/9977
2022-10-26 16:40:56 +08:00
f91cb280eb
esp_hw_support/sleep: fix light sleep wakeup flag
...
light sleep wakeup flag is true to indicate the most recent successful wakeup from light sleep,
which means the most recent light sleep occurred successfully and then wakes up by wakeup source
2022-10-26 16:11:41 +08:00
e04c8505e1
esp32/rtc: fix xtal unstable in some cases when sleep
...
1. add xtal buf wait to fix high temperature restart issue
2. add min sleep value to fix xtal stop due to too short sleep time issue
2022-10-26 16:11:27 +08:00
9a97071501
esp_prov: Update deprecated APIs
...
- Updated deprecated APIs for bleak module
- Updated README and troubleshooting reference for
BLE transport
2022-10-26 10:49:30 +05:30
f93304d36e
esp_http_client: free cached data in case connection gets closed for redirection
...
In case of `esp_http_client_read` based workflow, we cache data that is received
during fetch header stage. In case, there is URL redirection and we have to close
the connection on URL, port change then we must discard earlier cached data.
Closes AUD-4158
2022-10-26 10:11:09 +05:30
333c3db233
Modify ESP32C2's default ble tx output power
2022-10-25 16:50:21 +08:00
be07eb4757
Reduced the RAM size of npl_os_freertos.c file
2022-10-25 16:50:07 +08:00
dbcf640261
Merge branch 'bugfix/handle_buffers_for_ext_adv_rpt_v5.0' into 'release/v5.0'
...
Nimble: Allocate memory for ext adv reports from lower priority pool. (v5.0)
See merge request espressif/esp-idf!20730
2022-10-25 16:48:20 +08:00
cd634f76d4
ulp-riscv: always force COCPU clock on S3
...
The coprocessor cpu trap signal doesnt have a stable reset value,
force ULP-RISC-V clock on to stop RTC_COCPU_TRAP_TRIG_EN from waking the CPU
2022-10-25 13:50:55 +08:00
e2cac5bf58
mcpwm: update compare value on both tep and tez
...
Closes https://github.com/espressif/esp-idf/issues/9904
2022-10-25 13:20:33 +08:00
61191a5ce5
tinyusb: Use TinyUSB from component registry
2022-10-25 06:44:56 +02:00
0179edb71d
tinyusb: Add VBUS voltage monitoring feature
...
VBUS voltage monitoring is mandated by USB specification for self-powered devices.
This implementation maps selected GPIO to bvalid signal of USB-OTG peripheral.
Closes https://github.com/espressif/esp-idf/issues/7747
2022-10-25 06:44:56 +02:00
125ff0050e
usb: Allow settings of all signals in usb_phy
...
Until now, only usb_phy signals for external PHY were defined.
This is now extended with all OTG signals.
2022-10-25 06:44:55 +02:00
6099844644
examples: support spi master examples on esp32cxx
2022-10-25 12:04:22 +08:00
a26c47be0f
example: remove build disable rules of spi_xxx example for c2 in build-test-rules.yml
2022-10-25 12:04:22 +08:00
76f7c727d5
ble_mesh:example:fix memory leak
2022-10-25 03:44:44 +00:00
dbf8cd5b43
Merge branch 'refactor/remove_deprecated_can_stuffs_v5.0' into 'release/v5.0'
...
twai: remove the deprecated "CAN" driver code (v5.0)
See merge request espressif/esp-idf!20755
2022-10-25 11:37:37 +08:00
acb3b06ed6
twai: remove deprecated code and add hint
...
name "CAN" has been deprecated for a long time, this commit just remove
it from the code base.
Please use "TWAI" driver instead.
2022-10-24 18:39:45 +08:00
f7b10c99c2
Merge branch 'bugfix/backup_dma_stall_when_sw_rst_v5.0' into 'release/v5.0'
...
backport v5.0: force clear reset signal to fix the backup dma operation failure...
See merge request espressif/esp-idf!20637
2022-10-24 14:10:25 +08:00
b306b48aa3
backup dma: force clear reset signal to fix the backup dma operation failure caused by RTC_SW_CPU_RST
2022-10-24 04:27:54 +00:00
fae252244b
freertos: Add missing ESP_PLATFORM preprocessor directive for FreeRTOS static data structs (v5.0)
...
This commit adds the missing ESP_PLATFORM preprocessor directive to
static data structures to wrap the extra variable added for SMP locks.
Closes https://github.com/espressif/esp-idf/issues/9785
2022-10-21 14:15:16 +02:00
cd58bad218
Lwip:add TCP Fin2 timeout configuration
2022-10-21 16:23:54 +08:00
9948de101d
lwip:bugfix for increase ping task stack size
2022-10-21 16:21:06 +08:00
af02784331
esp_wifi:bugfix sniffer mode can not capture control packet
2022-10-21 16:15:56 +08:00
0db5909b47
mcpwm: new function to fetch capture resolution
2022-10-21 07:37:36 +00:00
1af428dff3
mcpwm: fix wrong return value in the legacy driver
...
For APIs that not return esp_err_t value, we can't use macros like
ESP_RETURN_ON_xxx
2022-10-21 07:37:36 +00:00
2a50dd8a8f
mcpwm: default clock cource is PLL160M
...
On esp32, the default clock source is also PLL160M
2022-10-21 07:37:36 +00:00
94d9c529f3
Merge branch 'feature/backport_c2_adc_runner_v5.0' into 'release/v5.0'
...
esp_adc: added esp32c2 adc runners (v5.0)
See merge request espressif/esp-idf!20706
2022-10-21 15:37:05 +08:00
11c44c9838
Nimble: Added check to allocate memory for extended adv
...
reports from lower prioirty buffers instead of high prioirty pool.
2022-10-21 12:47:14 +05:30
11b6c25641
[bt] fix if allocation fails
...
If osi_malloc fails for work_queues or osi_work_queue_create fails, osi_work_queue_delete in _err may release unallocated memory.
2022-10-21 14:44:39 +08:00
4cfb2e9e7d
fixed crash in I2S when reconnect to a2dp sink
2022-10-21 14:10:51 +08:00
12628677c5
wifi_provisioning: fix error codes for wifi connect retry
...
Closes: https://github.com/espressif/esp-idf/issues/9399
2022-10-21 11:32:56 +05:30
903cb5eae8
Merge branch 'fix/softap_pmf_disconnect_v5.0' into 'release/v5.0'
...
Fix deauth and disassoc issue for softap pmf connections (Backport v5.0)
See merge request espressif/esp-idf!20545
2022-10-21 13:59:56 +08:00
ac7ce5bd02
Merge branch 'bugfix/revert_commit_da44fc9c_v5.0' into 'release/v5.0'
...
Revert "fixed the issue iOS devices cannot initiate connection" (v5.0)
See merge request espressif/esp-idf!20666
2022-10-21 13:59:33 +08:00
ffcabde96d
Update #define BT_CONTROLLER_INIT_CONFIG_DEFAULT().
...
Corrects header names in string from "bt.h" to "esp_bt.h".
2022-10-21 11:58:30 +08:00
46d3627e66
esp_adc: added esp32c2 adc runners
2022-10-21 11:20:41 +08:00
ff29f5c43a
NimBLE : Init deinit nimble stack in a loop
2022-10-20 12:58:38 +05:30
28f9ddee74
Merge branch 'doc/usj_sw_reset_alive_bbpll_doc_v5.0' into 'release/v5.0'
...
usb_serial_jtag: fixed the docs that we can use usj in sleep modes (v5.0)
See merge request espressif/esp-idf!20287
2022-10-20 01:34:54 +08:00
bc3bf04af7
esp_rom: add rom tlsf function prototype instead of void *
2022-10-19 19:35:39 +08:00
3314fcfdf7
Revert "fixed the issue iOS devices cannot initiate connection"
...
This reverts commit da44fc9cbe
.
2022-10-18 19:47:10 +08:00
97353355ab
tools: cmake: check tool supported version with idf_tools.py
2022-10-18 12:27:55 +04:00
50b1a99a47
Nimble: Update the esprv_intc_int_set_type() usage
2022-10-18 06:06:44 +00:00
c4aca02d7e
esp_wifi: Fix deauth and disassoc issues for SoftAP PMF
2022-10-18 09:52:19 +05:30
9adf4dc240
esp_rom: fix 2nd bootloader custom uart1 baudrate issue
2022-10-18 11:02:25 +08:00
792ff9ce8c
Merge branch 'tools/fixed_coredump_version_print_v5.0' into 'release/v5.0'
...
tools: fixed the coredump package's suppressed print (v5.0)
See merge request espressif/esp-idf!20648
2022-10-17 20:15:01 +08:00
79c0514f2b
tools: fixed the coredump package's suppressed print
2022-10-17 17:54:39 +08:00
54f18a4fa3
ble_mesh: stack: Add IV index recovery option when device missed the whole IV update
2022-10-17 16:52:01 +08:00
3d695cec32
ble_mesh: stack: Fix send fast interval prov_adv failed when PB-ADV and PB-GATT enable simultaneously
2022-10-17 16:38:09 +08:00
5c2a41d659
Merge branch 'bugfix/close_stack_callback_during_ble_stop_v5.0' into 'release/v5.0'
...
Nimble: Added check to deregister stack callback with controller during (v5.0)
See merge request espressif/esp-idf!20603
2022-10-16 11:14:46 +08:00
244ef221e3
Merge branch 'bugfix/fix_mbedlts_ds_memory_leak_v5.0' into 'release/v5.0'
...
esp-tls: Fix memory leak in mbedtls ds peripheral when MBEDTLS_THREADING_C enabled (backport v5.0)
See merge request espressif/esp-idf!20597
2022-10-16 11:01:28 +08:00
6713c745c2
Merge branch 'bugfix/esp32c2_scan_assert_v5.0' into 'release/v5.0'
...
Fixed occasional crash during scanning
See merge request espressif/esp-idf!20580
2022-10-16 11:01:13 +08:00
7bd5af7f1e
Merge branch 'bugfix/a2dp_can_not_connect_after_ble_connected_v5.0' into 'release/v5.0'
...
fixed the issue iOS devices cannot initiate connection (v5.0)
See merge request espressif/esp-idf!20403
2022-10-14 17:15:15 +08:00
0af1ed8813
bugfix: esprv_intc_int_set_type should not use bitmap parameter
2022-10-14 15:39:24 +08:00
a77617e673
CI: optimize wifi get started example test
2022-10-14 15:02:24 +08:00
d6ea9b9643
Nimble: Added check to deregister stack callback with controller during
2022-10-14 12:08:15 +05:30
d1b989dae2
Merge branch 'bugfix/reorder_stack_deinit_function_v5.0' into 'release/v5.0'
...
Nimble: Removed extra deinit for flow timer (v5.0)
See merge request espressif/esp-idf!20308
2022-10-14 13:58:53 +08:00
2209831dd2
Merge branch 'feat/sdio_slave_disable_hs_v5.0' into 'release/v5.0'
...
sdio_slave: allow disabling highspeed mode (v5.0)
See merge request espressif/esp-idf!20456
2022-10-14 12:11:14 +08:00
1729c79577
Merge branch 'feature/mcpwm_update_compare_iram_safe_5.0' into 'release/v5.0'
...
mcpwm: make set_compare_value iram safe (5.0)
See merge request espressif/esp-idf!20304
2022-10-14 11:58:55 +08:00
dec4052ed7
fixed the issue iOS devices cannot initiate connection
...
to ESP32 while there is a BLE connection to this ESP32
Closes https://github.com/espressif/esp-idf/issues/6557
2022-10-14 03:28:18 +00:00
65bf1ff368
Merge branch 'bugfix/use_nonblocking_coex_callback_v5.0' into 'release/v5.0'
...
bluetooth: use non-blocking coexistence callback functions so that Wi-Fi task is not blocked by Bluetooth(backport v5.0)
See merge request espressif/esp-idf!20414
2022-10-14 11:25:21 +08:00
ab848877a8
Merge branch 'bugfix/eap_hash_key_len_validation_v5.0' into 'release/v5.0'
...
esp_wifi:Adding hash key length validation(backport v5.0)
See merge request espressif/esp-idf!20484
2022-10-14 11:16:03 +08:00
59f0d31dd2
Merge branch 'bugfix/intr_alloc_missing_critical_section_exit_v5.0' into 'release/v5.0'
...
intr_alloc: Fixed missing portEXIT_CRITICAL_SAFE (GitHub PR) (v5.0)
See merge request espressif/esp-idf!20399
2022-10-14 11:15:21 +08:00
871ecb8163
Merge branch 'bugfix/tinyusb_corrected_typo_naming_of_acm_v5.0' into 'release/v5.0'
...
tinyusb: fix typo naming of ACM (backport v5.0)
See merge request espressif/esp-idf!20298
2022-10-14 11:14:52 +08:00
a9cc30e3e2
Merge branch 'bugfix/fix_spi_bus_lock_concurrency_issue_v5.0' into 'release/v5.0'
...
spi_bus_lock: fix a concurrency issue (v5.0)
See merge request espressif/esp-idf!20136
2022-10-14 11:13:51 +08:00
aa49bad73f
Merge branch 'bugfix/reason_code_pmk_flush_v5.0' into 'release/v5.0'
...
Prevent pmk flush for unspecified reasoncode (v5.0)
See merge request espressif/esp-idf!20582
2022-10-14 11:08:53 +08:00
0a41b9bcd8
esp-tls: Fix memory leak in mbedtls ds peripheral when MBEDTLS_THREADING_C enabled
2022-10-13 19:35:04 +08:00
f11cc8ca9d
Remove unnecessary code from disconnect handler
2022-10-13 12:14:09 +05:30
e2b8ebe804
wpa_supplicant: Prevent pmk flush for unspecified reasoncode
2022-10-13 12:14:09 +05:30
6b980e526a
Fixed occasional crash during scanning
2022-10-13 14:05:45 +08:00
da9a78ebfc
Merge branch 'docs/translate_protocols_in_migration_guides_backport_v5.0' into 'release/v5.0'
...
docs: provide translation for protocols in migration guides (backport v5.0)
See merge request espressif/esp-idf!20538
2022-10-13 13:43:24 +08:00
f9e3384f49
Merge branch 'bugfix/add_security_patches_v5.0' into 'release/v5.0'
...
Adding security patch for SAE side channel attacks (Backport v5.0)
See merge request espressif/esp-idf!20566
2022-10-13 11:09:39 +08:00
c76ecbe682
Merge branch 'bugfix/fix_esp_hid_auth_fail_crash_v5.0' into 'release/v5.0'
...
Fix esp hid crash when auth failed (backport v5.0)
See merge request espressif/esp-idf!20539
2022-10-13 10:50:10 +08:00
2978de0f75
Merge branch 'rebase/fix_ble_mem_leak_issue_rls' into 'release/v5.0'
...
fix ble mem leak when sleep is enabled
See merge request espressif/esp-idf!20528
2022-10-13 10:49:46 +08:00
f0863e0932
esp_rom: update esp_rom_caps.h
2022-10-12 20:07:40 +08:00
2d4f6d5b62
bt: use non-blocking coexistence callback functions so that Wi-Fi task is not blocked by Bluetooth
2022-10-12 19:42:55 +08:00
e302d9a976
i2s: fix tx incomplete auto clear
...
Closes: https://github.com/espressif/esp-idf/issues/9882
2022-10-12 19:42:37 +08:00
71a0d61eae
wpa_supplicant: Update security patches from upstream
...
1. Adding security patch for SAE side channel attacks
2. Adding confirm message validation in error cases
3. Adding y coordinate for PWE in SAE
2022-10-12 15:01:17 +05:30
bc992d7975
wpa_supplicant: Move SAE modules into dragonfly files
2022-10-12 14:52:08 +05:30
e2e97a5a33
mcpwm: allow compare equals to period
2022-10-12 08:41:58 +00:00
54813cc19b
mcpwm: make set_compare_value iram safe
...
Closes https://github.com/espressif/esp-idf/issues/9793
2022-10-12 08:41:58 +00:00
c5f6453586
Merge branch 'bugfix/fix_c3_dig_dibas_limit_bug_to_v5.0' into 'release/v5.0'
...
C3: Fix system not stable bug when dbias storing in efuse is bigger than 27 (v5.0)
See merge request espressif/esp-idf!20499
2022-10-12 16:32:45 +08:00
a2de42c096
Merge branch 'test/test_adc_on_dedicated_runners_v5.0' into 'release/v5.0'
...
ci: use adc dedicated test runners (v5.0)
See merge request espressif/esp-idf!20357
2022-10-12 16:32:26 +08:00
5ec5faf02f
heap: Fix memory boundary condition checks when adding new region
...
Previously, condition_4 was making impossible the valid scenario
start > heap_start && end == heap_end.
Now, the end == heap_end and start == heap_start case is handled
separately allowing the case start > heap_start && ned == heap_end
to be considered a valid scenario
2022-10-12 08:17:50 +02:00
47c0db2830
rtcio: Disable USB Serial JTAG pad when setting pins 19 and 20 as RTC function on ESP32S3
...
Similar to the fix in gpio lower layers, USB Serial JTAG pad should be disabled when the DM and DP pins want to be used as rtcio pins.
(cherry picked from commit de0401047c
)
2022-10-12 11:50:51 +08:00
35b0be3eca
esp_adc: improve adc continuous iram test aim
...
This commit increases adc continuous iram test period of cache disabling
time. Now time is: 1 second
- The aim of this test is to make sure the continuous mode driver ISR
callbacks can run in an IRAM-Safe context.
- Closing cache takes time. WHereas the code to close the cache is
updated. This time gets changed.
2022-10-12 11:32:04 +08:00
baca425ce8
fix ble mem leak when sleep is enabled
2022-10-12 11:29:55 +08:00
bbc5009e9f
Tools: Check venv the same way how it will be used later
...
It is possible that import of venv passes but it still cannot be
started. This can happen with the embedded Python deployed by the
ESP-IDF installer.
2022-10-11 16:26:21 +02:00
6508a4ee0a
fix esp hid crash when auth failed
2022-10-11 20:09:16 +08:00
ee769abe19
Merge branch 'feature/fatfsgen-enable-512-bytes-sector_v5.0' into 'release/v5.0'
...
fatfsgen.py: enabled 512 sized sectors (v5.0)
See merge request espressif/esp-idf!20416
2022-10-11 19:35:16 +08:00
58f725a7fd
Merge branch 'fix/export_without_constraint_download_v5.0' into 'release/v5.0'
...
Tools: The Python dependency checker should not update the constraint file (v5.0)
See merge request espressif/esp-idf!20516
2022-10-11 19:35:00 +08:00
a6adac2a8b
Merge branch 'ci/fix_mqtt5_broker_not_available_v5.0' into 'release/v5.0'
...
ci: Fix mqtt broker is not available (backport v5.0)
See merge request espressif/esp-idf!20451
2022-10-11 19:33:40 +08:00
7df991f841
docs: provide translation for protocols in migration guides
2022-10-11 18:03:10 +08:00
d3ae5ed08f
Merge branch 'backport/cjh_v5.0' into 'release/v5.0'
...
Fixed some BLE bugs on bluedroid (backport v5.0)
See merge request espressif/esp-idf!20510
2022-10-11 17:47:26 +08:00
09018a6af4
Merge branch 'bugfix/eanble_bluedroid_host_adv_ind_report_individually_v5.0' into 'release/v5.0'
...
allow bluedroid host to report adv_ind separately(backport v5.0)
See merge request espressif/esp-idf!20440
2022-10-11 17:46:45 +08:00
5ae4f34cb8
Merge branch 'bugfix/fix_ble_lld_per_adv_assert_on_esp32c3_s3_v5.0' into 'release/v5.0'
...
Fixed BLE lld_per_adv.c line 401 assert (backport v5.0)
See merge request espressif/esp-idf!20506
2022-10-11 17:46:10 +08:00
bb6e0e52b8
Merge branch 'bugfix/fix_esp32_ble_assert_32_v5.0' into 'release/v5.0'
...
Fixed ESP32 BLE assert(32 0) (backport v5.0)
See merge request espressif/esp-idf!20508
2022-10-11 17:45:55 +08:00
8d2fda5db6
Merge branch 'bugfix/fix_connect_fail_when_enable_SPIRAM_v5.0' into 'release/v5.0'
...
esp_wifi: fix connect fail when enable SPIRAM and ESPNOW send (backport v5.0)
See merge request espressif/esp-idf!20431
2022-10-11 16:27:54 +08:00
055f18f27a
docs: sync chinese translation of build-system.rst
2022-10-11 14:27:04 +08:00
83c0a7dc93
Update build-system.rst
...
Rearranged few lines of folder directory description
2022-10-11 14:26:55 +08:00
2a8f297840
CI: enable psram in sniffer example
2022-10-10 18:38:11 +08:00
1ab5fa22b7
ci: change example simple sniffer test channel
2022-10-10 18:38:11 +08:00
ddb7036aee
esp_wifi: fix connect fail when enable SPIRAM
2022-10-10 16:11:06 +08:00
737cdcbaa6
Tools: The Python dependency checker should not update the constraint file
...
The Python dependency checker called from the export scripts and before
build remains offline, i.e. it will use the previously downloaded
constraint file but won't download a newer version.
Related to https://github.com/espressif/esp-idf/pull/9328
2022-10-10 09:46:39 +02:00
ee12de9450
Merge branch 'fix/fix_protocomm_security2_backward_compatibility_v5.0' into 'release/v5.0'
...
wifi_prov: Update behaviour for wifi_prov_mgr_start_provisioning to avoid... (v5.0)
See merge request espressif/esp-idf!20489
2022-10-10 15:44:12 +08:00
bb41b340b9
ci: Fix mqtt broker is not available
2022-10-10 02:38:28 +00:00
3eb3f9f744
Merge branch 'bugfix/rmt_iram_test_random_failure_v5.0' into 'release/v5.0'
...
test: fix rmt iram case random failure (v5.0)
See merge request espressif/esp-idf!20383
2022-10-09 17:59:34 +08:00
a207f218ea
bluedroid: configurable max gattc cache characteristic count
2022-10-09 17:07:53 +08:00
3f3ca8bf60
fix ble adv tx power map
2022-10-09 17:07:53 +08:00
548cce624c
bluedroid: fix ble rpa generate and update by host
2022-10-09 17:07:53 +08:00
84bcd1d1f0
soc: remove soc ble config from Kconfig
2022-10-09 17:07:53 +08:00
e9dd8a6bf5
Revert "component/bt: add local irk to controller"
...
This reverts commit 95c35288bc
.
2022-10-09 17:07:53 +08:00
f96e38a70d
Revert "Fixed ESP32 BLE can't resolve the peer address when enable white list"
...
This reverts commit 1cc0f6aac5
.
2022-10-09 17:07:53 +08:00
03832cceeb
Bluedroid: Configurable option to modify max gatt service attributes count
2022-10-09 17:07:53 +08:00
60ece59f04
Fixed ESP32 BLE assert(32 0)
2022-10-09 16:06:28 +08:00
1030bdd299
Fixed BLE lld_per_adv.c line 401 assert
2022-10-09 16:02:06 +08:00
2fe4ff7031
allow bluedroid host to report adv_ind separately
2022-10-08 14:53:53 +08:00
ccb8b9d42c
wifi_provisioning/manager.c: Fix small bug introduced in recent MR.
2022-10-08 10:50:02 +05:30
d70e80b7bb
pytest_wifi_prov_mgr.py: Update example test to enable sec1 and sec2
...
testing
2022-10-08 10:49:53 +05:30
c740192123
protocomm/esp_srp: Allocate memory for username only when the
...
verification is successful
2022-10-08 10:49:44 +05:30
b7ec10d461
protocommm/esp_srp: Fix small issues reported by coverity.
2022-10-08 10:49:26 +05:30
d7dcb88fdc
C3: Fix system not stable bug when dbias storing in efuse is bigger than 27
2022-10-08 11:59:32 +08:00
8cbaff1b1d
docs: remove rarely used items from the home page
2022-10-08 10:38:37 +08:00
9d29738473
Makes COMPONENT_LIB available for mock components
...
- COMPONENT_LIB wasn't available for parent scope
2022-10-07 14:26:14 +02:00
a98ecafaf2
wifi_prov_mgr: Make security2 as default for the example
2022-10-07 14:14:45 +05:30
92698b28d8
wifi_prov_mgr_example: Set "wifiprov" as test username and "abcd1234" as
...
test password.
2022-10-07 14:14:45 +05:30
38b81d52c5
wifi_prov_mgr: Fix comments
2022-10-07 14:14:44 +05:30
78b49a4ab6
protocomm: Enable security version 2 by default
2022-10-07 14:14:44 +05:30
4ba30e29ec
wifi_prov_mgr: Add security version in the proto-ver endpoint.
2022-10-07 14:14:44 +05:30
6f69097815
wifi_prov: Update behaviour for wifi_prov_mgr_start_provisioning to avoid breaking the usage for sec1
2022-10-07 14:14:44 +05:30
fbaf50f1d9
esp_wifi:adding hash key length validation
2022-10-06 16:40:57 +05:30
d39da71671
Merge branch 'bugfix/wifi_prov_device_name_v5.0' into 'release/v5.0'
...
wifi_provisioning : Increased 1 byte of BLE advertising device name to store '\0' (v5.0)
See merge request espressif/esp-idf!20373
2022-10-06 13:15:41 +08:00
1ec71ecc37
Merge branch 'coredump_support_for_c2_v5.0' into 'release/v5.0'
...
espcoredump: Add support for esp32c2 (v5.0)
See merge request espressif/esp-idf!20473
2022-10-06 13:15:01 +08:00
6db611ceb6
ci: update coredump elf repository tag
2022-10-04 10:24:45 +05:30
5f0bf15ad5
docs: update coredump guide to make stack size config generic
2022-10-04 10:24:44 +05:30
ce469140b5
espcoredump: enable tests for esp32c2 target
2022-10-04 10:24:44 +05:30
75df40c617
espcoredump: add esp32c2 target in test_app
2022-10-04 10:24:43 +05:30
6fb40068be
espcoredump: re-enable test_app build for esp32c2
2022-10-04 10:24:43 +05:30
548db6c139
espcoredump: Add support for esp32c2
...
This commit puts some code under SOC_RTC_MEM_SUPPORTED. This enables use of coredump in targets with no RTC memory support.
2022-10-04 10:24:42 +05:30
2d61c9ca79
tools: move cmake executable check into function uses it
...
Before this change idf.py could exit with reason cmake does not exist in PATH
even cmake will not be executed by idf.py (e.g., 'idf.py gdb').
2022-10-03 18:48:16 +04:00
7561367808
tools: add test for ROM symbols in GDB
2022-10-03 18:48:16 +04:00
2e9f175ae5
tools: fixed elf symbols load if gdbinit specified
...
ROM and bootloader symbols add to use in GDB (via 'idf.py gdb')
2022-10-03 18:48:16 +04:00
3eec946f60
tools: add esp-rom-elfs version '20220823'
2022-10-03 18:48:16 +04:00
ca5bc94c27
fatfsgen.py: enabled 512 sized sectors
2022-10-03 09:33:15 +00:00
3f3c9be14c
Merge branch 'bugfix/fix_socket_leak_v5.0' into 'release/v5.0'
...
esp-tls: socket will be set to -1 and will not be closed (backport v5.0)
See merge request espressif/esp-idf!20349
2022-10-03 13:14:07 +08:00
68027354ad
Merge branch 'bugfix/esptool_secure_boot_signing_key_path_v5.0' into 'release/v5.0'
...
esptool: (re)populate the secure boot signing key path (v5.0)
See merge request espressif/esp-idf!20422
2022-10-03 13:13:50 +08:00
e94ea3a02e
Merge branch 'bugfix/add_so_linger_to_httpd_config_v5.0' into 'release/v5.0'
...
esp_http_server: Add struct linger in httpd_config_t (v5.0)
See merge request espressif/esp-idf!20358
2022-10-03 13:13:26 +08:00
21077eda8e
esptool: (re)populate the secure boot signing key path
...
For project with reduced component list, secure boot signing key
path was not getting correctly. This change sets the secure boot
signing key path explicitly based on the relevant config option.
Closes https://github.com/espressif/esp-idf/issues/9578
Close IDFGH-8075
2022-10-01 15:05:29 +00:00
1d09c78c17
sdio_slave: allow disabling highspeed mode
2022-10-01 01:53:28 +08:00
3d47d8ae38
Merge branch 'ci/fix_upload-submodules-cache_v5.0' into 'release/v5.0'
...
CI: fix upload submodule cache for runners using mirror server (v5.0)
See merge request espressif/esp-idf!20442
2022-09-30 21:52:23 +08:00
ec4dd8a3a2
Merge branch 'bugfix/ble_light_sleep_enter_issue' into 'release/v5.0'
...
Bugfix/ble light sleep enter issue
See merge request espressif/esp-idf!20336
2022-09-30 18:22:41 +08:00
719f05306f
Fixed the issue that master sends retransmitted data incorrectly on ESP32C2
2022-09-30 12:02:58 +08:00
0010f4c3a8
update controller lib for bugfix on light-sleep
2022-09-30 12:02:57 +08:00
9d7a7001ac
fix ble compilation error
2022-09-30 12:02:57 +08:00
2a20a3c33f
Merge branch 'feat/essl_extra_component_v5.0' into 'release/v5.0'
...
essl: move from esp-idf component to extra component (v5.0)
See merge request espressif/esp-idf!20342
2022-09-30 10:43:34 +08:00
e3f1308505
CI: fix upload submodule cache for runners using mirror server
2022-09-29 23:22:11 +08:00
2ac7008a16
intr_alloc: Fixed missing portEXIT_CRITICAL_SAFE
...
Closes https://github.com/espressif/esp-idf/pull/9867
[darian@espressif.com: Updated commit message]
Signed-off-by: Darian Leung <darian@espressif.com>
2022-09-29 20:36:27 +08:00
cdc92f8c01
example: fixed spi_slave_hd and sdio hosts should pull essl package of compatible versions
2022-09-29 07:39:45 +00:00
1e0c16deaf
sdio/example: fixed the essl return type issue
2022-09-29 07:39:45 +00:00
c15f5f352c
essl: move from esp-idf component to extra component
2022-09-29 07:39:45 +00:00
bcb9328618
Merge branch 'feature/openthread_flash_optimization_5.0' into 'release/v5.0'
...
openthread: Add some flash optimization options for openthread component (backport v5.0)
See merge request espressif/esp-idf!20420
2022-09-29 15:36:50 +08:00
7a14dc767f
Merge branch 'bugfix/fix_uart_fake_tx_done_v5.0' into 'release/v5.0'
...
uart: Fix unwanted processing of TX_DONE interrupt immediately after calling uart_wait_tx_done() (backport v5.0)
See merge request espressif/esp-idf!20313
2022-09-29 12:28:53 +08:00
14ef8d56ca
openthread: Add some flash optimization options for openthread component
...
openthread: use a certain version of esp_openthread_cli_extension managed component
2022-09-29 09:40:05 +08:00
eb2f472069
test: fix rmt iram case random failure
2022-09-28 10:52:29 +08:00
ba8fc01327
wifi_provisioning : Increased 1 byte of BLE advertising device name to store '\0', at the end, to ensure we adhere to the max name length as per spec.
2022-09-27 16:09:00 +05:30
3ab9e57c41
refactor(editorconfig): Removed FreeRTOS tab rule
...
FreeRTOS used tabs before, but changed to spaces now.
This hasn't been reflected in the editorconfig file
and is fixed now.
2022-09-27 11:45:12 +02:00
5d58c10c3e
rgb_lcd: support yuv converter
2022-09-27 14:32:04 +08:00
ee0d9e03d0
esp_http_server: Add linger in httpd_config_t
...
Closes: https://github.com/espressif/esp-idf/issues/9514
2022-09-27 10:10:03 +05:30
9aca373bf0
ci: add adc test pattern
2022-09-27 12:20:37 +08:00
4f8bd12479
esp_adc: added comments to c3 test thresh, also sync to legacy tests
2022-09-27 12:19:36 +08:00
3ae1c587c0
ci: use adc dedicated test runners for adc tests
2022-09-27 12:19:25 +08:00
0077163813
i2s_example: fixed i2s_adc_dac output gap
...
Closes: https://github.com/espressif/esp-idf/issues/9389
2022-09-27 11:31:44 +08:00
dc9a41b562
Tools: Improve download error messages coming from idf_tools.py
...
Closes https://github.com/espressif/esp-idf/issues/9618
2022-09-26 14:46:23 +02:00
769c6c2214
esp-tls: socket will be set to -1 and will not be closed
2022-09-26 19:20:15 +08:00
73fba0e574
docs: remove old and dead BT video example link
2022-09-26 09:31:24 +08:00
1e6e0cf062
Tools: Support ESP-IDF installed in system-wide shared directory for all users
...
Closes: https://github.com/espressif/esp-idf/issues/9329
Closes: https://github.com/espressif/esp-idf/pull/9328
2022-09-23 15:54:57 +02:00
f61c51567f
Nimble: Re-ordered the function sequence in stack deinit to be reverse of stack init process
2022-09-23 15:41:50 +05:30
9ffb65f52e
uart: Fix unwanted processing of TX_DONE interrupt immediately after calling uart_wait_tx_done()
...
In previous transmission(s), the TX_DONE interrupt raw bit may be raised, but never been cleared.
TX_DONE interrrupt status bit should be cleared before enabling it to check the new transmission.
Introduced in 4e09d147b11ed8a094b5858642c9f60d658ef656
2022-09-23 15:44:37 +08:00
135927db06
tinyusb: fix typo naming of ACM
2022-09-22 20:31:55 +08:00
0f59ffb94f
usb_serial_jtag: fixed the docs that we can use usj in sleep modes
...
Related to: https://github.com/espressif/esp-idf/issues/8507 , https://github.com/espressif/esp-idf/issues/8884
2022-09-22 15:33:21 +08:00
c321739074
Merge branch 'ci/optimize_ats_ci_flow_v5.0' into 'release/v5.0'
...
CI: optimize ATS ci flow (v5.0)
See merge request espressif/esp-idf!20173
2022-09-21 23:12:40 +08:00
b9495f85cf
Merge branch 'bugfix/fix_c2_xtal_unstable_when_wakeup_from_sleep_backport_v5.0' into 'release/v5.0'
...
esp_hw_support/esp32c2/rtc: fix c2 xtal unstable when wakeup from sleep(backport v5.0)
See merge request espressif/esp-idf!20273
2022-09-21 22:38:24 +08:00
a0bc7f57cc
Merge branch 'bugfix/fix_xtal32k_error_detect_backport_v5.0' into 'release/v5.0'
...
esp_hw_support/clk_cali: fix xtal32k error detect(backport v5.0)
See merge request espressif/esp-idf!20266
2022-09-21 22:36:04 +08:00
478c735fc6
Merge branch 'bugfix/riscv_interrupt_function_naming_v5.0' into 'release/v5.0'
...
riscv: Fix interrupt function naming and redundancy (v5.0)
See merge request espressif/esp-idf!20220
2022-09-21 20:41:08 +08:00
096fdb8bb4
Merge branch 'bugfix/bluedroid_debug_esp32c2_rls' into 'release/v5.0'
...
Bugfix/bludroid debug esp32c2
See merge request espressif/esp-idf!20244
2022-09-21 20:37:17 +08:00
e6566deae4
ci: fix ci error(insufficient internal ram link error)
2022-09-21 16:23:10 +08:00
e012b2b454
esp_hw_support/clk_cali: remove redundant check for cali value
2022-09-21 16:21:23 +08:00
9fa4bb272e
esp_hw_support/clk_cali: fix xtal32k error detect
2022-09-21 16:21:11 +08:00
d5349fcc53
update ble controller lib for bugfix on esp32c2
2022-09-21 14:16:52 +08:00
b8b7a0d8dd
esp_hw_support/esp32c2/rtc: take a safer xtal buf wait
2022-09-21 14:16:34 +08:00
7e1c632d8b
spi_flash: Add several flash chips HPM(120M) support
2022-09-21 11:47:52 +08:00
35a2844d6c
gdbstub: fixed build-error due to potentially uninitialized variable on -O2
...
Closes https://github.com/espressif/esp-idf/issues/9706
2022-09-21 03:08:50 +00:00
4bcf814855
Merge branch 'bugfix/ble_light_sleep_error_on_esp32c2' into 'release/v5.0'
...
Bugfix/ble light sleep error on esp32c2
See merge request espressif/esp-idf!20237
2022-09-21 10:53:29 +08:00
870dfdf53b
Merge branch 'bugfix/fix_sta_scan_when_already_connected_v5.0' into 'release/v5.0'
...
esp_wifi : Adds Status_Connected when the Sta attempts to connect to the AP it is already connected to
See merge request espressif/esp-idf!20246
2022-09-21 10:39:07 +08:00
58afbf71ae
Merge branch 'bugfix/lpn_not_recv_message_to_all_node_5.0' into 'release/v5.0'
...
ble_mesh: stack: Add option for lpn auto sub all-nodes(v5.0)
See merge request espressif/esp-idf!20260
2022-09-21 10:01:51 +08:00
27a9e68d2c
Merge branch 'bugfix/fix_vhci_hack_for_external_bt_v5.0' into 'release/v5.0'
...
Nimble: Added check to not include VHCI buffer handling code if controller support is disabled (v5.0)
See merge request espressif/esp-idf!20185
2022-09-21 09:41:33 +08:00
25c2f710e1
Merge branch 'bugfix/wps_connect_to_open_ap_v5.0' into 'release/v5.0'
...
esp_wifi: bugfix wps connect to open AP (v5.0)
See merge request espressif/esp-idf!20252
2022-09-21 09:22:56 +08:00
42d3ecd3af
Merge branch 'bugfix/acl_buf_ocf_and_conn_fail_v5.0' into 'release/v5.0'
...
bugfix/fixed the exhaustion of ACL buffer and duplicated connection requests (v5.0)
See merge request espressif/esp-idf!20234
2022-09-20 23:56:14 +08:00
74ceccaf62
ble_mesh: stack: Add option for lpn auto sub all-nodes.
2022-09-20 20:29:11 +08:00
b7ad8a150f
fixed the exhaustion of ACL buffer
...
fixed the duplication of connection request from the same device
2022-09-20 11:19:02 +00:00
a5c543a7a9
fix err using rpa for confirmation calculation
2022-09-20 18:06:45 +08:00
3112c8b954
mbuf copy hci data error fix
2022-09-20 18:06:45 +08:00
143a572b55
fix on data len change cmd malfunction
2022-09-20 18:06:45 +08:00
5774ca1300
NimBLE: Fixed README file for BLE PHY prph example
2022-09-20 14:22:27 +05:30
b585bdd739
Merge branch 'bugfix/fix_extend_adv_tx_pwr_signed_type_err_v5.0' into 'release/v5.0'
...
Fixed extend adv tx power range error (backport v5.0)
See merge request espressif/esp-idf!20226
2022-09-20 16:07:26 +08:00
3c3a68513c
Merge branch 'feature/add_mesh_support_macro_v5.0' into 'release/v5.0'
...
ble_mesh: docs: Remove BLE Mesh related reference for C2(v5.0)
See merge request espressif/esp-idf!20097
2022-09-20 16:04:27 +08:00
eb7d52e18a
esp_wifi: bugfix wps connect to open AP
...
Set Mac address in correct field
2022-09-20 13:01:45 +05:30
549eb762d8
fixed wifi can't be connected after enable bt sleep mode
2022-09-20 14:26:28 +08:00
4b01f4080c
Merge branch 'bugfix/fix_ble_disconnect_due_to_channel_map_instant_passed_v5.0' into 'release/v5.0'
...
Fixed BLE disconnection issue when channel map instant passed due to bad channels(backport v5.0)
See merge request espressif/esp-idf!20190
2022-09-20 14:24:32 +08:00
75e375b257
Nimble: Added check to not include VHCI buffer handling code if
...
controller support is disabled
2022-09-20 11:08:16 +05:30
e10025c849
esp_wifi : Adds Status_Connected when the Sta attempts to connect to the AP it is already connected to.
2022-09-20 10:41:23 +05:30
9c09372132
bootloader_flash: Some bootloader flash functions are not put in IRAM
2022-09-20 11:39:05 +08:00
c85d364720
Merge branch 'feature/sink_support_mono_v5.0' into 'release/v5.0'
...
bt: Fixed sink not being able to output mono audio because it can only decode dual channel audio data(v5.0)
See merge request espressif/esp-idf!20075
2022-09-20 11:04:44 +08:00
08366a1bf0
Merge branch 'feature/le_phy_v5.0' into 'release/v5.0'
...
NimBLE: Add example framework for BLE PHY (v5.0)
See merge request espressif/esp-idf!20193
2022-09-20 10:48:22 +08:00
959dd90787
Merge branch 'bugfix/memory_leak_init_deinit_blufi_example_v5.0' into 'release/v5.0'
...
Fix: blufi example memory leak while init and deinit (v5.0)
See merge request espressif/esp-idf!20219
2022-09-20 10:46:28 +08:00
2ac2077496
Merge branch 'bugfix/so_linger_close_wait_forever_v5.0' into 'release/v5.0'
...
lwip: Fix close() might block forever if SO_LINGER=y (v5.0)
See merge request espressif/esp-idf!20217
2022-09-20 10:45:09 +08:00
e1a845f7f8
Merge branch 'bugfix/change_log_level_for_print_v5.0' into 'release/v5.0'
...
Nimble : updated debug level for a print to avoid unwanted console log. (v5.0)
See merge request espressif/esp-idf!20110
2022-09-20 10:41:05 +08:00
89a141eea2
fixed ble can't enter light sleep
2022-09-19 21:32:54 +08:00
ddc294c79f
ble_mesh: docs: Remove BLE Mesh related reference for C2
2022-09-19 21:11:17 +08:00
5b4446b1d3
Merge branch 'bugfix/fix_send_eapol_key_request_frame_when_wpa_group_handshake_issue_v5.0' into 'release/v5.0'
...
wpa_supplicant: try install gtk before send 2 of 2(Backport v5.0)
See merge request espressif/esp-idf!20202
2022-09-19 20:02:55 +08:00
9f31b718c9
Merge branch 'bugfix/adjust_mblock_size_on_esp32c2_v5.0' into 'release/v5.0'
...
change block1 size and num for esp ble controller
See merge request espressif/esp-idf!20187
2022-09-19 17:22:32 +08:00
07c4eb8841
Fixed extend adv tx power range error
2022-09-19 16:21:22 +08:00
6360e7028d
Merge branch 'docs/misc_broken_link_fixes_v5.0' into 'release/v5.0'
...
docs: fixed misc broken links (v5.0)
See merge request espressif/esp-idf!20211
2022-09-19 14:32:44 +08:00
9119178f38
Merge branch 'bugfix/fix_set_country_code_before_wifi_start_issue_v5.0' into 'release/v5.0'
...
esp_wifi: fix set country code before wifi start issue.(Backport v5.0)
See merge request espressif/esp-idf!20151
2022-09-19 14:31:55 +08:00
00beda2ef1
Fix: blufi example memory leak while init and deinit
2022-09-19 11:51:05 +05:30
ebc57e14f6
riscv: Fix esprv_intc_int_set_threshold() naming
...
This commit fixes the function declaration naming from esprv_intc_set_threshold()
to esprv_intc_int_set_threshold(), thus allowing the underlying ROM funciton to be
exposed via the header.
2022-09-19 14:19:41 +08:00
0c8ac295c5
riscv: Remove redundant riscv_interrupts.h header
...
This commit removes the riscv_interrupts.h header is it has become redundant. The previously
exposed API has been handled as follows:
- "riscv_interrupt_enable()" and "riscv_interrupt_disable()" have been removed. These functions
were declarations only and never had any implementation.
- "riscv_global_interrupts_enable()" and "riscv_global_interrupts_disable()" renamed to
"rv_utils_intr_global_enable()" and "rv_utils_intr_global_disable()" respectively and now
placed in rv_utils.h
2022-09-19 14:19:11 +08:00
c7d1bcaf79
lwip: Fix close() might block forever if SO_LINGER=y
...
* Update submodule: git log --oneline ec115c720b8909364ec5898dc5cc430cc898192d..316cfc17ce24f2d5d65c9f28251ec43a59a74cb1
Detailed description of the changes:
- tcp/close: Fix clean socket closure when lignering (espressif/esp-lwip@316cfc17 )
- tcp_in: Fix incomplete closure if linger active (espressif/esp-lwip@8b599aa1 )
- ci: Introduce lwip test apps (espressif/esp-lwip@0866f578 )
2022-09-19 07:35:57 +02:00
c3d425d21f
Merge branch 'ci/enable_s3_default_s3_v5.0' into 'release/v5.0'
...
ci: re-enable running S3 tests by default (v5.0)
See merge request espressif/esp-idf!19873
2022-09-19 11:15:05 +08:00
35bb72bbfc
docs: fixed misc broken links
2022-09-19 11:10:23 +08:00
3f5dba5eb9
Merge branch 'feature/check_mcpwm_sync_direction_v5.0' into 'release/v5.0'
...
mcpwm: check sync direction is valid (v5.0)
See merge request espressif/esp-idf!20174
2022-09-19 11:08:12 +08:00
03b10661b4
Merge branch 'bugfix/adapt_new_btc_v5.0' into 'release/v5.0'
...
ble_mesh: stack: Corrected parameter size when the btc_transfer_context is used (v5.0)
See merge request espressif/esp-idf!20165
2022-09-19 11:07:07 +08:00
8d2c4e2f3f
Merge branch 'bugfix/relay_friend_cred_message_v5.0' into 'release/v5.0'
...
ble_mesh: stack: Fix friend relay lpn message when relay disable(v5.0)
See merge request espressif/esp-idf!20203
2022-09-19 11:06:09 +08:00
74e21fadbd
Merge branch 'docs/update-esp-rom-elfs-link_v5.0' into 'release/v5.0'
...
docs: update link for ESP ROM ELF releases (v5.0)
See merge request espressif/esp-idf!20150
2022-09-19 11:05:39 +08:00
aad557d70b
Merge branch 'feature/mem-corruption-check-when-comprehensif-poisoning_v5.0' into 'release/v5.0'
...
heap: provide the tlsf_check_hook() definition to implement a check of memory corruption (v5.0)
See merge request espressif/esp-idf!19779
2022-09-19 11:04:44 +08:00
75f3f81af9
Merge branch 'contrib/github_pr_9749_v5.0' into 'release/v5.0'
...
Fix export.sh failure if python 2.x is unavailable (GitHub PR) (v5.0)
See merge request espressif/esp-idf!20156
2022-09-19 11:04:27 +08:00
2772806cb6
Merge branch 'feature/ulp_binutils_multi_target_v5.0' into 'release/v5.0'
...
ulp: support the new multi-target ULP-FSM binutils (v5.0)
See merge request espressif/esp-idf!20132
2022-09-19 11:03:49 +08:00
cc61509fc5
Merge branch 'bugfix/adc2_calibration_issue_on_s2_v5.0' into 'release/v5.0'
...
esp_adc: esp32s2: fix unit to offset calculation (v5.0)
See merge request espressif/esp-idf!20135
2022-09-19 11:03:07 +08:00
c4aa24c54e
rmt: disable rc_fast clock when it's used up
2022-09-18 15:52:25 +08:00
0dde7cf3f0
ble_mesh: stack: Fix friend relay lpn message when relay disable.
2022-09-18 14:37:57 +08:00
103a53c80a
wpa_supplicant: try install gtk before send 2 of 2
2022-09-17 19:08:13 +08:00
a2575d6b4d
update BLE lib for ESP32C3 and ESP32S3
...
Fixed BLE disconnection issue when channel map update failed due to bad channels
2022-09-16 21:23:40 +08:00
1bc252ec5c
NimBLE: Added example framework for BLE PHY
2022-09-16 15:21:13 +05:30
a5b0009cf8
change block1 size and num for esp ble controller
2022-09-16 14:41:28 +08:00
09cc360b43
Fixed sink not being able to output mono audio because it can only decode dual channel audio data
2022-09-15 11:35:25 +00:00
70ee85d38b
mcpwm: check sync direction is valid
2022-09-15 19:07:31 +08:00
5e175a4d01
CI: optimize ATS ci flow
2022-09-15 18:44:50 +08:00
05863cb267
Nimble : updated debug level for a print to avoid unwanted console log.
2022-09-15 15:27:13 +05:30
4611e8971b
ble_mesh: stack: added the judgment that the parameter is NULL but the parameter len is not zero to avoid btc_transfer_context failed
2022-09-15 09:12:51 +00:00
43b610a429
Tools: Fix export.sh failure if python is unavailable
...
In the latest release of macOS (and probable some other recent *nixes as well?) `python` is no longer available by default, only `python3`. This causes `export.sh` to fail as it still had a reference to plain `python`. This now works as expected.
Merges https://github.com/espressif/esp-idf/pull/9749
2022-09-14 17:27:16 +02:00
2dc3784f49
docs: update wifi country code docs.
2022-09-14 17:08:32 +08:00
3056fe4964
esp_wifi: add small UT for country code
2022-09-14 17:08:32 +08:00
5311999ae9
1. esp_wifi: fix pairwise cipher tkip pmf compability issue.
...
2. esp_wifi: fix repeated scans causing bss overwrite in connect process.
3. esp_wifi: fix set country code before wifi start issue.
2022-09-14 17:07:12 +08:00
5ab5672544
docs: update link for ESP ROM ELF releases
2022-09-14 12:53:47 +04:00
140b7d792b
Merge branch 'bugfix/remove_esp_adc_wno_flag_v5.0' into 'release/v5.0'
...
esp_adc: remove wno flag (v5.0)
See merge request espressif/esp-idf!19957
2022-09-14 13:59:13 +08:00
f8f3eb27c1
Merge branch 'bugfix/touch_sensor_v1_timer_expired_after_deleted_v5.0' into 'release/v5.0'
...
touch_senser: fixed ci issue timer expired after it is deleted (v5.0)
See merge request espressif/esp-idf!19985
2022-09-14 13:58:52 +08:00
581b228d04
Merge branch 'fix/python_dbus_linux_v5.0' into 'release/v5.0'
...
Tools: Install dbus-python on Linux only (v5.0)
See merge request espressif/esp-idf!20128
2022-09-14 13:58:08 +08:00
1313574c89
Merge branch 'bugfix/idf_tools_update_bundled_cert_v5.0' into 'release/v5.0'
...
tools: update bundled root certificate in idf_tools.py (v5.0)
See merge request espressif/esp-idf!20113
2022-09-14 13:57:51 +08:00
72b2de9dab
Merge branch 'docs/c2_storage_update_v5.0' into 'release/v5.0'
...
docs: update storage and sleep docs for C2 (v5.0)
See merge request espressif/esp-idf!19738
2022-09-14 13:56:08 +08:00
42a5b33e19
Merge branch 'doc/nvs_max_num_namespaces_5.0' into 'release/v5.0'
...
doc (nvs): added note about maximum possible namespaces (backport 5.0)
See merge request espressif/esp-idf!19979
2022-09-14 13:54:06 +08:00
1944b4bdb3
Merge branch 'bugfix/build_color_output_windows_v5.0' into 'release/v5.0'
...
tools: idf.py: use actual sys.stdout instead of the memoized one (v5.0)
See merge request espressif/esp-idf!20112
2022-09-14 13:53:41 +08:00
89dc570faf
Merge branch 'bugfix/efuse_base_mac_test_v5.0' into 'release/v5.0'
...
ci: fix base_mac_address test failure for S2 chips (v5.0)
See merge request espressif/esp-idf!19868
2022-09-14 13:52:51 +08:00
21a15ad172
Merge branch 'feature/usb_v5_qol_backport_v5.0' into 'release/v5.0'
...
usb: USB IDF v5 update (backport v5.0)
See merge request espressif/esp-idf!20045
2022-09-14 13:52:36 +08:00
154dffb14f
Merge branch 'feature/build_color_output_v5.0' into 'release/v5.0'
...
build system, tools: enable compiler color diagnostics by default, update CMake to 3.24.0 (v5.0)
See merge request espressif/esp-idf!20121
2022-09-14 13:52:14 +08:00
3358969263
Merge branch 'docs/update_ulp_shift_ops_description_v5.0' into 'release/v5.0'
...
docs: Updated description of ULP FSM shift operations
See merge request espressif/esp-idf!20129
2022-09-14 13:51:05 +08:00
c111b94057
Merge branch 'contrib/github_pr_9517_v5.0' into 'release/v5.0'
...
fix malloc(0) and heap_caps_alloc_failed() (backport v5.0)
See merge request espressif/esp-idf!19795
2022-09-14 13:50:33 +08:00
fdb2550da0
Merge branch 'bugfix/spi_hd_quad_issue_5.0' into 'release/v5.0'
...
SPI : fix wrong dummy cycle on quad mode and put get-command function in spi_ll.h(backport v5.0)
See merge request espressif/esp-idf!19799
2022-09-14 13:49:42 +08:00
7221510205
Merge branch 'fix/DOC_3566_v5.0' into 'release/v5.0'
...
Updating doc for the issue doc_3566 (v5.0)
See merge request espressif/esp-idf!20059
2022-09-14 13:49:10 +08:00
77b8aadbb4
Merge branch 'bugfix/wrong_bpp_for_rgb666_v5.0' into 'release/v5.0'
...
lcd: fix wrong bpp size of rgb666 format (v5.0)
See merge request espressif/esp-idf!20031
2022-09-14 13:48:39 +08:00
3f9b12d62a
Merge branch 'bugfix/clobbering_freertos_base_priority_v5.0' into 'release/v5.0'
...
spi_flash: fix issue linked with raising of task priority while priority is already raised (v5.0)
See merge request espressif/esp-idf!20011
2022-09-14 13:47:55 +08:00
bc9e2f198f
Merge branch 'feature/vfs_driver_interface_v5.0' into 'release/v5.0'
...
esp/vfs: VFS semihosting interface support (v5.0)
See merge request espressif/esp-idf!19854
2022-09-14 13:47:14 +08:00
393bbbc851
Merge branch 'bugfix/uart_sclk_freq_v5.0' into 'release/v5.0'
...
uart: fixed sclk_freq not init warning when compiling with asserts disabled (v5.0)
See merge request espressif/esp-idf!19870
2022-09-14 13:46:35 +08:00
71c962e332
Merge branch 'bugfix/ctx_lock_wifi_prov_v5.0' into 'release/v5.0'
...
Fixed provisioning manager deinit (v5.0)
See merge request espressif/esp-idf!20030
2022-09-14 13:43:03 +08:00
99173d5629
Merge branch 'feature/nimble_rearrange_common_files_v5.0' into 'release/v5.0'
...
Nimble: Reorganized nimble examples structure (v5.0)
See merge request espressif/esp-idf!19974
2022-09-14 13:42:28 +08:00
d66d0f6b8d
Merge branch 'bugfix/remove_bt_dft_init_semicolon_v5.0' into 'release/v5.0'
...
bt: Remove trailing semicolon from bt dft initializer(v5.0)
See merge request espressif/esp-idf!19903
2022-09-14 13:41:42 +08:00
2a66480347
Merge branch 'bugfix/fix_some_ble_bugs_on_esp32c3_and_esp32s3_v5.0' into 'release/v5.0'
...
Fixed some BLE controller bugs on ESP32-C3 and ESP32-S3 (backport v5.0)
See merge request espressif/esp-idf!19987
2022-09-14 13:40:05 +08:00
64d9852e1f
SPI_BUS_LOCK: fix a concurrency issue
...
define: lock_bits = (lock->status & LOCK_MASK) >> LOCK_SHIFT; This `lock_bits` is the Bit 29-20 of the lock->status
1. spi_hdl_1:
acquire_end_core():
uint32_t status = lock_status_clear(lock, dev_handle->mask & LOCK_MASK);
Becuase this is the first `spi_hdl_1`, so after this , lock_bits == 0`b0. status == 0
2. spi_hdl_2:
acquire_core:
uint32_t status = lock_status_fetch_set(lock, dev_handle->mask & LOCK_MASK);
Then here status is 0`b0, but lock_bits == 0`b10. Because this is the `spi_hdl_2`
3. spi_hdl_2:
`acquire_core` return true, because status == 0. `spi_bus_lock_acquire_start(spi_hdl_2)` then won't block.
4. spi_hdl_2:
spi_device_polling_end(spi_hdl_2).
5. spi_hdl_1:
acquire_end_core:
status is 0, so it cleas the lock->acquiring_dev
6. spi_hdl_2:
spi_device_polling_end:
assert(handle == get_acquiring_dev(host)); Fail
Closes https://github.com/espressif/esp-idf/issues/8179
2022-09-14 12:08:24 +08:00
643bea7aed
adc: esp32s2: fix unit to offset calculation
...
adc2 eFuse offset is wrong on 4.4 to 5.0 transition
Closes https://github.com/espressif/esp-idf/issues/9705
Closes https://github.com/espressif/esp-idf/pull/9715
2022-09-14 12:03:45 +08:00
434966f7b1
touch_sensor: add esp_timer error check
2022-09-14 02:40:32 +00:00
b333c1a9f1
touch_sensor: fixed timer period
2022-09-14 02:40:32 +00:00
0401aedd0c
touch_senser: fixed ci issue timer expired after it is deleted
2022-09-14 02:40:32 +00:00
b1387fb7cb
tools: update esp32ulp-elf to v2.35_20220830
...
Closes https://github.com/espressif/esp-idf/issues/6432
Closes https://github.com/espressif/binutils-esp32ulp/issues/23
2022-09-13 23:42:18 +04:00
4a58b810dd
docs: Updated description of ULP FSM shift operations
...
This commit updates the documentation for ULP FSM LSH and RSH
operations.
Closes https://github.com/espressif/esp-idf/issues/8831
2022-09-13 15:06:26 +02:00
116c5980c2
Tools: Install dbus-python on Linux only
2022-09-13 14:58:08 +02:00
2e897c2e74
TLSF: fix the patch for tlsf_check function in ROM
...
tlsf_check in the patch was not called because the the TLSF functions
table in ROM was still pointing to the ROM implementation.
2022-09-13 14:20:39 +02:00
860232bdaf
heap: Add test to check that the corruption of free memory is detected
...
This commit extends the heap test set by adding a test to check corruption
detection in free memory block.
For each byte of the free block memory, the test changes the value of the byte,
call multi_heap_check(), make sure that the function returns 'corruption detected'
only when comprehensive poisoning is set, restore the good value of the byte, calls
multi_heap_check() again and make sure that it returns 'OK'.
2022-09-13 14:19:51 +02:00
b8f682a11b
esp-rom: create a patch of tlsf_check() for target(s) supporting ROM implementation of TLSF
...
The tlsf implementation in the ROM does not provide a mechanism
to register a callback to be called in by tlsf_check().
This commit is creating a patch of the tlsf implementation to provide
a definition of the function allowing to register the callback called
in tlsf_check() and add the call of this callback in tlsf_check().
This patch is only compiled for target(s) with ESP_ROM_HAS_HEAP_TLSF
set and ESP_ROM_TLSF_CHECK_PATCH set. For all the other configurations
the environment remains unchanged by those modifications.
2022-09-13 14:19:51 +02:00
fc43fed8ea
heap: Provide definition of the tlsf_check_hook() declared in the tlsf submodule
...
Add the definition of tlsf_check_hook() in multi_heap if MULTI_HEAP_POISONING
is set. This definition calls the multi_heap_internal_check_block_poisoning()
to check the memory of a free block for corruption. If the light poisoinng is
set this function returns true. If the comprehensive poisoning is set, this
function will check that all byte of memory in the memory chunk passed as parameter
are set to the right FILL pattern.
2022-09-13 14:19:51 +02:00
829340d654
Merge branch 'bugfix/usb_serial_jtag_console_crash_v5.0' into 'release/v5.0'
...
console: fix a crash when initializing usb_serial_jtag console (v5.0)
See merge request espressif/esp-idf!20119
2022-09-13 19:12:48 +08:00
c9130e4859
idf.py: ensure that build log is always sanitized from color sequences
...
The actual output from the build tool (CMake/Ninja) may or may not
contain color escape codes, depending on various factors. The output
written to the log file should never include color escape codes,
though. This is because color escape codes in files are usually not
rendered as "color" in editors, and complicate reading. Also escape
codes would break the regular expressions used to display hints for
compilation errors.
2022-09-13 11:35:04 +02:00
22093dda21
tools: idf.py: enable CLICOLOR_FORCE for interactive builds
...
If stdout is a TTY (meaning that the output is not redirected), tell
the build tool (GNU Make or Ninja) to enable colorized output.
GNU Make and Ninja also check if their stdout is redirected and
strip color escape sequences in that case. CLICOLOR_FORCE environment
variable overrides this behavior.
With this change, if the compiler was launched with the
-fcolor-diagnostics flag and idf.py output is not redirected, the
final output in the terminal will be colorized.
(-fcolor-diagnostics is handled at CMake level by the previous commit)
2022-09-13 11:34:59 +02:00
1ffbee27e7
cmake: enable CMAKE_COLOR_DIAGNOSTICS by default
...
Related to https://github.com/espressif/esp-idf/issues/4162
Setting this option informs CMake that it should pass
-fcolor-diagnostics flag to the compiler.
(Colorized build system output, like from GNU Make, is produced even
without this flag.)
Note that if the build is done using Ninja and the build output is
redirected (not a TTY), Ninja will still strip the escape codes from
the output. For the case of idf.py, this is handled in the next
commit.
2022-09-13 11:34:59 +02:00
e40b83c16f
tools: cmake: upgrade from 3.23.1 to 3.24.0
2022-09-13 11:34:59 +02:00
70f90b7160
Merge branch 'docs/sync_up_i2c_wifi_blemesh_backport_v5.0' into 'release/v5.0'
...
docs: Sync up EN and CN lines of ble-mesh, wifi, and i2c (backport v5.0)
See merge request espressif/esp-idf!19862
2022-09-13 16:55:12 +08:00
ba224e0fd9
docs: Update CN version for MR19453
2022-09-13 16:54:47 +08:00
8acb8bbd76
docs: update storage and sleep docs for C2
2022-09-13 16:54:47 +08:00
72e2fb2da1
Merge branch 'docs/malloc_header_v5.0' into 'release/v5.0'
...
heap: remove misleading info about malloc being equivalent to heap_caps_malloc(p, MALLOC_CAP_8BIT) (v5.0)
See merge request espressif/esp-idf!19895
2022-09-13 16:52:26 +08:00
d5175dacd2
Merge branch 'bugfix/fix_calling_cb_func_before_perform_v5.0' into 'release/v5.0'
...
esp_https_ota: fix bug where `http_client_init_cb` is called after esp_http_client_perform() (v5.0)
See merge request espressif/esp-idf!19930
2022-09-13 16:51:58 +08:00
dc6c01920c
Merge branch 'bugfix/freertos_org_inc_path_v5.0' into 'release/v5.0'
...
freertos: fixed ORIG_INCLUDE_PATH cmake property having the wrong path (v5.0)
See merge request espressif/esp-idf!19869
2022-09-13 16:48:28 +08:00
63a4298509
Merge branch 'docs/networking_and_storage_backport_v5.0' into 'release/v5.0'
...
docs: translate networking.rst and storage.rst (backport v5.0)
See merge request espressif/esp-idf!20058
2022-09-13 16:45:11 +08:00
1dc350dc64
docs: translate networking.rst and storage.rst (backport v5.0)
2022-09-13 16:45:10 +08:00
6f872f4088
Merge branch 'bugfix/miniz_header_doc_v5.0' into 'release/v5.0'
...
esp-rom: fixed error in miniz header documention for tdefl_init (v5.0)
See merge request espressif/esp-idf!19909
2022-09-13 16:45:08 +08:00
362f1a778e
Merge branch 'bugfix/bootloader_assert_v5.0' into 'release/v5.0'
...
bootloader: dont print assert msg if CONFIG_OPTIMIZATION_ASSERTIONS_SILENT is set (v5.0)
See merge request espressif/esp-idf!19942
2022-09-13 16:44:52 +08:00
1164a5a52f
Merge branch 'docs/reorder_mem_alloc_content_v5.0' into 'release/v5.0'
...
docs: reorder content in mem_alloc section (v5.0)
See merge request espressif/esp-idf!19948
2022-09-13 16:44:43 +08:00
726a73c076
Merge branch 'docs/update_cn_trans_establish_serial_connect_5.0' into 'release/v5.0'
...
docs: update cn trans establish_serial_connect (v5.0)
See merge request espressif/esp-idf!19893
2022-09-13 16:43:16 +08:00
fabe42b090
Merge branch 'bugfix/powershell_install_export_spaces_v5.0' into 'release/v5.0'
...
tools: fix {install,export}.ps1 for IDF_PATH with spaces (v5.0)
See merge request espressif/esp-idf!20118
2022-09-13 16:41:02 +08:00
3412140480
Merge branch 'fix/test_app_ide_integration_v5.0' into 'release/v5.0'
...
Tools: Increase the delay before producing exception in the Monitor IDE test app (v5.0)
See merge request espressif/esp-idf!20012
2022-09-13 16:40:29 +08:00
99953d4069
Merge branch 'contrib/github_pr_9637_v5.0' into 'release/v5.0'
...
export.fish: set IDF_PATH without changing current working directory (GitHub PR) (v5.0)
See merge request espressif/esp-idf!19886
2022-09-13 16:40:07 +08:00
6f11f2ab13
Merge branch 'bugfix/fix_hints_templates_v5.0' into 'release/v5.0'
...
tools: fix hints templates (v5.0)
See merge request espressif/esp-idf!19846
2022-09-13 16:39:43 +08:00
45d1aa0145
Merge branch 'bugfix/fix_CN_letters_in_monitor_v5.0' into 'release/v5.0'
...
tools: fix multi-byte character appearance in idf.py monitor (v5.0)
See merge request espressif/esp-idf!19845
2022-09-13 16:39:26 +08:00
ff09089137
console: pass esp_console_repl_universal_t pointer to the repl task
...
For usb_serial_jtag REPL only, xTaskCreate was passing a pointer to
esp_console_repl_com_t, while esp_console_repl_task was expecting
a pointer to esp_console_repl_universal_t.
The way the two structures are defined, this makes no difference, and
the pointer values are the same. Still, this could potentially break
in the future.
(I am not sure what is the distinction between repl_com (common?) and
repl_universal; it seems that `int uart_channel` could just as well
be part of esp_console_repl_com_t; alternatively, as suggested in the
previous commit, this structure could contain a callback function
pointer, which would allow `esp_console_new_repl_*` functions to
specify how stdin/stdout should be initialized by the REPL task.)
2022-09-13 09:01:00 +02:00
e15818c71b
console: fix a crash when initializing usb_serial_jtag console
...
The crash occurred when calling setvbuf(stdin,...) with stdin==NULL.
This happened because esp_console_repl_task started running before
its args->uart_channel was initialized; then esp_console_repl_task
went into the code path 'uart_channel != CONFIG_ESP_CONSOLE_UART_NUM',
and tried to 'fopen("/dev/uart/0");`
Since the UART VFS is not registered when ESP_CONSOLE_USB_SERIAL_JTAG
option is enabled, fopen failed and 'stdin' was NULL.
Fix by moving the initialization of repl task arguments before the
start of the task, same as it is done for the usb_cdcacm case.
The crash started happening after the commit 287ab7566b
. I haven’t
verified this, but I guess the reason why it wasn’t happening before
was that xTaskCreate was not correctly yielding to the newly created
higher-priority 'repl' task, therefore the code which was setting
the repl task arguments after xTaskCreate had time to execute.
It should be noted that the 'uart_channel' argument is a bit hacky,
in the first place. The code should be refactored to pass a callback
function to the repl task, and let this callback initialize stdin and
stdout based on the chosen console channel. Then esp_console_repl_task
does not require assumptions about the specific interface used.
Closes https://github.com/espressif/esp-idf/issues/9662
2022-09-13 09:00:59 +02:00
2f7c293573
tools: fix {install,export}.ps1 for IDF_PATH with spaces
...
Usage of IDF_PATH has to be quoted in case it contains spaces.
2022-09-13 08:59:56 +02:00
1e841ae802
tools: update bundled root certificate in idf_tools.py
...
dl.espressif.com is now using the same root certificate as github.com.
This commit replaces the previously-used ISRG X1 root certificate
with the DigiCert Root CA certificate.
As a result, even if the certificates are not installed (as it happens
on macOS with python.org installers, if the user forgets to run
'Install Certificates.command'), the download is successful.
Related to https://github.com/espressif/esp-idf/issues/4081
2022-09-12 18:09:13 +02:00
7c3de76692
tools: idf.py: use actual sys.stdout instead of the memoized one
...
This fixes the issue with build output not being colorized on Windows,
while the hints messages are colorized.
The issue occurred because sys.stdout and sys.stderr get overridden
by colorama.init() at runtime, but the default argument
output_stream=sys.stdout holds the reference to the"original"
sys.stdout.
colorama.init() (which, by the way, gets called via a curious chain
of imports, via idf_component_tools.manifest and tqdm package)
overrides standard streams, on Windows only. The overridden streams
contain logic to convert ANSI color codes into Windows Console API
calls to colorize the text.
Since read_and_write_stream function used the default value of
output_stream evaluated at module loading time, it was using the
original sys.stdout, not the one overridden by colorama.
One extra note is that while this does fix the coloring issue, the
solution is a bit fragile, as it relies on one of the following
(on Windows):
- colorama.init() is called (this can change if idf-component-manager
stops importing tqdm)
- Sufficiently new version of Windows 10 is used, and ANSI color codes
support is enabled in the Registry.
2022-09-12 18:08:20 +02:00
3cc3455ca6
spi_master:fix error when use spi_bus_add_device
more than 3 device
...
update gpio_sig at `spics_out` array in each spi_periph.c of chips later than s2
then `spi_bus_add_device` can correctly distribute gpio_signals for cs_signal
Closes https://github.com/espressif/esp-idf/issues/8876
2022-09-09 15:57:13 +08:00
eea8629fa1
Merge branch 'bugfix/fix_gpio_intr_lost_v5.0' into 'release/v5.0'
...
gpio: Fix interrupt lost issue (backport v5.0)
See merge request espressif/esp-idf!19935
2022-09-09 15:05:50 +08:00
622bfa3e28
updating doc for the issue doc_3566
2022-09-09 10:32:53 +05:30
9f4e1babf9
Merge branch 'bugfix/spi_ethernet_init_doc_v5.0' into 'release/v5.0'
...
docs: Added migration notes for SPI-Ethernet Modules Initialization (v5.0)
See merge request espressif/esp-idf!20050
2022-09-09 11:03:28 +08:00
9c2ae8305a
Added migration notes for SPI-Ethernet Modules Initialization
2022-09-08 15:41:51 +02:00
73d00170d6
Update ESP32-C3 and ESP32-S3 BLE lib
...
- Fixed the performance issue of BLE sync scan in coexistence scenario when PLL track is enabled
- Fixed connect failed due to error sync found signal
- Fixed BLE disconnect failed due to terminate_ind have sent but no ACK is received
- Added ADV mode error check in ADV rx isr handler function
- Fixed BLE RAL_UNDERRUN and TX_CRYPT_ERR assert
- Disable scan continue
- Fixed scan forever if scan continue is disable
2022-09-08 13:30:23 +00:00
d75037cc57
usb_host: Fix incorrect memset() usage in HCD
...
This commit fixes incorrect usage of memset() in the HCD's various
_buffer_parse_...() functions. The memset was not clearing the qtd lists, and
were simply setting the first qtd to a non zero value (i.e., the length of
the QTD list).
However, no bug occurred as the subsequent _buffer_fill_...() functions would
overwrite the QTD list anyways.
2022-09-08 14:05:58 +02:00
ca445ed99f
usb_host: Use MSC driver from component registry
2022-09-08 14:05:48 +02:00
8f674f5952
usb_host: Use CDC driver from component registry
2022-09-08 14:05:38 +02:00
e69f473198
usb_host: Remove custom test_app
2022-09-08 14:05:29 +02:00
c8585267ab
usb: Remove -Wno-format compile option
2022-09-08 14:05:19 +02:00
f30eab33a1
usb: Bring USB Host API out of beta
2022-09-08 14:05:10 +02:00
cb508c7d6a
Merge branch 'bugfix/deadlock_after_call_esp_bluedroid_disable_v5.0' into 'release/v5.0'
...
bt:Fixed deadlock due to wrong parameter when calling btc_transfer_context() after calling esp_bluedroid_disable()(v5.0)
See merge request espressif/esp-idf!19950
2022-09-08 17:25:24 +08:00
8f6cad1a93
Merge branch 'bugfix/esp32c2_rom_aes_128_cmac_decrypt_v5.0' into 'release/v5.0'
...
esp_wifi: Remove ieee80211_crypto_aes_128_cmac_decrypt from esp32c2 rom
See merge request espressif/esp-idf!20009
2022-09-08 17:24:56 +08:00
5f86aaafdb
Merge branch 'feature/add_qa_test_funcs_v5.0' into 'release/v5.0'
...
Add QA test Functions for esp32 (backport v5.0)
See merge request espressif/esp-idf!19742
2022-09-08 17:19:07 +08:00
3be0bae9d8
Merge branch 'bugfix/fix_ble_get_cur_pkt_num_crash_sometimes_when_bluetooth_is_disconnecting_v5.0' into 'release/v5.0'
...
Fixed calling esp_ble_get_cur_sendable_packets_num() sometimes crashes when bluetooth is disconnecting(backport v5.0)
See merge request espressif/esp-idf!19995
2022-09-08 17:18:22 +08:00
50059115a5
Merge branch 'doc/update_esp32c2_ble_doc_v5.0' into 'release/v5.0'
...
update doc for esp32c2 (backport v5.0)
See merge request espressif/esp-idf!20019
2022-09-08 17:17:22 +08:00
08c16af86d
Merge branch 'feature/use_nimble_host_by_default_for_esp32c2_backport_50' into 'release/v5.0'
...
use nimble host by default
See merge request espressif/esp-idf!19994
2022-09-08 17:15:57 +08:00
907c46ac0d
Merge branch 'bugfix/fix_data_overwrite_v5.0' into 'release/v5.0'
...
Nimble: Add extra allocation for data pointer returned by controller for ESP IP (v5.0)
See merge request espressif/esp-idf!19973
2022-09-08 17:12:06 +08:00
43b1c0c875
Merge branch 'bugfix/fix_the_duplicated_type_name_in_i2s_v5.0' into 'release/v5.0'
...
i2s: fix the duplicated type name in i2s (v5.0)
See merge request espressif/esp-idf!19999
2022-09-08 15:11:52 +08:00
e122778d35
lcd: fix wrong bpp size of rgb666 format
...
Closes https://github.com/espressif/esp-idf/issues/9729
2022-09-08 13:20:16 +08:00
2564bcb8d2
Merge branch 'bugfix/propogate_isr_allocation_failure_v5.0' into 'release/v5.0'
...
Fix MCPWM multiplication overflow (5.0)
See merge request espressif/esp-idf!19890
2022-09-08 13:12:10 +08:00
15d4079e5b
wifi_provisioning: Fixed prov_ctx_lock of deinit provisioning manager
2022-09-08 10:21:33 +05:30
658adc75de
Merge branch 'docs/nvs_key_part_note_for_self_gen_keys_v5.0' into 'release/v5.0'
...
docs: nvs: prior flash erase note for device generated `nvs_keys` partition (v5.0)
See merge request espressif/esp-idf!19944
2022-09-08 12:26:49 +08:00
bcee30f78e
Merge branch 'feature/wifi_prov_mgr_is_provisioned_api_change_v5.0' into 'release/v5.0'
...
wifi_provisioning: decouple `wifi_prov_mgr_is_provisioned` from manager state (v5.0)
See merge request espressif/esp-idf!19945
2022-09-08 12:26:36 +08:00
d89922249d
Merge branch 'bugfix/httpd_ssl_config_default_v5.0' into 'release/v5.0'
...
esp_https_server: fix issue with default initialization through `HTTPD_SSL_CONFIG_DEFAULT` (v5.0)
See merge request espressif/esp-idf!19947
2022-09-08 12:25:59 +08:00
3017b65d4d
gpio: Fix interrupt lost issue
...
In previous gpio default isr, interrupt status bits get cleared at the exit of the isr.
However, for edge-triggered interrupt type, the interrupt status bit should be cleared before entering the per-pin handlers to avoid any potential interrupt lost.
Closes https://github.com/espressif/esp-idf/pull/6853
2022-09-08 11:52:25 +08:00
7568139778
Merge branch 'feature/c2_efuse_with_26mhz_v5.0' into 'release/v5.0'
...
efuse(es32c2): Supports 26MHz XTAL (v5.0)
See merge request espressif/esp-idf!19820
2022-09-07 22:02:30 +08:00
0147bd6b0d
freertos: Adds new APIs to set/get and restore base priority
...
Closes https://github.com/espressif/esp-idf/issues/7580
2022-09-07 21:16:00 +08:00
f46fba1904
update doc for esp32c2
2022-09-07 19:16:14 +08:00
1148e4e77f
SPI: Fixed Quad SPI wrong dummy cycle issue on ESP32C2/ESP32C3/ESP32S3 and put get-command/dummy-bits functions in spi_ll.h
2022-09-07 18:48:05 +08:00
5b601cd67f
sysview: Adds FreeRTOS SMP port
2022-09-07 13:47:26 +03:00
75a2c386c9
sysview: Fixes IDLE tasks detection via name comparison
2022-09-07 13:29:49 +03:00
501c688941
Tools: Increase the delay before producing exception in the Monitor IDE test app
2022-09-07 12:04:17 +02:00
f954caecf0
Merge branch 'bugfix/c2_skip_validate_v5.0' into 'release/v5.0'
...
bootloader: allow skip image validation on C2 (v5.0)
See merge request espressif/esp-idf!19975
2022-09-07 18:03:37 +08:00
7d983baced
Merge branch 'feature/use_esp_secure_cert_tool_for_ssl_ds_example_v5.0' into 'release/v5.0'
...
mqtt/ssl_ds example: Remove configure_ds.py script, use (v5.0)
See merge request espressif/esp-idf!19835
2022-09-07 18:02:58 +08:00
71f7796da7
Merge branch 'fix/wifi_prov_mgr_update_comment_ragading_sec_params_validity_v5.0' into 'release/v5.0'
...
wifi_provisioning: Update API documentation to highlight argument validity... (v5.0)
See merge request espressif/esp-idf!19954
2022-09-07 18:02:31 +08:00
213cb1e424
Merge branch 'bugfix/stringop_overflow_warning_v5.0' into 'release/v5.0'
...
bootloader_support: fix stringop-overflow warning with `PERF` compiler optimization (v5.0)
See merge request espressif/esp-idf!19958
2022-09-07 18:01:55 +08:00
b4daffd3ca
Merge branch 'bugfix/netif_ips_printed_before_got_ipv4_v5.0' into 'release/v5.0'
...
example_common: fix netif ips may be printed before got ipv4 (v5.0)
See merge request espressif/esp-idf!19968
2022-09-07 18:01:28 +08:00
51f82123a1
esp_wifi: Remove ieee80211_crypto_aes_128_cmac_decrypt from esp32c2 rom
2022-09-07 14:58:16 +05:30
d836d8cf35
i2s: add notes for the read task of i2s basic examples
2022-09-07 11:03:26 +08:00
0f0baa5bb4
i2s: fixed the duplicated type name
2022-09-07 11:03:26 +08:00
4729f75b41
use nimble host by default
2022-09-06 22:06:21 +08:00
dc010b701b
fix calling esp_ble_get_cur_sendable_packets_num() sometimes crashes when bluetooth is disconnecting
2022-09-06 21:28:06 +08:00
ebb04bbdfe
Docs: Update CN trans for nvs_flash.rst
2022-09-06 10:08:56 +02:00
615bc28836
doc (nvs): added note about maximum possible namespaces
2022-09-06 10:00:23 +02:00
3056d6e53d
bootloader: allow skip image validation on C2
...
BOOTLOADER_SKIP_VALIDATE_IN_DEEP_SLEEP is not supported on C2 due to
no RTC memory, but BOOTLOADER_SKIP_VALIDATE_ALWAYS should still be
supported.
2022-09-06 14:21:47 +08:00
9f3e341ccd
NimBLE: Reorganized nimble examples structure to avoid repetition of files.
2022-09-06 11:31:57 +05:30
4ffafc3aa6
Nimble: Add extra allocation for data pointer returned by controller for ESP IP
2022-09-06 11:21:47 +05:30
1b8f3e096a
example_common: fix netif ips may be printed before got ipv4
2022-09-05 23:08:19 +08:00
d1c61d29d3
Tools: Handle IO error in idf.py output capturing
...
Closes https://github.com/espressif/esp-idf/issues/9649
2022-09-05 11:11:09 +02:00
40c1529b4b
bootloader_support: fix stringop-overflow warning with PERF
compiler optimization
...
This commit fixes build issue because of function `bootloader_common_reset_rtc_retain_mem`
getting inlined with compiler optimization level set to `PERF` (-O2).
Build failure log:
-----------------
In function 'bootloader_common_reset_rtc_retain_mem',
inlined from 'bootloader_common_update_rtc_retain_mem' at /h/esp-idf/components/bootloader_support/src/bootloader_common_loader.c:183:13:
/h/esp-idf/components/bootloader_support/src/bootloader_common_loader.c:159:5: error: 'memset' writing 16 bytes into a region of size 0 overflows the destination [-Werror=stringop-overflow=]
159 | memset(rtc_retain_mem, 0, sizeof(rtc_retain_mem_t));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2022-09-05 13:40:22 +05:30
78a38c8940
esp_adc: remove wno flag
2022-09-05 15:46:54 +08:00
2f99d2e37f
wifi_provisioning: Update API documentation to highlight argument validity while providing sec_params argument.
2022-09-05 12:00:55 +05:30
607400a048
Fixed deadlock due to wrong parameter when calling btc_transfer_context() after calling esp_bluedroid_disable()
...
Closes https://github.com/espressif/esp-idf/issues/9672
2022-09-05 14:19:21 +08:00
f26d10118c
docs: reorder content in mem_alloc section
...
We should avoid hiding sections between long lists of API documentation.
2022-09-05 13:45:59 +08:00
f41931e5f6
esp_https_server: fix issue with default initialization through HTTPD_SSL_CONFIG_DEFAULT
...
Closes https://github.com/espressif/esp-idf/issues/9653
Closes IDFGH-8157
2022-09-05 11:06:42 +05:30
caabf04af5
docs: add migration guide entry about provisioning API change
2022-09-05 10:53:47 +05:30
3955a85a47
wifi_provisioning: decouple wifi_prov_mgr_is_provisioned
from manager state
...
`wifi_prov_mgr_is_provisioned()` API uses the `esp_wifi_get_config()` API
to check if Wi-Fi credentials are configured. It does not really require
any other information from the wifi_prov component. Hence, this commit
removed dependency of this API on provisioning manager initialization state.
Closes IDF-5878
2022-09-05 10:53:47 +05:30
6f4e857ae8
docs: nvs: prior flash erase note for device generated nvs_keys
partition
2022-09-05 10:53:29 +05:30
587aab3720
bootloader: dont print assert msg if CONFIG_OPTIMIZATION_ASSERTIONS_SILENT is set
...
Closes https://github.com/espressif/esp-idf/pull/7518
2022-09-05 12:31:23 +08:00
30d81f76b4
esp_https_ota: fix bug where http_client_init_cb
is called after esp_http_client_perform()
instead of before.
...
Closes https://github.com/espressif/esp-idf/issues/9581
2022-09-02 16:15:38 +05:30
72de8349a6
efuse(es32c2): Supports 26MHz XTAL
2022-09-02 10:05:20 +00:00
a43850ca17
uart: fixed sclk_freq not init warning when compiling with asserts disabled
...
Closes https://github.com/espressif/esp-idf/issues/9642
2022-09-02 06:15:20 +00:00
acd5850cad
ci: re-enable running S3 tests by default
2022-09-02 06:15:01 +00:00
b6ec98535d
Add QA test Functions
2022-09-01 13:56:52 +00:00
9f40e41421
vfs: use recommended esp_cpu_dbgr_is_attached
API
...
This fixes deprecation warning with earlier API
`cpu_hal_is_debugger_attached`.
2022-09-01 13:18:17 +02:00
67fb17c939
esp-rom: fixed error in miniz header documention for tdefl_init
...
Closes https://github.com/espressif/esp-idf/issues/8435
2022-09-01 18:13:53 +08:00
372ab1468b
heap: add a unit test for malloc(0) and slightly optimize heap_caps_malloc_prefer
2022-09-01 08:43:18 +00:00
8b3f916d1a
fix malloc(0) and heap_caps_alloc_failed()
...
Don't call heap_caps_alloc_failed() for malloc(0) and calloc(0), because it is not an error.
Improve handling of malloc(0) and calloc(0).
Merges https://github.com/espressif/esp-idf/pull/9517
2022-09-01 08:43:18 +00:00
7caafb2542
heap: remove misleading info about malloc being equivalent to heap_caps_malloc(p, MALLOC_CAP_8BIT)
...
The actual memory allocated for malloc() depends on a lot of factors, see heap_caps_malloc_default()
Closes https://github.com/espressif/esp-idf/issues/7659
2022-09-01 14:32:54 +08:00
3b783f4d2d
docs: update cn trans establish_serial_connect
2022-09-01 13:33:07 +08:00
6ebd5381fb
Remove trailing semicolon from bt dft initializer
...
Similar to espressif#6554
2022-09-01 12:01:24 +08:00
47bf0ef212
mcpwm: fix multiplication overflow in converting us to compare ticks
...
Closes https://github.com/espressif/esp-idf/issues/9648
2022-09-01 10:48:20 +08:00
9747c3a8d6
legacy_timer: propagate isr register failure
...
Closes https://github.com/espressif/esp-idf/issues/9651
2022-09-01 10:48:08 +08:00
4532e6e0b2
Merge branch 'bugfix/sdio_slave_gcc11_crash_v5.0' into 'release/v5.0'
...
sdio_slave: workaround the sdio_slave crash issue with release config + GCC11 (v5.0)
See merge request espressif/esp-idf!19790
2022-09-01 10:07:36 +08:00
02bedfac62
Merge branch 'bugfix/driver_rs485_fix_test_sync_issues_v50' into 'release/v5.0'
...
driver: uart rs485 fix test sync issues and fail threshold (backport v5.0)
See merge request espressif/esp-idf!19603
2022-09-01 10:07:11 +08:00
9bb565b85c
driver: uart rs485 fix test sync issues and fail threshold (backport v5.0)
2022-09-01 10:07:11 +08:00
f8ed093684
Fix macOS compatibility
...
command "readlink -m" was not compatible with macOS.
2022-08-31 16:05:52 +02:00
91002fef86
export.fish: set IDF_PATH without changing current working directory
2022-08-31 16:05:52 +02:00
7f4fa696e1
freertos: fixed ORIG_INCLUDE_PATH cmake property having the wrong path
...
FreeRTOS include path was changed, but ORIG_INCLUDE_PATH wasn't updated to reflect this.
2022-08-31 10:26:50 +08:00
139ec8667c
ci: fix base_mac_address test failure for S2 chips
...
Some esp32s2 chips was burned with one MAC address by mistake.
The MAC address code contains a special case for these chips,
update MR to handle this special case.
2022-08-31 10:25:10 +08:00
c88b27f285
mqtt/ssl_ds: Remove unwanted references to configure_ds.py, Also updated
...
the DS documentation
2022-08-30 21:39:01 +05:30
958fce8571
docs: Sync up EN and CN lines of ble-mesh, wifi, and i2c
2022-08-30 19:18:06 +08:00
c1fa7ad652
esp/vfs: VFS semihosting interface support
2022-08-30 09:45:15 +02:00
f2424e9b93
tools: fix hints templates
2022-08-29 22:16:57 +02:00
34230426a6
tools: fix multi-byte character appearance in idf.py monitor
2022-08-29 22:12:42 +02:00
39c47cb6d8
Merge branch 'feature/add_txpwr_api_v5.0' into 'release/v5.0'
...
add set/get txpwr api and fix issues such as disconnect and abnormal tx behavior for esp32c2
See merge request espressif/esp-idf!19823
2022-08-30 01:55:31 +08:00
9dcf03a17e
Merge branch 'contrib/github_pr_9656_v5.0' into 'release/v5.0'
...
upgrade ccache installed version to 4.6.2 (GitHub PR) (v5.0)
See merge request espressif/esp-idf!19840
2022-08-30 00:23:40 +08:00
7eee999b59
Merge branch 'feature/update-gdb-to-11.2_20220823_v5.0' into 'release/v5.0'
...
tools: update gdb version to '11.2_20220823' (v5.0)
See merge request espressif/esp-idf!19837
2022-08-30 00:18:20 +08:00
1608dad219
Merge branch 'bugfix/remove_rc4_3des_tls_cipher_wpa_v5.0' into 'release/v5.0'
...
wpa_supplicant: remove RC4 and 3DES ciphers for TLS (v5.0)
See merge request espressif/esp-idf!19776
2022-08-30 00:12:25 +08:00
502d47fa44
add set/get txpwr api and fix issues such as disconnect and abnormal tx behavior for esp32c2
2022-08-29 15:39:01 +00:00
1d15a41e4a
wpa_supplicant: remove RC4 and 3DES ciphers for TLS
...
MbedTLS-3.x has dropped support for 3DES and RC4 TLS cipher
suites. Removing them from supplicant as well
Closes https://github.com/espressif/esp-idf/issues/9607
2022-08-29 14:57:09 +00:00
db69ae2787
Merge branch 'bugfix/remove_remaining_rom_time_t_dependencies_v5.0' into 'release/v5.0'
...
Newlib: Add workaround for ROM Newlib stdio functions using 32-bit time_t callpath (v5.0)
See merge request espressif/esp-idf!19685
2022-08-29 22:52:33 +08:00
16e961a336
Merge branch 'bugfix/fix_memory_corruption_in_recon_code_v5.0' into 'release/v5.0'
...
Nimble: Fixed memory corruption introduced in reconnection attempt code (v5.0)
See merge request espressif/esp-idf!19747
2022-08-29 22:47:38 +08:00
0ddeb8c47c
Merge branch 'bugfix/bt_spp_init_init_uart_crash_v5.0' into 'release/v5.0'
...
bt:Fixed the bt_spp_initiator example that did not set the uart source clock when initializing the uart, which caused a crash (v5.0)
See merge request espressif/esp-idf!19766
2022-08-29 22:46:44 +08:00
7098e639ca
Merge branch 'refactor/migrate_adc_wifi_test_to_test_app' into 'release/v5.0'
...
esp_adc: change adc wifi test IO (v5.0)
See merge request espressif/esp-idf!19822
2022-08-29 22:45:26 +08:00
656c6a3e86
upgrade ccache installed version to 4.6.2
...
- primary reason: 4.6.2 fixes errors if the user's home directory contains a space
- alternative fix: the CCACHE_DIR env var can be set to something without a space in it, or set to TMP which properly escapes the home dir name
- there may be other issues with spaces in filenames on builds in other parts of ESP-IDF, see https://github.com/espressif/esp-idf/issues/8364 for more info
tested locally on windows only, use at your own risk
Closes https://github.com/espressif/esp-idf/pull/9656
2022-08-29 14:55:49 +02:00
e95afaee58
Merge branch 'bugfix/docker_remove_libpython2.7_v5.0' into 'release/v5.0'
...
tools: Docker: remove libpython2.7 (v5.0)
See merge request espressif/esp-idf!19785
2022-08-29 20:37:19 +08:00
5c72fff43b
Merge branch 'bugfix/ble_disconnect_enable_light_sleep_and_bb_pd_v5.0' into 'release/v5.0'
...
bt: Fixed bluetooth disconnection issue when light sleep and baseband power down are enabled (v5.0)
See merge request espressif/esp-idf!19802
2022-08-29 19:56:16 +08:00
ca313c8d28
ci: fix test_idf_tools dependencies
2022-08-29 15:41:14 +04:00
81c0328817
tools: fix test_abort backtrace
2022-08-29 15:41:14 +04:00
06cdc0ee4f
tools: update gdb version to '11.2_20220823'
...
Closes https://github.com/espressif/esp-idf/issues/6124
2022-08-29 15:41:14 +04:00
cbecb2e944
mqtt/ssl_ds: Add documentation on how to use esp-secure-cert-tool with
...
the example
2022-08-29 16:19:51 +05:30
69be3b6955
mqtt/ssl_ds example: Update the code to use esp_secure_cert
component
2022-08-29 16:19:51 +05:30
5e1b0b97b5
mqtt/ssl_ds example: Remove configure_ds.py script, use
...
esp-secure-cert-tool instread
2022-08-29 16:19:51 +05:30
5fc7c5aaed
Merge branch 'bugfix/improve_psram_adding_to_heap_way_v5.0' into 'release/v5.0'
...
esp_psram: correct the way adding to heap allocator (v5.0)
See merge request espressif/esp-idf!19808
2022-08-29 16:35:48 +08:00
8aa90e4fb1
Merge branch 'doc/lcd_list_v5.0' into 'release/v5.0'
...
docs: Added link to list of available LCD controller drivers. (backport v5.0)
See merge request espressif/esp-idf!19827
2022-08-29 16:29:36 +08:00
41e8d71349
docs: Added link to list of available LCD controller drivers.
...
(cherry picked from commit 32f59d365f
)
2022-08-29 08:25:09 +02:00
469f66fc9d
Merge branch 'fix/disable_idf_py_moinitor_hints_v5.0' into 'release/v5.0'
...
Tools: Disable idf.py hints for IDF Monitor (v5.0)
See merge request espressif/esp-idf!19784
2022-08-29 13:57:50 +08:00
0b58bbd29b
esp_adc: migrate adc wifi test to test app
2022-08-29 12:33:16 +08:00
ea4ebc473b
ci: remove unused check_build_warnings script
2022-08-29 12:33:16 +08:00
3229698d19
ci: ignore partition nearly full warning
2022-08-29 12:33:16 +08:00
331f2d5277
Merge branch 'bugfix/fix_rtc_gpio_hold_v5.0' into 'release/v5.0'
...
gpio: Fix missing set hold bit in rtc gpio register (v5.0)
See merge request espressif/esp-idf!19811
2022-08-29 11:38:01 +08:00
9993e7714b
Merge branch 'bugfix/iperf_py_script_upt_v5.0' into 'release/v5.0'
...
ci iperf: fixed condition for waiting to iperf server is up in DUT (v5.0)
See merge request espressif/esp-idf!19814
2022-08-29 11:24:01 +08:00
29ae238845
mmu: driver framework, for vaddr maintenance
...
This commit gives basic mmu driver framework. Now it is able to maintain
mmu virtual address usage on esp32, esp32s2 and esp32s3. Usage to
external virtual address should rely on mmu functions to know which
address range is available, instead of hardcoded.
This commit also improves psram memory that is added to the heap
allocator. Now it's added to the heap, according to the memory
alignment.
Closes https://github.com/espressif/esp-idf/issues/8295
Closes https://github.com/espressif/esp-idf/issues/9193
2022-08-27 16:05:51 +08:00
64e0ee573d
esp_psram: rename esp_private/mmu.h to mmu_psram_flash.h
...
Prior to this commit, esp_psram/include/esp_private/mmu.h contains some
APIs that is used for:
- copy flash content to psram
- necessary sync APIs used by flash_mmap.c, due to above feature
This commit rename it to mmu_psram_flash.h, therefore mmu.h can be used
for real mmu related APIs.
This commit also moves above mention funcitons in `mmu.c` and
`mmu_psram.c` to `mmu_psram_flash.c`, leaving `mmu.c` to be used for
real mmu driver.
2022-08-27 15:11:15 +08:00
acbf7af80a
Merge branch 'feature/mbedtls-3.2.1_v5.0' into 'release/v5.0'
...
mbedtls: Update to v3.2.1 (v5.0)
See merge request espressif/esp-idf!19797
2022-08-27 14:25:12 +08:00
dca90987d7
Merge branch 'fix/s3_world_controller_headers_v5.0' into 'release/v5.0'
...
esp32s3: Update world controller headers (v5.0)
See merge request espressif/esp-idf!19793
2022-08-27 13:10:48 +08:00
cb34db63fd
Merge branch 'bugfix/rename_configs_not_set_v5.0' into 'release/v5.0'
...
Confgen: KConfig options not set in sdkconfig.defaults files can now be renamed
See merge request espressif/esp-idf!19806
2022-08-27 01:44:36 +08:00
74091777e6
ci iperf: fixed condition for waiting to iperf server is up in DUT
2022-08-26 15:57:33 +02:00
078e179ed2
added missing call to set hold register bit
...
This commit fixes gpio_hold_en(pin) function for ESP32, where after wakeup from deep sleep, the pin gets reset to default state and stop holding the pin level.
2022-08-26 15:17:57 +02:00
d7580183a6
Merge branch 'bugfix/rtc_periph_ulp_touch_v5.0' into 'release/v5.0'
...
sleep_modes: allow using touch/ULP with RTC_PERIPH domain (including EXT0 wakeup source) (v5.0)
See merge request espressif/esp-idf!19767
2022-08-26 18:46:25 +08:00
889f2e47e2
Merge branch 'docs/update_jtag_select_efuse_desc_5.0' into 'release/v5.0'
...
Docs: update the JTAG select eFuse description in configure-other-jtag.rst (backport v5.0)
See merge request espressif/esp-idf!19800
2022-08-26 18:12:35 +08:00
5f7a98c13e
Confgen: KConfig options not set in sdkconfig.defaults files can now be renamed
2022-08-26 16:34:21 +08:00
7dcf576659
Fix bluetooth disconnection issue when light sleep and baseband power down are enabled
2022-08-26 15:59:33 +08:00
d38036b978
docs: fix jtag select efuse bit
2022-08-26 14:55:25 +08:00
be19c10f53
wpa_supplicant: fix issue with WPA2 enterprise TLS session
...
Usage of `mbedtls_ssl_conf_sig_algs()` was incorrect, it must include signature
algorithm with hash. This change is as per requirement defined in mbedTLS-3.2.1
release.
2022-08-26 11:46:55 +05:30
44d626a596
mbedtls: Override ecp_mul_restartable_internal
...
ECDSA verification uses ecp_mul_restartable_internal instead
of the public API mbedtls_ecp_mul_restartable
2022-08-26 11:46:55 +05:30
0c60328953
mbedtls/port: Fix dynamic buffers feature for v3.2.1
...
Co-authored-by: Li Jingyi <lijingyi@espressif.com >
2022-08-26 11:46:55 +05:30
51cbbe486c
esp_tls/wpa_supplicant: Updated deprecated mbedtls APIs
2022-08-26 11:46:54 +05:30
aecc46df64
mbedtls: Update to v3.2.1
...
- Changelog: https://github.com/Mbed-TLS/mbedtls/releases/tag/v3.2.1
- Closes https://github.com/espressif/esp-idf/issues/8787
2022-08-26 11:46:54 +05:30
ca19d23952
esp32s3: Update world controller headers
2022-08-26 09:35:43 +05:30
fd689630ff
Merge branch 'bugfix/idf_tools_test_timeout_v5.0' into 'release/v5.0'
...
ci: increase timeout for python packages install test (v5.0)
See merge request espressif/esp-idf!19787
2022-08-26 10:38:54 +08:00
c011cdce1c
Merge branch 'bugfix/gpio_wakeup_docs_v5.0' into 'release/v5.0'
...
docs: fix documentation wrongly stating ESP_SLEEP_WAKEUP_GPIO is light sleep only (v5.0)
See merge request espressif/esp-idf!19739
2022-08-26 10:31:21 +08:00
6197871ba0
Merge branch 'bk/add_backpoint_for_mdns_and_openthread' into 'release/v5.0'
...
openthread: update OpenThread submodule(backport V5.0)
See merge request espressif/esp-idf!19777
2022-08-26 05:39:41 +08:00
bfdf5ddcbd
sdio_slave: workaround the sdio_slave crash issue with release config + GCC11
2022-08-26 00:43:33 +08:00
87c93cef31
ci: increase timeout for python packages install test
...
On the build runners, the installation frequently takes around 150
seconds, which is above the current timeout. This change increases
the timeout.
Closes IDFCI-1436
2022-08-25 15:35:58 +02:00
2dc9aa9983
tools: Docker: remove libpython2.7
...
libpython2.7 was added to the container to allow running GDB built
with Python 2.7 support and distributed as part of the cross-compiler
toolchain.
Now that we have a new release of GDB which works with Python 3.x,
the GDB shipped with the cross-compiler is no longer used. Removing
libpython2.7 should reduce the image size.
This reverts commit be0372b1db
.
2022-08-25 15:28:10 +02:00
46df25cc8b
Tools: Disable idf.py hints for IDF Monitor
...
The feature will be re-enabled later after a proper fix for the
following Github issue.
Closes https://github.com/espressif/esp-idf/issues/9610
2022-08-25 15:17:21 +02:00
319bf4e333
Merge branch 'contrib/github_pr_9563_v5.0' into 'release/v5.0'
...
Add git-lfs to docker container (GitHub PR) (v5.0)
See merge request espressif/esp-idf!19652
2022-08-25 20:40:53 +08:00
aa412b9359
Merge branch 'feature/add_templates_for_hints_v5.0' into 'release/v5.0'
...
tools: add support of templates for hints (v5.0)
See merge request espressif/esp-idf!19734
2022-08-25 18:57:07 +08:00
450510cdb8
Merge branch 'bugfix/exclude_component_dirs_pacman_v5.0' into 'release/v5.0'
...
build: fix excluded components being passed to component manager (v5.0)
See merge request espressif/esp-idf!19622
2022-08-25 18:51:16 +08:00
6d37f012e1
Merge branch 'feature/app_metadata_to_esp_system_v5.0' into 'release/v5.0'
...
app_update: Moved app metadata to new component `esp_app_format` (v5.0)
See merge request espressif/esp-idf!19754
2022-08-25 17:06:50 +08:00
1a5baac621
openthread: update OpenThread submodule
...
* support NAT64 ICMP
2022-08-25 17:02:45 +08:00
c9b1b8bf81
Add git-lfs to docker container
2022-08-25 08:34:47 +00:00
d6a74e4141
Merge branch 'bugfix/cleanup_rom_spiflash_v5.0' into 'release/v5.0'
...
esp-rom: remove undefined spi_flash functions from header (v5.0)
See merge request espressif/esp-idf!19524
2022-08-25 14:59:03 +08:00
73a4b80a87
Merge branch 'bugfix/wps_connection_issue_v5.0' into 'release/v5.0'
...
wpa_supplicant: Fix WPS connection issue after WPS done (v5.0)
See merge request espressif/esp-idf!19719
2022-08-25 13:48:38 +08:00
40ca58496b
Merge branch 'bugfix/fix_ble_sch_arb_assert_v5.0' into 'release/v5.0'
...
Fixed BLE sch_arb assert on ESP32-C3 and ESP32-S3(backport v5.0)
See merge request espressif/esp-idf!19732
2022-08-25 13:44:29 +08:00
b316ff3661
Nimble: Fixed memory corruption introduced in reconnection attempt code
2022-08-25 10:49:43 +05:30
2ab4ce4bb1
Update components/esp_hw_support/include/esp_sleep.h
2022-08-25 12:28:00 +08:00
209545db6a
sleep_modes: allow using touch/ULP with RTC_PERIPH domain (including EXT0 wakeup source)
2022-08-25 12:27:59 +08:00
d5785d1968
Fixed the bt_spp_initiator example that did not set the uart source clock when initializing the uart, which caused a crash
2022-08-25 11:41:10 +08:00
69be7c4cc2
Merge branch 'feat/support_esp32c2_uart_v5.0' into 'release/v5.0'
...
uart: update console docs about frequency for ESP32-C2, move frequency of clock sources out of HAL (v5.0)
See merge request espressif/esp-idf!19690
2022-08-25 02:03:26 +08:00
ec15b7798b
Merge branch 'bugfix/espnow_clear_key_register_v5.0' into 'release/v5.0'
...
esp_wifi: Fix the bug that espnow clear key register fail (backport v5.0)
See merge request espressif/esp-idf!19717
2022-08-24 18:44:26 +08:00
5bd962cba7
ci: Fix host-test failures
2022-08-24 14:46:33 +05:30
1dd7c7a480
docs: Added migration guide for app_update
...
- Deprecated functions and alternatives
2022-08-24 14:46:33 +05:30
a816ccf888
esp_app_format: Added test-app
2022-08-24 14:46:32 +05:30
5545b3790f
esp_app_format: Fixed build errors and resolved dependencies
2022-08-24 14:46:32 +05:30
972c531b6d
app_update: Moved app metadata to new component esp_app_format
2022-08-24 14:44:32 +05:30
4b02b56f77
Merge branch 'bugfix/bt_invalid_workqueue_num_v5.0' into 'release/v5.0'
...
Bluetooth: fixed the invalid workqueue number for BTU thread in Bluedroid(backport v5.0)
See merge request espressif/esp-idf!19580
2022-08-24 16:49:26 +08:00
c9124823ef
Merge branch 'contrib/github_pr_9529_mr_5.0' into 'release/v5.0'
...
bt:No need to use local copy of btc_msg_t in btc_transfer_context, create it on heap and pass to osi_thread_post()(v5.0)
See merge request espressif/esp-idf!19691
2022-08-24 14:42:46 +08:00
bf74c6e89a
Merge branch 'bugfix/a2dp_sink_reconfig_i2s_clk_fail_v5.0' into 'release/v5.0'
...
bt: Fixed that i2s_channel_disable was not called before calling i2s_channel_reconfig_std_clock in the A2DP sink example, which caused reconfiguring the I2S clock to fail
See merge request espressif/esp-idf!19601
2022-08-24 14:41:23 +08:00
c05c1a2e11
Merge branch 'bugfix/increase_leading_space_for_alloc_v5.0' into 'release/v5.0'
...
Nimble: Add extra space for buffer allocation for ESP IP (v5.0)
See merge request espressif/esp-idf!19731
2022-08-24 14:00:06 +08:00
de9fd87a42
Merge branch 'feature/esp_jpeg_examples_v5.0' into 'release/v5.0'
...
examples/tjpgd: Use esp_jpeg component in tjpgd example. (backport v5.0)
See merge request espressif/esp-idf!19635
2022-08-24 11:07:20 +08:00
76207273fd
docs: fix documentation wrongly stating ESP_SLEEP_WAKEUP_GPIO is light sleep only
...
ESP_SLEEP_WAKEUP_GPIO is also a valid deep sleep wakeup cause on targets
with SOC_GPIO_SUPPORT_DEEPSLEEP_WAKEUP
Closes https://github.com/espressif/esp-idf/issues/9567
2022-08-24 10:50:49 +08:00
7dda317028
Merge branch 'document/support_header_defination_v5.0' into 'release/v5.0'
...
Support of Micro definition in header file (v5.0)
See merge request espressif/esp-idf!19716
2022-08-24 10:29:07 +08:00
d6822770cd
Merge branch 'bugfix/ble_mesh_console_support_nimble_host_for_v5.0' into 'release/v5.0'
...
ble_mesh:ble mesh console support nimble(v5.0)
See merge request espressif/esp-idf!19602
2022-08-24 10:27:00 +08:00
270ed8d056
tools: add support of templates for hints
2022-08-23 15:16:58 +02:00
9cd98fbd4a
Merge branch 'bugfix/add_signature_in_image_len_v5.0' into 'release/v5.0'
...
bootloader_support: consider signature sector in image length validation (v5.0)
See merge request espressif/esp-idf!19483
2022-08-23 20:19:24 +08:00
ccd9d0f8ce
Update BLE lib for ESP32-C3 and ESP32-S3
...
- update ble tx power level mapping
- Fixed ble sch_arb assert
2022-08-23 19:42:28 +08:00
1c1a3845ba
fix extend adv set remove failed
2022-08-23 19:42:16 +08:00
c6d3708558
Nimble: Add extra space for buffer allocation for ESP IP
2022-08-23 17:09:15 +05:30
877848460d
Merge branch 'fix/fix_esp_rsa_sign_alt_modifying_input_params_v5.0' into 'release/v5.0'
...
esp_rsa_sign_alt: Fix esp_init_ds_data_ctx API to not modify user defined data... (v5.0)
See merge request espressif/esp-idf!19713
2022-08-23 18:23:37 +08:00
43876cb31b
Merge branch 'bugfix/add_adc_oneshot_disable_ulp_enum_v5.0' into 'release/v5.0'
...
esp_adc: add adc ulp mode disable enum , and kconfig to enable dac output (v5.0)
See merge request espressif/esp-idf!19710
2022-08-23 16:07:30 +08:00
b32151f43a
wpa_supplicant: Fix WPS connection issue after WPS done
...
esp_wifi_disconnect is needed to clear the wifi state and enable
station to connect to new SSID. Add changes to call it after
WPS is done.
2022-08-23 13:09:22 +05:30
81424d9659
esp_wifi: Fix the bug that espnow clear key register fail
...
Closes WIFI-4696
2022-08-23 14:50:43 +08:00
9b6d1b91c0
Support of Micro defination in header file
2022-08-23 12:05:30 +05:30
052ef42e0a
Merge branch 'ci/ota_example_bluedroid_gatts_timeout_v5.0' into 'release/v5.0'
...
CI: modify timeout of advanced_https_ota_example_bluedroid_gatts (v5.0)
See merge request espressif/esp-idf!19689
2022-08-23 14:32:45 +08:00
0dd55387ea
esp_rsa_sign_alt: Fix esp_init_ds_data_ctx API to not modify user defined data when it is given directory from flash
2022-08-23 11:50:47 +05:30
f8d94d6a4e
tjpgd: Remove ROM patches and tests.
...
(cherry picked from commit a00e8771a7
)
2022-08-23 07:57:10 +02:00
d899ef0c80
examples/tjpgd: Use esp_jpeg component in tjpgd example.
...
(cherry picked from commit 2153a583ee
)
2022-08-23 07:56:39 +02:00
d609f5fb35
Merge branch 'feature/support_esp32c2_test_pm_v5.0' into 'release/v5.0'
...
gpio, ledc, pm: several MR updates backport to v5.0
See merge request espressif/esp-idf!19706
2022-08-23 13:48:33 +08:00
b28454dd43
Merge branch 'ci/simplify_python_to_idf_venv_only_v5.0' into 'release/v5.0'
...
CI: simplify python to idf venv only (v5.0)
See merge request espressif/esp-idf!19681
2022-08-23 13:16:47 +08:00
1fdf242750
esp_adc: add a kconfig to disable dac on certain adc IOs
...
Added a kconfig option. By default, when using ADC oneshot
driver, it will disable
DAC channels:
- ESP32: IO25, IO26
- ESP32S2: IO17, IO18
if ADC2 is in use.
You can disable this option, to measure DAC output, via internal ADC.
This is for test usage.
2022-08-23 10:48:18 +08:00
81007ee4ed
esp_adc: add adc ulp mode disable enum
...
Prior to this commit, adc ulp is disabled by setting
adc_oneshot_unit_init_cfg_t::ulp_mode to false.
After this commit, a new enum `ADC_ULP_MODE_DISABLE` is added. So
setting `ulp_mode` to `ADC_ULP_MODE_DISABLE`, instead of `false`, to
disable the ulp mode.
2022-08-23 10:48:15 +08:00
382fd801c7
ci: remove check_python_style since flake8 is included in pre-commit
2022-08-23 10:45:28 +08:00
b88c6f0951
ci: test_idf_tools use system python
2022-08-23 10:45:28 +08:00
da5a5b52c8
ci: simplify the python env to idf venv only
2022-08-23 10:45:28 +08:00
a57b0446b6
ci: improve requirements ci/ttfw files
2022-08-23 10:44:42 +08:00
4a68f9e064
Merge branch 'feature/support_7.2.9_soc/pvt_dig_v5.0' into 'release/v5.0'
...
ESP32C2:support auto adjust LDO voltage based on pvt-dig(backport 5.0)
See merge request espressif/esp-idf!19628
2022-08-23 09:30:06 +08:00
4a5fc3989d
build: fix excluded components being passed to component manager
...
`__COMPONENT_TARGETS` is evaluated very early when components and
component directories are added to the build, which means that all
components (including the ones which are in EXCLUDE_COMPONENTS) have
a build system target defined. The component manager was given the
list of all known components (derived from the list of targets), not
the list of components after EXCLUDE_COMPONENTS were processed.
Because of that, EXCLUDE_COMPONENTS didn't effectively exclude the
component from the consideration of the component manager.
2022-08-22 19:20:44 +02:00
492e66b210
Merge branch 'feature/qemu_upgrade_20220802_v5.0' into 'release/v5.0'
...
ci: upgrade qemu to 20220802 release (v5.0)
See merge request espressif/esp-idf!19620
2022-08-23 01:19:51 +08:00
38ac62e704
Merge branch 'feature/modbus_update_migration_guides_v50' into 'release/v5.0'
...
modbus: update protocol migration guide (backport v5.0)
See merge request espressif/esp-idf!19687
2022-08-23 01:06:08 +08:00
cd61a77cd6
modbus: update protocol migration guide (backport v5.0)
2022-08-23 01:06:08 +08:00
343acd7f88
gpio: fix USB D+ pin cannot disable pullup
...
Internally, disable usb serial jtag DP pin's pullup when calling gpio_ll_pullup_dis and rtcio_ll_pullup_disable
At usb serial jtag setup/install, re-enable DP pin's pullup
Closes https://github.com/espressif/esp-idf/issues/9495
2022-08-22 22:03:25 +08:00
26a4803048
ledc: Fix the usage of ledc_ls_timer_update and ledc_timer_rst
...
ledc_ls_timer_update is required only when CLK_DIV and DUTY_RES bits are changed.
Calling ledc_timer_rst while re-configure PWM frequency through ledc_set_freq can cause glitch in the signal
2022-08-22 22:02:15 +08:00
280a241792
pm: update pm test cases to support esp32c2
2022-08-22 21:56:10 +08:00
b84f9dd5cc
Merge branch 'bugfix/fix_c2_rtc_ldo_too_low_bug_v5.0' into 'release/v5.0'
...
ESP32C2: Fix system not stable bug when rtc voltage too low (backport v5.0)
See merge request espressif/esp-idf!19599
2022-08-22 19:48:36 +08:00
214ebb4adb
Merge branch 'bugfix/rmt_iram_safe_test_5.0' into 'release/v5.0'
...
driver: multiple updates backport to (5.0)
See merge request espressif/esp-idf!19525
2022-08-22 19:02:08 +08:00
d194a449f4
Merge branch 'bugfix/lwip_ipv6_zone_violation_v5.0' into 'release/v5.0'
...
lw ip: Reference official 2.1.3-esp branch (v5.0)
See merge request espressif/esp-idf!19595
2022-08-22 16:58:36 +08:00
e970ec5bf5
Merge branch 'bugfix/esp32c2_issues_fix_5.0' into 'release/v5.0'
...
update ble controller lib for ble issues fixed on esp32c2(8dbbbf0269)
See merge request espressif/esp-idf!19596
2022-08-22 16:51:04 +08:00
b2469bcaaa
Merge branch 'module_logging_tag_lower_case_5.0' into 'release/v5.0'
...
Replaced logging tags with lower case in tcp_transport component (v5.0)
See merge request espressif/esp-idf!19677
2022-08-22 16:48:08 +08:00
60253ed3f3
Merge branch 'bugfix/esp_netif_remove_slip_v5.0' into 'release/v5.0'
...
esp_netif: Migrate SLIP interface to user-space (v5.0)
See merge request espressif/esp-idf!19634
2022-08-22 15:49:22 +08:00
cd5e85aa19
update code to use osi_free()
2022-08-22 15:37:16 +08:00
40addb8faa
local copy of btc_msg_t
...
No need to use local copy of btc_msg_t in btc_transfer_context, create it on heap and pass to osi_thread_post().
2022-08-22 15:37:08 +08:00
ddaf57892c
docs: update console frequency for ESP32-C2
2022-08-22 14:28:12 +08:00
6ed15178b6
uart: move frequency of clock sources out of HAL
2022-08-22 14:28:12 +08:00
18e9879908
CI: modify timeout of advanced_https_ota_example_bluedroid_gatts
2022-08-22 13:55:40 +08:00
8bbaa77830
ble_mesh:ble mesh console support nimble
2022-08-22 04:56:18 +00:00
a202ec2caf
newlib: Add workaround for printf functions using 32-bit time_t on first call
...
sizeof(time_t) was previously switched from 4 to 8, ROM functions that use
time_t or dependent types (such as "struct stat") are no longer called due as
they still treat sizeof(time_t) as 4 (see commit
24c20d18
).
However, there is a ROM callpath that was left out. If putchar is the first
stdio print related call, the call path will result in cantwrite() ->
__swsetup_r() -> __smakebuf_r() -> __swhatbuf_r() using the ROM "struct stat"
(where sizeof(time_t)==4).
Instead of removing all printf related ROM newlib functions (which will result
in increased binary size), this commit adds a workaround to setup the stdio
files before any print related calls occur.
This results in cantwrite() always returning false, thus the callpath described
above never being reached.
Closes https://github.com/espressif/esp-idf/issues/9269
2022-08-22 11:28:55 +08:00
361634c96b
Merge branch 'bugfix/backport_wifi_bugs_to_5.0_0819' into 'release/v5.0'
...
esp wifi:bugfix for backport wifi bugs to 5.0(backport 5.0)
See merge request espressif/esp-idf!19662
2022-08-22 11:11:57 +08:00
d7b33debc5
Merge branch 'bugfix/fix_esp32_psram_cs_hold_time_issue_when_under_80m_v5.0' into 'release/v5.0'
...
esp_psram: fix esp32 psram cs hold time issue when under 40m (v5.0)
See merge request espressif/esp-idf!19647
2022-08-21 15:10:25 +08:00
67cef89b23
Merge branch 'bugfix/copyright_and_removed_component_update_v5.0' into 'release/v5.0'
...
docs: update copyright page for removed (migrated) components (v5.0)
See merge request espressif/esp-idf!19675
2022-08-20 01:21:27 +08:00
e9269e5d17
Replaced logging tags with lower case in tcp_transport component to unite all tags under common structure.
2022-08-19 15:25:44 +02:00
3460f5bc8a
Merge branch 'contrib/github_pr_9497_v5.0' into 'release/v5.0'
...
Move xSemaphoreGive out of configASSERT (GitHub PR) (v5.0)
See merge request espressif/esp-idf!19537
2022-08-19 21:03:45 +08:00
050818181f
Merge branch 'bugfix/freertos_eventgroup_test_flakiness_v5.0' into 'release/v5.0'
...
freertos: Fix flakey event group unit tests (v5.0)
See merge request espressif/esp-idf!19529
2022-08-19 21:02:33 +08:00
b621017865
Merge branch 'bugfix/hfp_examples_not_work_with_default_sdkconfig_v5.0' into 'release/v5.0'
...
bugfix/set default number of sco connection to 1 (v5.0)
See merge request espressif/esp-idf!19594
2022-08-19 20:32:45 +08:00
2d2e1190fe
docs: update copyright page for removed (migrated) components
2022-08-19 17:50:36 +05:30
676a1d6eb1
Merge branch 'feature/esp_cryptoauthlib_from_manager_v5.0' into 'release/v5.0'
...
Push out esp-cryptoauthlib to component manager (v5.0)
See merge request espressif/esp-idf!19654
2022-08-19 20:18:54 +08:00
6eb6bb071d
esp_wifi:fix some wifi bugs
...
1 esp32c2: mv multiphy api out of ESP_MESH_SUPPORT macro
2 clear bss info when wifi stop
3 add clear ap list interface
2022-08-19 14:11:53 +08:00
8696dc15f1
esp_wifi:add clear ap list interface
2022-08-19 14:10:51 +08:00
26a897039e
esp_wifi: done beacon monitor timer and eloop timer when deinit
2022-08-19 14:10:25 +08:00
5920ffc1a9
Merge branch 'backport/bluetooth_cap_define_for_doc' into 'release/v5.0'
...
[backport releasev5.0] Fix bluetooth cap define for doc
See merge request espressif/esp-idf!19640
2022-08-19 14:09:44 +08:00
a74b48c14a
bt: Fixed that i2s_channel_disable was not called before calling i2s_channel_reconfig_std_clock in the A2DP sink example, which caused reconfiguring the I2S clock to fail
2022-08-19 03:52:14 +00:00
3c6fcb2b60
tools: add hint for using esp-cryptoauthlib from manager
2022-08-18 20:15:19 +05:30
047eac2f25
Add entry for cryptoauthlib component manager migration
2022-08-18 20:15:19 +05:30
481c295bc2
cleanup remaining references for esp-cryptoauthlib
2022-08-18 20:15:19 +05:30
6db74398fe
examples/secure_element: add component manifest file for cryptoauthlib
2022-08-18 20:15:18 +05:30
d34a91cace
esp-cryptoautlib: remove submodule and use from IDF component manager
2022-08-18 20:15:18 +05:30
70ab635dd0
esp_psram: fixed 40mhz cs signal glitch issue
2022-08-18 20:26:32 +08:00
3144c870a6
Update BLE documentation scope
2022-08-18 16:27:06 +08:00
238d48edbc
Remove docs not update for classic_bt
2022-08-18 16:27:06 +08:00
07f860d7e1
Updated the nimble instructions for ESP32.
2022-08-18 16:27:06 +08:00
5524c772e6
Fix soc caps define for all chips
2022-08-18 16:27:06 +08:00
338b283fb9
Merge branch 'bugfix/idf_py_gdb_s3_c3_v5.0' into 'release/v5.0'
...
tools: use built-in USB_SERIAL_JTAG for "idf.py openocd" on C3 and S3 (v5.0)
See merge request espressif/esp-idf!19621
2022-08-18 15:55:18 +08:00
0dc965d211
Merge branch 'feature/adds_c2_tests_v5.0' into 'release/v5.0'
...
ci: Adds CI tests (secure_boot and flash encryption) for esp32c2 (v5.0)
See merge request espressif/esp-idf!19535
2022-08-18 14:07:24 +08:00
b910828a14
Merge branch 'bugfix/blufi_checksum_failure_err_v5.0' into 'release/v5.0'
...
examples: blufi: fix API usage for generating dhm secret (v5.0)
See merge request espressif/esp-idf!19608
2022-08-18 13:11:39 +08:00
7e3e0fbbac
Examples: Remove SLIP protocol example
2022-08-18 07:07:44 +02:00
5a9cfbbb28
esp_netif: Add docs on creating custom network stack connection layer
2022-08-18 07:07:44 +02:00
df8390075b
esp_netif: Migrate SLIP interface to user-space
2022-08-18 07:07:44 +02:00
50ff1b0efd
mcpwm: don't use keyword operator
...
Closes https://github.com/espressif/esp-idf/issues/9510
2022-08-18 10:59:42 +08:00
c8b634ecfe
rgb_lcd: deprecate esp_lcd_color_space_t
2022-08-18 10:59:16 +08:00
55458447fb
bdc_motor: component moved to registry
2022-08-18 10:57:13 +08:00
d8c2f67d63
mcpwm: added enable/disable functions
...
Closes https://github.com/espressif/esp-idf/pull/9523
2022-08-18 10:57:13 +08:00
5020fbce1c
driver: add doc on how to unregister event callbacks
...
Closes https://github.com/espressif/esp-idf/pull/9523
2022-08-18 10:57:13 +08:00
4701d95052
driver: specify the interrupt priority
...
Closes https://github.com/espressif/esp-idf/issues/9520
2022-08-18 10:57:13 +08:00
6820c9decc
rmt: add iram safe test
...
Closes https://github.com/espressif/esp-idf/issues/9487
2022-08-18 10:57:13 +08:00
88ee33bf4c
unity_utils: added helper function to disable cache and run user function
2022-08-18 10:57:12 +08:00
b2efd94109
led_strip: use component manager in the example
2022-08-18 10:57:12 +08:00
998451c60a
driver: remove -Wno-format flag
2022-08-18 10:57:12 +08:00
c514009e6d
Merge branch 'update_sysview_supported_targets_v5.0' into 'release/v5.0'
...
Update SysView supported targets (v5.0)
See merge request espressif/esp-idf!19629
2022-08-18 05:27:07 +08:00
7e36ba9a9d
Merge branch 'feature/update-toolchain-to-esp-2022r1-11.2.0_v5.0' into 'release/v5.0'
...
tools: update toolchain version to 'esp-2022r1-11.2.0' (v5.0)
See merge request espressif/esp-idf!19624
2022-08-18 02:25:51 +08:00
3bffe43cdc
Merge branch 's3_sysview_irq_names_v5.0' into 'release/v5.0'
...
Fix ESP32-S3 interrupt names used by SystemView (v5.0)
See merge request espressif/esp-idf!19626
2022-08-18 01:54:21 +08:00
d0dd61c59a
examples/sysview: add missing supported targets to readme
2022-08-17 13:09:50 +02:00
fdc839494f
esp32s3: fix interrupt names used by SystemView
2022-08-17 12:48:37 +02:00
bf622042b7
replace CAN with TWAI in the esp_isr_names table
2022-08-17 12:32:43 +02:00
691f9caa14
tools: update toolchain version to 'esp-2022r1-11.2.0'
...
Closes https://github.com/espressif/esp-idf/issues/6113
2022-08-17 11:54:45 +02:00
91c89a14f6
tools: use built-in USB_SERIAL_JTAG for "idf.py openocd" on C3 and S3
...
Since both chips have built-in JTAG functionality, and there are no
official boards with FT2232H for these chips, use the built-in JTAG
by default.
To use them with esp-prog, set:
OPENOCD_COMMANDS="-f board/esp32c3-ftdi.cfg"
or pass this via the --openocd-commands argument to idf.py.
2022-08-17 11:51:02 +02:00
5a14a10aef
ci: upgrade qemu to 20220802 release
...
Changes accumulated since 20210826 release:
- Fixed cache flush emulation
- Fixed loading of baremetal ELF files via -kernel arg
- Added emulation of AES peripheral
- Fixed division by zero in UART emulation
- Fixed APP CPU using same ROM code as PRO CPU
- Base QEMU version upgraded from 6.1.0 to 7.0.0
2022-08-17 11:47:43 +02:00
3dc89437cc
support auto adjust LDO voltage based on pvt-dig
2022-08-17 17:25:59 +08:00
8d417c25cb
Merge branch 'bugfix/duplicate_i2s_test_case_name_v5.0' into 'release/v5.0'
...
i2s: fixed duplicated test case name (v5.0)
See merge request espressif/esp-idf!19526
2022-08-17 16:17:44 +08:00
d562d9f841
examples: blufi: fix API usage for generating dhm secret
...
API usage for `mbedtls_dhm_calc_secret` was incorrect, fixed by
providing correct RNG function pointer. This behavior was changed in
mbedTLS-3.x update.
Tested BluFi provisioning with this fix.
Closes IDF-5796
Closes https://github.com/espressif/esp-idf/issues/9488
2022-08-17 12:19:43 +05:30
ed3841eb53
Merge branch 'bugfix/fix_clk_cali_logic_for_c2_backport_v5.0' into 'release/v5.0'
...
esp32c2/clk_cali: fix rtc slow clk cali logic(backport v5.0)
See merge request espressif/esp-idf!19600
2022-08-17 14:36:00 +08:00
d3d1d4e1df
esp32c2/clk_cali: fix rtc slow clk cali logic
2022-08-17 11:17:36 +08:00
7243032123
set fosc div to 1 to make chip run stablly for C2
2022-08-17 10:58:14 +08:00
d47d2a210d
Fixed the failure of 'connect audio' operation in HFP examples with default SDK configuration
...
Due to the lack of synchronized connections, the hf_client can not create audio_connection to
hf_ag. Set default number of synchronized connection to 1.
Closes https://github.com/espressif/esp-idf/issues/9537
2022-08-17 10:13:32 +08:00
65d35b0b45
update ble controller lib for ble issues fixed on esp32c2(8dbbbf0269)
2022-08-16 22:04:30 +08:00
09a8f171f2
lwip: Reference official 2.1.3-esp branch
...
Actual changes against 2.1.3-esp-dev:
* Fix IPv6 zoning violations
* Melted on-demand timer's commits into one
2022-08-16 15:07:54 +02:00
6d1f1eccfb
Merge branch 'bugfix/incorrect_base_addr_for_rtcio_on_esp32s3_v5.0' into 'release/v5.0'
...
rtci2c: Corrected the register base addr reference for RTC I2C on esp32s3 (v5.0)
See merge request espressif/esp-idf!19558
2022-08-16 20:43:48 +08:00
518ace6bb5
components/bt: fixed the invalid workqueue number for BTU thread in Bluedroid
...
There should be only one workqueue for BTU task. The queue length for the second workqueue of BTU can be uninitialized and caused memory overflow and corruption.
Closes https://github.com/espressif/esp-idf/issues/9507
2022-08-16 17:19:58 +08:00
4ba5515dc0
Merge branch 'backport/backport_master_to_release_v5.0' into 'release/v5.0'
...
backport master to release v5.0(Backport v5.0)
See merge request espressif/esp-idf!19560
2022-08-16 16:37:54 +08:00
3d64788a2d
Merge branch 'feature/replace-heap-tlsf-with-submodule_v5.0' into 'release/v5.0'
...
heap: Remove TLSF related files and replace them with the TLSF submodule (v5.0)
See merge request espressif/esp-idf!19555
2022-08-16 14:09:38 +08:00
5e32649ae9
Merge branch 'docs/backport_api_guides_5.0' into 'release/v5.0'
...
Docs: Updated the Chinese translation for several docs in api-guides and migration-guides/system.rst (backport v5.0)
See merge request espressif/esp-idf!19573
2022-08-16 13:50:29 +08:00
927af9cfbc
Merge branch 'docs/add_cn_trans_gcc_provisioning_5.0' into 'release/v5.0'
...
Docs: add CN translation for migration guides/gcc.rst and provisioning.rst (backport 5.0)
See merge request espressif/esp-idf!19572
2022-08-16 13:25:37 +08:00
0514906eba
Docs: add CN translation for migration guides/gcc.rst and provisioning.rst (backport 5.0)
2022-08-16 13:25:36 +08:00
8e02b560a2
Merge branch 'ci/add_integration_test_env_v5.0' into 'release/v5.0'
...
CI: add integration test env (v5.0)
See merge request espressif/esp-idf!19426
2022-08-16 12:14:36 +08:00
9ac257fd4e
docs: update cn trans for migration-guides/system.rst
2022-08-16 12:04:20 +08:00
e9fd79b284
docs: update cn trans for api-guides
2022-08-16 12:03:58 +08:00
5bb61dfe2f
rename xHoldSemaphore to result
2022-08-16 10:50:37 +08:00
241c38b5c0
Move xSemaphoreGive out of configASSERT
...
xSemaphoreGive won't be executed in configASSERT and semaphore will stay locked if NDEBUG (idf v5) or CONFIG_FREERTOS_ASSERT_DISABLE (idf v3, v4) are defined.
2022-08-16 10:50:37 +08:00
9e44ecee4c
Merge branch 'bugfix/test_ethernet_throughput_basic_v5.0' into 'release/v5.0'
...
Bugfix/test ethernet throughput basic (v5.0)
See merge request espressif/esp-idf!19562
2022-08-16 10:49:02 +08:00
698b11334f
Merge branch 'fix/idf_hints_errors_in_name_v5.0' into 'release/v5.0'
...
Tools: Correct idf.py hints for possible syntax errors (v5.0)
See merge request espressif/esp-idf!19565
2022-08-16 01:41:38 +08:00
58642bd5dd
Merge branch 'fix/idf_py_logging_v5.0' into 'release/v5.0'
...
Tools: Fix idf.py hints to be enabled all the time and being able to disable them (v5.0)
See merge request espressif/esp-idf!19564
2022-08-16 01:32:15 +08:00
d9c997af8c
Merge branch 'feature/add_hints_for_freertos_breaking_changes_v5.0' into 'release/v5.0'
...
hints: added compilation hints for FreeRTOS breaking changes (v5.0)
See merge request espressif/esp-idf!19561
2022-08-15 23:16:55 +08:00
fe6e7d25f1
Tools: Correct idf.py hints for possible syntax errors
2022-08-15 16:43:37 +02:00
e9b037375a
Tools: Fix idf.py hints to be enabled all the time and being able to disable them
2022-08-15 16:41:32 +02:00
6903d32a9d
eth_iperf_test: improved regex to properly evaluate IP address
2022-08-15 16:07:06 +02:00
7491cd7a9d
hints: added compilation hints for FreeRTOS breaking changes
2022-08-15 15:45:18 +02:00
bc09a70071
esp_wifi: fix fail to scan after recv disassoc/deauth for esp32s2
2022-08-15 21:16:53 +08:00
b9a667b9f8
1. Wi-Fi: update tsf tick interval when lpclk is modified
...
2. Move register_lpclk_callback to coexistence
2022-08-15 21:16:11 +08:00
b2a6403b40
Power Management: fix the issue of sleeping time error beacause external 32kHz xtal does not exist
2022-08-15 21:16:02 +08:00
555d72c90a
make bluetooth and wifi use the same low power clock
2022-08-15 21:15:51 +08:00
ebca41b3ca
ESP32S3:bluetooth support use main XTAL in light sleep mode
2022-08-15 21:15:42 +08:00
b8b7dcc159
ESP32C3:bluetooth support use main XTAL in light sleep mode
2022-08-15 21:15:13 +08:00
56c78fbbf7
rtci2c: Corrected the register base addr reference for RTC I2C on esp32s3
...
This commit corrects the register base address reference for RTC I2C on
esp32s3.
2022-08-15 14:50:04 +02:00
378c54e273
heap: Move the declaration of tlsf_poison_fill_pfunc_set() in esp_rom component
...
- The declaration is moved to esp_rom/include/esp32c2/rom/tlsf.h.
- multi_heap_poisoning.h now includes rom/tlsf.h instead of declaring
tlsf_poison_fill_pfunc_set().
Note: If more targets will support an implementation of the TLSF in ROM,
esp_rom will be extended with new headers in the respective target directories
but multi_heap_poisoning.h will remain unchanged.
2022-08-15 11:11:52 +02:00
8fb2a7a162
heap: Fix compilation error when CONFIG_SPIRAM is set on esp32s3 target
...
When CONFIG_SPIRAM is set, the TLSF_MAX_POOL_SIZE is set to SOC_EXTRAM_DATA_SIZE
which caused the TLSF_MAX_POOL_SIZE to be bigger than 16MB.
This commit fixes the issue by adding an extra else if case to cover this configuration.
2022-08-15 11:11:52 +02:00
86d1425346
heap: Fix compilation errors when CONFIG_HEAP_TLSF_USE_ROM_IMPL is set
...
- include headers from the tlsf submodule only when CONFIG_HEAP_TLSF_USE_ROM_IMPL is not set
- remove usage of the tlsf_t type in the multi_heap.c
- add missing declaration of tlsf_poison_fill_pfunc_set() in multi_heap_poisoning.c
- define headers from tlsf submodule as private
- update the linker file in the heap component to the new naming of the tlsf file
- update the copyright docuementation to reference the submodule in github (https://github.com/espressif/tlsf )
- remove deleted files from the check_copyright_ignore.txt
2022-08-15 11:11:52 +02:00
a2b60946ac
heap: Remove TLSF related files and replace them with the tlsf submodule
...
As the tlsf implementation is a fork from https://github.com/mattconte/tlsf ,
the sources are moved to a separate repository and used as a submodule in the esp-idf instead.
In this commit:
- Removing TLSF related files and using tlsf submodule instead.
- Adding components/heap/tlsf_platform.h header gathering all IDF specifics.
- The multi_heap_poisoning.c provides the declaration of the
function block_absorb_post_hook() definied weak in the TLSF repository.
- The tlsf_platform.h includes the tlsf_common.h file after the definition
of FL_INDEX_MAX_PLATFORM macro to make sure that this macro will be available
in tlsf_common.h without having to include tlaf_platform.h from IDF in the
tlsf_common.h header from the TLSF repository.
- Add missing include from tlsf_block_functions.h in the multi_heap.c file.
Change related to the changes made in TLSF repository (tlsf_block_functions.h
no longer included in tlsf.h)
2022-08-15 11:11:52 +02:00
6cc5e4aa3a
Merge branch 'docs/update_FSM_of_I2S_v5.0' into 'release/v5.0'
...
docs: update the diagram of FSM of I2S (v5.0)
See merge request espressif/esp-idf!19533
2022-08-15 17:02:09 +08:00
ccdeb43cc7
Merge branch 'fix/flake8_v5_warnings_v5.0' into 'release/v5.0'
...
Tools: Fix flake8 version 5 warnings (v5.0)
See merge request espressif/esp-idf!19543
2022-08-14 02:51:36 +08:00
452139ebc7
Merge branch 'feat/tools_upgrade_pip_v5.0' into 'release/v5.0'
...
Tools: Upgrade pip and setuptools if venv is not able (v5.0)
See merge request espressif/esp-idf!19521
2022-08-12 21:51:09 +08:00
6dd6ac57e8
Merge branch 'fix/idf_py_missing_component_man_v5.0' into 'release/v5.0'
...
Tools: Detect missing component manager and print proper error message (v5.0)
See merge request espressif/esp-idf!19531
2022-08-12 21:50:58 +08:00
1ae3768321
Tools: Fix flake8 version 5 warnings
2022-08-12 15:36:11 +02:00
82f63485ad
efuse example: Adds CI tests for ESP32-C2
2022-08-12 18:00:14 +08:00
ac63ec27d7
docs: update the diagram of FSM of I2S
2022-08-12 17:57:52 +08:00
4385a5c626
Merge branch 'feature/update-gdb-to-11.2_20220808_v5.0' into 'release/v5.0'
...
tools: update gdb version to '11.2_20220808' (v5.0)
See merge request espressif/esp-idf!19512
2022-08-12 17:25:50 +08:00
a0a969c971
Tools: Detect missing component manager and print proper error message
2022-08-12 11:00:34 +02:00
a02a84d8a5
freertos: Fix flakey event group unit tests
...
The event group unit tests would previously use a single call bit (the
"BIT_CALL" macro) to unblock all the test tasks. However, if one or more tasks
were delayed in calling xEventGroupWaitBits(), the other tasks would clear the
test bits, leading to the test deadlocking.
This commit updates the bits used so that each task gets their own CALL and
RESPONSE bits.
2022-08-12 16:48:18 +08:00
18356cd124
i2s: fixed duplicated test case name
2022-08-12 14:57:54 +08:00
73a1d3b1bf
Merge branch 'feature/esp_adc_migration_hints_v5.0' into 'release/v5.0'
...
idf.py hints: added hints for esp_adc component change (v5.0)
See merge request espressif/esp-idf!19523
2022-08-12 14:56:28 +08:00
44bbfa4fb8
esp-rom: add missing spi-flash ROM API functions
...
Added symbols for the SPI flash API which we export from the ROM interface,
deleted functions which are not exported.
Closes https://github.com/espressif/esp-idf/issues/1212
2022-08-12 14:31:56 +08:00
6655d1dad8
Merge branch 'bugfix/light_sleep_deadlock_v5.0' into 'release/v5.0'
...
esp_hw_support: Fix light sleep deadlock (v5.0)
See merge request espressif/esp-idf!19515
2022-08-12 14:10:40 +08:00
5607d2c918
idf.py hints: add build error hints when legacy adc calibration driver is used
2022-08-12 11:03:31 +08:00
c5292cae2e
Merge branch 'cherry-pick-68bd2bad' into 'release/v5.0'
...
Bluetooth/Bluedroid: fix member typo(backport v5.0)
See merge request espressif/esp-idf!19456
2022-08-12 10:42:53 +08:00
a200091546
Tools: Upgrade pip and setuptools if venv is not able
...
venv upgrades pip and setuptools by the --upgrade-deps option available
since Python 3.9. This commit adds manual upgrade for Pythons 3.7 and 3.8.
2022-08-11 16:15:16 +02:00
c4912c0add
Merge branch 'bugfix/mesh_bqb_test_issues_v5.0' into 'release/v5.0'
...
ble_mesh: stack: Fix mesh v1.0 BQB test issues(v5.0)
See merge request espressif/esp-idf!19501
2022-08-11 20:10:25 +08:00
aa25d83787
esp_hw_support: Fix esp_light_sleep_start() deadlock
...
esp_light_sleep_start() will stall the other CPU via esp_ipc_isr_stall_other_cpu(). After stalling the other CPU,
will call esp_clk_... API which themselves take locks. If the other stalled CPU is holding those locks, this will
result in a deadlock.
This commit adds a workaround calling esp_clk_private_lock() to take the lock before stalling the other CPU.
2022-08-11 18:38:51 +08:00
1fded0234c
esp_hw_support: esp_clk should use spinlock instead of mutex
...
esp_clk used to be protected using _lock_t (i.e., a FreeRTOS Mutex). However, esp_clk API is current called from
from critical sections, thus mutex should not be used (as they can be blocking).
This commit updates esp_clk to use spinlocks for critical sections instead.
2022-08-11 18:38:45 +08:00
2ba26785d4
tools: update gdb version to '11.2_20220808'
...
Closes https://github.com/espressif/esp-idf/issues/9522
2022-08-11 13:40:36 +04:00
e15b3b8b9d
ble_mesh: stack: Fix kr from non-primary subnet shouldn't ignore
...
For case MESH/NODE/KR/BV-02-C
2022-08-11 14:09:02 +08:00
b42b8b007a
ble_mesh: stack: Add a check if the appkey is bound to the model.
...
For case MESH/NODE/CFG/MP/BI-03-C
2022-08-11 14:08:55 +08:00
52af572bd5
ble_mesh: stack: the count_log field should be set to 0 when HBS is sent.
...
For MESH/NODE/CFG/HBS/BV-02-C
2022-08-11 14:08:48 +08:00
e260a04f22
ble_mesh: stack: The Heartbeat Publication Period Log value can set to 0x11, range: [0, 0x11]
2022-08-11 14:08:39 +08:00
7a8ebdc409
ble_mesh: stack: The value of expect_ack_for will be rewrited after send_pub_key().
...
For case MESH/PVNR/PROV/BV-04-C
2022-08-11 14:08:31 +08:00
7a8023e54c
ble_mesh: stack: Fix ignore connectable PB-ADV PDU containing a Link Open message.
...
For case MESH/NODE/PBADV/BI-04-C
2022-08-11 14:08:17 +08:00
0a33ec0d1c
ble_mesh: stack: Fix PB-GATT not check invalid link flag
...
For case MESH/NODE/PROV/BI-03-C
2022-08-11 14:08:10 +08:00
b4650fcc16
ble_mesh: stack: Fix invalid provisioning pdu type check
...
For case MESH/NODE/PROV/BI-15-C
2022-08-11 14:08:03 +08:00
83b1dd1c11
Merge branch 'idf_py/hints_protocol_prov_v5.0' into 'release/v5.0'
...
protocols/provisioning: Added hints for breaking changes (v5.0)
See merge request espressif/esp-idf!19489
2022-08-11 12:44:16 +08:00
c577919284
Merge branch 'docs/update_migration_guide_for_esp_hw_support_v5.0' into 'release/v5.0'
...
docs: Corrected the migration guide for esp_hw_support (v5.0)
See merge request espressif/esp-idf!19409
2022-08-11 10:36:30 +08:00
41679c5c3d
Merge branch 'bugfix/esp32h2beta2_erase-flash' into 'release/v5.0'
...
esp32h2: Fix esp32h2beta2 erase flash (backport v5.0)
See merge request espressif/esp-idf!19447
2022-08-10 21:27:15 +08:00
089312c46d
protocols/provisioning: Added hints for breaking changes
...
- For migrating from ESP-IDF v4.4.x to v5.0
2022-08-10 15:29:23 +05:30
5090955250
Merge branch 'bugfix/fix_esp32s3_cache_data_memory_wrong_attr_backport_v5.0' into 'release/v5.0'
...
bugfix: esp32s3 DCache data memory is retention dma inaccessible (backport v5.0)
See merge request espressif/esp-idf!19473
2022-08-10 17:56:10 +08:00
7b5870d4b8
Merge branch 'bugfix/friend_and_lpn_issues_v5.0' into 'release/v5.0'
...
ble_mesh: stack: Fix friend and lpn issues(v5.0)
See merge request espressif/esp-idf!19474
2022-08-10 14:54:11 +08:00
a3b987b44c
Merge branch 'bugfix/restore_missing_ble_mesh_videos_v5.0' into 'release/v5.0'
...
ble_mesh: doc: Restore missing ble mesh videos(v5.0)
See merge request espressif/esp-idf!19480
2022-08-10 14:53:53 +08:00
09b2aa5d5a
Merge branch 'feature/further_support_esp32c2_sleep_backport_v5.0' into 'release/v5.0'
...
esp32c2/sleep: further support sleep for esp32c2 with 26MHz XTAL(backport v5.0)
See merge request espressif/esp-idf!19429
2022-08-10 13:38:51 +08:00
036872789c
Merge branch 'bugfix/fix_memory_leak_in_pre_encrypted_ota_example_v5.0' into 'release/v5.0'
...
example: fix memory leak in pre_encrypted_ota example. (v5.0)
See merge request espressif/esp-idf!19469
2022-08-10 13:33:03 +08:00
db7c4e4938
bootloader_support: consider signature sector in image length validation
...
For secure boot enabled cases, bootloader and firmware images have signature
appended and size is variable based on scheme being used. This appended data
must be considered while verifying image length against allocated partition
size to avoid any possibilities of going beyond reserved size.
Closes IDF-5617
2022-08-10 10:38:02 +05:30
922008a7e6
ble_mesh: doc: Restore missing ble mesh videos
2022-08-10 11:37:24 +08:00
5172b6a89c
ble_mesh: stack: Fix add continuously secure update into friend queue.
...
For MESH/NODE/FRND/FN/BV-20-C
2022-08-09 21:47:17 +08:00
000e2bbdc6
ble_mesh: stack: Fix friend relay lpn message when relay feature is disable
...
For MESH/NODE/FRND/FN/BV-23-C
2022-08-09 21:47:03 +08:00
edb78e8196
bugfix: malloc retention buffer with MALLOC_CAP_RETENTION caps
2022-08-09 21:10:59 +08:00
2313663c2e
bugfix: DCache data memory is dma accessible but not retention dma accessible
2022-08-09 21:10:55 +08:00
85664aa637
example: fix memory leak in pre_encrypted_ota example.
...
Closes: https://github.com/espressif/esp-idf/issues/9489
2022-08-09 16:23:50 +05:30
d3940a6fe0
Fixed union member access typo
...
Closes https://github.com/espressif/esp-idf/pull/9498
2022-08-09 14:38:32 +08:00
a29b415749
bt member typo
...
Terminate sec_event.cfm_req.bd_name string, not sec_event.pin_req.bd_name
2022-08-09 14:38:08 +08:00
d3a7d21d0c
Merge branch 'maintenance/simplified_codeowners_v5.0' into 'release/v5.0'
...
gitlab: simplify approvals for backports (v5.0)
See merge request espressif/esp-idf!19448
2022-08-09 00:04:03 +08:00
8347f80287
CI: add integration test env
2022-08-08 22:55:11 +08:00
7a02c7ddd8
gitlab: simplify approvals for backports (v5.0)
2022-08-08 15:11:18 +02:00
b7b4fd44be
esp32h2: disable no_stub option
...
It helps to enable erase flash feature for esp32h2beta2
2022-08-08 20:44:15 +08:00
19331b46ec
docs: fix xtal kconfig related description
2022-08-08 13:54:36 +08:00
9c3a57eafa
examples/wifi/power_save: fix project kconfig file
2022-08-08 13:53:43 +08:00
8cd7c30bc7
kconfig: refactor xtal freq kconfig to common configuration item
2022-08-08 13:53:02 +08:00
3652792f9d
examples/system/light_sleep: fix uart garbled output
2022-08-08 13:50:54 +08:00
2be35e400a
examples/system/light_sleep: fix baudrate for uart wakeup source
2022-08-08 13:50:34 +08:00