Wykres commitów

24869 Commity (master)

Autor SHA1 Wiadomość Data
Adam Múdry 8e43afef3b fix(nvs): Fix possible collision with app trace sysview defines
Global.h defines U8, I8, U16, etc. symbols, which are also used in NVS
as a part of custom enum class and this can cause a compilation error
during macro expansion, when sysview is enabled and FreeRTOS.h is included in NVS
2024-04-12 13:46:51 +02:00
Ivan Grokhotkov 49b4bc175e
feat(sdmmc): add support for PSRAM DMA on ESP32-P4 2024-04-12 12:56:18 +02:00
Guillaume Souchere 52ebac9c62 fix(heap): Loop break on failed alloc
don't check for heaps_array != NULL in the loop.
The check is done after the loop since it is allowed
for the allocation to fail until finding aa ssuitable
heap.
2024-04-12 12:21:13 +02:00
Konstantin Kondrashov b3d1b1783b feat(esp_rom): Improves esp_rom_delay_us for linux target 2024-04-12 12:52:38 +03:00
morris 94580bb14a Merge branch 'fix/fix_logic_error_in_peri_clk_init' into 'master'
fix(esp_hw_support): fix bad logic in esp_perip_clk_init

Closes IDF-9518

See merge request espressif/esp-idf!30208
2024-04-12 17:44:43 +08:00
harshal.patil 6ec486e351
fix(esp_system): Enable crpyto peripherals related clocks for specific ESP32-P4 ECOs 2024-04-12 14:56:53 +05:30
harshal.patil 5ba9b53667
fix(hal): Clear reset on parent crpyto lock while resetting a crypto peripheral 2024-04-12 14:55:11 +05:30
Ivan Grokhotkov e0cb43b9ab Merge branch 'feature/sdmmc_test_p4_updates' into 'master'
change(sdmmc,sdspi): add P4 board defs, enable LDO in sdspi tests, simplify LDO in sdmmc tests

See merge request espressif/esp-idf!30042
2024-04-12 17:04:07 +08:00
Tomáš Rohlínek 615a9c6742
feat(storage/example): enable host test for flash wl fatfs 2024-04-12 10:26:25 +02:00
Tomáš Rohlínek 7c3b9bde0e
feat(storage/fatfs): add testcase with erased spi partition 2024-04-12 10:26:25 +02:00
Tomáš Rohlínek f398b7923a
fix(storage/fatfs): fix double mouting of spiflash 2024-04-12 10:26:22 +02:00
Roland Dobai 4be11ad49d Merge branch 'change/update_elf2image' into 'master'
change(esptool_py/project_include): Updated esptool_elf2image_args

Closes IDF-9388

See merge request espressif/esp-idf!30163
2024-04-12 15:45:27 +08:00
Konstantin Kondrashov e6d153f06b Merge branch 'feature/support_utilities_in_cpu' into 'master'
feat(esp_hw_support): Support utilities in cpu.c

Closes IDF-7848

See merge request espressif/esp-idf!29661
2024-04-12 15:30:33 +08:00
Guillaume Souchere 7639933eeb Merge branch 'fix/missing-block-owner-in-heap-init-alloc' into 'master'
fix(heap): Add block owner to allocs in heap_caps_init()

Closes IDFGH-12450

See merge request espressif/esp-idf!30139
2024-04-12 15:23:16 +08:00
Lou Tianhao e3ec2724e7 remove(wifi): sleep_retention member in struct wifi_osi_funcs_t 2024-04-12 14:14:13 +08:00
Lou Tianhao 4061e282dd draft(i2c): need to support regdma_i2c for esp32c5beta3 2024-04-12 14:14:06 +08:00
wuzhenghui e7046e2abf
fix(esp_hw_support): fix bad logic in esp_perip_clk_init 2024-04-12 14:08:07 +08:00
Rahul Tank f2fd8192fc fix(nimble): Fix compilation issues when CCCD is set to 0 2024-04-12 11:01:47 +05:30
Rahul Tank 052e884f34 Merge branch 'bugfix/fix_cve_2024_24746' into 'master'
fix(nimble): Fix for Vulnerability CVE_2024_24746

See merge request espressif/esp-idf!30106
2024-04-12 13:12:35 +08:00
Lou Tianhao 534e7a528f feat(pm): support pd top for esp32c5beta3 2024-04-12 11:34:54 +08:00
morris 7079c09c5a Merge branch 'feat/mipi_dsi_vsync_end' into 'master'
feat(mipi_dsi): add callback to notify vsync end

See merge request espressif/esp-idf!30140
2024-04-12 11:28:20 +08:00
morris a6fbe06910 Merge branch 'feature/gptimer_c5_mp' into 'master'
feat(gptimer): support timer group driver on c5 mp

Closes IDF-8705

See merge request espressif/esp-idf!30126
2024-04-12 11:17:28 +08:00
Armando (Dou Yiwen) 9e9f76d88d Merge branch 'feat/lp_i2s_ll_support' into 'master'
lp_i2s: added lp_i2s ll layer

See merge request espressif/esp-idf!30158
2024-04-12 10:37:54 +08:00
Jiang Jiang Jian 9aa1bc6253 Merge branch 'bugfix/fix_lmac_stop_transmit_issue' into 'master'
fix(wifi): fix lmacStopTransmit issue

Closes WIFI-6519 and WIFIBUG-401

See merge request espressif/esp-idf!30147
2024-04-12 09:08:07 +08:00
Wang Meng Yang d4552c6274 Merge branch 'bugfix/bt_bss_in_extram' into 'master'
BT: Fix non-existent linker symbol when ESP_ALLOW_BSS_SEG_EXTERNAL_MEMORY enabled

Closes IDFGH-9017

See merge request espressif/esp-idf!21790
2024-04-12 08:57:10 +08:00
Rahul Tank 1e8c5fb247 fix(nimble): Fix for Vulnerability CVE_2024_24746 2024-04-11 19:28:44 +05:30
Rahul Tank 8a061af163 Merge branch 'feat/add_data_len_chg_evt' into 'master'
fix(nimble): Add support for data length change evt

Closes BLERP-666 and BLERP-665

See merge request espressif/esp-idf!29799
2024-04-11 21:09:53 +08:00
Armando a8406659db feat(lp_i2s): added lp_i2s ll layer 2024-04-11 20:18:45 +08:00
Island 0545816211 Merge branch 'bugfix/fix_ble_max_attribute_value' into 'master'
fix(ble/bluedroid): Fixed BLE GATT max length of an attribute value

Closes IDFGH-12362

See merge request espressif/esp-idf!30155
2024-04-11 19:11:20 +08:00
Guillaume Souchere 6e628a341a fix(console): Fsync not propagated to secondary output
Calls to fsync need to also be propagated to secondary
output when CONFIG_ESP_CONSOLE_SECONDARY_USB_SERIAL_JTAG
is enabled.

Closes https://github.com/espressif/esp-idf/issues/13162
2024-04-11 13:01:34 +02:00
Konstantin Kondrashov 06c28f0ee9 feat(hal): Adds hal funcs for cpu.c 2024-04-11 13:07:04 +03:00
morris 588bbac564 feat(mipi_dsi): add callback to notify refresh done 2024-04-11 18:02:09 +08:00
Konstantin Kondrashov 0b5a6e33fc Merge branch 'feature/adds_esp_exit_macros' into 'master'
feat(esp_common): Add ESP_RETURN_VOID_ON_ERROR and ESP_RETURN_VOID_ON_FALSE macros

Closes IDFGH-12532

See merge request espressif/esp-idf!30148
2024-04-11 17:10:07 +08:00
Jeroen Domburg 0078680e88 feat(rmt): Add simple callback encoder 2024-04-11 15:54:52 +08:00
morris a615180bc0 feat(gptimer): support timer group driver on c5 mp
there's no change between mpw and mp as far as I can tell from the
register
2024-04-11 15:52:34 +08:00
Jakub Kocka 72896395f7 change(esptool_py/project_include): Updated esptool_elf2image_args
Since esptool v4.8 "--dont-append-digest" argument of elf2image is not needed anymore.
2024-04-11 09:33:48 +02:00
Roland Dobai 19700a57e6 Merge branch 'fix/gcov_win_mixed_path' into 'master'
fix(gcov): Fixed mixed path separators on Windows

Closes IDF-868 and IDF-3358

See merge request espressif/esp-idf!29917
2024-04-11 13:56:10 +08:00
Duco Sebel 69f6170f27 feat(esp_common): Add macros that check the condition and return from void function
Merges: https://github.com/espressif/esp-idf/pull/13536
2024-04-11 08:51:03 +03:00
C.S.M df842f9f75 Merge branch 'docs/jpeg_final' into 'master'
docs(jpeg): Add full-content of jpeg decoder and encoder programming guide

See merge request espressif/esp-idf!30122
2024-04-11 13:45:57 +08:00
Rahul Tank beb87e30f0 fix(nimble): Add support for data length change evt 2024-04-11 11:01:59 +05:30
Rahul Tank f44f06597f Merge branch 'bugfix/fix_dtm_num_pkt_size' into 'master'
fix(nimble): Fix the size of num_packets in dtm event

Closes BLERP-670 and BLERP-672

See merge request espressif/esp-idf!30143
2024-04-11 13:22:12 +08:00
Cao Sen Miao 2f7cd31279 fix(jpeg): Fix issue that jpeg acquire return NULL when acquire twice 2024-04-11 12:03:16 +08:00
muhaidong 6d97ebf35c fix(wifi): fixed task watchdog got triggered by esp_wifi_stop issue 2024-04-11 12:03:11 +08:00
xiongweichao f535fdff2d fix(bt/bluedroid): Fixed crash after bluedroid deinit
hci_host_env.downstream_data_ready is set to NULL during bluedroid deinit,
causing the controller to use a null pointer when calling callback.
2024-04-11 10:39:44 +08:00
Wu Zheng Hui ec37cbf157 Merge branch 'feature/esp32c5beta3_light_sleep_support_stage_1' into 'master'
feat(esp_hw_support): esp32c5 sleep support (Stage 2: support basic pmu sleep function)

See merge request espressif/esp-idf!29549
2024-04-11 10:38:17 +08:00
Rahul Tank fdd630425d fix(nimble): Fix the size of num_packets in dtm event 2024-04-10 19:26:07 +05:30
Lou Tianhao 2c59c4fbf2
fix(ci): bypass c5mp ci check 2024-04-10 20:45:49 +08:00
Jiang Jiang Jian 4e79288891 Merge branch 'bugfix/fix_coded_phy_s8_tx_issue' into 'master'
fix(esp_phy): fixed BLE coded phy s8 tx issue in coexistence scenarios

Closes BT-3457, BT-3656, and WIFI-5934

See merge request espressif/esp-idf!29579
2024-04-10 20:45:15 +08:00
Xu Xiao f0365ba6b5 Merge branch 'chip/esp32c5_beta3_support_wifi_rebase_master' into 'master'
feat(wifi): add esp32c5 beta3 wifi support

See merge request espressif/esp-idf!29296
2024-04-10 20:21:47 +08:00
Zhi Wei Jian 48464e91bd Merge branch 'feature/move_vendor_hci_api_to_ble_part' into 'master'
feat(ble/bluedroid): move vendor hci api to ble internal code

Closes BLERP-669

See merge request espressif/esp-idf!30117
2024-04-10 19:43:36 +08:00
zhanghaipeng 20a780da8c fix(ble/bluedroid): Fixed BLE GATT max length of an attribute value 2024-04-10 19:41:46 +08:00
Zhu Li Qun 200fe57693 Merge branch 'bugfix/fix_rtc_cntl' into 'master'
fix(rtc_cntl_reg.h): fix RTC_CNTL_SLAVE_PD_M

See merge request espressif/esp-idf!30161
2024-04-10 19:35:13 +08:00
Wang Mengyang d69767fcb8 change(bt): Follow the same implementation of esp_bt_mem_release on ESP32-C5 2024-04-10 19:13:17 +08:00
Wang Mengyang 745922ac72 change(bt): Add a test for release bt .bss and .data memory to heap
1. use nimble host, initialize and then deinitialize bt stack in the test
2. support tests for different SoC targets and multiple configuration options
2024-04-10 19:13:17 +08:00
Wang Mengyang 95a249e3f6 change(bt): Modify test_app directory layout
- Existing test app is put in a new subdirectory "basic_unit_test"
2024-04-10 19:13:17 +08:00
Wang Mengyang 1d9559cc9d change(bt): Rename linker script file names and symbol names
1. rename linker files
2. support memory release in case that ESP_ALLOW_BSS_SEG_EXTERNAL_MEMORY is enabled
3. improve the implementation of memory release
2024-04-10 19:13:17 +08:00
Wang Mengyang 0aca5ec357 fix(bt): Fix missing linker symbol when ESP_ALLOW_BSS_SEG_EXTERNAL_MEMORY enabled
1. Closes https://github.com/espressif/esp-idf/issues/10427
2. add two linker script to unify linker script symbols for BT libraries
3. The memory release functions have also been simplified
2024-04-10 19:13:17 +08:00
Jiang Jiang Jian 127873b163 Merge branch 'bugfix/config_sae_compile_error' into 'master'
fix(wpa_supplicant): Compile error when CONFIG_SAE is disabled

See merge request espressif/esp-idf!30101
2024-04-10 18:56:56 +08:00
Jiang Jiang Jian 9081d54aa7 Merge branch 'fix/fix_pmu_power_domain_initialize_order' into 'master'
fix(esp_hw_support): fix pmu power domain initialize order

See merge request espressif/esp-idf!30095
2024-04-10 17:23:47 +08:00
Guillaume Souchere bd0dbbe767 test(heap): Extend task tracking test with task handle check
Add a test to make sure that the task handles returned in the
task tracking information are valid task handles.

To verify that, feed the task name returned by pcTaskGetName()
using the task handle under test to xTaskGetHandle() and make
sure the task handle returned matches the one under test.
2024-04-10 11:23:07 +02:00
zlq 91668e17be fix(rtc_cntl_reg.h): fix RTC_CNTL_SLAVE_PD_M 2024-04-10 16:25:18 +08:00
xuxiao ec872c0c81 fix(wifi): fix code review comments 2024-04-10 15:27:50 +08:00
liqigan e1d2e0393d fix(bt/bluedroid): Fix HID Host connection bugs
1. Fix is_orig value inconsistency for HIDH open event
2. Fix the error state for repeat connection of the same device
2024-04-10 15:22:02 +08:00
chenjianhua 765af1aba4 feat(bt): Update bt lib for ESP32-C3 and ESP32-S3(c23ab4c)
- Support QA test vendor HCI command and event
2024-04-10 14:24:07 +08:00
chenjianhua 10735b7ea5 feat(bt): Update bt lib for ESP32(e314148)
- Support QA test vendor HCI command and event
2024-04-10 14:23:00 +08:00
Guillaume Souchere 6351771733 fix(heap): Add block owner to allocs in heap_caps_init
Add the block owner field in the  memory allocated in
heap_caps_init() to avoid parsing error wheen using
the task tracking feature.

Closes https://github.com/espressif/esp-idf/issues/13467
2024-04-10 08:20:09 +02:00
zhiweijian 0b4695435f feat(bt/common): Add bluerooth hci layer data stream record 2024-04-10 14:17:31 +08:00
zhiweijian 379484f4db feat(ble/bluedroid): move vendor hci api to ble internal code 2024-04-10 14:17:01 +08:00
liuning 9783bddde1 feat(coex): support esp32c5 beta3 coexist 2024-04-10 14:09:40 +08:00
xuxiao 27f61966cd feat(wifi): add esp32c5 beta3 wifi support 2024-04-10 14:09:40 +08:00
Island 8ea943e258 Merge branch 'bugfix/fixed_bt_cmakelist_err_when_use_nimblehost_only' into 'master'
ble: fixed the bt cmakelist error when use nimble host only

Closes IDFCI-2123

See merge request espressif/esp-idf!30154
2024-04-10 14:08:29 +08:00
Lou Tianhao 22c66db66b draft(esp_hw_support): need to support rtcio for c5beta3 2024-04-10 11:45:15 +08:00
Lou Tianhao 3fb4909483 feat(example): support esp32c5 timer/gpio/uart wakeup 2024-04-10 11:45:04 +08:00
morris 57696a437d Merge branch 'feat/ast_grep_lint_tool' into 'master'
Use ast-grep to create customized lint rules

See merge request espressif/esp-idf!30050
2024-04-10 10:50:09 +08:00
Michael (XIAO Xufeng) 1ca9a46737 Merge branch 'bugfix/forbid_uart_suspend_auto_lightsleep' into 'master'
uart: Fixed issue that TX be blocked by auto-lightsleep

Closes IDF-5518

See merge request espressif/esp-idf!21719
2024-04-10 10:49:24 +08:00
zwl a99d1739b6 ble: fixed the bt cmakelist error when use nimble host only 2024-04-10 10:26:59 +08:00
Roland Dobai 324dcbc080 Merge branch 'feat/fix_idf_build_spaces' into 'master'
fix(system): fix ulp examples containing spaces in path on Win

Closes IDF-9151

See merge request espressif/esp-idf!30060
2024-04-09 21:54:39 +08:00
Lou Tianhao 86221b2ed7 change(esp_hw_support): remove fast osc calibration during light sleep(need c5mp to fix) 2024-04-09 20:58:42 +08:00
Lou Tianhao 8b3b1470b5 change(esp_hw_support): support cpu retention and power off during sleep for esp32c5 beta3 2024-04-09 20:58:42 +08:00
Li Shuai f6478e3ced change(soc): update pmu register map struct for esp32c5 beta3 2024-04-09 20:58:42 +08:00
Marek Fiala f2b75d81b3 fix(system): fix idf.py build ulp examples containing spaces in path on Win 2024-04-09 14:00:34 +02:00
Guillaume Souchere dd1dde5fb9 fix(heap): Tracing of all heap_caps API
This commit fixes the missing tracing on all
heap_caps_xx_prefer and heap_caps_xx_aligned
functions.
2024-04-09 13:27:45 +02:00
morris c4c8965513 feat(tool): use ast-grep to lint code base 2024-04-09 18:45:18 +08:00
David Cermak b1ea47af4c fix(newlib): Allow for timefunc customization if not impl
Related https://github.com/espressif/esp-idf/issues/11873
2024-04-09 16:49:16 +08:00
Erhan Kurubas 1503b5fcf2 fix(coredump): fix build error with the custom stack config
Closes https://github.com/espressif/esp-idf/issues/13551
2024-04-09 13:36:30 +08:00
C.S.M e867b129f0 Merge branch 'cleanup/jpeg_encoder' into 'master'
change(jpeg): Clean up some mess code in jpeg encoder

See merge request espressif/esp-idf!30075
2024-04-09 13:30:55 +08:00
Island 21f5fda319 Merge branch 'bugfix/ble_mesh_heartbeat_filter_add' into 'master'
Fix(ble_mesh):fix error condition for heartbeat filter adding node address

Closes BLERP-654

See merge request espressif/esp-idf!29985
2024-04-09 12:05:21 +08:00
Cao Sen Miao ca23d58cf3 change(jpeg): Clean up some mess code in jpeg encoder 2024-04-09 11:33:29 +08:00
morris 906ce8e0ff Merge branch 'bugfix/gptimer_alarm_config_in_sram' into 'master'
feat(gptimer): check the alarm config is not in flash

See merge request espressif/esp-idf!30098
2024-04-09 11:16:06 +08:00
Rahul Tank 60156a4006 Merge branch 'bugfix/set_correct_addr_type' into 'master'
fix(nimble): Set correct peer_addr during reattempt connection

See merge request espressif/esp-idf!30051
2024-04-08 20:32:43 +08:00
Island e3839a31bf Merge branch 'bugfix/fix_ble_scan_assert' into 'master'
fix(bt/controller): Update bt lib for ESP32(5838b68)

Closes IDFGH-6912, BLERP-628, BLERP-400, IDFCI-2016, BLERP-629, BLERP-634, IDFGH-12506, and FCS-1421

See merge request espressif/esp-idf!29686
2024-04-08 20:12:29 +08:00
Yogesh Mantri 3a1b5689aa Merge branch 'fix/build_esp_wifi_remote' into 'master'
fix(esp_wifi_remote): Build issue for softAP

See merge request espressif/esp-idf!30000
2024-04-08 20:11:08 +08:00
Yogesh Mantri a3abdb9176 fix(esp_wifi_remote): Build issue for softAP 2024-04-08 20:11:08 +08:00
Shreyas Sheth e3338a3103 fix(wpa_supplicant): Compile error when CONFIG_SAE is disabled
Closes https://github.com/espressif/esp-idf/issues/13553
2024-04-08 17:29:48 +05:30
Shen Wei Long ca71f7737e Merge branch 'bugfix/add_workaround_for_ble_rtc_hw_issue' into 'master'
fix(ble): add workaround for ble RTC not enabled issue

Closes BLERP-382 and BLERP-383

See merge request espressif/esp-idf!28085
2024-04-08 19:59:04 +08:00
Zhi Wei Jian b9ea883781 Merge branch 'bugfix/fix_adv_not_resatrt_due_to_dis_reason' into 'master'
fix(ble/bluedroid): Fixed adv do not restart due to disconnection reason 0x3e

Closes BLERP-635

See merge request espressif/esp-idf!29733
2024-04-08 19:58:42 +08:00
Wang Meng Yang 02fe8fc671 Merge branch 'bugfix/loadprohibited_after_bluetooth_deinit' into 'master'
fix(ble/controller): Fixed LoadProhibited after bluetooth deinit

Closes BT-3672

See merge request espressif/esp-idf!30074
2024-04-08 19:15:11 +08:00
Shen Wei Long 4ec0e7bc43 Merge branch 'feature/support_ble_on_esp32c5beta3_master' into 'master'
feat(ble): Support BLE on esp32c5beta3

See merge request espressif/esp-idf!29992
2024-04-08 19:13:43 +08:00
Wang Meng Yang 6b453b803f Merge branch 'feat/set_get_lpclk_src' into 'master'
feat(ble): Added API to get low power clock source

Closes BTQABR2023-133, BTQABR2023-163, BTQABR2023-182, BTQABR2023-179, and BTQABR2023-178

See merge request espressif/esp-idf!28997
2024-04-08 17:59:23 +08:00
Suren Gabrielyan 8d594e353e Merge branch 'fix/websocket_first_packet_2' into 'master'
[ws_transport]: fix of first fragment loosing during HTTP handshake

See merge request espressif/esp-idf!28654
2024-04-08 17:50:03 +08:00
morris e8b6d2280d change(gptimer): use private unsafe RCC LL functions in bootloader 2024-04-08 17:48:20 +08:00
morris 1ca8de6e89 feat(gptimer): check the alarm config is not in flash
related to https://github.com/espressif/esp-idf/issues/13543
2024-04-08 17:48:20 +08:00
morris b2afd70b32 Merge branch 'refactor/remove_legacy_ldo_driver' into 'master'
refactor(ldo): remove legacy private ldo driver

Closes IDF-9566

See merge request espressif/esp-idf!29834
2024-04-08 17:11:49 +08:00
Li Shuai 3698d0a408 Merge branch 'bugfix/sleep_clock_domain_pd_allowed' into 'master'
fix some errors with sleep's power domain management

See merge request espressif/esp-idf!30076
2024-04-08 16:18:02 +08:00
wuzhenghui 24244f04f2
fix(esp_hw_support): fix pmu power domain initialize order 2024-04-08 15:47:59 +08:00
Island 4726afa3e6 Merge branch 'feat/support_ble_set_rpa_timeout_by_api' into 'master'
feat(ble/bluedroid): Support set resolvable provate address timeout by api

Closes BLERP-650

See merge request espressif/esp-idf!29935
2024-04-08 15:23:20 +08:00
zhiweijian adde5a3dd6 fix(ble/bluedroid): Fixed adv not restart due to disconnection reason 0x3e 2024-04-08 14:51:33 +08:00
zhanghaipeng 9c6869fbf8 fix(bt/controller): Update bt lib for ESP32(5838b68)
- Fixed BLE scan assert
 - Fixed assert(10,0) in lld_pdu
 - Add BLE scan backoff in menuconfig
2024-04-08 14:49:06 +08:00
luoxu 0e21cdd18a fix(ble_mesh): fix error condition for heartbeat filter adding node address 2024-04-08 14:25:18 +08:00
linruihao e0dbcfae00 fix(esp_phy): update phylib for C3, S3, C2 and C6
- fixed BLE coded phy s8 tx issue in coexistence scenarios
- fixed ESP32-C3 and ESP32-S3 BLE RX issue
- optimize ESP32-C3 and ESP32-S3 light sleep current
2024-04-08 14:16:26 +08:00
Kevin (Lao Kaiyao) 432864e917 Merge branch 'ci/enable_c5_mp_ci_jobs' into 'master'
ci(esp32c5mp): enable esp32c5 build on CI

See merge request espressif/esp-idf!29895
2024-04-08 12:16:16 +08:00
baohongde d60c0441f0 fix(ble/controller): Fixed LoadProhibited after bluetooth deinit 2024-04-08 11:49:05 +08:00
Mahavir Jain b185b2b3c2 Merge branch 'feature/mbedtls_error_str_config' into 'master'
feat(mbedtls): add kconfig option for MBEDTLS_ERROR_C

See merge request espressif/esp-idf!30031
2024-04-08 11:10:59 +08:00
Island f36a16bea7 Merge branch 'bugfix/fix_some_ble_bugs_240401' into 'master'
Fixed some BLE bugs 240401 on ESP32C3(5274796)

Closes BLERP-656, BLERP-657, BLERP-535, BLERP-644, BLERP-645, BLERP-658, BLERP-659, and BLERP-660

See merge request espressif/esp-idf!29998
2024-04-08 11:06:56 +08:00
Nebojša Cvetković e96da70654 feat(esptool): merge_bin CMake target 2024-04-08 01:41:34 +01:00
zhanghaipeng 8c42f6a891 feat(ble/bluedroid): Support set resolvable provate address timeout by api 2024-04-07 20:40:29 +08:00
Xiong Wei Chao d4234309a5 Merge branch 'bugfix/spp_crash_after_deint' into 'master'
fix(bt/bluedroid):  Fixed SPP crash due to the connection not being disconnected before esp_spp_deinit was called

Closes BT-3657

See merge request espressif/esp-idf!29999
2024-04-07 19:53:45 +08:00
C.S.M 6224fca8a0 Merge branch 'feature/support_lp_i2c_in_drv' into 'master'
feat(i2c_master): Add feature for support using lp_i2c in i2c_master driver

See merge request espressif/esp-idf!29907
2024-04-07 19:27:04 +08:00
morris 15f356bf55 Merge branch 'bugfix/unsupport_partial_receive_on_esp32' into 'master'
fix(rmt): Fix the RMT RX filter not working correctly on esp32/s2

Closes IDFGH-12500

See merge request espressif/esp-idf!29951
2024-04-07 17:50:09 +08:00
Li Shuai 75cf573637 fix(esp_hw_support): fix some errors with sleep's power domain management 2024-04-07 17:39:48 +08:00
Jiang Jiang Jian b3a40cdfb2 Merge branch 'bugfix/2g_bitamp_error_log' into 'master'
fix(wifi): Fix print for 2g bitmap in scan path

Closes WIFIBUG-481

See merge request espressif/esp-idf!30062
2024-04-07 17:38:49 +08:00
xiongweichao 3d19c3db13 feat(ble): Added API to get low power clock source 2024-04-07 17:30:55 +08:00
Chen Yu Dong 8ff53713fa Merge branch 'ci/fix_generic_env_markers' into 'master'
ci: fix pytest generic env markers

See merge request espressif/esp-idf!30021
2024-04-07 16:44:57 +08:00
xiongweichao cca828d03a fix(bt/bluedroid): Fix SPP crash after deinit
- The disconnection event comes up after spp disable is completed, so a null pointer is used.
2024-04-07 15:51:43 +08:00
morris 9ada0b029a fix(rmt): fix the counting clock used by rx filter on esp32/s2
is always APB, independent to the channel clock selection

Closes https://github.com/espressif/esp-idf/issues/13510
2024-04-07 15:05:28 +08:00
Ivan Grokhotkov 279b67cc5e Merge branch 'bugfix/check_callgraph_ignore_indirect_calls' into 'master'
fix(check_callgraph): rework --ignore-symbols to be more generic

See merge request espressif/esp-idf!29850
2024-04-07 15:05:08 +08:00
morris d908150adc fix(rmt): calarify partial receive is not support on esp32
because of lack hardware support
2024-04-07 14:33:39 +08:00
Kevin (Lao Kaiyao) 71ceedc54f Merge branch 'feature/support_gpio_reservation_check_in_i2s' into 'master'
feat(i2s): support i2s gpio reservation

Closes IDF-9099

See merge request espressif/esp-idf!29994
2024-04-07 14:25:44 +08:00
Wu Zheng Hui a759bc0f52 Merge branch 'feat/set_cpu_freq_after_pm_config_changed' into 'master'
fix(esp_pm): update CPU frequency immediately after updating pm_config

Closes IDFGH-12481

See merge request espressif/esp-idf!29963
2024-04-07 13:47:20 +08:00
laokaiyao 65b1fd33d3 ci(esp32c5mp): disable the unsupported tests 2024-04-07 12:13:29 +08:00
Wu Zheng Hui b570afd6e8 Merge branch 'bugfix/fix_esp332p4_bus_stuck_in_dfs' into 'master'
fix(esp_hw_support): fix esp32p4 stuck in dfs issue

Closes IDF-9628

See merge request espressif/esp-idf!30013
2024-04-07 11:43:04 +08:00
laokaiyao e4f28fcb7f feat(i2s): support i2s gpio reservation 2024-04-07 11:33:23 +08:00
Gao Xiao Jie f1babb9074 Merge branch 'bugfix/clic_edge_type_interrupt_config' into 'master'
fix(esp_rom): patch esprv_intc_int_set_type for esp32p4

See merge request espressif/esp-idf!28161
2024-04-07 11:09:19 +08:00
cjin 21ad1b393f bugfix(ble): workaround to avoid ble rtc not work when power up 2024-04-07 10:53:00 +08:00
Alexey Lapshin 5a40bb8746 Merge branch 'feature/update-esp32ulp-elf-to-2.38_20240113' into 'master'
feat(tools): update esp32ulp-elf version to 2.38_20240113

See merge request espressif/esp-idf!28451
2024-04-06 03:23:43 +08:00
Rahul Tank d0853d70ce fix(nimble): Remove extra code in reattempt connection 2024-04-05 21:33:12 +05:30
Shreyas Sheth aee2197563 fix(wifi): Fix print for 2g bitmap in scan path 2024-04-05 17:46:36 +05:30
David Čermák 999d3e0d91 Merge branch 'fix/linux_console_macos' into 'master'
fix(console): Fix linux target build on MacOS

See merge request espressif/esp-idf!30005
2024-04-05 13:00:09 +08:00
Xiao Xufeng 72a001b851 fix(soc): fixed uart_periph.h not including reg.h issue
This will cause rom/uart.h can't compile.
2024-04-05 03:01:24 +08:00
Michael (XIAO Xufeng) f251e32f48 feat(uart_test): add test case for uart tx blocked by auto-suspend 2024-04-05 03:01:24 +08:00
LiPeng 235bb6f294 fix(uart): Fixed issue that TX be blocked by auto-lightsleep 2024-04-05 03:01:24 +08:00
Ivan Grokhotkov 6b6de47308
feat(sdspi): add LDO (power control) in sdspi tests 2024-04-04 15:03:27 +02:00
Ivan Grokhotkov 344439dfaa
change(sdmmc): move SD power control logic into sdmmc_test_sd_begin
This simplifies the code a bit,
- removing SOC_SDMMC_IO_POWER_EXTERNAL ifdefs from error paths
- moving the LDO code next to where sdmmc_test_board_card_power_set
  is called for the same purpose
2024-04-04 15:02:11 +02:00
Ivan Grokhotkov 2bd1a8706d
feat(sdmmc): add test config for ESP32-P4 EV board 2024-04-04 14:59:28 +02:00
Jakub Kocka 8e0a1e8039 fix(gcov): Fixed mixed path separators on Windows 2024-04-04 13:56:15 +02:00
Alexey Lapshin 4879bac36c feat(ulp): use --mcpu=esp32s3 for esp32s3 2024-04-04 16:12:39 +08:00
David Čermák 295f908ef2 Merge branch 'fix/netif_ip_changed' into 'master'
fix(esp_netif): Post IP_CHANGE event also if mask and GW is ANY

Closes IDFGH-11836

See merge request espressif/esp-idf!29719
2024-04-04 16:01:20 +08:00
David Cermak 965ba606a7 fix(esp_netif): Post IP_CHANGE event also if mask and GW is ANY
Closes https://github.com/espressif/esp-idf/issues/12927
2024-04-04 08:12:43 +02:00
Darian c8c3d4b28a Merge branch 'refactor/usb_new_phy_hal_api' into 'master'
refactor(hal/usb): Update USB WRAP/USJ P4 LL, add new USB PHY HAL API

See merge request espressif/esp-idf!29853
2024-04-04 14:09:03 +08:00
Mahavir Jain 64fd14e787
feat(mbedtls): add kconfig option for MBEDTLS_ERROR_C
Disabling this config can reduce footprint for the cases where
mbedtls_strerror() is used and hence the debug strings are getting
pulled into the application image.
2024-04-04 09:20:28 +05:30
Darian Leung 778c2e6863
refactor(hal/usb): Add new USB PHY related HAL API
This commit adds/updates the USB PHY related HAL APIs. The following changes
are made:

- Updated 'usb_wrap_hal.h' API
- Added 'usb_serial_jtag_hal.h' API
2024-04-04 02:47:00 +08:00
Darian Leung 023eae4f0b
feat(hal/usb): Update USB WRAP and USJ LL, add missing ESP32-P4 LL
This commit updates updates the LLs of USB WRAP and USJ as follows:

- Added missing 'usb_wrap_ll.h' and 'usb_serial_jtag_ll.h' for the ESP32-P4
- Added LL cap macros to distinguish feature differences between the LLs of
  different targets:
    - '..._LL_EXT_PHY_SUPPORTED' indicates whether the USB WRAP/USJ supports
      routing to an external FSLS PHY.
    - '..._LL_SWAP_PHY_SUPPORTED' indicates whether the USB WRAP/USJ supports
      swapping between multiple internal FSLS PHYs.
- Tidied up some RCC LL functions and their callers.
- Added 'usb_wrap_types.h' and 'usb_serial_jtag_types.h' to provide types used
  in LLs.
- Fixed some spelling/naming issues as part of code-spell pre-commit
2024-04-04 02:47:00 +08:00
Darian Leung 84ba2ef2e8
feat(soc/usb): Add USB UTMI PHY struct and LL for the ESP32-P4 2024-04-04 01:47:35 +08:00
Alexey Lapshin 9ff7ad2173 feat(esp_rom): add esp_rom_libc_stubs.h 2024-04-03 18:34:44 +04:00
Suren Gabrielyan 2267d4b6b5 fix(ws_transport): fix first fragment losting during websocket connection 2024-04-03 17:57:37 +04:00
Andy Lin 4f6deb9f61 fix(freertos): Fix broken portable macro portTRY_ENTER_CRITICAL_SAFE()
This commit fixes a bug where the portTRY_ENTER_CRITICAL_SAFE() for the
Xtensa and RISC-V FreeRTOS ports were broken as it did not correctly use
the timeout parameter.

Merges: https://github.com/espressif/esp-idf/pull/13022
2024-04-03 14:35:31 +02:00
wuzhenghui 2b4a2da52d
fix(esp_hw_support): fix esp332p4 stuck in dfs issue 2024-04-03 19:47:09 +08:00
Konstantin Kondrashov f909dddde7 Merge branch 'feature/mac_esp32p4_support' into 'master'
feat(esp_hw_support): Adds MAC address support for esp32p4

Closes IDF-8949

See merge request espressif/esp-idf!28704
2024-04-03 19:01:29 +08:00
Chen Yudong 7d13f8210f ci: fix pytest generic env markers 2024-04-03 18:10:43 +08:00
chenjianhua ae95ad5958 fix(bt): Update bt lib for ESP32-C3 and ESP32-S3(5274796)
- Fixed extended uncoded and coded scan scheduling
- Add config for channel assessment and ping procedure
- Clear random address for extended advertising
- Add periodic advertising list check
- Fixed periodic advertising data setting with zero length
2024-04-03 17:56:21 +08:00
Armando (Dou Yiwen) fd11a0e85a Merge branch 'change/remove_no_longer_public_spi_reg' into 'master'
spi: remove no longer public spi reg

Closes DOC-7416

See merge request espressif/esp-idf!30010
2024-04-03 16:57:31 +08:00
Konstantin Kondrashov dc4bf7d3e3 Merge branch 'bugfix/esp_timer_improve_tests' into 'master'
fix(esp_timer): Fix tests when esp_timer is running on CPU1

See merge request espressif/esp-idf!29901
2024-04-03 15:42:46 +08:00
Armando 2c81664fa3 change(spi): remove no longer public spi reg 2024-04-03 13:37:09 +08:00
Island 28f68a0376 Merge branch 'feat/adjust_ble_log_init_order' into 'master'
Feat/adjust ble log init order

Closes BLERP-649, BLERP-651, BLERP-631, BLERP-652, and BLERP-655

See merge request espressif/esp-idf!29931
2024-04-03 12:39:49 +08:00
Mahavir Jain 2bfef64fc6 Merge branch 'fix/pmp_idcache_prot_c6_h2' into 'master'
fix(esp_hw_support): Fix the flash I/DROM region PMP protection

See merge request espressif/esp-idf!29933
2024-04-03 12:09:28 +08:00
Cao Sen Miao 1fe7cc8d13 test(i2c_master): Add test for lp_i2c support in i2c master driver 2024-04-03 11:39:07 +08:00
Cao Sen Miao 0985bfbe27 feat(i2c_master): Add lp_i2c support in i2c master driver 2024-04-03 11:39:04 +08:00
Shen Weilong f09dcff91e feat(ble): Support BLE on esp32c5beta3 2024-04-03 10:58:06 +08:00
gaoxiaojie aa3d3835ab fix(esp_rom): patch esprv_intc_int_set_type for esp32p4 2024-04-03 10:09:47 +08:00
Konstantin Kondrashov d902a023ba fix(esp_timer): Fix tests when esp_timer is running on CPU1 2024-04-02 21:00:42 +03:00
Gao Xu db3e43908a Merge branch 'feat/add_esp_dma_capable_malloc' into 'master'
dma_utils: add esp dma capable malloc function

Closes IDF-9638

See merge request espressif/esp-idf!29869
2024-04-02 21:31:45 +08:00
David Cermak bd8b1eca9e fix(console): Fix linux target build on MacOS
We're correctly checking for the CONFIG_IDF_TARGET_LINUX macro, but before including sdkconfig.h
2024-04-02 15:14:19 +02:00
Laukik Hase 48503dd39f
fix(esp_hw_support): Fix the flash I/DROM region PMP protection 2024-04-02 18:41:07 +05:30
Roman Leonov fc326374e0 Merge branch 'refactor/usb_host_add_hcd_mps_request' into 'master'
refactor(hcd_dwc): Added mps request from hcd_dwc

See merge request espressif/esp-idf!29904
2024-04-02 20:49:29 +08:00
Alexey Lapshin 11eeca6c98 Merge branch 'fix/gcov_fault' into 'master'
fix(gcov): fix exceptions on gcov task_tick_hook

Closes IDFGH-12501

See merge request espressif/esp-idf!29962
2024-04-02 20:24:07 +08:00
Jiang Jiang Jian ce6363095e Merge branch 'bugfix/wpa3_ap_ci_crash' into 'master'
fix(esp_wifi): Fix crash when assoc req comes before confirm is processed

Closes IDFCI-2090

See merge request espressif/esp-idf!29805
2024-04-02 20:05:06 +08:00
Aditya Patwardhan 0dcd692d59 Merge branch 'fix/fix_esp32p4_flash_encryption' into 'master'
fix(bootloader_support): Fix default key usage for flash encryption

See merge request espressif/esp-idf!29968
2024-04-02 19:57:38 +08:00
Wu Zheng Hui 601a086b16 Merge branch 'fix/add_phy_private_dslp_callback' into 'master'
fix(esp_hw_support): move deepsleep phy callback before PLL disable

See merge request espressif/esp-idf!29952
2024-04-02 19:37:39 +08:00
Jiang Jiang Jian 597168303d Merge branch 'bugfix/aud-5252' into 'master'
fix the issue of modem hang caused by incorrect configuration of power and isolate signals

Closes AUD-5252

See merge request espressif/esp-idf!29960
2024-04-02 19:30:32 +08:00
Shreyas Sheth 73ec4a74fd fix(esp_wifi): Fix crash when assoc req comes before confirm is processed 2024-04-02 14:28:59 +05:30
Zhang Wen Xu d41172853b Merge branch 'fix/phy_init_variables_in_header_file' into 'master'
fix(esp_phy): header file produces non-zero object

See merge request espressif/esp-idf!29930
2024-04-02 16:50:54 +08:00
wuzhenghui cbc66bd365
fix(esp_hw_support): move deepsleep phy callback before PLL disable 2024-04-02 16:38:01 +08:00
Roman Leonov dbad0df765 refactor(hcd_dwc): Added mps request from hcd_dwc 2024-04-02 10:23:52 +02:00
Jiang Jiang Jian 8ae1d9907f Merge branch 'optimize/bt_make_alarm_num_configurable' into 'master'
optimize(ble_mesh): Make alarm number configurable

Closes BLERP-577

See merge request espressif/esp-idf!28965
2024-04-02 16:18:36 +08:00
gaoxu c3303c0096 fix(eth): fix defaultip101 tests error on ci 2024-04-02 16:17:10 +08:00
Jiang Jiang Jian 1bcd5bca14 Merge branch 'feature/disable_pmk_caching' into 'master'
feat(esp_wifi): Provide API to disable PMK caching

See merge request espressif/esp-idf!29902
2024-04-02 16:15:34 +08:00
Wu Zheng Hui 859d9a89e1 Merge branch 'bugfix/fix_adc_clock_missing_in_startup_calibration' into 'master'
fix(esp_adc): fix adc clock missing in startup calibration

Closes PM-93

See merge request espressif/esp-idf!29993
2024-04-02 15:29:12 +08:00
Aditya Patwardhan 51a91259d7
fix(bootloader_support): Fix default key usage for flash encryption 2024-04-02 12:27:53 +05:30
harshal.patil e383616503 fix(mbedtls/aes): Fix incorrect dma alignment size 2024-04-02 14:30:14 +08:00
gaoxu 8e9b1501c0 fix(dma): fix s3 dma reg spell error 2024-04-02 14:30:14 +08:00
gaoxu 40f38bea6f feat(dma): refactor dma calloc function 2024-04-02 14:30:14 +08:00
Armando 78f96c4466 change(eth): use new esp_dma_calloc 2024-04-02 14:30:14 +08:00
Armando f0518b3c16 feat(dma): advanced dma malloc helper 2024-04-02 14:30:14 +08:00
Rahul Tank 9c846916fa Merge branch 'bugfix/revamp_reconn_scheme' into 'master'
fix(nimble): Cleanup code in connection reconnection implementation

Closes BLERP-633

See merge request espressif/esp-idf!29941
2024-04-02 14:23:58 +08:00
Zhang Wen Xu 7963bcba13 Merge branch 'support/esp32c5beta3_ieee802154' into 'master'
feat(802154): add ieee802154 support for C5beta3

See merge request espressif/esp-idf!29948
2024-04-02 14:14:16 +08:00
Wan Lei 7116671f4d Merge branch 'feat/c6lite_c61_final_helloworld' into 'master'
feat(esp32c61): birth and say hello world 🎄 (stage 8/8)

Closes IDF-9290

See merge request espressif/esp-idf!29751
2024-04-02 14:11:36 +08:00
Jiang Jiang Jian 4989cc0d9f Merge branch 'bugfix/directed_bssid_probe_req' into 'master'
Send unicast probe requests if bssid is known during scan

Closes WIFIBUG-458

See merge request espressif/esp-idf!29619
2024-04-02 14:09:12 +08:00
Shu Chen 15474b4f97 Merge branch 'fix/openthread_mtd_joiner_config' into 'master'
fix(openthread) fix openthread mtd joiner config

Closes IDFGH-12457

See merge request espressif/esp-idf!29959
2024-04-02 14:08:41 +08:00
Island aa3c7e1030 Merge branch 'bugfix/IDFGH-11775' into 'master'
bugfix(ble_mesh): fix NRF mesh(android) provisioning node failed

Closes BLERP-636

See merge request espressif/esp-idf!29737
2024-04-02 14:03:35 +08:00
Kapil Gupta 00ab1ef500 feat(esp_wifi): Provide API to disable PMK caching 2024-04-02 10:21:26 +05:30
Kevin (Lao Kaiyao) 61cf08fcc8 Merge branch 'feature/update_rom_for_esp32c5mp' into 'master'
change(rom): update the frozen rom for esp32c5mp

See merge request espressif/esp-idf!29971
2024-04-02 12:18:50 +08:00
Dávid Fehér 70329ed770 fix(openthread): Fix openthread mtd joiner config
* Fix openthread-core-esp32x-mtd-config.h: OPENTHREAD_CONFIG_JOINER_ENABLE macro value

* On ESP32 MTD devices Joiner role functionality was not working even if 'Joiner enable' was checked in SDK config because 0 was defined in OPENTHREAD_CONFIG_JOINER_ENABLE macro. Value modified to 1 to resolve the issue. Tested and working on ESP32 H2 MTD device.

* Closes: https://github.com/espressif/esp-idf/pull/13473
2024-04-02 12:17:57 +08:00
wuzhenghui 11e7091967
fix(esp_adc): fix adc clock missing in startup calibration 2024-04-02 12:14:44 +08:00
zwx 6d2f9c2991 fix(esp_phy): header file produces non-zero object 2024-04-02 12:14:17 +08:00
Kapil Gupta 464fd689a1 fix(esp_wifi): Send unicast probe requests if bssid is known during scan 2024-04-02 11:23:32 +08:00
Armando (Dou Yiwen) fa369d0f3b Merge branch 'change/add_build_test_rules_to_flash_mmap' into 'master'
mmap: added built-test-rules.yml contents to flash_mmap test_app

See merge request espressif/esp-idf!29975
2024-04-02 11:13:29 +08:00
Marius Vikhammer 222a010f89 Merge branch 'bugfix/ulp_lp_mem_size_p4' into 'master'
fix(lp_core): fix kconfig not allowing using all of LP mem for lp core

Closes IDF-9627

See merge request espressif/esp-idf!29900
2024-04-02 10:51:26 +08:00
wanlei 20c18ac52b feat(esp32c61): final introduce helloworld support 2024-04-02 10:50:52 +08:00
luoxu 8160ddee46 fix(ble_mesh): fix NRF mesh(android) provisioning node failed
Closes: https://github.com/espressif/esp-idf/issues/12871
2024-04-02 10:41:57 +08:00
Armando 1dfc443b5b change(mmap): added built-test-rules.yml contents to flash_mmap test_app 2024-04-02 09:48:07 +08:00
Jiang Jiang Jian 8fcf5270a2 Merge branch 'fix/exception_vectors' into 'master'
fix: mark .exception_vectors* as executable and allocatable

Closes IDF-9554

See merge request espressif/esp-idf!29782
2024-04-02 00:08:07 +08:00
Jiang Jiang Jian d885808b9f Merge branch 'feature/advanced_roaming_support' into 'master'
Add advanced Wi-Fi roaming support through Wi-Fi app

Closes WIFI-6169, WIFI-4212, WIFIBUG-314, and IDFGH-10713

See merge request espressif/esp-idf!26126
2024-04-02 00:02:41 +08:00
C.S.M 4921c63b70 Merge branch 'feature/jpeg_encoder' into 'master'
feat(jpge): Add basic support for jpeg encoder 🖼️

See merge request espressif/esp-idf!29411
2024-04-01 23:24:21 +08:00
Jiang Jiang Jian 7fcac31dce Merge branch 'bugfix/addd_dport_protection_for_some_registers' into 'master'
fix(bt/controller): Use embedded assembly to get access to DPORT registers

See merge request espressif/esp-idf!29932
2024-04-01 23:09:51 +08:00
Kapil Gupta 431a2a7d1c fix(esp_wifi): Address review comments 2024-04-01 23:00:01 +08:00
jgujarathi 9a88dab748 feat(esp_wifi): Add support for advanced roaming as a wifi app
- Adds support for advanced roaming as a wifi app.
2024-04-01 23:00:01 +08:00
jgujarathi 71e6c10f7c fix(wpa_supplicant): Update supplicant last scan time when application scanning
- Any scanning currently updates the bss table held by supplicant anyway,
  but the time record used to maintain the recency of the last scan is
  only updated by supplicant issued scans. Updating the last scan time
  for application trigerred scanning will prevent the needless scanning
  by supplicant if there has been an application trigerred scan in
  the time diff threshold(currently 10s).
2024-04-01 23:00:01 +08:00
jgujarathi b23e29d5ae fix(wpa_supplicant): Add current bss channel as hint to scanning
- Add current bss channel as hint to scanning during supplicant connect
  making the process faster.
2024-04-01 23:00:01 +08:00
jgujarathi 560c951e33 fix(wpa_supplicant): Add default durations to supplicant issued scans
- Add default durations to supplicant issued scans based on results from
  initial experiments where probe response times were recorded in a
  significantly noisy environment. It was noticed  that  within 70ms
  we receive over 80% of the responses 90% of the time
2024-04-01 23:00:01 +08:00
jgujarathi 84d7ab5c0c fix(wpa_supplicant): Clear bssid flag and channel in supplicant disconnect handler
- Clear the bssid set flag and channel in supplicant disconnect handler as this
  can cause the station to recursively connect to the wrong AP in case
  roaming through BTM mechanisms fails.
- Fix issue with incorrect blocking time calculation when blocking scan
  issued for a single channel.
2024-04-01 23:00:01 +08:00
jgujarathi c6134a23dd fix(wpa_supplicant): Replace Neighbor Report callback with an event
- Deprecate the existing esp_rrm_send_neighbor_rep_request() API
- Adds a new API to send neighbor report requests esp_rrm_send_neighbor_report_request().
  This replaces the older API's callback procedure with a new Wi-Fi
  event that is posted when the neighbor report is received.
  This moves the execution of the callback from supplicant
  context to freertos context.
2024-04-01 23:00:01 +08:00
jgujarathi 743772fb76 fix(btm): Improve BTM scanning effiency by using channel bitmap
- Improve the BTM scanning efficiency by using channel bitmap feature in
  scanning. This sets only the channels we need to scan instead of all.
2024-04-01 23:00:01 +08:00
jgujarathi c3f1c3fcde feat(esp_wifi): Add channel bitmaps to the scan config
- Add the ability to specify the specific channels and the
  in wifi_config_t.
- Adds warning that discourages setting bssid and channel in sta_config
  when btm/mbo is enabled and supported by the network.
- Fix issues with reporting authmodes of FT supporting APs during scanning.
- Additional typo fixes in the public header files
2024-04-01 23:00:01 +08:00
Aditya Patwardhan fb28b42c94 Merge branch 'feature/support_ecdsa_key_using_key_manager' into 'master'
Feature/support ecdsa key using key manager

Closes IDF-7992

See merge request espressif/esp-idf!28908
2024-04-01 22:10:34 +08:00
laokaiyao 0cb1057915 change(rom): update the frozen rom for esp32c5mp 2024-04-01 20:53:49 +08:00
Aditya Patwardhan 051048d261 Merge branch 'feature/p4_rng' into 'master'
feat(esp_hw_support): brought up RNG on ESP32-P4

Closes IDF-6522

See merge request espressif/esp-idf!29614
2024-04-01 20:24:36 +08:00
Cao Sen Miao 58acf93da2 test(jpeg_encoder): Add the test support for jpeg encoder 2024-04-01 20:03:35 +08:00
Cao Sen Miao 22ec65adef feat(jpeg_encoder): Add the basic support for jpeg encoder 2024-04-01 20:03:31 +08:00
Jiang Jiang Jian b02a2eaf1a Merge branch 'bugfix/fix_call_to_header_event_callback' into 'master'
fix: Fix call to event_handler on on_header state of HTTP Client

Closes IDFGH-12486

See merge request espressif/esp-idf!29953
2024-04-01 19:48:47 +08:00
wuzhenghui 1a676d1e77
fix(esp_pm): update CPU frequency immediately after updating pm_config
Closes https://github.com/espressif/esp-idf/issues/13492
2024-04-01 19:15:28 +08:00
Jin Cheng 98230244df fix(bt/controller): Use embedded assembly to get access to DPORT registers 2024-04-01 18:53:47 +08:00
Rahul Tank 7e34300a1b fix(nimble): Change reconnection scheme 2024-04-01 16:05:41 +05:30
Jiang Jiang Jian d954057ed8 Merge branch 'feat/coex_schm_ble' into 'master'
feat(ble/controller): Add coexist schm for BLE

See merge request espressif/esp-idf!29740
2024-04-01 18:26:52 +08:00
Wang Meng Yang ef30e40151 Merge branch 'fix/rd_stored_link_key_error' into 'master'
fix(bt/controller): fix some issues in bt controller

Closes CBI-722, CBI-709, and BTQABR2023-210

See merge request espressif/esp-idf!29454
2024-04-01 18:17:37 +08:00
Jiang Jiang Jian 7347042d9a Merge branch 'feat/multi_antenna_support' into 'master'
feat(phy): refactor multiple antenna, support for WIFI/BT/BLE

Closes FCS-1279

See merge request espressif/esp-idf!26534
2024-04-01 17:36:11 +08:00
Jiang Jiang Jian fde8c8d0f8 Merge branch 'feat/sntp_init_delay' into 'master'
feat(lwip): SNTP: Add support for adjusting startup delay

Closes IDF-8790

See merge request espressif/esp-idf!29688
2024-04-01 17:16:28 +08:00
Aditya Patwardhan d0a23799e8
feat(mbedtls): Added support for using ECDSA key through key manager 2024-04-01 14:37:12 +05:30
Alexey Lapshin 26b728a5f8 fix(gcov): fix exceptions on gcov task_tick_hook
Closes https://github.com/espressif/esp-idf/issues/13511
2024-04-01 13:06:21 +04:00
Mahavir Jain 999f3f69c0 Merge branch 'esp32p4/deterministic_ecdsa_support' into 'master'
Add deterministic ECDSA support

Closes IDF-8507

See merge request espressif/esp-idf!29010
2024-04-01 16:45:14 +08:00
Harshit Malpani 2814b5a330
Revert "fix(esp_http_client): Call event_handler after header value is received"
This reverts commit 04ac8e43db.

When `http_on_header_event` is called, event_handler is invoked and
then the current header key and header value are freed. In the previous
approach, `http_on_header_event` was called from `http_on_header_value`,
but it lead to an issue where if the value is received in multiple chunks,
then the current header key and value were freed and thus header was not
processed correctly which might result in connection issues. Calling
`http_on_heaher_event` from `http_on_header_field` ensures that the current
header field and value are processed properly

Fixes https://github.com/espressif/esp-idf/issues/13497
Fixes https://github.com/espressif/esp-idf/issues/13097
2024-04-01 13:41:47 +05:30
Armando (Dou Yiwen) 99efa9504c Merge branch 'change/merge_isp_env_into_isp_af' into 'master'
(isp): merge isp env into isp af

See merge request espressif/esp-idf!29946
2024-04-01 16:05:44 +08:00
cjin 2f60e19696 feat(ble): add cca related config in c6, h2 and c2 2024-04-01 15:57:06 +08:00
cjin edb3f70562 change(ble): support ble light sleep using ext 32k xtal on C2 2024-04-01 15:57:06 +08:00
zwl 5e443311da ble: update esp32c2 lib to 7a428d35 2024-04-01 15:57:06 +08:00
zwl f2da3c12e9 ble: update esp32h2 and esp32c6 lib to 39c6e050 2024-04-01 15:57:06 +08:00
zhaoweiliang 29eb1400ae ble : adjust the log initialization sequence of ESP32C6 and ESP32H2 2024-04-01 15:57:06 +08:00
Jiang Jiang Jian 0301125fbd Merge branch 'bugfix/typo_bootloader_kconfig' into 'master'
fix(bootloader): fix spelling mistakes  in /components/bootloader/Kconfig.projbuild

See merge request espressif/esp-idf!29899
2024-04-01 15:36:10 +08:00
Li Shuai 608713a72a fix(esp_hw_support): fixed modem hang caused by incorrect configuration of power and isolate signals 2024-04-01 15:21:07 +08:00
alanmaxwell ffd0c8ecef fix(soc): update gpio_sig_map.h for esp32c5 beta3 2024-04-01 15:07:38 +08:00
alanmaxwell 21693c3c7c fix(ci): disable phy antenna example build for h2 and fix typo and format 2024-04-01 14:59:57 +08:00