Tomas Rezucha
4cf3acb594
fix(usb/host): Do not abort on string descriptor overflow
...
Some devices return full LANGID table, even if short LANGID table was requested.
No memory overflow occurs, because we have allocated enough memory for transfers to the
default pipe. So we can ignore the error and continue with string desc fetching.
2023-12-05 16:44:53 +01:00
Darian Leung
af4991fb39
refactor(hal/usb_dwc): Add DWC OTG configuration values
...
This commit adds a subset of the DWC OTG configuration values to the
'usb_dwc_ll.h' file. Only relevant configuration values have been added.
Some DWC OTG releated constants have also been moved from 'usb_dwc_hal.h'
to 'usb_dwc_ll.h' and renamed.
2023-12-05 16:44:53 +01:00
Darian Leung
e9c617fa19
refactor(soc): SOC_USB_PERIPH_NUM option
...
This commit refactors SOC_USB_PERIPH_NUM as follows:
- Renamed to SOC_USB_OTG_PERIPH_NUM to avoid confusion with USB Serial JTAG
- Updated to unsigned integer "1U"
- Updated some build rules to depend on SOC_USB_OTG_SUPPORTED instead
2023-12-05 16:44:46 +01:00
harshal.patil
a168fde297
fix(soc/esp32h2): Fix llperi_rng_data field discrepancy
2023-12-05 21:08:33 +05:30
harshal.patil
8558aa4414
fix(soc/esp32c6): Fix llperi_rng_data field discrepancy
2023-12-05 21:08:32 +05:30
jgujarathi
72176eee5d
fix(wpa_supplicant): Move concurrent wps and dpp check to before creating task
...
- Move the check for checking concurrent wps and dpp check to before creating
task rather than after.
2023-12-05 18:57:33 +05:30
jgujarathi
3da789bae6
fix(wpa_supplicant): Fix a crash in esp_wifi_wps_disable
...
- Fixes a crash observed in esp_wifi_wps_disable when wps process
is ongoing, caused due to concurrency issues in cancelling timers.
2023-12-05 18:57:25 +05:30
jgujarathi
34795220d2
fix(wpa_supplicant): Add support for a dpp authentication timeout
...
- Adds support for a 1 second dpp authentication timeout.
2023-12-05 18:57:17 +05:30
jgujarathi
357e0e144b
fix(wpa_supplicant): Restructuring DPP init method to ensure cleanup
...
- Restructuring DPP init function to ensure cleanup of variables in case of
init failure
2023-12-05 18:57:09 +05:30
jgujarathi
58f1bde9ef
fix(wpa_supplicant): Fix location of clearing up dpp global variables
...
- Fix location of cleaing up dpp global variables to ensure that there are
no concurrency issues.
2023-12-05 18:57:02 +05:30
jgujarathi
f9c8db8f94
fix(wpa_supplicant): Fix a memory leak in dpp deinit path
...
- Ensures that the auth information of dpp gets freed when there is
dpp gets deinited.
2023-12-05 18:56:52 +05:30
aditi_lonkar
6a92a3582e
fix(esp_wifi):Fix WDT when esp_supp_dpp_start_listen called multiple times
2023-12-05 18:56:30 +05:30
zhangyanjiao
609d25482b
fix(wifi): fix the crash issue when clear scan ap list
2023-12-05 18:54:15 +05:30
zhangyanjiao
36cbbdcf65
feat(wifi): add new api to get one scan ap record
2023-12-05 18:54:06 +05:30
Darian Leung
b85e6d3dd8
change(xtensa): Deprecate ".../xtensa_timer.h" include path
...
This commit deprecates the "freertos/xtensa_timer.h" and "xtensa/xtensa_timer.h"
include paths. Users should use "xtensa_timer.h" instead.
- Replace legacy include paths
- Removed some unnecessary includes of "xtensa_timer.h"
- Add warning to compatibility header
2023-12-05 18:04:52 +08:00
Darian Leung
555bd367e1
change(xtensa): Deprecate ".../xtensa_context.h" include path
...
This commit deprecates the "freertos/xtensa_context.h" and "xtensa/xtensa_context.h"
include paths. Users should use "xtensa_context.h" instead.
- Replace legacy include paths
- Removed some unnecessary includes of "xtensa_api.h"
- Add warning to compatibility header
2023-12-05 18:04:52 +08:00
Darian Leung
c2e134b775
change(xtensa): Deprecate ".../xtensa_api.h" include path
...
This commit deprecates the "freertos/xtensa_api.h" and "xtensa/xtensa_api.h"
include paths. Users should use "xtensa_api.h" instead.
- Replace legacy include paths
- Removed some unnecessary includes of "xtensa_api.h"
- Replaced some calls with "esp_cpu_..." equivalents
- Add warning to compatibility header
2023-12-05 18:04:52 +08:00
Darshan Dobariya
7cdddd47aa
fix(nimble): Fixed authcomplete failure caused by a mismatch in the c1 value (v5.2)
2023-12-05 14:22:42 +05:30
Cao Sen Miao
1625943486
change(i2c): Add check for scl frequency for master_bus_add_device
...
Closes https://github.com/espressif/esp-idf/issues/12598
2023-12-05 13:36:39 +08:00
Jiang Jiang Jian
ffbbf0cebf
Merge branch 'feature/add_fatfs_sbom_v5.2' into 'release/v5.2'
...
feat(storage/fatfs): add sbom file manifest for FatFs (v5.2)
See merge request espressif/esp-idf!27479
2023-12-05 12:03:17 +08:00
Tomas Rohlinek
a635d11b4a
feat(storage/fatfs): add sbom file manifest for FatFs (v5.2)
2023-12-05 12:03:17 +08:00
Jiang Jiang Jian
df43d670a1
Merge branch 'change/freertos_remove_xcoreid_for_single_core_v5.2' into 'release/v5.2'
...
change(freertos/idf): Remove xCoreID from TCB in single-core builds (v5.2)
See merge request espressif/esp-idf!27617
2023-12-05 12:01:09 +08:00
Jiang Jiang Jian
7a3efab6a7
Merge branch 'backport/router_forwarding_flag_set_v52' into 'release/v5.2'
...
feat(lwip): support NA router farwording flag set(Backport v5.2)
See merge request espressif/esp-idf!27631
2023-12-05 11:59:54 +08:00
Jiang Jiang Jian
6388f3f13c
Merge branch 'bugfix/nan_sd_dp_timer_fixes_v5.2' into 'release/v5.2'
...
Fix NAN service discovery, datapath and timer bugs (Backport v5.2)
See merge request espressif/esp-idf!27530
2023-12-05 11:29:16 +08:00
Jiang Jiang Jian
eb848eaa6b
Merge branch 'bugfix/remove_rpa_rec_v5.2' into 'release/v5.2'
...
fix(nimble): Handled the deletion of RPA mapping.(v5.2)
See merge request espressif/esp-idf!27320
2023-12-05 11:16:12 +08:00
Jiang Jiang Jian
c7b527bd27
Merge branch 'bugfix/alarm_args_double_free_v5.2' into 'release/v5.2'
...
Bugfix/alarm args double free v5.2
See merge request espressif/esp-idf!27537
2023-12-05 11:14:13 +08:00
Roland Dobai
fc95a892ab
fix(tools): Fix fatfsgen construct exception type and dependency
...
construct=2.10.70 fixed an issue
(c3866e9492
)
and StringError is raised instead of UnicodeDecodeError.
2023-12-04 17:21:10 +01:00
kohait00
4c1c9373e9
fix(app_update): avoid erasing an extra sector than the actual required size
...
OTA update used to fail if `firmware_size == partition_size`, because the code was trying to
erase one additional sector beyond the space reserved for the firmware partition.
This commit fixes the problem and OTA update can work if the firmware
size exactly matches the allocated partition size.
Closes https://github.com/espressif/esp-idf/pull/12460
2023-12-04 18:42:44 +05:30
Island
3081c8b5ea
Merge branch 'bugfix/BLEQABR23-811_v5.2' into 'release/v5.2'
...
bugfix(ble_mesh): Enable CONFIG_BT_NIMBLE_VS_SUPPORT when using the duplicate...(v5.2)
See merge request espressif/esp-idf!27567
2023-12-04 19:48:29 +08:00
zwx
afbbaaf417
feat(lwip): support NA router farwording flag set
...
* Update submodule: git log --oneline
4a8286ab8bcf983f22421e3d4be650837b5eb277..542ba2997f6cc14fe9c3d781bf9b0d890cd70bb1
- fix router forwarding flag set (espressif/esp-lwip@542ba299 )
2023-12-04 16:22:24 +08:00
Darian Leung
913550f62c
fix(freertos/idf): Fix invalid xCoreID arguments in single-core
...
IDF FreeRTOS v10.5.1 no longer accepts out of range xCoreID arguments in
"PinnedToCore" task creation functions when building for single-core. This
commit fixes those violations through ESP-IDF.
2023-12-04 15:03:58 +08:00
Darian Leung
ee0ee4887f
change(freertos/idf): Remove xCoreID TCB member for single-core
...
This commit does the following:
- removes the xCoreID member from the TCB when building for single-core
- xCoreID is no longer hard set to 0 when calling "PinnedToCore" task creation
functions in single-core
- Tidy up or add missing xCoreID asserts for functions that take xCoreID as an
argument:
- Functions that set/query a variable of a particular core will call
taskVALID_CORE_ID() to ensure ) 0 <= xCoreID < configNUMBER_OF_CORES
- Task creation functions that accept xCoreID also call taskVALID_CORE_ID()
but also allow tskNO_AFFINITY.
- Fix TaskStatus_t
- Remove xCoreID from TaskStatus_t if configTASKLIST_INCLUDE_COREID is not
defined.
- Set xCoreID to 0 when calling vTaskGetInfo() in single-core builds
2023-12-04 15:03:55 +08:00
Darian Leung
63fee6c23a
refactor(freertos/idf): Refactor yield and affinity macros
...
This commit refactors the following macros so that calling them no longer
requires referencing pxTCB->xCoreID.
- taskIS_YIELD_REQUIRED()
- taskIS_YIELD_REQUIRED_USING_PRIORITY()
- taskIS_AFFINITY_COMPATIBLE()
2023-12-04 14:59:37 +08:00
zhanghaipeng
633dd89d4a
feat(bt/bluedroid): Support ble create sync report disable and filter duplicate
2023-12-04 14:40:58 +08:00
Mahavir Jain
c9f1d3e8be
Merge branch 'fix/aes_mpi_interrupt_allocation_workflow_for_aes_gcm_v5.2' into 'release/v5.2'
...
fix(mbedtls/aes): fix AES interrupt allocation for AES-GCM operations (v5.2)
See merge request espressif/esp-idf!27578
2023-12-04 14:09:43 +08:00
Jakob Hasse
e3653aaa98
fix(esp_hw_support): Removed unused include directories from cmake
...
* Closes https://github.com/espressif/esp-idf/issues/12700
2023-12-04 12:59:51 +08:00
Marius Vikhammer
0818b1fca1
Merge branch 'feature/misc_core_build_tests_p4_v5.2' into 'release/v5.2'
...
ci(system): fixed and enabled misc system build tests (v5.2)
See merge request espressif/esp-idf!27476
2023-12-04 12:16:58 +08:00
gaoxu
44f266693a
fix(adc): restore cali registers after light sleep wake up on H2 and enable test
2023-12-04 12:03:49 +08:00
gaoxu
35844b3d09
ci(adc): add a test that adc continuous read after restarting
2023-12-04 11:56:24 +08:00
gaoxu
ca3bcb18b0
fix(adc): fix adc continuous get less results beacuse do not reset apb clk
2023-12-04 11:56:24 +08:00
Jiang Jiang Jian
7ee2470603
Merge branch 'fix/esp_vfs_fat_sdcard_format_workbuf_leak_v5.2' into 'release/v5.2'
...
fix: esp_vfs_fat_sdcard_format workbuf memory leak (v5.2)
See merge request espressif/esp-idf!27503
2023-12-04 11:03:21 +08:00
Jiang Jiang Jian
821d82f04e
Merge branch 'support/add_srp_salt_ver_gen_api_v5.2' into 'release/v5.2'
...
Generate Salt and verifier pair for given username and password (v5.2)
See merge request espressif/esp-idf!27360
2023-12-04 11:00:50 +08:00
Jiang Jiang Jian
4e0459f112
Merge branch 'feature/refactor_some_coexist_sections_v5.2' into 'release/v5.2'
...
Feature/refactor some coexist sections v5.2
See merge request espressif/esp-idf!27365
2023-12-04 10:46:16 +08:00
Abhinav Kudnar
fb4e56e9a3
fix(nimble): Handled the deletion of RPA mapping.
2023-12-01 17:54:11 +05:30
harshal.patil
b94656115e
fix(mbedtls/aes): fix AES interrupt allocation for AES-GCM operations
2023-12-01 16:34:49 +05:30
zhanghaipeng
068a364a6b
fix(bt/bluedroid): Fix BLE SMP register log level
2023-12-01 17:05:23 +08:00
luoxu
134fd6b8d8
bugfix(ble_mesh): Enable CONFIG_BT_NIMBLE_VS_SUPPORT when using the duplicate scan feature on the NimBLE host.
2023-12-01 16:48:31 +08:00
luoxu
d3a78fef1b
bugfix(ble_mesh): Fixed incorrect RPR Client unicast address was obtained(154b4fcc)
2023-12-01 16:04:09 +08:00
Mahavir Jain
3ca40da386
Merge branch 'bugfix/fix_http_client_async_mode_v5.2' into 'release/v5.2'
...
fix(esp_http_client): Fix esp_http_client async mode (v5.2)
See merge request espressif/esp-idf!27513
2023-12-01 15:38:16 +08:00
Island
2110f6b037
Merge branch 'update/ble_mesh_put_lib_in_submodule_v5.2' into 'release/v5.2'
...
fix(ble_mesh): Put Mesh 1.1 lib files in submodule (v5.2)
See merge request espressif/esp-idf!27549
2023-12-01 15:17:17 +08:00
Rahul Tank
dc835a0918
Merge branch 'bugfix/add_legacy_adv_clear_vsc_v5.2' into 'release/v5.2'
...
fix(nimble): Add support for VSC to clear legacy adv memory (v5.2)
See merge request espressif/esp-idf!27470
2023-12-01 15:03:45 +08:00
liuning
2482c4a025
feat(coex): apply struct for coex version
2023-12-01 06:00:34 +00:00
liuning
0d0265f6f3
feat(coex): rename coexist sections
2023-12-01 06:00:34 +00:00
Island
eba1baa63d
Merge branch 'bugfix/ble_update_lib_20231124_v5.2' into 'release/v5.2'
...
ble(update):Update c2 lib to 79ed4e8a,Update h2 lib to 9a237426,Update c6 lib to 9a237426
See merge request espressif/esp-idf!27394
2023-12-01 13:58:27 +08:00
Liu Linyan
ba7b323c3e
fix(ble_mesh): Use submodule for mesh 1.1 lib files
2023-12-01 10:00:37 +08:00
Liu Linyan
e58ed21fbf
fix(ble_mesh): Remove the orginal mesh 1.1 lib files
2023-12-01 10:00:30 +08:00
morris
587b4b32f8
Merge branch 'bugfix/uart_custom_console_v5.2' into 'release/v5.2'
...
fix(console): enable to select UART1 port for console output (v5.2)
See merge request espressif/esp-idf!27506
2023-11-30 21:46:22 +08:00
Jin Cheng
d28751ee7f
fix(bt/bluedroid): Set the alarm_arg to NULL after releasing to avoid double free in L2CAP layer
2023-11-30 19:58:38 +08:00
Jin Cheng
7a335421e1
fix(bt/bluedroid): Set the alarm_arg to NULL after releasing to avoid double free in BTC layer
2023-11-30 19:58:02 +08:00
Shyamal Khachane
9f65fa31e2
fix(esp_wifi): Fix NAN service discovery, datapath and timer bugs
...
1. Fix crash while cancelling NAN service
2. Avoid possible crash scenarios while forming datapath
3. Modify peer records structure thus fixing issues in datapath establishment
4. Fix timer out of bound issue causing "No timer handle" warning
5. Fix miscellaneous service discovery and datapath issues
2023-11-30 16:34:19 +05:30
Mu Hai Dong
dd295049a9
fix(wifi): free beacon eb when softap destroy
2023-11-30 16:28:37 +05:30
Shu Chen
b807b6ebf3
Merge branch 'fix/ieee802154_sleep_config_v5.2' into 'release/v5.2'
...
fix(ieee802154): fix ieeee802154 sleep enable configuration dependency issue (backport v5.2)
See merge request espressif/esp-idf!27467
2023-11-30 16:53:12 +08:00
Harshit Malpani
e4ecfc2133
fix(esp_http_client): Fix esp_http_client async mode
...
Closes https://github.com/espressif/esp-idf/issues/12358
2023-11-30 12:04:31 +05:30
Rahul Tank
99a923fa0f
fix(nimble): Add support for VSC to clear legacy adv memory
...
Legacy adv does not have an API for clear adv memory in controller.
Added VSC for same.
2023-11-30 09:10:06 +05:30
Rahul Tank
40d48108b1
Merge branch 'bugfix/cts_handle_invalid_year_val_v5.2' into 'release/v5.2'
...
fix(nimble): Handled invalid write on year value in Current Time Service (v5.2)
See merge request espressif/esp-idf!27461
2023-11-30 11:38:36 +08:00
Song Ruo Jing
55ed548cc6
fix(console): enable to select UART1 port for console output
...
This feature was only enabled for esp32, esp32s2, esp32s3 previously.
Now, enabling this feature for all targets.
2023-11-30 11:26:09 +08:00
zhanghaipeng
3d2daa08cc
fix(bt/bluedroid): Fix bluedroid menuconfig
2023-11-30 10:42:04 +08:00
Adam Múdry
d465ed93f6
fix: esp_vfs_fat_sdcard_format workbuf memory leak
2023-11-29 16:16:58 +01:00
Aditya Patwardhan
c90d14c979
Merge branch 'fix/cleanup_deleted_menuconfig_option_entries_v5.2' into 'release/v5.2'
...
fix(mbedtls): Fix menuconfig option entries (v5.2)
See merge request espressif/esp-idf!27463
2023-11-29 21:20:55 +08:00
luoxu
afab071f51
bugfix(ble_mesh): Supplementary configuration options that should be enabled.
2023-11-29 19:19:18 +08:00
Liu Linyan
d680a3949b
fix(ble_mesh): Support using random adv interval for mesh packets
2023-11-29 19:19:18 +08:00
Marius Vikhammer
faf6bc933e
ci(system): fixed and enabled misc system build tests
2023-11-29 16:59:15 +08:00
Martin Vychodil
6fcfe379bc
Merge branch 'feature/expose_unload_partitions_v5.2' into 'release/v5.2'
...
refactor(esp_partition): Expose function for unloading partitions (v5.2)
See merge request espressif/esp-idf!27425
2023-11-29 16:34:26 +08:00
Martin Vychodil
e089cb3d4d
Merge branch 'fix/fatfs_formatting_wrong_volume_v5.2' into 'release/v5.2'
...
Fix: FATFS formatting wrong partition (v5.2)
See merge request espressif/esp-idf!27372
2023-11-29 16:32:24 +08:00
xiaqilin
2555d5cb12
fix(ieee802154): fix ieeee802154 sleep enable configuration dependency issue
2023-11-29 13:44:59 +08:00
Aditya Patwardhan
c1779ff8b7
fix(mbedtls): Removed redundant menuconfig entry
2023-11-29 09:50:12 +05:30
Roshan Bangar
1437d00487
fix(nimble): Handled invalid write on year value in Current Time Service
2023-11-29 09:49:53 +05:30
Jiang Jiang Jian
1a9f3b22f4
Merge branch 'bugfix/fix_wifi_deinit_s_wifi_modem_sleep_lock_v5.2' into 'release/v5.2'
...
fix(wifi): fix wifi deinit s_wifi_modem_sleep_lock
See merge request espressif/esp-idf!27451
2023-11-29 12:15:59 +08:00
Erhan Kurubas
567bc462f0
feat(coredump): save isr context to coredump elf file
2023-11-28 18:19:03 +01:00
liuning
a9b1a27c9a
fix(wifi): fix wifi deinit s_wifi_modem_sleep_lock
2023-11-28 20:57:02 +08:00
morris
bc38841c11
Merge branch 'bugfix/i80_lcd_tx_param_check_enhancement_v5.2' into 'release/v5.2'
...
fix(i80_lcd): enhance the check of a valid data phase (v5.2)
See merge request espressif/esp-idf!27427
2023-11-28 18:33:19 +08:00
Rahul Tank
f40318c6c7
Merge branch 'bugfix/fix_duplicate_exception_vsc_5.2' into 'release/v5.2'
...
fix(nimble): Fix the parameters in duplicate exception list vsc command(v5.2)
See merge request espressif/esp-idf!27405
2023-11-28 15:49:51 +08:00
Rahul Tank
4122499997
Merge branch 'feature/current_time_service_v5.2' into 'release/v5.2'
...
feat(nimble): Added Example support for Current Time Service (v5.2)
See merge request espressif/esp-idf!26975
2023-11-28 14:00:21 +08:00
morris
1f79b5045d
fix(i80_lcd): enhance the check of a valid data phase
...
in case the user passes a (uint8_t){0x00} parameter with the perameter size
set to zero
2023-11-28 09:57:02 +08:00
Adam Múdry
74c0234f72
refactor(esp_partition): Expose function for unloading partitions
...
Closes https://github.com/espressif/esp-idf/issues/12625
2023-11-27 19:49:59 +01:00
harshal.patil
330f3edf11
fix(nvs_flash): Fix the memory leak in the nvs_flash test app
...
The leak is now reduced by allocating the AES interrupt and
loading the partitions in the test setup instead of in the tests itself.
2023-11-27 17:25:14 +05:30
Rahul Tank
8150abfb67
fix(nimble): Fix the parameters in duplicate exception list vsc command
2023-11-27 08:52:27 +05:30
Rahul Tank
4bedb8372b
feat(nimble): Added example support for Current Time Service
2023-11-27 08:43:00 +05:30
Rahul Tank
634ce1e425
fix(nimble): Fix dangling pointer error during compilation
2023-11-26 12:36:26 +05:30
luomanruo
8a64c4c404
ble: update rom.ld file
2023-11-24 20:33:49 +08:00
luomanruo
c6c42d0b5c
ble: update sdkconfig_version on ESP32C2, ESP32H2 and ESP32C6
2023-11-24 20:20:20 +08:00
luomanruo
9ead485ffd
ble(fix): fix RX issue on ESP32-C2
2023-11-24 19:41:35 +08:00
luomanruo
6abe369115
ble:
...
Update c2 lib to 79ed4e8a
Update h2 lib to 9a237426
Update c6 lib to 9a237426
2023-11-24 19:21:13 +08:00
zwx
be96274ea3
fix(vfs): fix uart malloc when locates ISR context in IRAM
2023-11-24 16:09:14 +08:00
Jiang Jiang Jian
a9f7ea3566
Merge branch 'bugfix/ble_gap_unpair_oldest_peer_fix_v5.2' into 'release/v5.2'
...
fix(nimble): Fixed ble_gap_unpair_oldest_peer to prevent writing to invalid memory (v5.2)
See merge request espressif/esp-idf!27315
2023-11-24 12:24:43 +08:00
Jiang Jiang Jian
f0e1a1f35f
Merge branch 'bugfix/ble_update_lib_1110_5.2' into 'release/v5.2'
...
Bugfix/ble update lib 1110 5.2
See merge request espressif/esp-idf!27062
2023-11-24 10:13:30 +08:00
Adam Múdry
c77b2fcd5d
fix(storage): FATFS WL function formatting wrong partition
...
Closes https://github.com/espressif/esp-idf/issues/12542
Co-authored-by: Tony Stuart <anthonyfstuart@gmail.com>
2023-11-23 22:45:36 +01:00
Jiang Jiang Jian
8cc8a1108d
Merge branch 'bugfix/authmode_incompatible_reason_code_v52' into 'release/v5.2'
...
Expand situations for REASON_NO_AP_FOUND_WITH_COMPATIBLE_SECURITY(v5.2)
See merge request espressif/esp-idf!27341
2023-11-23 19:40:25 +08:00
Vikram Dattu
541b665b9f
feat(provisioning): Generate Salt and verifier pair for given username and password
...
This commit adds a new feature to generate a salt and verifier pair for a given username and
password during the provisioning process. This is useful in scenarios where the pairing pin is
randomly generated and shown via some interface such as a display or console.
- Uses the provided username and password to generate a salt and verifier pair
- Adds support for dev mode where the pin/password can still be read from flash
2023-11-23 14:25:53 +05:30
Vikram Dattu
ee65ea9fb7
refactor(esp_srp): Expose esp_srp.h and add API docs
...
- Also added missing `protocomm_security2` reference in `protocomm.rst`
2023-11-23 14:25:53 +05:30
Mahavir Jain
7add372f37
Merge branch 'bugfix/return_code_of_ota_finish_api_v5.2' into 'release/v5.2'
...
fix(esp_https_ota): fix return code of esp_https_ota_finish API (v5.2)
See merge request espressif/esp-idf!27334
2023-11-23 16:30:16 +08:00
Jiang Jiang Jian
263d186a5f
Merge branch 'bugfix/fix_wifi_init_reentrant_issue_v5.2' into 'release/v5.2'
...
fix(wifi): fix wifi init reentrant issue
See merge request espressif/esp-idf!27176
2023-11-23 15:28:26 +08:00
darshan
80f3916f0f
fix(nimble): Fixed ble_gap_unpair_oldest_peer to prevent writing to invalid memory
2023-11-23 10:54:31 +05:30
liuning
7faa087670
fix(wifi): fix wifi init reentrant issue
2023-11-23 10:37:16 +08:00
Shu Chen
d0dab67955
Merge branch 'fix/esp32c6_sleep_pll_issue_v5.2' into 'release/v5.2'
...
fix(pm): add mac/bb power down/up prepare for fix esp32c6 pll issue (backport v5.2)
See merge request espressif/esp-idf!27313
2023-11-23 02:31:14 +08:00
Martin Vychodil
004e93764f
Merge branch 'bugfix/uart_vfs_select_in_iram_v5.2' into 'release/v5.2'
...
fix: add UART VFS select callback in IRAM when CONFIG_UART_ISR_IN_IRAM is enabled (v5.2)
See merge request espressif/esp-idf!27297
2023-11-22 22:43:24 +08:00
Roland Dobai
f41d1b09f8
Merge branch 'contrib/github_pr_12558_v5.2' into 'release/v5.2'
...
Fix: esptool_py incorrectly assumed target name equals binary name (GitHub PR) (v5.2)
See merge request espressif/esp-idf!27268
2023-11-22 22:41:20 +08:00
jgujarathi
83d9e81789
fix(esp_wifi): Expand situations for REASON_NO_AP_FOUND_WITH_COMPATIBLE_SECURITY
...
- Fixes issue with connecting and discovering WEP APs
- Expands the reasons for trigerring a disconnect using
REASON_NO_AP_FOUND_WITH_COMPATIBLE_SECURITY
-- SAE-PK configured as compulsory in sta config but disabled for the AP
-- SAE-H2e configured as compulsory in sta config but disabled for an AP
that has authmode as WPA3-PSK or WPA3-WPA2-PSK.
-- Open AP found but we have set password or enabled enterprise mode.
-- SAE HnP set in config and AP supports H2E only
-- WPA3-EXT-PSK AP but H2E disabled in config
2023-11-22 19:10:29 +05:30
Harshit Malpani
e202aa3b9f
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:09:47 +05:30
Jiang Jiang Jian
c23973dfa7
Merge branch 'test/ctrl_acl_u_pkt_type_v5.2' into 'release/v5.2'
...
feat(bt/bluedroid): Added an API to specify data types for ACL-U traffic (v5.2)
See merge request espressif/esp-idf!27128
2023-11-22 17:17:22 +08:00
xiaqilin
6ffc6a40a7
fix(pm): add mac/bb power down/up prepare for fix esp32c6 pll issue
...
* switch root clk src to PLL for modem reg opt and added callback
* register power_down/power_up callback in ieee802154 driver for esp32c6
* remove software regdma opt in bt
2023-11-22 11:58:02 +08:00
Jiang Jiang Jian
c7a270f83d
Merge branch 'feature/support_ext1_clear_spec_pins_v5.2' into 'release/v5.2'
...
fix(pm/ext1): fix c6 h2 lp_aon_ll_ext1_set_wakeup_pins func
See merge request espressif/esp-idf!27285
2023-11-22 11:35:02 +08:00
Jiang Jiang Jian
93b2c4640b
Merge branch 'bugfix/coex_deprecate_config_rename_v5.2' into 'release/v5.2'
...
fix(esp_coex): Fix deprecated configuration options not rename to new one (Backport v5.2)
See merge request espressif/esp-idf!27091
2023-11-22 11:33:20 +08:00
Rahul Tank
ecd894a4bd
Merge branch 'feature/get_whitelist_size_v5.2' into 'release/v5.2'
...
feat(nimble): Added API to retrieve the size of the controller's white list (v5.2)
See merge request espressif/esp-idf!26953
2023-11-22 11:15:19 +08:00
sonika.rathi
45d801d815
fix(vfs/uart): add UART VFS select callback in IRAM
...
UART VFS select callback is placed in IRAM when CONFIG_UART_ISR_IN_IRAM is enabled
2023-11-21 10:26:25 +01:00
Jin Cheng
15b27b1749
feat(bt/bluedroid): Added an API to specify data types for ACL-U traffic
2023-11-21 08:09:24 +00:00
Jiang Jiang Jian
26aa680b5b
Merge branch 'bugfix/add_par_check_in_ag_cind_res_v5.2' into 'release/v5.2'
...
Bugfix/add par check in ag cind res v5.2
See merge request espressif/esp-idf!27256
2023-11-21 16:08:09 +08:00
luomanruo
b7b042f45d
ble(fix): deinit crash issue
2023-11-21 15:07:37 +08:00
zwl
8f44bee739
fix(ble): fixed ble occasional rx exception issue
2023-11-21 15:06:23 +08:00
luomanruo
533b82aae1
ble: update controller log module
2023-11-21 15:06:23 +08:00
luomanruo
17c72d85e4
ble: update c6 h2 lib to 5b1dfd2b, c2 lib to db4e1fb2
2023-11-21 15:06:23 +08:00
luomanruo
564e5c9429
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-21 15:06:23 +08:00
darshan
fb6ba3f337
feat(nimble): Added API to retrieve the size of the controller's white list (v5.2)
2023-11-21 12:34:55 +05:30
Lou Tianhao
d7ae1665f1
fix(pm/ext1): fix c6 h2 lp_aon_ll_ext1_set_wakeup_pins func
2023-11-21 11:31:53 +08:00
Jiang Jiang Jian
ba8afdbf81
Merge branch 'bugfix/fix_incorrect_irk_set_v5.2' into 'release/v5.2'
...
fix(nimble): Fixed issue of incorrect IRK being set (v5.2)
See merge request espressif/esp-idf!27249
2023-11-21 11:16:45 +08:00
Jiang Jiang Jian
feda32be06
Merge branch 'bugfix/newlib_test_correct_assertions_v5.2' into 'release/v5.2'
...
fix(newlib,ci): wrong floating point number handling in tests (v5.2)
See merge request espressif/esp-idf!27089
2023-11-21 11:15:50 +08:00
Jiang Jiang Jian
df7ba090f3
Merge branch 'bugfix/esp32h2_ecdsa_hardware_k_v5.2' into 'release/v5.2'
...
fix(esp32h2): program use_hardware_k efuse bit for ECDSA key purpose (v5.2)
See merge request espressif/esp-idf!27234
2023-11-21 11:13:37 +08:00
Jiang Jiang Jian
c73141a9c2
Merge branch 'bugfix/rmt_tx_check_owner_v5.2' into 'release/v5.2'
...
fix(rmt): reenable dma owner check (v5.2)
See merge request espressif/esp-idf!27260
2023-11-21 11:12:06 +08:00
Wang Meng Yang
b1bba5fdd3
Merge branch 'bugfix/spp_deinit_crash_v5.2' into 'release/v5.2'
...
fix(bt/bluedroid): Fix the crash of invalid access to released resources (v5.2)
See merge request espressif/esp-idf!27250
2023-11-21 09:59:01 +08:00
Arno Moonen
aaf398617c
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-20 10:48:47 +01:00
Jiang Jiang Jian
d4b4fe85af
Merge branch 'feature/support_for_32_and_128_bit_custom_uuids_v5.2' into 'release/v5.2'
...
feat(bt/bluedroid): Add new APIs for 32 and 128-bit UUIDs (backport v5.2)
See merge request espressif/esp-idf!27229
2023-11-20 17:00:47 +08:00
morris
40093b34eb
fix(rmt): enable dma owner check
...
Closes https://github.com/espressif/esp-idf/issues/12564
2023-11-20 14:55:34 +08:00
Jin Cheng
78a3ecb7ff
fix(bt/bluedroid): corrected the API documents of profile HFP and A2DP
2023-11-20 11:58:13 +08:00
Jin Cheng
135987b339
fix(bt/bluedroid): Added some argument check in APIs of HFP AG
2023-11-20 11:57:58 +08:00
Mahavir Jain
e67e9cca57
Merge branch 'fix/aes_mpi_interrupt_allocation_workflow_v5.2' into 'release/v5.2'
...
fix(mbedtls): move interrupt allocation during initialization phase (v5.2)
See merge request espressif/esp-idf!27203
2023-11-20 10:54:20 +08:00
Rahul Tank
600c7c8828
fix(nimble): Fixed issue of incorrect IRK being set
2023-11-20 08:21:50 +05:30
morris
8abcc07d1f
fix(mcpwm): fault trigger test forget connect timer and operator
2023-11-17 16:34:40 +08:00
Mahavir Jain
f207ce15df
fix(api-docs): include in the ECDSA APIs for doxygen build
2023-11-17 07:13:53 +00:00
Mahavir Jain
2882b6f68b
docs: add ECDSA peripheral chapter for H2/P4
...
- Add ECDSA peripheral chapter and instructions to program efuse key block
- Update security guide for ECDSA peripheral mention for device identity
- Link with ESP-TLS guide about using ECDSA peripheral in TLS connection
2023-11-17 07:13:53 +00:00
Mahavir Jain
f434d21f4a
fix(ecdsa): remove unused k_mode from the ECDSA HAL/LL API
...
For ESP32-H2 case, the hardware k mode is always enforced through
efuse settings (done in startup code).
For ESP32-P4 case, the software k mode is not supported in the peripheral
itself and code was redundant.
2023-11-17 07:13:53 +00:00
Mahavir Jain
d3b4acf7a0
fix(esp32h2): program use_hardware_k efuse bit for ECDSA key purpose
...
In ESP32-H2, the ECDSA peripheral by default uses the TRNG (hardware)
generated k value but it can be overridden to software supplied k.
This can happen through by overriding the `ECDSA_SOFTWARE_SET_K` bit
in the configuration register. Even though the HAL API is not exposed
for this but still it could be achieved by direct register
programming. And for this scenario, if sufficiently random k is not
supplied by the software then it could posses a security risk.
In this change, we are unconditionally programming the efuse
`ESP_EFUSE_ECDSA_FORCE_USE_HARDWARE_K` bit during startup security
checks itself. Additionally, same is ensured in the `esp_efuse_write_key`
API as well. This always enforces the hardware k mode in the ECDSA
peripheral and ensures strongest possible security.
2023-11-17 07:13:53 +00:00
Jiang Jiang Jian
35013d90a3
Merge branch 'bugfix/fix_onebyte_watchpoint_setting_v5.2' into 'release/v5.2'
...
fix(riscv): supports 1 byte and larger than 64byte range watchpoint setting (v5.2)
See merge request espressif/esp-idf!27214
2023-11-17 13:49:30 +08:00
Jiang Jiang Jian
57bbfd423a
Merge branch 'fix/heap-task-tracking_v5.2' into 'release/v5.2'
...
fix(heap): Fix bugs in heap task tracking (backport v5.2)
See merge request espressif/esp-idf!27042
2023-11-17 12:47:52 +08:00
Marius Vikhammer
3d591c57c0
Merge branch 'feature/add_run_time_counter_type_option_v5.2' into 'release/v5.2'
...
feat(freertos/idf): Add configRUN_TIME_COUNTER_TYPE option (v5.2)
See merge request espressif/esp-idf!26848
2023-11-17 11:25:37 +08:00
Jiang Jiang Jian
9d694e40ed
Merge branch 'bugfix/clear_ulp_wake_intr_in_wake_source_enable_v5.2' into 'release/v5.2'
...
fix(esp_hw_support): clear all type ULP wakeup intr status at ulp wakeup source enable (backport v5.2)
See merge request espressif/esp-idf!27187
2023-11-17 11:04:23 +08:00
Jiang Jiang Jian
1cdca25776
Merge branch 'bugfix/fix_lightsleep_current_leakage_on_usj_pad_v5.2' into 'release/v5.2'
...
fix(esp_hw_support): fix lightsleep current leakage on usb pad (backport v5.2)
See merge request espressif/esp-idf!27199
2023-11-17 10:47:31 +08:00
Jin Cheng
0e61201243
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-17 10:37:28 +08:00
Jiang Jiang Jian
7f0f299e66
Merge branch 'bugfix/fix_dhcp_subnet_option_api_dos_not_work_issue_5.2' into 'release/v5.2'
...
Fix(dhcps):fix dhcp subnet option api dos not work issue 5.2
See merge request espressif/esp-idf!27210
2023-11-17 10:33:51 +08:00
Jiang Jiang Jian
7f8fe9569c
Merge branch 'bugfix/fix_some_ble_bugs_v5.2' into 'release/v5.2'
...
Fixed some BLE bugs (backport v5.2)
See merge request espressif/esp-idf!27195
2023-11-17 10:30:27 +08:00
Jiang Jiang Jian
bf8a6ef490
Merge branch 'bugfix/fix_psram_access_faild_after_pd_cpu_wakeup_v5.2' into 'release/v5.2'
...
fix(esp_pm): fix psram access failed after pd_cpu wakeup if uart driver driven console is used (backport v5.2)
See merge request espressif/esp-idf!27050
2023-11-17 10:29:03 +08:00
Jiang Jiang Jian
f8ee9b334c
Merge branch 'bugfix/freertos_define_list_volatile_v5.2' into 'release/v5.2'
...
fix(freertos/idf): Define configLIST_VOLATILE for list elements (v5.2)
See merge request espressif/esp-idf!27096
2023-11-17 10:28:44 +08:00
Jiang Jiang Jian
47ddba60d7
Merge branch 'bugfix/generate_new_irk_across_reboot_v5.2' into 'release/v5.2'
...
fix(nimble): Generate a new unique IRK for every chip. (v5.2)
See merge request espressif/esp-idf!27116
2023-11-17 10:28:22 +08:00
Jiang Jiang Jian
2fa1e2b23a
Merge branch 'bugfix/wifi_backport_v5.2' into 'release/v5.2'
...
fix(esp_wifi): backport some wifi fixes to v5.2
See merge request espressif/esp-idf!27185
2023-11-17 04:43:10 +08:00
Jiang Jiang Jian
f0869bb354
Merge branch 'bugfix/dpp_config_memset_v5.2' into 'release/v5.2'
...
Wi-Fi: Fixed some DPP issues (v5.2)
See merge request espressif/esp-idf!27191
2023-11-16 20:37:28 +08:00
Jiang Jiang Jian
89c3bebad4
Merge branch 'bugfix/move_fe_32m_to_adc_fe_common_clock_v5.2' into 'release/v5.2'
...
fix(esp_hw_support): move fe_32m to fe/adc common clock (backport v5.2)
See merge request espressif/esp-idf!27057
2023-11-16 20:36:58 +08:00
wuzhenghui
600986cf49
fix(riscv): supports 1 byte and larger than 64byte range watchpoint setting
2023-11-16 20:23:57 +08:00
wuzhenghui
4379d26f65
change(soc): rename SOC_CPU_WATCHPOINT_SIZE to SOC_CPU_WATCHPOINT_MAX_REGION_SIZE
2023-11-16 20:23:57 +08:00
xueyunfei
30ecc4ce72
Fix(dhcps):fix dhcp subnet option api dos not work issue
2023-11-16 20:17:42 +08:00
harshal.patil
9bf48e77f0
fix(mbedtls): move interrupt allocation during initialization phase
2023-11-16 16:16:57 +05:30
wuzhenghui
b7f1aa5292
fix(esp_hw_support): fix lightsleep current leakage on usb-phy controlled pad
2023-11-16 17:18:43 +08:00
chenjianhua
d65f8a5fc6
fix(bt): Update bt lib for ESP32-C3 and ESP32-S3(2758518)
...
- Fixed power state setting when entering modem sleep
2023-11-16 16:31:25 +08:00
chenjianhua
34d964bf38
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-16 16:31:18 +08:00
chenjianhua
48b4693eae
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-16 16:29:47 +08:00
chenjianhua
9ecfa6af81
feat(bt/bluedroid): support clear legacy advertising
2023-11-16 16:29:32 +08:00
morris
43f2476aac
Merge branch 'bugfix/esp32s3_usb_otg_console_without_efuse_v5.2' into 'release/v5.2'
...
fix(console): switch USB PHY to OTG when OTG is used for console (v5.2)
See merge request espressif/esp-idf!27134
2023-11-16 16:29:09 +08:00
Kapil Gupta
476f83c602
fix(wifi): Disallow DPP and WPS concurrency
2023-11-16 12:34:23 +05:30
Kapil Gupta
ab93a6bd5b
fix(wpa_supplicant): memzero wifi config before sending config event
2023-11-16 12:34:10 +05:30
wuzhenghui
79dd7a350e
ci(ulp_test): fix fake sleep of the maincore in ulp pytest cases
2023-11-16 11:47:20 +08:00
wuzhenghui
adc8351458
fix(esp_hw_support): clear all type ULP wakeup intr status at ulp wakeup source enable
2023-11-16 11:47:20 +08:00
Marius Vikhammer
681439b85a
Merge branch 'change/freertos_local_crit_section_macro_v5.2' into 'release/v5.2'
...
change(freertos/idf): Refactor thread safety convenience macros (v5.2)
See merge request espressif/esp-idf!26997
2023-11-16 11:23:25 +08:00
Sarvesh Bodakhe
8baaeb2fa3
fix(wifi): fix bug in 'esp_wifi_deauthenticate_internal' and other improvements
2023-11-16 11:13:45 +08:00
Sarvesh Bodakhe
eb51374615
fix(wpa_supplicant): Add some bugfixes in wpa_supplicant
...
1) Add parameter to configure reason code of deauth frame
2) Add logs to indicate MIC failure 4-Way-Handshake
3) Process RSNXE capabilities only if AP advertises them
2023-11-16 11:13:26 +08:00
zhangyanjiao
00484dc8a7
feat(wifi/vendor): get more wifi information in csi rx callback
2023-11-16 11:11:26 +08:00
zhangyanjiao
539c4d8cd0
doc(Wi-Fi/Vendor): Update comments for wifi_csi_info_t
2023-11-16 11:09:52 +08:00
xueyunfei
f5b7b148f1
Fix(esp_wifi): Add the missing header file to the wifi header files.
2023-11-16 11:09:38 +08:00
jgujarathi
b62d63b767
fix(esp_wifi): Add more descriptive reasons for disconnect
...
Adds 3 more ddisconnect reasons in case of No AP found.
1. REASON_NO_AP_FOUND_IN_RSSI_THRESHOLD : AP rejected because it did
not meet rssi threshold.
2. REASON_NO_AP_FOUND_IN_AUTHMODE THRESHOLD : AP rejected because it
did not meet security threshold.
3. REASON_NO_AP_FOUND_WITH_COMPATIBLE_ SECURITY : AP rejected because
of incompatible security configuration. These situations could include
-- bss offerring WEP, but our password is not WEP compliant,
-- Encrypted AP bss but we have no password config set.
-- AP is Enterprise but we have not setup enterprise config and vice versa
Closes https://github.com/espressif/esp-idf/issues/5957
2023-11-16 11:08:55 +08:00
muhaidong
de36cb7904
fix(wifi): sta not pmf capable when ap requires should reject profile
2023-11-16 11:07:48 +08:00
zhangyanjiao
07245bf43a
fix(wifi/mesh): fix the IE crypto disable error and update doc
2023-11-16 11:03:59 +08:00
muhaidong
2b6feac67c
change(wifi): update esp_coexist_internal.h and esp_modem_wrapper.h
2023-11-16 11:03:44 +08:00
muhaidong
6cabcc8206
docs(esp_mesh): update esp_mesh_internal.h
2023-11-16 11:03:32 +08:00
muhaidong
6bf448ddc8
update(wifi): update esp_wifi_crypto_types.h
2023-11-16 11:03:08 +08:00
muhaidong
868d52dcd1
update(esp_coexist): update esp coexist header file
2023-11-16 11:02:56 +08:00
linruihao
7b27e4e66a
fix(esp_coex): Fix deprecated configuration options not rename to new one
2023-11-16 02:59:00 +00:00
wuzhenghui
4175c60a21
fix(esp_hw_support): move fe_32m to fe/adc common clock
2023-11-16 02:58:16 +00:00
Jakob Hasse
592b1660a0
fix(newlib,ci): wrong floating point number handling in tests
2023-11-16 02:57:41 +00:00
Guillaume Souchere
5740323822
fix(heap): Add missing test for heap task tracking config
...
- Add sdkconfig.ci.task_tracking that runs generic tests
with heap task tracking enabled.
- Add task_tracking.c that includes a test checking that
a created task that allocates memory is added to the list
of task tracked by the heap task tracking feature.
2023-11-16 02:57:15 +00:00
Guillaume Souchere
4824325fe4
fix(heap): Fix bugs in heap task tracking
...
Update task tracking feature to fix bugs introduced when
decoupling task tracking from heap poisoning.
Closes https://github.com/espressif/esp-idf/issues/12498
Closes https://github.com/espressif/esp-idf/issues/12493
2023-11-16 02:57:15 +00:00
wuzhenghui
c570105f36
fix(esp_pm): fix psram access faild after pd_cpu wakeup
2023-11-16 02:55:06 +00:00
wuzhenghui
841d75b3a3
change(esp_pm): improve POWER_DOWN_TAGMEM_IN_LIGHT_SLEEP description
...
Rename PM_POWER_DOWN_TAGMEM_IN_LIGHT_SLEEP to PM_RESTORE_CACHE_TAGMEM_AFTER_LIGHT_SLEEP
and improve the description for it
2023-11-16 02:55:06 +00:00
Darian Leung
d0aa950fa6
feat(freertos/idf): Add configRUN_TIME_COUNTER_TYPE option
...
This commit adds a Kconfig option for configRUN_TIME_COUNTER_TYPE
Closes https://github.com/espressif/esp-idf/issues/11973
2023-11-16 10:16:00 +08:00
Marius Vikhammer
7bbe4eae46
Merge branch 'feature/freertos_add_valid_core_id_macro_v5.2' into 'release/v5.2'
...
feat(freertos/idf): Add taskVALID_CORE_ID() macro (v5.2)
See merge request espressif/esp-idf!27180
2023-11-16 10:08:17 +08:00
Marius Vikhammer
2f694bee0a
Merge branch 'bugfix/esp32p4_fpu_check_v5.2' into 'release/v5.2'
...
fix(riscv): fix a bug in FPU exception handling (backport v5.2)
See merge request espressif/esp-idf!27172
2023-11-16 09:39:22 +08:00
Jiang Jiang Jian
293f5631bb
Merge branch 'bugfix/fix_deinit_init_wifi_scan_fail_issue_v5.2' into 'release/v5.2'
...
Bugfix/fix deinit init wifi scan fail issue v5.2(Backport v5.2)
See merge request espressif/esp-idf!27065
2023-11-16 04:12:15 +08:00
Darian Leung
7391b59f54
feat(freertos/idf): Add taskVALID_CORE_ID() macro
...
This commit adds a taskVALID_CORE_ID() macro, similar to the one offered in
Amazon SMP FreeRTOS.
- Various functions have been updated to use that macro
- Removed some unecessary static asserts of CONFIG_FREERTOS_NO_AFFINITY and
added casting.
- Uncrustify changes
2023-11-15 22:05:54 +08:00
Omar Chebib
e5155c2a54
fix(riscv): fix a bug in FPU exception handling
...
On the ESP32-P4, it is possible to have an exception because of an FPU instruction
while EXT_ILL CSR is not zero and its FPU bit is not set.
2023-11-15 18:58:30 +08:00
Sudeep Mohanty
2c0cea641a
fix(freertos/idf): Define configLIST_VOLATILE for list elements
...
It was noticed that when high level compiler optimizations are enabled,
the compiler optimizes some list manupulation code. This commit enables
the configLIST_VOLATILE for list elements to prevent the compiler from
optimizing out essential kernel code.
2023-11-15 10:04:33 +00:00
morris
ab3bb3d414
Merge branch 'bugfix/fix_adc_read_zero_h2_new_v5.2' into 'release/v5.2'
...
ADC: fix adc raw data get 0 because of signal delay on ESP32H2 v5.2
See merge request espressif/esp-idf!27114
2023-11-15 14:31:52 +08:00
Ivan Grokhotkov
8fe15a26d5
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-14 14:19:14 +01:00
Ivan Grokhotkov
11a92e3dbd
Merge branch 'fix/fatfs_missing_release_v5.2' into 'release/v5.2'
...
fix(storage/fatfs): add missing lock release introduced by IMMEDIATE_FSYNC (v5.2)
See merge request espressif/esp-idf!26956
2023-11-14 20:14:01 +08:00
muhaidong
42aaf57419
fix(adc): rename ADC_ATTEN_DB_11 to ADC_ATTEN_DB_12 in test_adc.c
2023-11-14 19:31:05 +08:00
muhaidong
05a4a77b52
change(hal): remove useless code from periph_ll_wifi_bt_module_enable_clk
2023-11-14 19:29:03 +08:00
muhaidong
9583c45947
fix(wifi): fix deinit init wifi scan fail issue
2023-11-14 19:29:03 +08:00
Marius Vikhammer
4d0d0f5d10
Merge branch 'revert/freertos_same_priority_preemption_disabled_v5.2' into 'release/v5.2'
...
Revert "fix(freertos/idf): Add workaround for same priority preemption in xTaskIncrementTick()" (v5.2)
See merge request espressif/esp-idf!26926
2023-11-14 15:35:05 +08:00
Marius Vikhammer
5e65545320
Merge branch 'feature/frertos_idle_task_name_suffix_v5.2' into 'release/v5.2'
...
fix(freertos/idf): Updated IDLE task names for each core to have the coreID as a suffix (v5.2)
See merge request espressif/esp-idf!26892
2023-11-14 15:33:54 +08:00
gaoxu
0b0d474cab
fix(adc): fix h2 adc oneshot read zero and add delay after getting done signal v5.2
2023-11-14 14:41:08 +08:00
Rahul Tank
78784a60c0
fix(nimble): Generate a new unique Local IRK for each chip
2023-11-14 10:38:25 +05:30
Jiang Jiang Jian
8da85639a2
Merge branch 'bugfix/build_error_when_enable_ag_and_hf_v5.2' into 'release/v5.2'
...
fix(bt/bluedroid): Fix build error when both of the HFP roles are enabled (v5.2)
See merge request espressif/esp-idf!27076
2023-11-13 16:03:12 +08:00
morris
621acc4d75
Merge branch 'feature/rmt_receive_in_isr_v5.2' into 'release/v5.2'
...
feat(rmt): support calling rmt_receive in ISR callback (v5.2)
See merge request espressif/esp-idf!26996
2023-11-13 12:22:33 +08:00
Abhinav Kudnar
c56f226e51
fix(nimble): Handled IRK/LTK deletion based on key availability
2023-11-11 11:43:12 +05:30
Wang Mengyang
9036037a36
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:01 +08:00
Tomáš Rohlínek
fbf4b7f705
fix(storage/fatfs): add missing lock release introduced by IMMEDIATE_FSYNC
2023-11-10 12:49:48 +01:00
Rahul Tank
89b27577d6
Merge branch 'bugfix/pairing_when_enc_with_no_key_fails_v5.2' into 'release/v5.2'
...
fix(nimble): Initate pairing if encryption fails with reason no pin or key missing (v5.2)
See merge request espressif/esp-idf!27016
2023-11-10 14:39:20 +08:00
Jiang Jiang Jian
340195ba79
Merge branch 'bugfix/add_config_for_tcp_ooseq_5.2' into 'release/v5.2'
...
Fix(lwip):bugfix for add config for tcp ooseq bufs 5.2
See merge request espressif/esp-idf!27000
2023-11-09 15:31:48 +08:00
Rahul Tank
db5e8805ed
fix(nimble): Initate pairing if encryption fails with reason no pin or key missing
2023-11-09 11:49:51 +05:30
Jiang Jiang Jian
9b5be39b0f
Merge branch 'feature/protocomm_update_params_v5.2' into 'release/v5.2'
...
fix(protocomm): added Protocomm BLE Event Structure and Event Handling (v5.2)
See merge request espressif/esp-idf!26898
2023-11-09 12:16:52 +08:00
Jiang Jiang Jian
9cd791b6ca
Merge branch 'backport/fix_ble_scan_rsp_v5.2' into 'release/v5.2'
...
Backport/fix ble scan rsp v5.2(backport v5.2)
See merge request espressif/esp-idf!27008
2023-11-09 12:16:19 +08:00
Jiang Jiang Jian
4331ae783a
Merge branch 'feature/support_adc_calibration_on_h2_v5.2' into 'release/v5.2'
...
adc_cali: supported adc calibration v1 on ESP32H2 (v5.2)
See merge request espressif/esp-idf!26962
2023-11-09 12:14:40 +08:00
Jiang Jiang Jian
e0286e24c8
Merge branch 'bugfix/lp_active_slow_clock_domain_default_power_down_v5.2' into 'release/v5.2'
...
backport v5.2: In the LP ACTIVE state, the slow clock power domain is by default in a powered-off state
See merge request espressif/esp-idf!26998
2023-11-09 12:14:24 +08:00
Island
441b0f1ea0
Merge branch 'test/ble_mesh_sar_enh_v5.2' into 'release/v5.2'
...
update(ble_mesh): Miscellaneous updates/fixes and support SAR enhancement (v5.2)
See merge request espressif/esp-idf!26986
2023-11-09 11:34:01 +08:00
morris
be39a0d2aa
Merge branch 'bugfix/fix_adc_read_zero_h2_v5.2' into 'release/v5.2'
...
ADC: fix adc raw data get 0 because of signal delay on ESP32H2(v5.2)
See merge request espressif/esp-idf!26933
2023-11-09 10:10:45 +08:00
zhanghaipeng
82052a0fc4
fix(bt/bluedroid): Fix ble keysize check
2023-11-08 19:45:38 +08:00
zhanghaipeng
41be2013fd
fix(bt/bluedroid): Fix ble adv report evt type
2023-11-08 19:45:29 +08:00
Island
1ae8347bf4
Merge branch 'backport/fix_ble_remove_bond_list_v5.2' into 'release/v5.2'
...
fix(bt/bluedroid): Fix BLE remove bond list status(backport v5.2)
See merge request espressif/esp-idf!26978
2023-11-08 19:39:59 +08:00
xueyunfei
0402fdeba1
Fix(lwip):bugfix for add config for tcp ooseq bufs
2023-11-08 16:45:48 +08:00
Li Shuai
2a968da432
change(Power Management): the xpd_xtal32k value depends on system slow clock source config option when pmu initialize
2023-11-08 14:55:14 +08:00
Darian Leung
a442a6b65c
refactor(freertos/idf): Update thread safety convenience macros
...
This commit refactors some of the thread safety convenience macros by removing
some repeated definitions and keeping them all in "freertos_idf_additions_priv.h"
2023-11-08 14:53:28 +08:00
Darian Leung
1d9a155fd7
fix(freertos/idf): Fix xEventGroupGetBitsFromISR() critical section
...
Adds missing critical section to xEventGroupGetBitsFromISR() that is required
in dual-core SMP.
2023-11-08 14:53:28 +08:00
morris
02cacc6e05
Merge branch 'bugfix/fix_wrong_adc_attenuation_name_v5.2' into 'release/v5.2'
...
fix(adc): rename ADC_ATTEN_DB_11 to ADC_ATTEN_DB_12 (v5.2)
See merge request espressif/esp-idf!26966
2023-11-08 14:50:30 +08:00
morris
f8268a2848
Merge branch 'docs/i2c_ng_docs_v5.2' into 'release/v5.2'
...
docs(I2C): Add new programming guide for new I2C driver (backport v5.2)
See merge request espressif/esp-idf!26994
2023-11-08 14:49:57 +08:00
morris
2e8cc61af7
feat(rmt): support calling rmt_receive in ISR callback
2023-11-08 14:32:26 +08:00
Cao Sen Miao
9d3d9d16f0
docs(i2c): Modify some variables in I2C driver for good docs
2023-11-08 10:48:48 +08:00
Jiang Jiang Jian
83aeb7bbb2
Merge branch 'bugfix/fixed_ble_disconnect_under_temp_change_v5.2' into 'release/v5.2'
...
fix(ble): fixed ble disconnection issue under temperature change
See merge request espressif/esp-idf!26829
2023-11-08 10:39:29 +08:00
Rahul Tank
477e19f71c
Merge branch 'bugfix/validate_random_address_v5.2' into 'release/v5.2'
...
fix(nimble): Added check to validate allowed random address (v5.2)
See merge request espressif/esp-idf!26927
2023-11-08 00:21:50 +08:00
zwl
7c33c24fe4
fix(ble): fixed ble disconnection issue under temperature change
2023-11-07 20:57:58 +08:00
Liu Linyan
d9876ffd53
feat(ble_mesh): Support Bluetooth Mesh SAR enhancement
2023-11-07 19:13:09 +08:00
Liu Linyan
f57acc21d6
fix(ble_mesh): Miscellaneous updates and fixes
2023-11-07 19:13:04 +08:00
Liu Linyan
48960337b8
update(ble_mesh): Remove useless mesh lib copy script
2023-11-07 19:13:00 +08:00
zhanghaipeng
28a8e77021
fix(bt/bluedroid): Fix BLE remove bond list status
2023-11-07 15:57:54 +08:00
Armando
f01a40afe2
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:11:10 +08:00
Marius Vikhammer
03e31dd0ba
Merge branch 'bugfix/freertos_psram_stack_v5.2' into 'release/v5.2'
...
bugfix(freertos): Fixed task creation function for PSRAM stack (v5.2)
See merge request espressif/esp-idf!26949
2023-11-07 12:58:03 +08:00
gaoxu
1b07551997
docs(adc): added adc calibration doc on h2
2023-11-07 09:30:56 +08:00
xuxiao
02045155ae
fix(wifi): fix esp32c6 rxctrl info is not correct
2023-11-06 19:16:56 +08:00
zhangyanjiao
86a62e1de9
fix(wifi): fix rate check error in fragment
2023-11-06 19:16:14 +08:00
Jiang Jiang Jian
d709fdfd12
Merge branch 'bugfix/fix_wifi_enabled_macro_v5.2' into 'release/v5.2'
...
Bugfix/fix wifi enabled macro (v5.2)
See merge request espressif/esp-idf!26775
2023-11-06 17:53:34 +08:00
Jakob Hasse
8c7ee8482e
fix(freertos): Fixed prvTaskCreateDynamicPinnedToCoreWithCaps
...
* The function was based on an outdated IDF/FreeRTOS
combination which didn't always require zero-ing
the TCB. This has been changed in the current
IDF/FreeRTOS combination, leading to crashes.
Unconditionally zero-ing the TCB fixes this problem.
2023-11-06 15:33:40 +08:00
Jiang Jiang Jian
793de30863
Merge branch 'bugfix/increase_esp32h2_slow_clock_calibration_wdt_threshold_v5.2' into 'release/v5.2'
...
fix(esp_system): increase esp32h2 slow clock calibration timeout watchdog threshold(backport v5.2)
See merge request espressif/esp-idf!26921
2023-11-06 11:34:24 +08:00
Jiang Jiang Jian
ff4c82a32d
Merge branch 'bugfix/disable_fastpbkdf2_hardwaredisable_v5.2' into 'release/v5.2'
...
fix(wpa_supplicant): implement sha1_finish for fastpbkdf2 (v5.2)
See merge request espressif/esp-idf!26877
2023-11-06 11:32:23 +08:00
Jiang Jiang Jian
172b7e45b8
Merge branch 'bugfix/hal_memcpy_v5.2' into 'release/v5.2'
...
fix(hal): Fix incorrect behavior of hal_memcpy (v5.2)
See merge request espressif/esp-idf!26909
2023-11-06 11:32:07 +08:00
gaoxu
7f3221aa09
feat(adc_cali): Add ADC calibration support for ESP32H2
2023-11-06 10:57:36 +08:00
Rahul Tank
e9df6d89af
fix(nimble): Added check to validate allowed random address
2023-11-04 09:17:03 +05:30