Commit Graph

23645 Commits

Author SHA1 Message Date
Kevin (Lao Kaiyao)
1e6a76419b Merge branch 'feature/support_hello_world_on_esp32c5' into 'master'
feat(esp32c5): support hello world on esp32c5 beta3 (stage 8/8)

See merge request espressif/esp-idf!27870
2024-01-09 18:41:43 +08:00
Abhik Roy
515ca77e89 Merge branch 'lwip/static_ip6_public' into 'master'
feat(esp_netif): Added code to expose api to add and remove ipv6 address

See merge request espressif/esp-idf!27800
2024-01-09 18:00:48 +08:00
Abhik Roy
325a8d7a6e feat(esp_netif): Added code to expose api to add and remove ipv6 address 2024-01-09 18:00:47 +08:00
Wang Meng Yang
8a76b2e2ec Merge branch 'bugfix/update_spp_doc' into 'master'
docs(bt/bluedroid): update API documents of SPP

Closes BT-3568

See merge request espressif/esp-idf!28111
2024-01-09 15:29:11 +08:00
Wan Lei
85bdf22973 Merge branch 'refactor/spi_hal_iram_rm_dma_ll' into 'master'
refactor(spi): replace dma_ll related in spi hal by using gdma driver (part2)

See merge request espressif/esp-idf!27238
2024-01-09 15:13:12 +08:00
Kevin (Lao Kaiyao)
e87f7990b8 Merge branch 'feature/support_to_get_dma_buffer_size' into 'master'
feat(i2s): support to get total dma buffer size

Closes IDF-9005

See merge request espressif/esp-idf!28345
2024-01-09 14:56:36 +08:00
InfiniteYuan
993882d1d9 feat: ble mesh: improve ble mesh deinit when nimble enable 2024-01-09 14:16:31 +08:00
Marius Vikhammer
f762d81232 Merge branch 'bugfix/bootloader_o0' into 'master'
fix(bootloader): increased iram section length on C6/H2

Closes IDF-8933

See merge request espressif/esp-idf!28184
2024-01-09 14:15:16 +08:00
InfiniteYuan
59a9e8cc7b ble_mesh: update ble mesh ble adv type 2024-01-09 14:05:29 +08:00
laokaiyao
d0a8f3e5c4 feat(esp32c5): support esptool on esp32c5 beta3 2024-01-09 13:11:11 +08:00
laokaiyao
3d459e423a feat(esp32c5): support esp32c5 beta3 48M xtal 2024-01-09 13:11:11 +08:00
laokaiyao
96a4ead083 feat(esp32c5): support to run hello world on esp32c5 beta3 2024-01-09 13:11:11 +08:00
laokaiyao
11e19f40b9 feat(esp32c5): support to build hello world on esp32c5 beta3 2024-01-09 13:11:11 +08:00
Harshit Malpani
e0fdae294b Merge branch 'feat/update_cjson_v1_7_17' into 'master'
feat(cJSON): update submodule to v1.7.17

See merge request espressif/esp-idf!28330
2024-01-09 13:08:30 +08:00
Aditya Patwardhan
f468742d25 Merge branch 'fix/typo_in_key_mgr_hal_layer' into 'master'
fix(hal): Fix typo in hal layer for Key Manger

See merge request espressif/esp-idf!27832
2024-01-09 12:59:22 +08:00
laokaiyao
f254698166 feat(i2s): support to get total dma buffer size 2024-01-09 11:02:37 +08:00
morris
002467d0f6 fix(dw_gdma): free the interrupt handle when deleting the channel 2024-01-09 10:20:24 +08:00
morris
467dce2ffc change(dw_gdma): add a case to test memset from psram to sram 2024-01-09 10:20:24 +08:00
morris
28db901d77 fix(mcp): align the descriptor to cache line size for DMA memory copy 2024-01-09 10:12:36 +08:00
Marius Vikhammer
a04847f77e Merge branch 'bugfix/efuse_rom_control' into 'master'
fix(startup): fixed failing to boot if rom log ctrl efuse was burned

Closes IDFGH-11799

See merge request espressif/esp-idf!28221
2024-01-09 09:47:47 +08:00
Rahul Tank
2b0bcbc545 fix(nimble): Remove unwanted task lock check when HS_DEBUG is enabled 2024-01-08 19:34:17 +05:30
Rahul Tank
b3f7e2c8a4 Merge branch 'bugfix/reattempt_conn_feat_extended' into 'master'
fix(nimble): Support for reattempt connection in ext connect

See merge request espressif/esp-idf!28222
2024-01-08 20:07:08 +08:00
Island
ee7794c395 Merge branch 'bugfix/increase_btu_task_stack_size_master' into 'master'
fix(bt/bludroid): Increase BTU task stack size

Closes BT-3571

See merge request espressif/esp-idf!28319
2024-01-08 19:47:05 +08:00
C.S.M
09f0f7ec6c Merge branch 'fix/flash_print' into 'master'
fix(spi_flash): Remove the useless print

See merge request espressif/esp-idf!28331
2024-01-08 19:36:02 +08:00
Marius Vikhammer
c8d644dea0 Merge branch 'feature/enable_system_tests_p4' into 'master'
test(system): enable esp_system tests for P4

Closes IDF-8978

See merge request espressif/esp-idf!28317
2024-01-08 16:33:43 +08:00
Martin Vychodil
81c235c31a Merge branch 'fix/fatfs_sdmmc_triming' into 'master'
fix(storage/fatfs): check whether sdcard supports trimming

Closes IDFGH-11818

See merge request espressif/esp-idf!28300
2024-01-08 16:29:26 +08:00
Sudeep Mohanty
5a5869a4a6 Merge branch 'feature/freertos_optimize_xtaskincrementtickothercores' into 'master'
feat(freertos): Optimized xTaskIncrementTickOtherCores()

Closes IDF-7905

See merge request espressif/esp-idf!28232
2024-01-08 16:07:49 +08:00
Armando (Dou Yiwen)
7f8d0256c2 Merge branch 'change/ldo_id_start_from_1' into 'master'
ldo: make ldo driver unit_id start from 1 (same as datasheet)

See merge request espressif/esp-idf!28318
2024-01-08 16:06:31 +08:00
Sudeep Mohanty
f81de4373a Merge branch 'bugfix/freertos_restore_correct_int_level_for_clic' into 'master'
fix(freertos): Fixed incorrect int level restoration on esp32p4

See merge request espressif/esp-idf!28257
2024-01-08 16:04:47 +08:00
Cao Sen Miao
cbcbecaa06 fix(spi_flash): Remove the useless print 2024-01-08 15:46:09 +08:00
Harshit Malpani
43235e57f9
feat(cjson): update submodule to v1.7.17
Changelog: https://github.com/DaveGamble/cJSON/releases/tag/v1.7.17
2024-01-08 13:14:13 +05:30
Shu Chen
2649097441 Merge branch 'feat/add_sbom_manifest_file_for_ot' into 'master'
feat(openthread): add sbom manifest file

Closes IDF-8307

See merge request espressif/esp-idf!27801
2024-01-08 15:42:05 +08:00
Lou Tian Hao
d8dfdd9c6f Merge branch 'feature/support_test_io_wakeup' into 'master'
feat(pm): add test_io_wakeup

Closes PM-66

See merge request espressif/esp-idf!27460
2024-01-08 15:37:03 +08:00
C.S.M
43c87716c9 Merge branch 'feat/flash_p4' into 'master'
ci(spi_flash): Enable spi_flash related tests on esp32p4

Closes IDF-7499 and IDF-8984

See merge request espressif/esp-idf!28099
2024-01-08 14:28:09 +08:00
Aditya Patwardhan
1220c36f96 Merge branch 'fix/build_failure_when_hardware_gcm_is_disabled' into 'master'
fix(mbedtls/gcm): Fix build failure when config `MBEDTLS_HARDWARE_GCM` is disabled

See merge request espressif/esp-idf!28149
2024-01-08 13:35:04 +08:00
Aditya Patwardhan
c0ea892aa5
fix(hal): Fix typo in hal layer for Key Manger
This also fixes type in attribute added in esp_attr
2024-01-08 10:32:41 +05:30
morris
36d6ee9e61 Merge branch 'bugfix/rmt_p4_test' into 'master'
fix(rmt): DMA descriptor alignment respect the cache line size

Closes IDF-8961

See merge request espressif/esp-idf!28296
2024-01-08 12:43:58 +08:00
Jiang Jiang Jian
daa729eae4 Merge branch 'bugfix/fix_no_sleep_null_data_after_data_sent' into 'master'
fix(pm): fix no sleep null after data sent (33290e79)

Closes WIFIBUG-339

See merge request espressif/esp-idf!28295
2024-01-08 12:08:26 +08:00
C.S.M
53fff31426 Merge branch 'bugfix/tsens_adc_conflict' into 'master'
fix(tsens,adc): Fix issue that disable adc will make temperature sensor crash

Closes IDFGH-11828

See merge request espressif/esp-idf!28260
2024-01-08 11:58:48 +08:00
Mahavir Jain
7c004fd7f8 Merge branch 'bugfix/fix_dynamic_mbedtls_crash' into 'master'
mbedtls: Fix enable dynamic mbedtls will occur heap corruption when server support TLS renegotiation

Closes IDF-8529

See merge request espressif/esp-idf!28086
2024-01-08 11:39:39 +08:00
Mahavir Jain
dd49da5f4f Merge branch 'bugfix/fix_http_client_error' into 'master'
esp_http_client: Fix reset errno to 0 before call esp_transport_read

Closes IDFGH-7444

See merge request espressif/esp-idf!26539
2024-01-08 11:36:52 +08:00
linruihao
4fbfc98132 fix(bt/bludroid): Increase BTU task stack size 2024-01-08 11:34:10 +08:00
Mahavir Jain
c0bd52898f Merge branch 'contrib/github_pr_12915' into 'master'
docs: Correct coap IPV6 support requirement comments (GitHub PR)

Closes IDFGH-11821

See merge request espressif/esp-idf!28297
2024-01-08 11:29:59 +08:00
Lou Tianhao
e28606aed2 feat(pm): add test_io_wakeup 2024-01-08 11:12:25 +08:00
Armando
1adea4ab66 change(ldo): make ldo driver unit_id same as datasheet
Prior to this commit, we expect passing ldo_unit_t to esp_ldo driver
`ldo_unit` field. And ldo_unit_t will alias the LDO unit to values
starting from 0, e.g. LDO_UNIT_1 is actually value 0.

With this commit, esp_ldo driver `ldo_unit` field will start with 1,
which is aligned with the datasheet. So LDO_UNIT_1 is in value 1,
meanwhile setting 1 to `ldo_unit` will work as well.
2024-01-08 10:52:11 +08:00
Lou Tian Hao
b74cc4637b Merge branch 'feature/support_hw_trigger_regdma_when_pu_top' into 'master'
fix(pm):  trigger regdma retention by PMU when TOP is not power down on esp32H2

Closes PM-47 and PM-65

See merge request espressif/esp-idf!28046
2024-01-08 10:44:06 +08:00
morris
d97a46160d fix(rmt): DMA descriptor alignment respect the cache line size 2024-01-08 10:31:32 +08:00
Cao Sen Miao
2e83fa1c69 refactor(spi_flash): Use new spi_flash register sturct and deperecate the old one 2024-01-08 09:59:22 +08:00
Cao Sen Miao
8325b507e0 test(spi_flash): Enable spi_flash related test on esp32p4 2024-01-08 09:59:12 +08:00
Cao Sen Miao
3dc76e9360 refactor(usb_serial_jtag): make usb_serial_jtag as component 2024-01-05 19:42:04 +08:00
Wan Lei
32e2101c0d Merge branch 'fix/twai_add_std_runner' into 'master'
fix(twai): Add std runner using USB-CAN adapter

See merge request espressif/esp-idf!27095
2024-01-05 19:36:31 +08:00
xiaqilin
3b2cbe4363 fix(sleep): fix the issue of asymmetry in suspend/resume cache when skipping sleep. 2024-01-05 19:18:43 +08:00
Sudeep Mohanty
d4ca7c246e fix(freertos): Fixed incorrect int level restoration on esp32p4
This commit fixes a bug where in the portENABLE_INTERRUPTS() macro
incorrectly restored the interrupt level to 1 (non-CLIC controller).
2024-01-05 11:00:56 +01:00
Tomáš Rohlínek
1297a0628a
fix(storage/fatfs): check whether sdcard supports triming
Closes https://github.com/espressif/esp-idf/issues/12912
2024-01-05 10:31:56 +01:00
xiaqilin
e571a37a3c fix(esp_phy): fix esp32h2 sleep wakeup issue 2024-01-05 16:26:52 +08:00
Lou Tianhao
aed3127d19 feat(pm): support PMU trigger regdma when PU TOP 2024-01-05 16:17:32 +08:00
Sudeep Mohanty
6e074c02e0 feat(freertos): Optimized xTaskIncrementTickOtherCores()
This commit optimizes the xTaskIncrementTickOtherCores() function by
avoiding unnecessary context switches.
2024-01-05 08:43:03 +01:00
wanlei
8536ffb490 fix(twai): enable twai interactive test for all targets on new std runner 2024-01-05 15:22:09 +08:00
Marius Vikhammer
e7f7078ee8 test(system): enable esp_system tests for P4 2024-01-05 15:17:34 +08:00
Jon Shallow
35f553f84d
docs: Correct coap IPV6 support requirement comments
coap (libcoap) can now be built with or without IPV6.
2024-01-05 12:35:41 +05:30
Zhang Hai Peng
0b8e6c66c4 Merge branch 'bugfix/ble_check_adv_data' into 'master'
fix(bt/bluedroid): Fix ble adv data check to avoid memory overflow

See merge request espressif/esp-idf!28245
2024-01-05 14:17:42 +08:00
liuning
d962bc560b fix(pm): fix no sleep null after data sent (33290e79) 2024-01-05 14:12:21 +08:00
Cao Sen Miao
b84434b39d fix(tsens,adc): Fix issue that disable adc will make temperature sensor crash,
Closes https://github.com/espressif/esp-idf/issues/12921
2024-01-05 12:10:30 +08:00
Armando (Dou Yiwen)
dbe1df8cde Merge branch 'feature/esp32p4_sdmmc_on_real_chip' into 'master'
sdmmc: p4 sdmmc on real chip (relies ldo on real chip)

Closes IDF-6502

See merge request espressif/esp-idf!27762
2024-01-05 11:43:30 +08:00
Armando (Dou Yiwen)
f8674e6610 Merge branch 'bugfix/fix_wrong_dcache_0_size_issue_on_s2' into 'master'
cache: fix wrong dcache size 0 configuration issue on s2

Closes IDFGH-11592

See merge request espressif/esp-idf!28264
2024-01-05 10:33:50 +08:00
Armando
a9a36512a8 bugfix(dma): fixed wrong esp_dma_is_buffer_aligned result for psram on s3 2024-01-05 09:56:08 +08:00
Jin Cheng
057eb7061d feat(bt/bluedroid): Added an event to notify the encryption mode to applicaiton layer 2024-01-05 09:40:38 +08:00
Michael (XIAO Xufeng)
cc83c1e371 Merge branch 'bugfix/recalib_bbpll_before_tuning' into 'master'
fix(bbpll): fix bbpll may not lock or not stable bug for stop early (ESP32C2/S3/C6/H2)

See merge request espressif/esp-idf!27294
2024-01-05 03:21:22 +08:00
Kevin (Lao Kaiyao)
91c44ad88a Merge branch 'refactor/group_h264_struct_header_on_p4' into 'master'
refactor(h264): group the h264 struct header on p4

See merge request espressif/esp-idf!28252
2024-01-05 00:14:06 +08:00
Peter Marcisovsky
5524b692ee Merge branch 'feat/usb_host_set_device_config' into 'master'
USB Host: Add enumeration callback filter

Closes IDFGH-11534

See merge request espressif/esp-idf!27370
2024-01-05 00:11:31 +08:00
Peter Marcisovsky
24adb6ed3c feat(us/host): set device cfg during enumeration
- user callback funciton to set device configuration
      as a part of usb_host_install
    - callback provides device descriptor of a device being enumerated
    - user can set which cfg descriptor the USB device will be set with
    - user can filter device enumeration
    - Kconfig menu to enable callback function
    - usb_host_lib example demonstration
2024-01-04 16:09:13 +01:00
Rahul Tank
25d9e6735c fix(nimble): Support for reattempt connection in ext connect 2024-01-04 18:19:21 +05:30
Fu Hanxi
d76334d83a Merge branch 'test/fix_lp_core_config_mismatch_issue' into 'master'
test: fix lp_core config file name mismatch issue

See merge request espressif/esp-idf!28217
2024-01-04 20:22:13 +08:00
linruihao
cfbd316b77 fix(ble): fixed interrupt timeout in MAC_BB_PD callback 2024-01-04 19:18:58 +08:00
Kevin (Lao Kaiyao)
22f2ecc400 Merge branch 'refactor/esp_driver_parlio' into 'master'
refactor(parlio): make parlio driver as component

Closes IDF-8383

See merge request espressif/esp-idf!28203
2024-01-04 18:32:13 +08:00
Jiang Jiang Jian
0a1f378675 Merge branch 'fix/esp32h2_rssi_positive_issue' into 'master'
fix(ieee802154): fix the issue of not receiving packets when RSSI is positive in esp32h2

See merge request espressif/esp-idf!28038
2024-01-04 15:35:46 +08:00
Armando
2a5343b2e0 change(ldo): added ldo_types.h 2024-01-04 15:34:59 +08:00
Armando
847d525d78 feat(sdmmc): use ldo as power supply on esp32p4 2024-01-04 15:34:59 +08:00
harshal.patil
8ac4d9ab99
fix(mbedtls/gcm): Avoid using GCM hardware when config MBEDTLS_HARDWARE_GCM is disabled 2024-01-04 12:20:11 +05:30
harshal.patil
c1ed825d3e
fix(mbedtls/gcm): Fix build failure when config MBEDTLS_HARDWARE_GCM is disabled 2024-01-04 12:20:10 +05:30
Island
e8ff5511f2 Merge branch 'feat/config_ble_max_bond_dev_count' into 'master'
feat(bt/bluedroid): Make the max number of bond device to be configurable

Closes BLERP-375

See merge request espressif/esp-idf!27990
2024-01-04 14:43:35 +08:00
laokaiyao
baccc61482 refactor(parlio): make parlio driver as component 2024-01-04 14:12:42 +08:00
Jiang Jiang Jian
83241cab72 Merge branch 'bugfix/change_default_value_for_ip_ttl' into 'master'
Fix(lwip):bugfix for change default value for ip ttl

Closes AUD-5018

See merge request espressif/esp-idf!28139
2024-01-04 14:03:17 +08:00
zhanghaipeng
c66fc143fa fix(bt/bluedroid): Fix ble adv data check to avoid memory overflow 2024-01-04 13:21:42 +08:00
Mahavir Jain
5b5dcaa01d Merge branch 'bugfix/update_jtag_disabling_api' into 'master'
fix(esp_hw_support): fix API esp_hmac_disable_jtag() to disable JTAG

See merge request espressif/esp-idf!27888
2024-01-04 13:05:34 +08:00
Armando
d9661e15e2 fix(cache): fix wrong dcache size 0 configuration issue on s2
Closes https://github.com/espressif/esp-idf/issues/12711
2024-01-04 12:06:09 +08:00
Armando (Dou Yiwen)
2ff22c2bad Merge branch 'feat/esp32p4_enable_target_test' into 'master'
ci: enable esp32p4 target test

Closes IDF-7522 and IDF-7521

See merge request espressif/esp-idf!28001
2024-01-04 11:23:24 +08:00
Marius Vikhammer
c05b6533ce change(ulp): added test for ulp adc init/deinit 2024-01-04 10:55:25 +08:00
Marius Vikhammer
4d48b63172 Merge branch 'ci/enable_misc_system_tests' into 'master'
change(system): enabled pthread, ringbuf and event tests

Closes IDF-8064, IDF-8115, IDF-8106, and IDF-6423

See merge request espressif/esp-idf!28023
2024-01-04 10:06:54 +08:00
Armando
3c5a4f9e8a ci(p4): added todo jira for disabled tests on p4 2024-01-04 09:36:38 +08:00
Armando
907b876354 ci(p4): temporarily disable failed ci tests on p4 2024-01-04 09:36:06 +08:00
Armando
4686456872 change(spi): temp disable spi related tests on p4 2024-01-04 09:34:55 +08:00
Armando
1ab742b3c3 ci(p4): enable esp32p4 target test 2024-01-04 09:34:55 +08:00
Martin Vychodil
20f80a2d05 Merge branch 'feature/nvs_flash_add_test_apps_dependecies' into 'master'
feat(storage): add dependencies to storage related test apps

Closes IDF-8398, IDF-8397, and IDF-8835

See merge request espressif/esp-idf!27439
2024-01-04 03:29:05 +08:00
Xiao Xufeng
c204f418ef fix(rtc): fixed bbpll not calibrated from bootloader issue 2024-01-04 03:23:20 +08:00
chaijie@espressif.com
8775b99d93 fix(bbpll): fix bbpll calibration may stop early bug(ESP32C2/S3/C6/H2) 2024-01-04 03:23:20 +08:00
laokaiyao
1d3c8c5481 refactor(h264): group the h264 struct header on p4 2024-01-03 23:57:11 +08:00
Xu Si Yu
bae3c28406 Merge branch 'feature/add_ieee802154_examples' into 'master'
feat(ieee802154): Add ieee802154 examples

See merge request espressif/esp-idf!26423
2024-01-03 22:51:25 +08:00
Rahul Tank
0c007e10a5 Merge branch 'bugfix/enable_addr_resol_across_reboot' into 'master'
fix(nimble): Enable address resolution across reboot

Closes BCI-374

See merge request espressif/esp-idf!28165
2024-01-03 20:02:30 +08:00
Erhan Kurubas
c3916927c9 feat(esp-coredump): add esp32p4 chip support and doc update 2024-01-03 12:05:34 +01:00
Xu Si Yu
13fa6c7af2 feat(ieee802154): Add ieee802154 CLI example 2024-01-03 19:05:16 +08:00
morris
a532a648b1 Merge branch 'contrib/github_pr_12908' into 'master'
spi_lcd: add flag to control the DC level in cmd/param/data phase separately (GitHub PR)

Closes IDFGH-11813 and IDFGH-9249

See merge request espressif/esp-idf!28208
2024-01-03 17:21:57 +08:00
nilesh.kale
61af00289b fix(esp_hw_support): fix API esp_hmac_disable_jtag() to disable JTAG
After ets_hmac_disable(), invalidating JTAG register process is ineffective.
So, added call to enable hmac begore invalidating JTAG REG.
And similarly disabled it after invalidation.
2024-01-03 16:54:11 +08:00
Marius Vikhammer
53682edd6d fix(startup): fixed failing to boot if rom log ctrl efuse was burned
Closes https://github.com/espressif/esp-idf/issues/12894
2024-01-03 16:03:58 +08:00
Abhik Roy
0c99a58ff6 Merge branch 'lwip/acceptmbox_config' into 'master'
change(lwip): Added macro to configure TCP accept mailbox size

See merge request espressif/esp-idf!27276
2024-01-03 15:55:12 +08:00
Kit Sczudlo
c9c7cfcfc7 feat(spi_lcd): control DC level for cmd, param, color phase separately
Closes https://github.com/espressif/esp-idf/issues/10635
Merges https://github.com/espressif/esp-idf/pull/12908
2024-01-03 14:41:07 +08:00
zwl
370f4defb8 fix(ble): fixed rssi inaccuracy issue on ESP32-H2 2024-01-03 14:39:31 +08:00
xiaqilin
adda93b117 fix(ieee802154): fix the issue of not receiving packets when RSSI is positive in esp32h2 2024-01-03 14:39:31 +08:00
Rahul Tank
65a0627f0c fix(nimble): Enable address resolution across reboot 2024-01-03 14:35:56 +08:00
Liu Linyan
3ae4203ce5 fix(ble_mesh): Fix CI compile failure 2024-01-03 10:56:10 +08:00
Island
4f49d8d7fa Merge branch 'feat/ble_mesh_miscellaneous_update' into 'master'
Feat/ble mesh miscellaneous update

Closes BLERP-308, BLERP-346, and BLERP-390

See merge request espressif/esp-idf!27936
2024-01-03 10:44:45 +08:00
Darian
0c3fdc4b3e Merge branch 'feature/usb_dwc_add_p4_soc_hal' into 'master'
USB Host: Add USB Host struct, config, and linker entries for P4 (1)

See merge request espressif/esp-idf!27931
2024-01-03 00:38:35 +08:00
Tomáš Rohlínek
092f5aff29
feat(storage): Update build test rules for storage related components 2024-01-02 13:10:59 +01:00
Darian
bc503f987f Merge branch 'refactor/usb_host_build_dependency_options' into 'master'
USB Host: Remove CONFIG_USB_OTG_SUPPORTED, build dependencies use SOC_USB_OTG_SUPPORTED instead

See merge request espressif/esp-idf!28097
2024-01-02 17:03:29 +08:00
Jiang Jiang Jian
ada597103b Merge branch 'bugfix/wpa_ap_incompat_with_pmf_req' into 'master'
Report authmode incompatible WPA AP scanned and we require PMF

Closes WIFIBUG-358

See merge request espressif/esp-idf!28205
2024-01-02 16:39:51 +08:00
Fu Hanxi
d1f5497f43
test: fix lp_core config file name mismatch issue 2024-01-02 09:36:01 +01:00
Jiang Jiang Jian
7537c4fcea Merge branch 'bigfix/BLEQABR23-503' into 'master'
fix(ble_mesh): reject node-reseting when provision link is active

See merge request espressif/esp-idf!25848
2024-01-02 15:37:42 +08:00
Wu Meng Shi
2f78a065bd fix(ble_mesh): reject node-reseting when provision link is active 2024-01-02 15:37:41 +08:00
laokaiyao
a48f4760d2 feat(esp32c5): add system related supports 2024-01-02 11:17:11 +08:00
xueyunfei
f6575f7e3a Fix(lwip):bugfix for change default value for ip ttl 2024-01-02 11:00:41 +08:00
Darian Leung
2bb30e6493 refactor(usb): Deprecate CONFIG_USB_OTG_SUPPORTED, use SOC_USB_OTG_SUPPORTED instead
Previously, USB build dependencies used the CONFIG_USB_OTG_SUPPORTED. However,
they could depend on `soc_caps.h` instead.
2024-01-01 21:37:34 +08:00
Darian Leung
f671a6fbda feat(usb): Add USB peripheral addresses for P4 2024-01-01 21:34:02 +08:00
Roman Leonov
cdc0e78057 feat(soc/usb): Add ESP32-P4 USB OTG struct 2024-01-01 21:34:02 +08:00
jgujarathi
b35ab4e1df fix(esp_wifi): Report authmode incompatible WPA AP scanned and we require PMF
- Report the authmode incompatible if the scanned AP is in WPA mode and we require PMF
  according to sta config
2024-01-01 07:42:03 +05:30
Wan Lei
bbe91fadbd Merge branch 'feature/esp_driver_ledc' into 'master'
feat(ledc): make esp_driver_ledc as component

See merge request espressif/esp-idf!28163
2023-12-29 21:15:55 +08:00
Shu Chen
93d68c2e06 Merge branch 'bugfix/fix_ot_br_pcb_ttl' into 'master'
fix(openthread): update lib to set raw pcb ttl value

See merge request espressif/esp-idf!28190
2023-12-29 19:27:17 +08:00
Kevin (Lao Kaiyao)
83d5797967 Merge branch 'feature/parlio_rx_driver' into 'master'
driver: add parallel IO RX driver

Closes IDF-7002 and IDF-6984

See merge request espressif/esp-idf!23488
2023-12-29 16:36:24 +08:00
Jin Cheng
6ee9b95960 feat(bt/bluedroid): Added report for the type of link key in ESP_BT_GAP_AUTH_CMPL_EVT 2023-12-29 16:22:04 +08:00
Xu Si Yu
8c5c612865 fix(openthread): update lib to set raw pcb ttl value 2023-12-29 15:25:40 +08:00
Song Ruo Jing
1dfa4011f0 Merge branch 'feature/esp32p4_clock_support' into 'master'
feat(clk): add basic clock support for esp32p4

Closes IDF-7526 and IDF-7569

See merge request espressif/esp-idf!27950
2023-12-29 12:34:12 +08:00
Darian
1da17fce18 Merge branch 'refactor/rename_hal_usb_phy_to_fsls' into 'master'
USB HAL: Change name of usb_phy HAL files to usb_fsls_phy

See merge request espressif/esp-idf!28158
2023-12-29 11:42:11 +08:00
Marius Vikhammer
b958ac700f fix(bootloader): increased iram section length on C6/H2
Bootloader would fail to link if compiled with -O0
2023-12-29 11:36:57 +08:00
wanlei
82f26471f0 feat(ledc): make esp_driver_ledc as component 2023-12-29 11:28:19 +08:00
Jiang Jiang Jian
16ae218dfb Merge branch 'bugfix/fix_ble_app_unregister_no_event' into 'master'
fix(bt/bluedroid): Fix ble app unregister no event

Closes BLERP-402

See merge request espressif/esp-idf!28166
2023-12-29 11:08:08 +08:00
muhaidong
0b3c9aa54c fix(wifi): fix beacon was unexpectedly freed issue 2023-12-29 01:53:22 +08:00
Song Ruo Jing
7f2b85b82b feat(clk): add basic clock support for esp32p4
- Support CPU frequency 360MHz
- Support SOC ROOT clock source switch
- Support LP SLOW clock source switch
- Support clock calibration
2023-12-29 00:37:26 +08:00
Song Ruo Jing
80c5cf27e8 change(soc): correct esp32p4 regi2c related registers 2023-12-29 00:37:26 +08:00
Jiang Jiang Jian
5d8fb281e7 Merge branch 'bugfix/additional_authmode_incompatible' into 'master'
Cover additional situations for reporting new reason codes

Closes WIFIBUG-278

See merge request espressif/esp-idf!28156
2023-12-29 00:02:13 +08:00
wanlei
2baee4fb0f refactor(spi_master): replace dma_ll in spi hal layer (part 2.1) 2023-12-28 19:58:54 +08:00
Kevin (Lao Kaiyao)
3db8116260 Merge branch 'change/update_esp32c5beta3_soc_hal_files' into 'master'
change(esp32c5): update soc files for esp32c5 beta3 (stage 4, part 2)

See merge request espressif/esp-idf!28108
2023-12-28 19:26:42 +08:00
jgujarathi
4b4095e47d fix(esp_wifi): Cover additional situations for reporting new reason codes
- WIFI_REASON_NO_AP_FOUND_W_COMPATIBLE_SECURITY will be reported for the following
  reasons
  -- AP has PMF required but station is not configured for pmf capable/required.
  -- Station has PMF required but AP is not configured for pmf capable/required.
  -- The AP is using unsupported group management/pairwise ciphers
  -- OWE not enabled by station for found OWE AP
  -- AP RSNXE parsing failed in supplicant
  -- AP is in Independent BSS mode
2023-12-28 15:40:54 +05:30
Rahul Tank
41f862d351 Merge branch 'bugfix/fix_gatts_stop_race_condition' into 'master'
fix(nimble): Handled race condition for conn variables being set to NULL

Closes BLERP-368

See merge request espressif/esp-idf!28026
2023-12-28 17:39:32 +08:00
zhanghaipeng
a2425ac3e7 fix(bt/bluedroid): Fix ble app unregister no event 2023-12-28 17:30:57 +08:00
Shu Chen
d064a49092 feat(openthread): add sbom manifest file 2023-12-28 16:47:35 +08:00
Shu Chen
eb42024b7d Merge branch 'feature/add_dynamic_iram_check_for_ot_sleep' into 'master'
feat(openthread): add dynamic iram check for ot sleepy example

See merge request espressif/esp-idf!28047
2023-12-28 11:53:15 +08:00
Darian Leung
d74b4f6730 refactor(hal/usb): Rename usb_fsls_phy API to match header/source names
Note: Also fixed some formatting issues in usb_wrap_struct.h
2023-12-28 11:48:54 +08:00
Darian Leung
b26472af29 refactor(hal/usb): Rename usb_phy files to usb_fsls_phy
This commit renames USB PHY related HAL files from "usb_phy_xxx" to
"usb_fsls_phy_xxx" since they are only designed to support Full-Speed/Low-Speed
Serial USB PHYs. This renmaing is done to accommodate future USB PHYs that use
other PHY interfaces (e.g., UTMI, ULPI etc).
2023-12-28 11:48:34 +08:00
laokaiyao
db7e90fef9 feat(parlio_rx): add parlio rx examples 2023-12-28 11:05:26 +08:00
laokaiyao
fcc9293f66 change(esp32c5): update soc files for esp32c5 beta3 2023-12-28 10:23:15 +08:00
laokaiyao
ce9110dbf0 feat(parlio_rx): add test for parlio rx driver 2023-12-27 19:32:12 +08:00
laokaiyao
04d267b023 feat(parlio_rx): implement parallel io rx driver 2023-12-27 19:32:12 +08:00
morris
188864bcbd feat(parlio_rx): add parallel IO RX driver 2023-12-27 19:32:11 +08:00
Shu Chen
f3039dde71 Merge branch 'fix/ot_frame_pointer_unstable' into 'master'
feat(802.15.4): introduce the feature of received done handler

See merge request espressif/esp-idf!27387
2023-12-27 16:56:58 +08:00
Jiang Jiang Jian
712e1b75d1 Merge branch 'bugfix/nan_crash_sched_bcn' into 'master'
Fix crash while stopping NAN

Closes WIFIBUG-330

See merge request espressif/esp-idf!28123
2023-12-27 16:30:16 +08:00
zwx
82478c87b7 fix(ieee802154): introduce a receive done handler feature 2023-12-27 14:33:16 +08:00
zwx
8cae0ed755 fix(pm): fix extra retention function to iram
* Also remove unused function on H2
2023-12-27 14:24:53 +08:00
C.S.M
39882c30ae Merge branch 'bugfix/tsens_dis_ena' into 'master'
fix(temperature_sensor): Fix the value is incorrect if disable and enable again

Closes IDFGH-11766

See merge request espressif/esp-idf!28106
2023-12-27 12:38:05 +08:00
Kevin (Lao Kaiyao)
405006450b Merge branch 'bugfix/fix_i2s_cache_sych_alignment_on_p4' into 'master'
fix(i2s): fix cache sync alignment on p4

See merge request espressif/esp-idf!28138
2023-12-27 11:52:09 +08:00
Wang Meng Yang
4c8f6c5458 Merge branch 'feat/add_get_device_name_api' into 'master'
feat(bt/bluedroid): Added API to get local device name

Closes BT-3526

See merge request espressif/esp-idf!27667
2023-12-27 10:37:33 +08:00
Shyamal Khachane
47fc60db75 fix(esp_wifi): Fix crash while stopping NAN
Also fix inconsistent NAN macro values
2023-12-27 10:24:06 +08:00
Cao Sen Miao
3764b5ec0a fix(temperature_sensor): Fix the value is incorrect if disable and enable again
Closes https://github.com/espressif/esp-idf/issues/12864
2023-12-27 10:13:12 +08:00
C.S.M
eef9c4053c Merge branch 'feat/temperature_p4' into 'master'
feat(temperature_sensor): Add temperature sensor support on esp32p4

Closes IDF-7482 and IDF-7485

See merge request espressif/esp-idf!28075
2023-12-27 09:48:44 +08:00
laokaiyao
9daffacba6 fix(i2s): fix cache sync alignment on p4 2023-12-26 22:09:03 +08:00
Armando (Dou Yiwen)
22b9bc2708 Merge branch 'change/do_mpll_ldo_earlier' into 'master'
mpll: do mpll ldo init earlier

See merge request espressif/esp-idf!28104
2023-12-26 20:59:35 +08:00
Cao Sen Miao
ccc3f13efa fix(tsens): temp commit hello dfdfd dfafsdf fdfsdfs 2023-12-26 16:50:38 +08:00
Cao Sen Miao
439bc719fe feat(temperature_sensor): Add temperature sensor support on esp32p4 2023-12-26 16:45:20 +08:00
Armando
58d222e66c change(mpll): use fast write as reg is 8bit 2023-12-26 11:43:33 +08:00
Armando
71202c701f change(ldo): do vddpst ldo init in early stage 2023-12-26 11:43:33 +08:00
Omar Chebib
227c5d2cb7 Merge branch 'bugfix/freertos_task_noaffinity_print' into 'master'
fix(freertos): display tasks with no affinity as -1 during tracing

Closes IDFGH-11759

See merge request espressif/esp-idf!28073
2023-12-26 10:11:31 +08:00
Jin Cheng
42f19d657a docs(bt/bluedroid): update API documents of SPP 2023-12-26 09:13:20 +08:00
Island
ee3a46dbc3 Merge branch 'bugfix/fixed_stop_periodic_adv_assert_issue_master' into 'master'
fixed(ble): fixed an assertion issue when stopping periodic adv on ESP32C6 and ESP32H2

Closes BLERP-377, BLERP-380, BLERP-381, and BLERP-369

See merge request espressif/esp-idf!28083
2023-12-25 18:31:16 +08:00
Kevin (Lao Kaiyao)
a0b29a5e4c Merge branch 'bugfix/fix_inverted_mclk_select_register' into 'master'
fix(i2s): fix no mclk output in i2s simplex mode on P4

See merge request espressif/esp-idf!28048
2023-12-25 12:44:00 +08:00
Mahavir Jain
341a8f2d65 Merge branch 'cleanup/atecc608a_example_migration' into 'master'
refactor: migrate atecc608a_ecdsa example to crypto authlib repository

Closes IDF-8541 and DOC-6672

See merge request espressif/esp-idf!27642
2023-12-22 20:09:05 +08:00
Jiang Jiang Jian
da4b3d5c80 Merge branch 'bugfix/fix_ble_phy_tx_ifs' into 'master'
fix(phy): Fix ble tx ifs time for ESP32

Closes IDFGH-11600, WIFI-6367, and WIFIBUG-219

See merge request espressif/esp-idf!28056
2023-12-22 19:44:50 +08:00
laokaiyao
3c9505ac64 fix(i2s): add rcc trick for some ll functions 2023-12-22 19:40:38 +08:00
Darian
244bffbc49 Merge branch 'refactor/usb_hal_ll_uses_ip_config' into 'master'
USB Host: Remove usage of old USB OTG IP config macros

See merge request espressif/esp-idf!28066
2023-12-22 19:22:53 +08:00
Island
011d8a309a Merge branch 'bugfix/fix_ble_prepare_write' into 'master'
Bugfix/fix ble prepare write

Closes BLERP-336

See merge request espressif/esp-idf!27831
2023-12-22 19:09:21 +08:00
jim
b0b6980421 mbedtls: Fix enable dynamic mbedtls will occur heap corruption when server support TLS renegotiation 2023-12-22 17:23:42 +08:00
laokaiyao
6b3a35eea4 fix(i2s): fix no mclk output in i2s simplex mode on P4 2023-12-22 16:14:13 +08:00
David Čermák
9614300f81 Merge branch 'lwip/ip6_debug_fix' into 'master'
fix(lwip): Fixed debug format, added ci test config

See merge request espressif/esp-idf!27133
2023-12-22 15:28:52 +08:00
zwl
54c4fd935c fixed(ble): fixed an assertion issue when stopping periodic adv on ESP32C6 and ESP32H2 2023-12-22 15:21:36 +08:00
Island
083fe84db7 Merge branch 'bugfix/ble_update_lib_20231219' into 'master'
update lib on master

Closes BLERP-371, BLERP-364, BLERP-363, BLERP-361, BLERP-349, BLERP-360, BLERP-350, BLERP-351, BLERP-352, BLERP-353, BLERP-354, BLERP-356, BLERP-357, BLERP-358, BLERP-359, BLERP-366, BLERP-376, and BLERP-378

See merge request espressif/esp-idf!27997
2023-12-22 14:57:15 +08:00
Mahavir Jain
c3f7a2f50d Merge branch 'contrib/github_pr_12813' into 'master'
fix(esp32): Fixed declaration issue (GitHub PR)

Closes IDFGH-11705 and IDFGH-11706

See merge request espressif/esp-idf!27969
2023-12-22 14:43:58 +08:00
Jiang Jiang Jian
dcd9891f82 Merge branch 'fix/btc_config_lock_error' into 'master'
fix(bt/bluedroid): fixed btc_config_lock error

Closes BT-3549

See merge request espressif/esp-idf!27933
2023-12-22 13:51:29 +08:00
Rahul Tank
6e066746b0 fix(nimble): Handled race condition for conn variables being set to NULL 2023-12-22 09:42:39 +05:30
Omar Chebib
1472343439 fix(freertos): display tasks with no affinity as -1 during tracing
Closes https://github.com/espressif/esp-idf/issues/12858
2023-12-22 12:11:30 +08:00
Rahul Tank
48ad3a50b6 Merge branch 'bugfix/periodic_adv_enh_fixes' into 'master'
fix(nimble): Added periodic_adv_enh soc_caps for c2, h2

Closes BLERP-318

See merge request espressif/esp-idf!27572
2023-12-22 12:08:46 +08:00
Wang Meng Yang
9393ccaf68 Merge branch 'bugfix/fix_establish_two_sco_fail' into 'master'
fix(bt/controller): Fixed establish two SCO connection failed

Closes BTQABR2023-146

See merge request espressif/esp-idf!27869
2023-12-22 11:52:42 +08:00
Mahavir Jain
e691c8b43b Merge branch 'bugfix/support_all_http_status_codes' into 'master'
fix(esp_http_server): Add support for sending custom HTTP status

Closes IDFGH-11235

See merge request espressif/esp-idf!27419
2023-12-22 11:47:19 +08:00
Mahavir Jain
01f50ee7f5
refactor: migrate atecc608a_ecdsa example to crypto authlib repository
- ESP32-WROOM-32SE has been discontinued and marked as NRND
- This change removes all references to ESP32-WROOM-32SE from IDF
- The example has been migrated to esp-cryptoauthlib repository and it
  can be used through the component manager
  (https://components.espressif.com/components/espressif/esp-cryptoauthlib)
2023-12-22 09:11:41 +05:30
zhanghaipeng
b02c669370 fix(phy): Fix ble tx ifs time for ESP32 2023-12-22 11:38:16 +08:00
jim
14a9e01931 esp_http_client: Fix reset errno to 0 before call esp_transport_read
Closes https://github.com/espressif/esp-idf/issues/9020
2023-12-22 10:54:40 +08:00
Armando (Dou Yiwen)
4ca2cd16d0 Merge branch 'feat/mpll_support_on_esp32p4' into 'master'
feat(mpll): supported mpll configure api

Closes IDF-8885

See merge request espressif/esp-idf!28009
2023-12-22 09:41:38 +08:00
Darian Leung
2ec0ee944d refactor(hal/usb): Remove usage of old USB OTG config macros 2023-12-21 21:52:46 +08:00
Guillaume Souchere
8f407949c6 docs(esp-event): Update description of esp_event_handler_instance_x
Add a note to esp_event_handler_instance_register_with and
esp_event_handler_instance_register to specify that calling those
functions with the instance parameter set to NULL is equivalent to
calling esp_event_handler_register_with and esp_event_handler_register.

Closes https://github.com/espressif/esp-idf/issues/12818
2023-12-21 13:35:42 +01:00
Guillaume Souchere
7f64b4203b Merge branch 'feat/heap-reset-heap-info' into 'master'
feat(heap): Allow tracking of minimum free size for a given time frame

Closes IDF-8782

See merge request espressif/esp-idf!27577
2023-12-21 19:22:40 +08:00
morris
b655a7aae4 Merge branch 'bugfix/dw_gdma_master_port_setting' into 'master'
fix(dw_gdma): wrong master port setting for destination

See merge request espressif/esp-idf!28045
2023-12-21 18:20:32 +08:00
Ivan Grokhotkov
7265febc31 Merge branch 'bugfix/macos_build_linux_target_misc' into 'master'
Misc fixes for IDF_TARGET=linux on macOS host

See merge request espressif/esp-idf!28015
2023-12-21 17:55:24 +08:00
xiongweichao
71442ef6de fix(bt/bluedroid): Fixed SPP connection failure
The connection failure is caused by the BTU and application layer status being out of sync.
2023-12-21 17:42:26 +08:00
Shu Chen
f0d10c8c81 Merge branch 'bugfix/fix_openthread_spi_slave_transaction' into 'master'
fix(openthread): fix openthread SPI tx timeout issue

See merge request espressif/esp-idf!27887
2023-12-21 16:53:29 +08:00
Armando
27b1e4dc87 feat(mpll): supported mpll configure ll api 2023-12-21 16:26:03 +08:00
Guillaume Souchere
bb9d5a8d51 feat(heap): Allow tracking of minimum free size for a given time frame
Implement a function to start tracking the minimum free size from the
moment the function is called.
Implement a function to stop tracking the minimum free size and restore
the minimum free size value calculated since startup.
Implement the tests related to this new feature.
2023-12-21 08:07:01 +01:00
morris
8863d0930e Merge branch 'bugfix/gdma_legacy_macro_back_again' into 'master'
fix(gdma): reserve the SOC_GDMA_PAIRS_PER_GROUP

Closes IDFGH-11688

See merge request espressif/esp-idf!27981
2023-12-21 14:52:58 +08:00
luoxu
39b1ee4c9a bugfix(ble_mesh): add duplicate scan config for esp32s3 2023-12-21 12:13:13 +08:00
Marius Vikhammer
8fe0f99368 change(system): enabled pthread, ringbuf and event tests 2023-12-21 11:09:42 +08:00
Gao Xu
243e3149f6 Merge branch 'bugfix/fix_adc_reset_issue_on_legacy' into 'master'
fix(adc): fix adc continuous get less results beacuse do not reset apb clk(legacy)

See merge request espressif/esp-idf!27772
2023-12-21 10:59:01 +08:00
zhanghaipeng
b693094ee8 fix(bt/bluedroid): Fix BLE prepare write 2023-12-21 10:53:38 +08:00
Jiang Jiang Jian
6720610c0f Merge branch 'bugfix/fix_ble_recorrect_enable_bug' into 'master'
fix(ble/controller): Fixed BLE recorrect enable bug and fixed BLE bb isr enable by default

Closes WIFIBUG-316

See merge request espressif/esp-idf!28006
2023-12-21 10:51:02 +08:00
morris
eeae70ddf3 fix(dw_gdma): wrong master port setting for destination 2023-12-21 10:41:27 +08:00
Marius Vikhammer
9f1d001849 Merge branch 'feat/cache_error_c6_h2' into 'master'
fix(panic): fixed cache error being reported as illegal instruction

Closes IDF-6398, IDF-5657, IDF-7015, and IDF-6733

See merge request espressif/esp-idf!27430
2023-12-21 10:32:06 +08:00
Marius Vikhammer
4f1570e904 Merge branch 'ci/fix_qemu_intr_tests' into 'master'
ci: fix flakey intr_dump tests in QEMU

Closes IDF-8899

See merge request espressif/esp-idf!27983
2023-12-21 10:25:06 +08:00
Mahavir Jain
d3afab15bd Merge branch 'update/update_certs_bundle' into 'master'
Update esp_crt_bundle certificates

See merge request espressif/esp-idf!27932
2023-12-20 20:36:23 +08:00
Harshit Malpani
ae71e1ddb9
fix(esp_http_server): Add support for custom HTTP status codes
Closes https://github.com/espressif/esp-idf/issues/12399
2023-12-20 16:59:38 +05:30
Guillaume Souchere
0d6b84c939 Merge branch 'fix/heap-trace-hash-map-remove' into 'master'
fix(heap): prevent double traversal of hashmap in map_find_and_remove

Closes IDFGH-11713

See merge request espressif/esp-idf!27985
2023-12-20 18:53:39 +08:00
schottj
7b10d02201
fix(app_update): fixed undeclared variable 'ret' in esp_ota_ops.c 2023-12-20 14:58:06 +05:30
Song Ruo Jing
d7b3bf0b69 Merge branch 'fix/esp32p4_gpio_pins' into 'master'
change(gpio): esp32p4 available pins are GPIO0 ~ GPIO54

Closes IDF-7735

See merge request espressif/esp-idf!28016
2023-12-20 16:39:21 +08:00
Abhik Roy
01797231f9 fix(lwip): Fixed debug format, added ci test config
* Update submodule: git log --oneline 542ba299..f5c43549

Detailed description of the changes:
  - lwip_debug: Fixed string format error in ip6 and napt (espressif/esp-lwip@f5c43549)
  - dns: fix init with only ipv4 enabled (espressif/esp-lwip@5aab73d7)
2023-12-20 18:52:16 +11:00
Shu Chen
d7b9a3b3da Merge branch 'fix/allow_bind_no_index_netif' into 'master'
fix(openthread): allow setting netif_idx of udp pcb to no_index

See merge request espressif/esp-idf!28010
2023-12-20 15:09:50 +08:00
Roshan Bangar
473f2bdd1e fix(nimble): Added periodic_adv_enh soc_caps for c2, h2 2023-12-20 12:20:11 +05:30
Rahul Tank
f4c74d8b74 Merge branch 'feat/add_csa_selection_vsc' into 'master'
feat(nimble): Add VSC support for setting chan select algo

Closes BLERP-342

See merge request espressif/esp-idf!27942
2023-12-20 14:04:20 +08:00
Laukik Hase
c93bce28ed Merge branch 'contrib/github_pr_12570' into 'master'
Add check prov mgr is stopped (GitHub PR)

Closes IDFGH-11433

See merge request espressif/esp-idf!28003
2023-12-20 14:02:06 +08:00
luoxu
63a7db457a feat(ble_mesh): Miscellaneous updates for mesh kconfig, relay related 2023-12-20 12:20:26 +08:00
Song Ruo Jing
f244dc693d Merge branch 'feature/esp32p4_regi2c_support' into 'master'
feat(regi2c): support regi2c for esp32p4

Closes IDF-8825

See merge request espressif/esp-idf!28011
2023-12-20 11:43:36 +08:00
Song Ruo Jing
20f6505aa6 change(gpio): esp32p4 available pins are GPIO0 ~ GPIO54 2023-12-20 11:23:32 +08:00
Marius Vikhammer
1606d60c07 Merge branch 'ci/enable_bootloader_sup_tests' into 'master'
change(bootloader-support): enable tests for P4 and QEMU

Closes QEMU-149 and IDF-8114

See merge request espressif/esp-idf!28018
2023-12-20 10:59:47 +08:00
morris
8ebddc207f Merge branch 'feature/mipi_dsi_hal_driver' into 'master'
feat(dsi): add mipi dsi hal+ll layer driver

See merge request espressif/esp-idf!27555
2023-12-20 10:17:12 +08:00
C.S.M
eb7f6e5725 Merge branch 'fix/ci_flash_counter' into 'master'
fix(spi_flash): Fix spi_flash counter test on CI

See merge request espressif/esp-idf!27965
2023-12-20 09:56:19 +08:00
Marius Vikhammer
5b36225162 change(bootloader): enable tests for P4 and QEMU 2023-12-20 09:27:18 +08:00
Ivan Grokhotkov
c90b6c18c9
fix(linux): define __assert_func for IDF_TARGET=linux on macOS 2023-12-19 23:01:00 +01:00
Ivan Grokhotkov
6f9038809a
fix(esp_netif): move endian.h to linux component, fix macOS build
Co-authored-by: Radek Tandler <radek.tandler@espressif.com>
2023-12-19 23:00:48 +01:00
Guillaume Souchere
eb3507a5a2 fix(heap): prevent double traversal of hashmap in map_find_and_remove
Remove the use of SLIST_REMOVE in map_find_and_remove to prevent the hashmap
list to be traversed twice in the function.

Closes https://github.com/espressif/esp-idf/issues/12820
2023-12-19 18:02:08 +01:00
Ivan Grokhotkov
7b8f69404f
feat(linux): provide getrandom implementation for macOS
This makes getrandom(2) usable when compiling with IDF_TARGET=linux
on a macOS host.
2023-12-19 15:11:32 +01:00
Ivan Grokhotkov
a596ca56a8
fix(mbedtls): fix -Wstrict-prototypes warning when compiling on Linux 2023-12-19 13:29:15 +01:00
Ivan Grokhotkov
8bf23e5372
fix(esp-tls): fix build for IDF_TARGET=linux on macOS 2023-12-19 13:28:59 +01:00
Ivan Grokhotkov
49f289f893
fix(esp_http_server): fix build for IDF_TARGET=linux on macOS 2023-12-19 13:28:59 +01:00
Fu Zhibo
4149148fa2 feat(regi2c): support regi2c for esp32p4 2023-12-19 19:22:51 +08:00
Xu Si Yu
edb0063953 fix(openthread): allow setting netif_idx of udp pcb to no_index 2023-12-19 18:43:51 +08:00
zhiweijian
8dc646a9b3 fix(ble/controller): Fixed BLE recorrect enable bug and fixed BLE bb isr enable by default 2023-12-19 17:27:30 +08:00
monoliths
55acf50c48
feat(wifi_prov): Add API for checking whether the provisioning state machine is idle 2023-12-19 14:09:14 +05:30
Espressif BOT
8f0f7f007c change(mbedtls/crt_bundle): Update esp_crt_bundle certificates 2023-12-19 14:40:56 +08:00
cjin
71901499b9 change(ble): added ble cca en and thresh option 2023-12-19 14:38:44 +08:00
luomanruo
0504b60b7a ble: support for selecting CSA#2 by menuconfig
ble(fix): fixed event receiving on host side without returning event buffer to pool
2023-12-19 14:38:22 +08:00
Guillaume Souchere
b2cc934b94 fix(heap): Fix the use of block owner macro
In heap_caps_get_info, update the use of block owner
macros to use MULTI_HEAP_BLOCK_OWNER_SIZE() instead of
MULTI_HEAP_ADD_BLOCK_OWNER_SIZE(0).
2023-12-19 07:10:37 +01:00
Jiang Jiang Jian
73de93d55e Merge branch 'bugfix/wait_tvsl_after_non_pd_top_lightsleep_for_esp32c6' into 'master'
fix(esp_hw_support/sleep): wait flash ready after non-pd_top lightsleep for esp32c6

Closes IDF-6930

See merge request espressif/esp-idf!27726
2023-12-19 14:01:45 +08:00
luomanruo
573e13c569 ble(update):
Update c2 lib to 7c6c9d53
Update h2 lib to 0ecb36f0
Update c6 lib to 0ecb36f0
2023-12-19 12:25:08 +08:00
morris
44e856703c feat(dsi): add mipi dsi hal+ll layer driver 2023-12-19 11:39:59 +08:00
chenjianhua
bc98ff414f feat(bt/bluedroid): Make the max number of bond device to be configurable 2023-12-19 11:38:01 +08:00
Mahavir Jain
e4aa5667f1 Merge branch 'feat/flash_enc_encrypt_app_image_of_size_image_length' into 'master'
feat(bootloader_support): Encrypt only the app image instead of the whole partition

Closes IDFGH-11439

See merge request espressif/esp-idf!27295
2023-12-19 11:36:56 +08:00
Lou Tian Hao
fedb3d9f9d Merge branch 'change/change_regdma_power_issue_macro' into 'master'
change(pm): change name SOC_PM_RETENTION_HAS_REGDMA_POWER_BUG

Closes PM-45

See merge request espressif/esp-idf!27934
2023-12-19 11:19:51 +08:00
Marius Vikhammer
0e2bd068be feat(console): added config option for console task affinity 2023-12-19 10:35:14 +08:00
Armando (Dou Yiwen)
8c9e29898f Merge branch 'bringup/psram_p4_real_chip' into 'master'
psram: p4 psram 20M on real chip

See merge request espressif/esp-idf!27710
2023-12-18 21:12:08 +08:00
Wu Zheng Hui
8d165aa767 Merge branch 'bugfix/clear_lp_sw_trigger_int_before_sleep' into 'master'
fix(ulp): add api to get lp_cpu wakeup cause and clear wakeup source at startup

Closes IDFGH-11526

See merge request espressif/esp-idf!27747
2023-12-18 20:20:02 +08:00
Rahul Tank
df796b3ed9 feat(nimble): Add VSC support for setting chan select algo 2023-12-18 17:46:52 +05:30
wuzhenghui
5351275c87
change(esp_hw_support/sleep): rename ESP_SLEEP_DEEP_SLEEP_WAKEUP_DELAY
1. Rename ESP_SLEEP_DEEP_SLEEP_WAKEUP_DELAY to ESP_SLEEP_WAIT_FLASH_READY_EXTRA_DELAY
2. Set ESP_SLEEP_WAIT_FLASH_READY_EXTRA_DELAY visible for all targets
2023-12-18 19:56:56 +08:00
harshal.patil
42943845e4
feat(bootloader_support): Encrypt only the app image instead of the whole partition
Currently, when flash encryption is enabled, the whole partition gets encrypted.
This can be optimised by encrypting only the app image instead of encrypting the whole partition.

Closes https://github.com/espressif/esp-idf/issues/12576
2023-12-18 17:10:17 +05:30
harshal.patil
cb169cb02f
fix(bootloader_support): Fix image_length calculation when secure boot v1 is enabled
Fixed the value of the image_length field of the image metadata populated by esp_image_verfiy()
to include the size of the signature sector when Secure Boot V1 is enabled.
2023-12-18 17:08:11 +05:30
Xu Si Yu
fdf5783951 Merge branch 'bugfix/154_coex_break_notify' into 'master'
fix(coex): 802.15.4 coex break notification

See merge request espressif/esp-idf!27458
2023-12-18 19:32:39 +08:00
Aditya Patwardhan
21e1a48a62 Merge branch 'bugfix/esp_srp_doc' into 'master'
fix(esp_srp): Use `@file` for file documentation and resolved few doc build warnings

Closes IDF-8737

See merge request espressif/esp-idf!27411
2023-12-18 19:31:05 +08:00
Song Ruo Jing
0e759c6deb Merge branch 'refactor/esp_driver_uart' into 'master'
refactor(uart): make uart driver as component

Closes IDF-8384

See merge request espressif/esp-idf!27333
2023-12-18 19:16:34 +08:00
Cao Sen Miao
e7dd6bbcdf fix(spi_flash): Fix spi_flash counter test on CI 2023-12-18 19:03:30 +08:00
Rahul Tank
84ccc37b92 Merge branch 'feature/hogp_example_support' into 'master'
feat(nimble): Added HID over Gatt Profile Support

Closes BT-3456, BT-3493, and BT-3480

See merge request espressif/esp-idf!25072
2023-12-18 19:01:11 +08:00
C.S.M
f61cc56e1e Merge branch 'feature/introduce_jpeg_hal' into 'master'
feature(jpeg): Introduce JPEG hal layer

See merge request espressif/esp-idf!27900
2023-12-18 18:45:53 +08:00
Darian
459422f75f Merge branch 'refactor/usb_dwc_soc_and_hal' into 'master'
USB Host: Fix and Refactor struct headers

See merge request espressif/esp-idf!27850
2023-12-18 18:12:40 +08:00
morris
b00f5dd340 fix(gdma): reserve the SOC_GDMA_PAIRS_PER_GROUP
Closes https://github.com/espressif/esp-idf/issues/12798
2023-12-18 17:02:10 +08:00
Shu Chen
ff89cf5018 Merge branch 'fix/join_mcast_group_using_null_netif' into 'master'
fix(openthread): add netif check when call udp api for ot

Closes TZ-484

See merge request espressif/esp-idf!27915
2023-12-18 15:56:14 +08:00
Shu Chen
45f95e3317 Merge branch 'bugfix/ieee802154_deinit' into 'master'
fix(ieee802154): fix ieee802154 deinit

See merge request espressif/esp-idf!27502
2023-12-18 15:26:42 +08:00
Armando
8e9d90f603 feature(esp_psram): p4 real chip 20M 2023-12-18 15:18:07 +08:00
Mahavir Jain
56241f00b8 Merge branch 'feat/support_sha_256_in_http_auth' into 'master'
feat(esp_http_client): SHA256 support in digest auth

Closes IDFGH-11217

See merge request espressif/esp-idf!26585
2023-12-18 15:08:40 +08:00
Cao Sen Miao
40e882afae feature(jpeg): Introduce JPEG hal layer 2023-12-18 12:03:17 +08:00
Jiang Jiang Jian
31ede5b09d Merge branch 'bugfix/update_phylib_to_20231212' into 'master'
fix(phy): Fix Bluetooth coexist bug on ESP32

Closes BT-3487 and BT-3538

See merge request espressif/esp-idf!27905
2023-12-18 11:35:08 +08:00
wuzhenghui
a967a207c9
feat(ulp): add api to get lp_cpu wakeup cause and clear wakeup source at startup
Closes https://github.com/espressif/esp-idf/issues/12651
2023-12-18 11:29:53 +08:00
linruihao
fa3474496d fix(bt/controller): Fixed establish two sco connections failed 2023-12-18 11:26:06 +08:00
Shu Chen
b5160123b8 Merge branch 'feature/add_154_report' into 'master'
feat(ieee802154): add tx/rx report for IEEE802.15.4 debug

Closes ZB-105

See merge request espressif/esp-idf!26424
2023-12-18 10:43:15 +08:00
Adam Múdry
c0ea99220a Merge branch 'fix/move_nvs_partition_generator_to_pypi_package' into 'master'
fix(tools): replace nvs_partition_gen.py with new esp-idf-nvs-partition-gen package

Closes IDF-8147 and IDF-1958

See merge request espressif/esp-idf!26758
2023-12-18 09:13:38 +08:00
Darian Leung
d00aaf8648 refactor(soc/host): Update USB OTG struct fields
This commit updates the "*_struct.h" files for the USB OTG peripheral:

- Added/removed some missing/non-existing register fields
- Added "reserved" place holders for registers that are missing due to IP
configuration.
- Added "usb_dwc_cfg.h" listing the USB OTG IP configuration for each target.
- Updated LL/HAL according to register field updates. Also tidied up the include
directives in those headers.
2023-12-17 00:36:10 +08:00
Darian Leung
14d81fda18 refactor(hal/usb): Fix USB OTG compilation dependency
Update "hal/CMakeLists.txt" so that USB OTG related HAL files depend on
the "SOC_USB_OTG_SUPPORTED" capability.
2023-12-17 00:36:10 +08:00
Roshan Bangar
96ed1ae7a7 feat(nimble): added HID over Gatt profile support 2023-12-16 17:42:49 +05:30
Rahul Tank
204c194ce2 Merge branch 'bugfix/handle_all_zero_bdaddr' into 'master'
fix(nimble): Handle all 0s address of external controllers during IRK generation

See merge request espressif/esp-idf!27913
2023-12-16 19:55:25 +08:00
Sonika Rathi
12e7e3f1a2 Merge branch 'update/sdmmc_test_app' into 'master'
fix(sdmmc): Migrate erase/trim test cases from unit-test-app to component-test-app

See merge request espressif/esp-idf!26799
2023-12-15 23:50:08 +08:00
Jin Cheng
a3f68aef8a feat(bt/bluedroid): Added API to get local device name 2023-12-15 19:30:12 +08:00
morris
0bc94b3210 Merge branch 'refactor/async_mcp_non_cacheable_descriptor' into 'master'
feat(async_mcp): access DMA descriptor bypass cache

See merge request espressif/esp-idf!27809
2023-12-15 18:30:54 +08:00
Abhik Roy
0c41c4e1da change(lwip): Added macro to configure TCP accept mailbox size 2023-12-15 21:11:44 +11:00
Paul Guyot
336c0946fa Add missing configuration for DEFAULT_ACCEPTMBOX_SIZE (fix #12509)
Signed-off-by: Paul Guyot <pguyot@kallisys.net>
2023-12-15 21:04:26 +11:00
Song Ruo Jing
bc09031496 refactor(uart_vfs): Move uart implementation of vfs to esp_driver_uart
Deprecated esp_vfs_dev_uart_xxx APIs
vfs_uart test case moved to esp_driver_uart test_apps
Astyle fixed for uart_vfs
2023-12-15 17:14:55 +08:00
Jakob Hasse
b4865acd90 Merge branch 'refactor/move_shared_stack_test_to_esp_system' into 'master'
refactor(esp_system): moved shared stack tests from newlib to esp_system

See merge request espressif/esp-idf!27790
2023-12-15 17:06:27 +08:00
Song Ruo Jing
ef281dff5a fix(esp_driver_uart): always use heap_caps_malloc to malloc memory base on flags 2023-12-15 17:03:58 +08:00
Song Ruo Jing
6ad80f0332 refactor(uart): make uart driver as component, and fix astyle 2023-12-15 17:03:51 +08:00
Aditya Patwardhan
62a0b52a91 Merge branch 'feat/add_ble_support_in_local_ctrl_example' into 'master'
feat(examples): Add BLE support in the esp_local_ctrl example

Closes IDFGH-1491

See merge request espressif/esp-idf!27432
2023-12-15 16:32:37 +08:00
zwx
d4d860742d fix(openthread): fix openthread SPI tx timeout issue 2023-12-15 16:32:26 +08:00
Darian
dbb687b9e9 Merge branch 'refactor/usb_enable_formatting' into 'master'
USB Host: Enable pre-commit astyle formatting

See merge request espressif/esp-idf!27917
2023-12-15 16:24:21 +08:00
Lou Tianhao
d8b1f7207a change(pm): change macro SOC_PM_RETENTION_HAS_REGDMA_POWER_BUG 2023-12-15 15:04:06 +08:00
jgujarathi
40adf0bfcd fix(esp_wifi): Correct wifi lib docs for esp_wifi_crypto_types.h
- Wifi lib changes for docs of some APIs in esp_wifi_crypto_types.h
2023-12-15 12:28:18 +05:30
Wan Lei
936cab8e1c Merge branch 'fix/i2s_multi_dev_test_fix' into 'master'
fix(i2s): multi_dev test update to use non_boot_ctrl gpio

See merge request espressif/esp-idf!27873
2023-12-15 14:58:18 +08:00
Vikram Dattu
3d40b17576 fix(docs): fixed doxygen warnings in few headers
- non-matching arguments in `i2c_types.h` and `esp_wifi_crypto_types.h`
 - Fixed unended `@cond` macro in `esp_err.h`
2023-12-15 12:28:18 +05:30
Vikram Dattu
ec1057a05a fix(esp_srp): Use @file for file documentation and missing doc
Using @brief for file description wrongly associates the documentation to an API.
Correct way to add file description is to use `@file` and then `@brief`. Corrected the same.

- Also added missing doc for esp_srp_handle_t
2023-12-15 12:28:17 +05:30
Rahul Tank
3c6144046b fix(nimble): Handle all 0s address of external controllers during IRK generation 2023-12-15 11:39:41 +05:30
Harshit Malpani
803ad150cf
feat(esp_http_client): SHA256 support in digest auth
Added support for using SHA256 algorithm while calculating
digest auth in HTTP client connection

Closes https://github.com/espressif/esp-idf/issues/12383
2023-12-15 11:32:57 +05:30
Rahul Tank
5ec9f498bc Merge branch 'bugfix/add_peer_null_check' into 'master'
fix(nimble): Added NULL peer addr check

Closes BLERP-322

See merge request espressif/esp-idf!27624
2023-12-15 13:44:45 +08:00
harshal.patil
fd637d5be7
feat(examples): Add BLE support in the esp_local_ctrl example 2023-12-15 11:10:26 +05:30
Armando (Dou Yiwen)
30a0d847f3 Merge branch 'feature/esp32p4_base_ldo_support' into 'master'
ldo: new ldo driver on P4

Closes IDF-8808

See merge request espressif/esp-idf!27728
2023-12-15 12:31:17 +08:00
morris
d875d021e1 Merge branch 'feature/gdma_etm_esp32p4' into 'master'
feat(gdma): support ETM sub-driver on esp32p4

See merge request espressif/esp-idf!27719
2023-12-15 12:24:06 +08:00
Zhang Wen Xu
d5cd130469 Merge branch 'fix/spi_slave_thread_debug' into 'master'
fix(spi_slave): correct param check for trans APIs

See merge request espressif/esp-idf!27407
2023-12-15 12:08:54 +08:00
Jiang Jiang Jian
34ee34707b Merge branch 'bugfix/fix_beacon_eb_memory_leak_issue' into 'master'
fix(wifi): fix beacon eb memory leak issue

Closes WIFIBUG-322 and WIFIBUG-323

See merge request espressif/esp-idf!27923
2023-12-15 12:04:55 +08:00
Jiang Jiang Jian
6b02d3baaf Merge branch 'bugfix/When_psram_is_enable_the_number_of_ooseq_is_not_limited' into 'master'
optimize(lwip):when psram is enable the number of ooseq is not limited

See merge request espressif/esp-idf!27886
2023-12-15 11:59:41 +08:00
gongyantao
d5e5cd0237 fix(bt/bluedroid): fixed btc_config_lock error 2023-12-15 11:03:29 +08:00
C.S.M
3140fa2121 Merge branch 'bugfix/flash_enc_write_ram' into 'master'
fix(spi_flash): Fix that internal RAM has no enough space to put all stuff inside

See merge request espressif/esp-idf!27434
2023-12-15 10:56:16 +08:00
C.S.M
77c49cf3e2 Merge branch 'refactor/esp_driver_i2c' into 'master'
refactor(i2c): Make i2c  driver as a seperate component

See merge request espressif/esp-idf!27860
2023-12-15 10:48:33 +08:00
Darian Leung
d7b83bfd3b refactor(usb/host): reformat code with astyle_py 2023-12-15 04:44:02 +08:00
wanlei
25c17da4bb fix(spi_slave): correct param check for trans APIs 2023-12-14 12:57:02 +00:00
Xue yun fei
8da974aef4 optimize(lwip):when psram is enable the number of ooseq is not limited 2023-12-14 12:39:44 +00:00
Harshit Malpani
3e22e0b750 Merge branch 'contrib/github_pr_12796' into 'master'
fix(esp_http_client): correct the typo in the error log string (GitHub PR)

Closes IDFGH-11686

See merge request espressif/esp-idf!27904
2023-12-14 20:14:21 +08:00
Martin Vychodil
a6ad55823b Merge branch 'docs/update_esp_vfs_notes' into 'master'
docs(vfs): update esp_vfs_register_fd api description

See merge request espressif/esp-idf!27265
2023-12-14 19:54:59 +08:00
Mahavir Jain
8ef201be80 Merge branch 'bugfix/fix_partition_table_gen' into 'master'
fix(partition_table): Check partition size for type APP

See merge request espressif/esp-idf!26755
2023-12-14 18:41:52 +08:00
Harshit Malpani
760e92946c Merge branch 'contrib/github_pr_12500' into 'master'
change(components/esp_http_server): add task_caps configuration (GitHub PR)

Closes IDFGH-11351

See merge request espressif/esp-idf!27621
2023-12-14 18:30:41 +08:00
muhaidong
c5ea7510bc fix(wifi): fix beacon eb memory leak issue 2023-12-14 17:57:51 +08:00
Jiang Jiang Jian
0340043e59 Merge branch 'bugfix/fix_memory_leak_in_c3_s3_controller' into 'master'
Fixed memory leak in ESP32C3 and ESP32S3 controller

Closes BT-3516

See merge request espressif/esp-idf!27890
2023-12-14 17:52:47 +08:00
Cao Sen Miao
a5a29882ef fix(spi_flash): Fix that internal RAM has no enough space to put all stuff inside 2023-12-14 17:05:59 +08:00
wuzhenghui
7de2728733 fix(esp_hw_support/sleep): wait flash ready after non-pd_top lightsleep for esp32c6 2023-12-14 08:57:06 +00:00
zwx
e1a414a864 fix(openthread): add netif check when call udp api for ot 2023-12-14 16:45:38 +08:00
Cao Sen Miao
aa10770323 refactor(i2c): Make i2c driver as a seperate component 2023-12-14 15:39:35 +08:00
Rahul Tank
d852a5273d fix(nimble): Added NULL peer addr check 2023-12-14 12:50:15 +05:30
linruihao
3d09287738 fix(phy): Fix Bluetooth coexist bug on ESP32 2023-12-14 14:35:06 +08:00
Armando
9143a9dc90 feature(ldo): ldo driver 2023-12-14 12:46:51 +08:00
Xu Si Yu
6cef08c03d feat(ieee802154): add tx/rx report for IEEE802.15.4 debug 2023-12-14 12:29:57 +08:00
Island
45198988b0 Merge branch 'bugfix/fix_ble_gattc_deregister' into 'master'
fix(bt/bluedroid): Fix ble gattc deregister

Closes BLERP-321

See merge request espressif/esp-idf!27622
2023-12-14 12:26:27 +08:00
Wang Meng Yang
7a45809b4f Merge branch 'bugfix/crash_in_btc_hf_init' into 'master'
fix(bt/bluedroid): Added dynamic memory allocation for HFP control blocks

Closes BT-3498, BT-3505, BT-3524, COEXQABR24-4, COEXQABR24-16, COEXQABR24-17, and BTQABR2023-112

See merge request espressif/esp-idf!27211
2023-12-14 12:23:55 +08:00
Xu Si Yu
58992e2bc0 Merge branch 'feature/update_openthread_dc6bf36' into 'master'
feat(openthread): modification of uart and spi spinel based on openthread 41ef807

See merge request espressif/esp-idf!27390
2023-12-14 12:10:40 +08:00
zwx
48f1c2601e feat(ieee802154): rf enable and disable refactor 2023-12-14 10:58:57 +08:00
xiaqilin
04aa61717c fix(ieee802154): fix ieee802154 mac deinit and config ieee802154_enable 2023-12-14 10:47:56 +08:00
Jiang Jiang Jian
80c2bd3d7c Merge branch 'bugfix/put_extra_link_retention_in_iram' into 'master'
fix(pm): place extra link opt in iram

Closes PM-30

See merge request espressif/esp-idf!27625
2023-12-14 10:28:34 +08:00
Shinichi Tanaka
c5cb67d49c
fix(esp_http_client): correct the typo in the error log string
Corrected the module name in the error log.
("https_ota" to "http_client")
2023-12-14 09:21:24 +09:00
Kapil Gupta
36c38943c8 fix(wifi): Add support to move supplicant BSS to external memory 2023-12-13 16:07:13 +00:00
linruihao
b0bd1f38f8 fix(bt): Update bt lib for ESP32-C3 and ESP32-S3(9129dec) 2023-12-13 19:26:49 +08:00
Tomas Rezucha
f8080b2457 Merge branch 'fix/usb_binterval_parsing' into 'master'
fix(usb/host): Correctly parse wMaxPacketSize and bInterval fields in HighSpeed EP descriptors

See merge request espressif/esp-idf!27395
2023-12-13 17:28:45 +08:00
Jakob Hasse
1c606941ed Merge branch 'contrib/github_pr_12436' into 'master'
feature(console): add command user context support (GitHub PR)

Closes IDFGH-11280

See merge request espressif/esp-idf!27240
2023-12-13 16:36:54 +08:00
Alon Bar-Lev
af79fe0495
change(components/esp_http_server): add task_caps configuration
The HTTP server is not a critical component, it would be nice if we can
control the task caps by using configuration.

Signed-off-by: Alon Bar-Lev <alon.barlev@gmail.com>
Signed-off-by: Harshit Malpani <harshit.malpani@espressif.com>
2023-12-13 12:26:59 +05:30
Mahavir Jain
1b822573b6 Merge branch 'feat/make_verify_signature_block_function_public' into 'master'
feat(bootloader_support): Make `esp_secure_boot_verify_sbv2_signature_block()` function public

Closes IDFGH-11599

See merge request espressif/esp-idf!27742
2023-12-13 11:43:33 +08:00
wanlei
1a51f07a98 fix(i2s): multi_dev test update to use non_boot_ctrl gpio 2023-12-13 11:28:58 +08:00
Jiang Jiang Jian
45c5962b1e Merge branch 'feat/add_channel_change_event' into 'master'
feat(wifi): add wifi channel change event

Closes IDFGH-11400

See merge request espressif/esp-idf!27520
2023-12-13 10:41:54 +08:00
Alon Bar-Lev
bccb2873bd feat(console): add command user context support
Current implementation implicitly forces the developer to use global variables
to enter its context during the command invocation, this change enables each
module to register a context for command to find without the need to manage
global variables.

No API breakage.

Fields added:
   esp_console_cmd_t::func_w_context    - (*)(int argc, char **argv, void *context)

Functions added:
   esp_err_t esp_console_cmd_set_context(const char *cmd, void *context)

Usage:

   esp_console_cmd_register(&cmd));
   esp_console_cmd_set_context(cmd.command, (void *)"context"));

Signed-off-by: Alon Bar-Lev <alon.barlev@gmail.com>
2023-12-13 10:27:04 +08:00
paul
8596d46774 fix(ulp_adc): Provide ulp_adc_deinit() API to fix ADC1 handle leakage 2023-12-12 23:55:03 +03:00
Tomas Rezucha
e32b7b060c fix(usb/host): Correctly parse bInterval field in HighSpeed EP descriptors
For LS and FS interrupt endpoint: interval = bInterval
For isochronous and HS interrupt endpoint: interval = 2^(bInterval-1)
2023-12-12 21:10:43 +01:00
Tomas Rezucha
c2660ce7c6 fix(usb/host): Correctly parse MPS fields in HighSpeed EP descriptors
Bits [11,12] in HighSpeed periodic endpoints specify
the number of additional transaction opportunities per microframe
2023-12-12 21:10:37 +01:00
Darian
142218c2eb Merge branch 'contrib/github_pr_11575' into 'master'
feat(system): add esp_backtrace_print_all_tasks function (GitHub PR)

Closes IDFGH-10315 and IDFGH-10538

See merge request espressif/esp-idf!24974
2023-12-13 01:07:04 +08:00
Chip Weinberger
3686689a2a feat(esp_system): Add esp_backtrace_print_all_tasks()
This commit adds esp_backtrace_print_all_tasks() which prints the backtraces
of all tasks at runtime.

Closes https://github.com/espressif/esp-idf/issues/9708
CLoses https://github.com/espressif/esp-idf/pull/11575

[Omar Chebib: Prevent task switching while printing backtraces of tasks.]
[Omar Chebib: Ensure all task stacks are flushed from register to RAM.]
[Omar Chebib: Removed esp_task_snapshot_to_backtrace_frame() as task snapshot is private API.]
[Omar Chebib: Added test case for esp_backtrace_print_all_tasks().]

Signed-off-by: Omar Chebib <omar.chebib@espressif.com>
2023-12-12 19:54:17 +08:00
Jin Cheng
e1a5122dbc Merge branch 'fix/build_error_in_compiler_performance_mode' into 'master'
fix(bt/bluedroid): fixed build error when compiler in performace mode

Closes IDFGH-11637

See merge request espressif/esp-idf!27816
2023-12-12 18:56:42 +08:00
C.S.M
980780c2c5 Merge branch 'bugfix/bod_threshold' into 'master'
fix(bod): Fix BOD threshold value on ESP32H2

See merge request espressif/esp-idf!27760
2023-12-12 16:17:42 +08:00
gongyantao
f303fa0174 fix(bt/bluedroid): fixed build error when compiler in performace mode
Closes https://github.com/espressif/esp-idf/issues/12751
2023-12-12 15:00:45 +08:00
morris
02cc74a676 Merge branch 'feature/dwgdma_driver' into 'master'
feat(dw_gdma): channel allocator driver

Closes IDF-7085 and IDF-7498

See merge request espressif/esp-idf!27421
2023-12-12 14:21:57 +08:00
Xu Si Yu
e88dc25226 feat(openthread): modification of uart and spi spinel based on openthread 41ef807 2023-12-12 14:12:16 +08:00
Mahavir Jain
0281aa844b Merge branch 'bugfix/change_block_num_to_burn_keys' into 'master'
fix(hal/testapps): fix block number to burn keys to avoid overlapping

See merge request espressif/esp-idf!25611
2023-12-12 11:49:35 +08:00
morris
bf00021b37 feat(dw_gdma): channel allocator driver 2023-12-12 03:35:05 +00:00
Xu Si Yu
b2a32c5b3f fix(coex): 802.15.4 coex break notification 2023-12-12 11:08:52 +08:00
harshal.patil
fe293dfd83
feat(bootloader_support): Make esp_secure_boot_verify_sbv2_signature_block() function public
Closes https://github.com/espressif/esp-idf/issues/12717
2023-12-11 18:50:55 +05:30
Tomáš Rohlínek
c276c36dfe
feat(storage/nvs_flash): add dependencies to nvs_flash test apps 2023-12-11 13:10:54 +01:00
zhangyanjiao
40d7cd8b68 feat(wifi): add wifi channel change event
Closes https://github.com/espressif/esp-idf/issues/12538
2023-12-11 19:07:11 +08:00
Cao Sen Miao
b77b17efd2 fix(bod): Fix BOD threshold value on ESP32H2 2023-12-11 16:41:52 +08:00
Jakob Hasse
874d10ce11 refactor(esp_system): moved shared stack tests from newlib to here 2023-12-11 14:20:55 +08:00
Marius Vikhammer
79d04d4e14 Merge branch 'docs/update_sys_docs_p4' into 'master'
docs(esp32p4): update misc docs for esp32p4

Closes IDF-7751, IDF-7754, and IDF-7749

See merge request espressif/esp-idf!27713
2023-12-11 14:14:35 +08:00
Harshit Malpani
bbbede07d0
fix(partition_table): Check partition size for type APP
The size of partition of type APP should be multiple of 4 KB. Partition
generation tool now make this as a mandatory requirement. This is
minimum flash erase size. If the size of the APP type partition is not
aligned to 4 KB then the last erase operation could go beyond the allocated
partition and hence may fail. This issue would only be observed when the
firmware size grows very close to the allocated partition size, and hence
causing the OTA update to fail.

For already deployed devices on-field with the size of APP partition not
aligned to flash sector boundary, it is best to ensure that firmware
size always remains within the lower 4 KB boundary of the total
allocated space. While migrating to ESP-IDF 5.3 release, partition table
for an existing project can be adjusted accordingly for the build to
succeed.

Found during discussion in https://github.com/espressif/esp-idf/pull/12460
2023-12-11 10:14:57 +05:30
Aditya Patwardhan
7c738c0658 Merge branch 'fix/esp_https_server_breaking_change' into 'master'
fix(esp_https_server): Fix a breaking change

See merge request espressif/esp-idf!27146
2023-12-11 11:46:29 +08:00
Island
e5b77d7b8a Merge branch 'bugfix/ble_update_lib_20231201' into 'master'
update lib on master

Closes BLERP-302

See merge request espressif/esp-idf!27585
2023-12-11 11:33:42 +08:00
Zhang Xiao Yan
bba48f1e1e Merge branch 'docs/add_cn_trans_for_bootloader_image_format_and_random.rst' into 'master'
docs: Provide Chinese translation for bootloader_image_format, log, random, and internal-unstable.rst

Closes DOC-6419

See merge request espressif/esp-idf!26224
2023-12-11 11:02:31 +08:00
Jiang Jiang Jian
e60bc50ba4 Merge branch 'bugfix/fix_esp32h2_system_retention_restore' into 'master'
fix(esp_hw_support): fix esp32h2 retention link restore override the cpu clk configuration

Closes PM-29

See merge request espressif/esp-idf!27317
2023-12-11 11:01:55 +08:00
Jiang Jiang Jian
291c7a6506 Merge branch 'bugfix/fix_esp32c6eco1_depends_on_wifi_pwr_domain' into 'master'
fix(esp_hw_support): fix ble on esp32c6eco1 depends on wifipwr clock domain

Closes PM-34, BLERP-325, and BLERP-326

See merge request espressif/esp-idf!27412
2023-12-11 10:56:16 +08:00
Aditya Patwardhan
56879510a5
fix(esp_https_server): Fix a breaking change
HTTPD_SSL_CONFIG_DEFAULT used to be a MACRO and hence used to return
    a const pointer. With a recent change it started not returning a
    const variable. This change reverts the function to its MACRO form.
    Updated the https_server example to use static declration
2023-12-11 08:05:10 +05:30
morris
987174c203 feat(async_mcp): access DMA descriptor bypass cache 2023-12-10 15:19:27 +08:00
laokaiyao
e88d528b81 refactor(dac): remove redundant ll config for dac mode
Closes https://github.com/espressif/esp-idf/issues/12741
2023-12-09 20:14:54 +08:00
Kevin (Lao Kaiyao)
e05bf6b223 Merge branch 'feature/support_g0_components_on_c5' into 'master'
feat(esp32c5): support esp32c5 g0 components (stage 4/8)

See merge request espressif/esp-idf!27711
2023-12-09 19:54:43 +08:00
Marius Vikhammer
ac3915f092 docs(esp32p4): update misc docs for esp32p4 2023-12-09 09:09:55 +08:00
Radek Tandler
cb66d6f6fa Merge branch 'feature/storage_nvs_find_key' into 'master'
feat(nvs_flash): Added function nvs_find_key

Closes IDFGH-10963

See merge request espressif/esp-idf!26498
2023-12-09 02:08:11 +08:00
David Čermák
c008a515b3 Merge branch 'fix/esp_netif_test_depends_pattern' into 'master'
fix(esp_netif): Update test-apps dependency patterns

Closes IDF-8393

See merge request espressif/esp-idf!27682
2023-12-09 00:18:49 +08:00
radek.tandler
8740888967 feat(nvs_flash): Added function nvs_find_key
Closes https://github.com/espressif/esp-idf/issues/12155
2023-12-08 17:12:00 +01:00
Radek Tandler
12011d2057 Merge branch 'bugfix/fatfs_fatfsparse_relaxed' into 'master'
bugfix(fatfs): Fixed fatfsparse.py parses FAT boot sector too strictly

See merge request espressif/esp-idf!26888
2023-12-08 23:48:25 +08:00
David Cermak
a1e92d3b34 fix(esp_netif): Update test-apps dependency patterns 2023-12-08 14:03:37 +00:00
Jiang Jiang Jian
64a9cd5c80 Merge branch 'feat/support_dump_ack_csi' into 'master'
feat(wifi): support dump 802.11 ACK frame for CSI

Closes WIFI-5992

See merge request espressif/esp-idf!27735
2023-12-08 19:43:11 +08:00
Jiang Jiang Jian
c9c147f5d5 Merge branch 'bugfix/fix_ble_clear_white_list' into 'master'
Fixed add(remove) RPA to(from) white list on ESP32C3(65db61f)

Closes BLERP-329 and BLERP-330

See merge request espressif/esp-idf!27741
2023-12-08 19:06:55 +08:00
renpeiying
cf03d6341e docs: Provide Chinese translation for bootloader_image_format, log, random, and internal-unstable.rst 2023-12-08 17:01:36 +08:00
laokaiyao
2b44d62e43 feat(esp32c5): support esp32c5 g0 components 2023-12-08 15:12:24 +08:00
gaoxu
dc36237915 fix(adc): fix adc continuous get less results beacuse do not reset apb clk(legacy) 2023-12-08 15:10:41 +08:00
Wu Zheng Hui
8eee6529dd Merge branch 'bugfix/fix_rtc_us_to_cycle_div_zero_in_deepsleep' into 'master'
fix(esp_hw_support/sleep): fix rtc_time_us_to_slowclk div zero in deepsleep process

Closes IDFGH-11574

See merge request espressif/esp-idf!27590
2023-12-08 13:57:01 +08:00
chenjianhua
7c56f21981 fix(bt): Update bt lib for ESP32-C3 and ESP32-S3(65db61f)
- Fixed remove and clear white list
2023-12-08 13:37:09 +08:00
morris
5d5f3e7844 Merge branch 'feature/systimer_etm_esp32p4' into 'master'
feat(systimer): remaining work on esp32p4

Closes IDF-8797

See merge request espressif/esp-idf!27745
2023-12-08 11:39:50 +08:00
Igor Udot
f0607f6d3b Merge branch 'fix/unity_tester' into 'master'
refactor: changed logic of unity_tester

See merge request espressif/esp-idf!25767
2023-12-08 09:48:51 +08:00
morris
e96491fb1f feat(systimer): support ETM on esp32p4 2023-12-07 18:46:24 +08:00
Erhan Kurubas
892315292b Merge branch 'save_twdt_to_coredump' into 'master'
feat(coredump): save twdt panic output to coredump elf file

Closes IDF-908

See merge request espressif/esp-idf!27024
2023-12-07 17:47:58 +08:00
nilesh.kale
36ab1c681c fix(hal/testapps): fix block number to burn keys to avoid overlapping 2023-12-07 14:47:26 +05:30
Island
9bdcfa672f Merge branch 'bugfix/fix_ble_adv_scan_status' into 'master'
fix(bt/bluedroid): Fix ble adv and scan status when deinit bluedroid

Closes BLERP-324

See merge request espressif/esp-idf!27636
2023-12-07 16:25:37 +08:00
Island
fecd858fd5 Merge branch 'bugfix/fix_ble_robost_cashing' into 'master'
fix(bt/bluedroid): Fix BLE robost cashing config

See merge request espressif/esp-idf!27665
2023-12-07 16:25:34 +08:00
Jiang Jiang Jian
1cbc44fc28 Merge branch 'bugfix/connect_after_scan' into 'master'
fix(conn): Change second connect delay time to 730ms

See merge request espressif/esp-idf!27031
2023-12-07 15:52:34 +08:00
wuzhenghui
e1d24ebd7f fix(esp_hw_support/sleep): fix rtc_time_us_to_slowclk div zero in deepsleep process
Closes https://github.com/espressif/esp-idf/issues/12695
2023-12-07 07:50:32 +00:00
wuzhenghui
5280ef4924
fix(esp_hw_support): fix ble on esp32c6eco1 depends on wifipwr clock domain 2023-12-07 14:02:04 +08:00
alanmaxwell
571c99bda2 feat(wifi): support dump 802.11 ACK frame for CSI 2023-12-07 11:51:32 +08:00
zhanghaipeng
305bb1a146 fix(bt/bluedroid): Fix ble gattc deregister 2023-12-07 11:21:13 +08:00
Sudeep Mohanty
356b77ce84 Merge branch 'contrib/github_pr_12461' into 'master'
Enables VERSION argument for project() macro in cmake

Closes IDFGH-11310

See merge request espressif/esp-idf!27369
2023-12-06 20:57:17 +08:00
Rahul Tank
6b361bdb05 Merge branch 'bugfix/fix_sm_inject_return_value' into 'master'
fix(nimble): Added change to return success for API execution

Closes BLERP-315

See merge request espressif/esp-idf!27556
2023-12-06 20:48:20 +08:00
Jiang Jiang Jian
3f442497fa Merge branch 'bugfix/fix_disconnected_abnormal_sleep' into 'master'
fix(wifi): fix disconnected abnormal sleep

Closes WIFIBUG-261

See merge request espressif/esp-idf!27469
2023-12-06 20:09:02 +08:00
Wan Lei
63b349aa6f Merge branch 'refactor/spi_common_and_hal_refact_dma_ll' into 'master'
Refactor/replace dma ll in spi hal layer (part1)

See merge request espressif/esp-idf!26130
2023-12-06 18:59:10 +08:00
sonika.rathi
8e0ce2fda4 fix(sdmmc): remove the legacy test cases from 'components/sdmmc/test' 2023-12-06 11:14:20 +01:00
sonika.rathi
a7a0245d8e fix(sdmmc): Migrate erase/trim test cases from unit-test-app to component-test-app 2023-12-06 11:07:33 +01:00
morris
a7577f88bd feat(gdma): support ETM subsystem on esp32p4 2023-12-06 18:02:43 +08:00
Zhang Wen Xu
636092d2a4 Merge branch 'feature/add_config_to_set_using_custom_mac_as_base_mac' into 'master'
feat(mac): Add a configuration to set custom MAC as base MAC

See merge request espressif/esp-idf!26820
2023-12-06 16:29:41 +08:00
Jiang Jiang Jian
a5bd6a57f1 Merge branch 'fix/coexist_reg_esp32c6_set_default_value' into 'master'
fix(esp_coex): fix esp32c6 coex reg reset issue

See merge request espressif/esp-idf!27664
2023-12-06 16:04:58 +08:00
igor.udot
6e258a879d fix: add count for wpa test 2023-12-06 15:58:05 +08:00
igor.udot
e0a40feb5c refactor: changed logic of unity_tester, replaced threads by generators 2023-12-06 15:58:05 +08:00
radek.tandler
a640626b76 fix(fatfs): Fixed fatfsparse.py parsing of FAT boot sector
The fatfsparse.py script was too strict in parsing the FAT boot sector, causing it to fail in
certain cases. This commit fixes the issue by making the parsing less strict and allowing for more
flexibility in the boot sector format.

This change improves the reliability and compatibility of the fatfsparse.py script, ensuring that it
can correctly parse a wider range of FAT boot sectors.

Docs updated
2023-12-06 08:31:50 +01:00
Kevin (Lao Kaiyao)
0704733708 Merge branch 'feature/add_esp32c5_beta3_rom_support' into 'master'
feat(esp32c5): add esp32c5 beta3 esp_rom support (stage 3/8, part 1)

See merge request espressif/esp-idf!27542
2023-12-06 15:31:49 +08:00
luomanruo
ca4f9ccedb ble(fix): Fixed crash issue when reset event queue 2023-12-06 14:13:23 +08:00
wuzhenghui
b6669d76b2
fix(esp_hw_support): fix esp32h2 system link restore override cpu clk configuration 2023-12-06 13:58:51 +08:00
Rahul Tank
d4db3a2f87 fix(nimble): Added change to return success for API execution 2023-12-06 10:20:18 +05:30
Rahul Tank
c256bed7f8 Merge branch 'bugfix/authcomplete_failure' into 'master'
fix(nimble): Fixed authcomplete failure caused by a mismatch in the c1 value

Closes BLERP-303, BLERP-304, and BLERP-319

See merge request espressif/esp-idf!27499
2023-12-06 12:47:48 +08:00
Jiang Jiang Jian
c87d0a27a8 Merge branch 'bugfix/fix_dhcp_server_can_not_restore_address_pool_issue' into 'master'
fix(dhcp server):dhcp server can not restore address pool

See merge request espressif/esp-idf!27666
2023-12-06 11:59:16 +08:00
liuning
f7d005bd34 fix(wifi): fix disconnected abnormal sleep 2023-12-06 11:32:02 +08:00
Island
9040dea13b Merge branch 'bugfix/BLEQABR23-35master' into 'master'
fix(ble_mesh): avoid ble_mesh packet collision by using random adv interval

Closes BLERP-113 and BLERP-112

See merge request espressif/esp-idf!26348
2023-12-06 11:06:38 +08:00
Wu Meng Shi
a93783ae90 fix(ble_mesh): avoid ble_mesh packet collision by using random adv interval 2023-12-06 11:06:38 +08:00
Jiang Jiang Jian
d64217006c Merge branch 'bugfix/IDFGH-11398' into 'master'
bugfix(ble_mesh): Fixed incorrect RPR Client unicast address was obtained(154b4fcc)

Closes IDFGH-11398

See merge request espressif/esp-idf!27564
2023-12-06 10:50:50 +08:00
zwx
a58c416a60 feat(mac): Add a configuration to set custom MAC as base MAC 2023-12-06 10:46:22 +08:00
Laukik Hase
429cb75661 Merge branch 'fix/nvs_encr_flash_enc_dependency' into 'master'
fix(nvs_flash): Remove the forceful selection of NVS_ENCRYPTION with flash encryption

Closes IDFGH-11411

See merge request espressif/esp-idf!27286
2023-12-06 02:08:01 +08:00
laokaiyao
1c9ecfa159 feat(esp32c5): supplement of esp_rom for esp32c5 beta3 target 2023-12-05 22:01:15 +08:00
wanglei
5f2c48acd6 feat(esp32c5): add esp32c5 beta3 esp_rom support 2023-12-05 22:01:15 +08:00
Mahavir Jain
25c2cc5f03 Merge branch 'feature/esp32p4_enable_flash_encryption' into 'master'
Enable Flash Encryption for ESP32P4

Closes IDF-7545

See merge request espressif/esp-idf!26959
2023-12-05 21:42:18 +08:00
Erhan Kurubas
58ee206c99 feat(coredump): save twdt panic output to coredump elf file 2023-12-05 13:28:51 +01:00
xiaqilin
2c2f1bd60d fix(esp_coex): fix esp32c6 coex reg reset issue 2023-12-05 20:16:48 +08:00
Jin Cheng
e78209ad47 fix(bt/bluedroid): Disabled Sniff Subrating temporarily as it did not work well 2023-12-05 20:10:03 +08:00
Jin Cheng
58256d8c4b fix(bt/bluedroid): Changed the default air mode to invalid value 2023-12-05 20:10:03 +08:00
Jin Cheng
dba328d9d5 fix(bt/bluedroid): Removed redundant operation of SCO clean up 2023-12-05 20:10:03 +08:00
Jin Cheng
0f9e8687ee fix(bt/bluedroid): Corrected the definitions of HF Client callback events 2023-12-05 20:10:00 +08:00
Jiang Jiang Jian
608664781d Merge branch 'bugfix/fix_bt_3262' into 'master'
Fixed random address setting when scanning on ESP32(fa43201)

See merge request espressif/esp-idf!27396
2023-12-05 19:47:09 +08:00
Jiang Jiang Jian
6da710df94 Merge branch 'bugfix/fix_psram_enabled_psram_initialized_fail_issue' into 'master'
fix(wifi): fix psram enabled but initialized fail issue

Closes IDFGH-10755

See merge request espressif/esp-idf!27218
2023-12-05 19:12:12 +08:00
kohait00
9beda4ce48 feat(tools/cmake): Added VERSION argument to the project() macro in cmake
This commit enables the standad VERSION argument for the project() macro
in ESP-IDF. The VERSION argument is compilant with the requirements of
cmake 3.16. This commit also adds new test cases for verifying the
validity of the version argument.

Merges https://github.com/espressif/esp-idf/pull/12461

Co-authored-by: Sudeep Mohanty <sudeep.mohanty@espressif.com>
2023-12-05 11:29:43 +01:00
Darian
105f6dd22c Merge branch 'refactor/soc_caps_multiple_cores' into 'master'
change(docs): Update multicore tags to SOC_CPU_HAS_MULTIPLE_CORES

See merge request espressif/esp-idf!27523
2023-12-05 18:20:21 +08:00
Armando (Dou Yiwen)
96c1aea50a Merge branch 'change/split_fpga_overrides.c' into 'master'
bringup: added bypass rng configuration for bringup stage

See merge request espressif/esp-idf!27657
2023-12-05 16:55:43 +08:00
Darshan Dobariya
c34cba9db1 fix(nimble): Fixed authcomplete failure caused by a mismatch in the c1 value 2023-12-05 14:18:42 +05:30
luomanruo
bf44a9e9c6 ble(fix): clear event queue when init event queue
ble: update log module on ESP32C2, ESP32H2 and ESP32C6
2023-12-05 16:12:09 +08:00
xueyunfei
02c1a1c6af fix(dhcp server):dhcp server can not restore address pool 2023-12-05 15:56:20 +08:00
zhanghaipeng
41facc2e08 fix(bt/bluedroid): Fix BLE robost cashing config 2023-12-05 15:44:15 +08:00
Aditya Patwardhan
a84234c23f
feat(security): Enable Flash encryption for ESP32P4 2023-12-05 13:10:55 +05:30
Darian
e3191df37a Merge branch 'change/deprecate_legacy_xtensa_include_path' into 'master'
change(xtensa): Deprecate legacy include paths

Closes IDF-7230

See merge request espressif/esp-idf!26725
2023-12-05 15:05:29 +08:00
Aditya Patwardhan
e09d50d244
feat(soc): Updated soc cap for flash encryption
1) In the ESP32-P4 SoC, we have an eFuse to disable the MSPI access
    when in download mode. This commit adds relevant soc cap for esp32p4
    chip.
    2) Added FE related soc caps
    3) Removed unwanted cap from soc_caps
    4) esp_hw_support: Enable flash encryption related ll APIs for esp32p4
2023-12-05 11:03:48 +05:30
Island
345013fa46 Merge branch 'bugfix/fix_bleqabr23_808' into 'master'
Fixed assert when LLCP instant passed on ESP32-C3 and ESP32-S3(b8f0db9)

Closes BLERP-298, BLERP-299, BLERP-300, BLERP-301, BLERP-310, BLERP-311, and BLERP-312

See merge request espressif/esp-idf!27477
2023-12-05 11:51:20 +08:00
Armando
2c32bd209a change(fpga): added bypass rng configuration 2023-12-05 11:38:35 +08:00
Jiang Jiang Jian
9f2578a0bd Merge branch 'bugfix/wps_disable_crash' into 'master'
Fix a crash in esp_wifi_wps_disable

Closes WIFIBUG-252 and WIFIBUG-266

See merge request espressif/esp-idf!27233
2023-12-05 11:21:09 +08:00
muhaidong
f37448cddb fix(wifi): fix psram enabled but initialized fail issue
Closes https://github.com/espressif/esp-idf/issues/11971
2023-12-05 11:19:59 +08:00
Darian Leung
5697f260fe change(soc): Add SOC_HP_CPU_HAS_MULTIPLE_CORES
This commit adds a the SOC_HP_CPU_HAS_MULTIPLE_CORES convenience macro to
soc_caps.h. This is a convenience boolean cap to represent whether or not the
target has multiple cores, and is intended to be used when writing docs for
multiple targets.
2023-12-05 10:56:22 +08:00
zhanghaipeng
1eb0522774 fix(bt/bluedroid): Fix ble adv and scan status when deinit bluedroid 2023-12-05 10:38:01 +08:00
Martin Vychodil
b61ea3ba97 Merge branch 'fix/fatfsgen_construct' into 'master'
fix(tools): Fix fatfsgen construct dependency

Closes IDFCI-1891

See merge request espressif/esp-idf!27626
2023-12-05 07:33:47 +08:00
Martin Vychodil
bf5acc88fa Merge branch 'fix/fatfs_sbom' into 'master'
fix(storage/fatfs): add Organization prefix to originator

Closes IDF-8793

See merge request espressif/esp-idf!27597
2023-12-05 01:16:40 +08:00
Armando (Dou Yiwen)
0cdc8b167b Merge branch 'change/use_xmc_support_for_p4_fpga_images' into 'master'
change(flash): use xmc support for p4 fpga images

See merge request espressif/esp-idf!27614
2023-12-05 01:08:21 +08:00
Roland Dobai
035e59bfd8 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 16:38:46 +01:00
Rahul Tank
2cd09e8f71 Merge branch 'bugfix/remove_rpa_rec' into 'master'
fix(nimble): Handled the deletion of RPA mapping

Closes BLERP-289 and BLERP-295

See merge request espressif/esp-idf!27305
2023-12-04 19:49:40 +08:00
Island
4869d96220 Merge branch 'bugfix/BLEQA23-811' into 'master'
bugfix(ble_mesh): Enable CONFIG_BT_NIMBLE_VS_SUPPORT when using the duplicate...

See merge request espressif/esp-idf!27323
2023-12-04 19:42:50 +08:00
Harshit Malpani
1e8261eabf Merge branch 'fix/wrong_order_of_includes_in_esp_tls' into 'master'
fix(esp-tls): Fix wrong order of includes in esp_tls.h

Closes IDFGH-11403

See merge request espressif/esp-idf!27302
2023-12-04 19:02:11 +08:00
Laukik Hase
ea51f4e2f7
fix(nvs_flash): Remove the forceful selection of NVS_ENCRYPTION with flash encryption
- This change will introduce a breaking change for SoCs with the HMAC
  peripheral. Turning on flash encryption will no longer enable NVS
  encryption automatically.

Closes https://github.com/espressif/esp-idf/issues/12549
2023-12-04 16:18:01 +05:30
chenjianhua
74f99d2679 fix(bt): Update bt lib for ESP32(fa43201)
- Fixed assert for instant passed workaround
- Fixed scan evt timeout
- Fixed random address setting when scanning
2023-12-04 17:03:38 +08:00
Island
94d7ec7a38 Merge branch 'bugfix/bluedroid_menuconfig' into 'master'
Bugfix/bluedroid menuconfig

Closes BLERP-317

See merge request espressif/esp-idf!27508
2023-12-04 16:30:05 +08:00
wanlei
d0023b061f refactor(spi): replace dma_ll related in spi by dma driver (part1) 2023-12-04 16:20:05 +08:00
Frantisek Hrbata
41afb506d7 fix(storage/fatfs): add Organization prefix to originator
MR espressif/esp-idf!27436 added sbom manifest file for fatfs,
but the originator is missing a prefix required by SPDX specification.
This results in malformed SPDX sbom files.

Signed-off-by: Frantisek Hrbata <frantisek.hrbata@espressif.com>
2023-12-04 08:16:48 +01:00
Armando
f470f66f75 change(flash): use xmc support for p4 fpga images 2023-12-04 14:52:54 +08:00
cjin
797edb54fa fix(pm): place extra link opt in iram 2023-12-04 14:46:42 +08:00
Darian
c4819658a2 Merge branch 'change/freertos_remove_xcoreid_for_single_core' into 'master'
change(freertos/idf): Remove xCoreID from TCB in single-core builds

Closes IDF-7894

See merge request espressif/esp-idf!27207
2023-12-04 12:54:54 +08:00
Jakob Hasse
ffedd74f52 Merge branch 'fix/esp_hw_support_remove_unused_include_dirs' into 'master'
fix(esp_hw_support): Removed nonexistent include directories from cmake

Closes IDFGH-11581

See merge request espressif/esp-idf!27551
2023-12-04 12:26:43 +08:00
luoxu
18e91216bd bugfix(ble_mesh): Enable CONFIG_BT_NIMBLE_VS_SUPPORT when using the duplicate scan feature on the NimBLE host. 2023-12-04 03:10:09 +00:00
Jiang Jiang Jian
ac7235523e Merge branch 'bugfix/dpp_deinit_memleak' into 'master'
Fix a memory leak in dpp deinit path

Closes WIFIBUG-174 and WIFIBUG-234

See merge request espressif/esp-idf!26781
2023-12-04 11:02:09 +08:00
Marius Vikhammer
9a6de4cb3e fix(panic): fixed cache error being reported as illegal instruction
On riscv chips accessing cache mapped memory regions over the ibus would
result in an illegal instructions exception triggering faster than the cache
error interrupt/exception.

Added a cache error check in the panic handler, if any cache errors are active
the panic handler will now report a cache error, even if the trigger exception
was a illegal instructions.
2023-12-04 10:49:00 +08:00
Jiang Jiang Jian
077067bb10 Merge branch 'bugfix/fix_connect_error_for_mesh' into 'master'
fix(wifi/mesh): fix connection and opmoode error in mesh

Closes IDFCI-1864 and IDFGH-11521

See merge request espressif/esp-idf!27524
2023-12-04 10:45:21 +08:00
Tomas Rezucha
d34b8c81a8 Merge branch 'feature/usb_hs_support' into 'master'
feat(usb/host): Add High Speed enumeration types

See merge request espressif/esp-idf!27348
2023-12-03 21:58:54 +08:00
Kevin (Lao Kaiyao)
03414a1550 Merge branch 'feature/add_esp32c5_beta3_soc_header_files_part3' into 'master'
feat(esp32c5): add struct name and reformat struct headers (stage 2/8, part3)

See merge request espressif/esp-idf!27521
2023-12-02 21:49:31 +08:00
Darian Leung
33b7e40223 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-02 15:46:07 +08:00
Darian Leung
439c7c4261 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-02 15:46:07 +08:00
Darian Leung
ae2bd61054 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-02 15:46:07 +08:00
Ivan Grokhotkov
81385b3476 Merge branch 'feature/update_catch2' into 'master'
ci: upgrade host tests to use espressif/catch2 component, add missing build rules

Closes IDF-8775

See merge request espressif/esp-idf!27455
2023-12-01 21:25:25 +08:00
chenjianhua
daae89357c fix(bt): Update bt lib for ESP32-C3 and ESP32-S3(b8f0db9)
- Fixed assert when llcp instant passed
2023-12-01 21:12:43 +08:00
chenjianhua
9c40585b23 fix(bt): Update bt lib for ESP32-C3 and ESP32-S3(70ab55f)
- Fixed assert for instant passed workaround
- Fixed add RPA to white list
- Fixed AES encryption for RPA resolution
2023-12-01 21:01:53 +08:00
chenjianhua
51607c87d6 fix(bt/bluedroid): Fixed add RPA to white list 2023-12-01 21:01:53 +08:00
Abhinav Kudnar
7bafda1155 fix(nimble): Handled the deletion of RPA mapping. 2023-12-01 17:04:20 +05:30
Darian
cc34c4fc08 Merge branch 'contrib/github_pr_12481' into 'master'
Many places in the ESP_SYSTEM are using CONFIG_FREERTOS_UNICORE instead of CONFIG_ESP_SYSTEM_SINGLE_CORE_MODE (GitHub PR)

Closes IDFGH-11333

See merge request espressif/esp-idf!27435
2023-12-01 19:33:19 +08:00
luomanruo
3c90024f25 ble(update):
Update c2 lib to 47a787f0
Update h2 lib to 73452eac
Update c6 lib to 73452eac
2023-12-01 19:30:35 +08:00
laokaiyao
40bce13348 feat(esp32c5): update reg headers for multiple instances module (part3) 2023-12-01 19:04:55 +08:00
laokaiyao
9b31979107 feat(esp32c5): add struct name and reformat struct headers (part3) 2023-12-01 19:04:46 +08:00
Harshal Patil
d69ee9e133 Merge branch 'fix/aes_mpi_interrupt_allocation_workflow_for_aes_gcm' into 'master'
fix(mbedtls/aes): fix AES interrupt allocation for AES-GCM operations

See merge request espressif/esp-idf!27516
2023-12-01 19:03:00 +08:00
jgujarathi
322aa53d9d fix(wpa_supplicant): Add support for a dpp authentication timeout
- Adds support for a 1 second dpp authentication timeout.
2023-12-01 15:08:32 +05:30
zhanghaipeng
d528cc598e fix(bt/bluedroid): Fix BLE SMP register log level 2023-12-01 17:21:49 +08:00
morris
2d4a6748a3 Merge branch 'feature/sdm_driver_esp32p4' into 'master'
esp_driver_sdm driver support on esp32p4

Closes IDF-7551

See merge request espressif/esp-idf!27543
2023-12-01 17:21:04 +08:00
Island
e3ab9f009b Merge branch 'feat/support_ble_create_sync_report' into 'master'
feat(bt/bluedroid): Support ble create sync report disable and filter duplicate

Closes BLERP-216

See merge request espressif/esp-idf!26923
2023-12-01 17:17:48 +08:00
Harshit Malpani
9e8761880b
fix(esp-tls): Add headers in esp_tls_errors.h header file
Closes https://github.com/espressif/esp-idf/issues/12541
2023-12-01 14:15:43 +05:30
luoxu
c90fd0ebe2 bugfix(ble_mesh): Fixed incorrect RPR Client unicast address was obtained(154b4fcc) 2023-12-01 15:53:44 +08:00
David Čermák
096d1ce1bb Merge branch 'feat/http_client_session_ticket' into 'master'
feat(http_client): Restore TLS session and custom transport

See merge request espressif/esp-idf!26059
2023-12-01 15:11:20 +08:00
jgujarathi
8508363ce5 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-01 12:23:03 +05:30
jgujarathi
76da067bce 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-01 12:23:03 +05:30
jgujarathi
30c510020f 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-01 12:23:00 +05:30
C.S.M
2d4a9240dc Merge branch 'feat/add_example_usj' into 'master'
change(usb_serial_jtag): Add example for usb serial jtag echo

Closes IDFGH-11503, IDFGH-11493, and IDFGH-11478

See merge request espressif/esp-idf!27366
2023-12-01 14:39:14 +08:00
Island
682ca74e98 Merge branch 'bugfix/ble_update_lib_20231124' into 'master'
ble(update):Update c2 lib to 79ed4e8a,Update h2 lib to 9a237426,Update c6 lib to 9a237426

Closes BLERP-269 and BLERP-291

See merge request espressif/esp-idf!27391
2023-12-01 13:58:11 +08:00
Mahavir Jain
0df6afadef Merge branch 'fix/esp32s3_soc_drom_high_addr' into 'master'
fix(soc): esp32s3/Fix the DROM_HIGH_ADDR

See merge request espressif/esp-idf!27015
2023-12-01 12:41:59 +08:00
zhangyanjiao
550f858c0f fix(wifi/mesh): fix connection and opmoode error in mesh
1. fix the bug that station can't found AP when the authmode is WPA
2. fix wifi mode error when mesh start after station has connected to router

Closes https://github.com/espressif/esp-idf/issues/12646
2023-12-01 12:03:06 +08:00
Jakob Hasse
637d4c4381 fix(esp_hw_support): Removed unused include directories from cmake
* Closes https://github.com/espressif/esp-idf/issues/12700
2023-12-01 11:33:12 +08:00
Jiang Jiang Jian
e6a490c2ae Merge branch 'bugfix/dpp_listen_bugs' into 'master'
fix(wpa_supplicant): Fix few bugs in dpp

See merge request espressif/esp-idf!26792
2023-12-01 11:07:18 +08:00
Wang Meng Yang
76923a7a7f Merge branch 'bugfix/hci_param_check' into 'master'
fix(bt/controller): Fixed some HCI commands parameter

See merge request espressif/esp-idf!27423
2023-12-01 10:24:11 +08:00
morris
d171a7b958 change(sdm): move driver to a new component: esp_driver_sdm 2023-12-01 10:03:48 +08:00
morris
846751216b feat(sdm): add driver support for esp32p4 2023-12-01 10:03:09 +08:00
Liu Linyan
9879615053 Merge branch 'update/ble_mesh_put_lib_in_submodule' into 'master'
fix(ble_mesh): Put Mesh 1.1 lib files in submodule

Closes IDFCI-1860

See merge request espressif/esp-idf!26987
2023-12-01 09:56:19 +08:00