Commit Graph

26600 Commits

Author SHA1 Message Date
Marius Vikhammer
ff8265b6b3 feat(newlib): add option to disable eval of expression in assert() when NDEBUG set
According to the standard assert(X) should be replaced by a void expression when
NDEBUG is set. IDF's behavior was to not trigger an assertion, but we would still
evaluate X, e.g. if X was a function it would be ran.

This MR adds a kconfig option CONFIG_COMPILER_ASSERT_NDEBUG_EVALUATE which allows us
revert the behavior to be inline with the standard.

With IDF v6.0 the plan is to make CONFIG_COMPILER_ASSERT_NDEBUG_EVALUATE=n the default
behavior.

Closes https://github.com/espressif/esp-idf/issues/10136
Closes https://github.com/espressif/esp-idf/issues/2758
2024-08-20 09:26:54 +08:00
Marius Vikhammer
596f635b28 fix(newlib): fixed potential overflow in usleep
If trying to usleep for 0xFFFF FFFF us the calculation of delay ticks would overflow
resulting in the system not sleeping at all.

Closes https://github.com/espressif/esp-idf/issues/14390
2024-08-20 09:26:27 +08:00
Marius Vikhammer
9bff8ad50e docs(freertos): update freertos comments to reflect that stack size is in bytes
Closes https://github.com/espressif/esp-idf/issues/11600
2024-08-20 09:26:09 +08:00
Armando
e9f65051e7 feat(isp): added isp yuv2rgb / rgb2yuv configs 2024-08-20 09:20:59 +08:00
Armando (Dou Yiwen)
c01ccd1f62 Merge branch 'ci/fix_esp32_exceed_bootloader_size' into 'master'
fix(ci): esp32 build failure due to bootloader size too large

Closes IDFCI-2331

See merge request espressif/esp-idf!32926
2024-08-20 09:20:18 +08:00
0xFEEDC0DE64
82f0477dfd fix(esp32) esp_secure_boot not compiling in C++ 2024-08-19 13:27:49 +02:00
Song Ruo Jing
7b510049fb fix(ci): esp32 build failure due to bootloader size too large 2024-08-19 19:08:10 +08:00
Konstantin Kondrashov
bc5d324f73 Merge branch 'feature/p4_efuse_get_pkg_ver' into 'master'
feat(efuse): Updates esp_efuse_get_pkg_ver

Closes IDFCI-2324

See merge request espressif/esp-idf!32882
2024-08-19 15:44:31 +08:00
Jakob Hasse
d626bcac35 Merge branch 'refactor/nvs_coverage_gcovr' into 'master'
refactor(nvs_flash): Use gcovr instead of lcov for host-based page test

See merge request espressif/esp-idf!31734
2024-08-19 15:24:24 +08:00
Marius Vikhammer
ae71b5984b Merge branch 'ci/timer_perf_c5' into 'master'
ci(timer): increase IDF_PERFORMANCE_MAX_ESP_TIMER_GET_TIME_PER_CALL for C5/C61

Closes IDFCI-2327

See merge request espressif/esp-idf!32888
2024-08-19 11:03:23 +08:00
Jiang Jiang Jian
87eaf18eb6 Merge branch 'feature/esp32c61_light_sleep_support_stage_1' into 'master'
feat(esp_hw_support): esp32c61 sleep support (Stage 1: support modem clock)

Closes IDF-9513

See merge request espressif/esp-idf!32518
2024-08-19 10:38:57 +08:00
Chen Ji Chang
5b0c63b2cd Merge branch 'feat/add_ledc_support_on_c61' into 'master'
feat(ledc): add ledc support on c61

Closes IDF-9291

See merge request espressif/esp-idf!32705
2024-08-16 17:35:19 +08:00
Song Ruo Jing
15e20f0dfb Merge branch 'ci/enable_esp32p4_gpio_uart_target_test' into 'master'
fix(gpio): esp32p4 IOs cannot keep being held in the entire deep sleep process

Closes IDF-8968, IDF-8971, and IDF-9877

See merge request espressif/esp-idf!32510
2024-08-16 17:31:59 +08:00
Abhik Roy
4873a94b01 Merge branch 'example/ping_invalid_ip6_fix' into 'master'
fix(example): Fixed updating recv addr for invalid packets

Closes IDFGH-13264

See merge request espressif/esp-idf!32275
2024-08-16 17:01:37 +08:00
Abhik Roy
36dfa367d1 Merge branch 'lwip/multi_dns_ip_fix' into 'master'
fix(lwip): Fixed incorrect handling of 0.0.0.0 in dns

Closes IDFGH-13115 and IDF-10035

See merge request espressif/esp-idf!32223
2024-08-16 16:59:43 +08:00
Jeroen Domburg
9dc00a4fb4 Merge branch 'fix/char_skip_using_usj_proper_fix' into 'master'
fix(usb-serial-jtag): Call driver-specific fsync function for usb-serial-jtag rather than poking the hardware directly

Closes IDFGH-12988

See merge request espressif/esp-idf!32473
2024-08-16 14:43:29 +08:00
Armando (Dou Yiwen)
b432ded957 Merge branch 'feat/isp_sharp' into 'master'
isp: sharp driver

Closes IDF-10494 and IDF-10673

See merge request espressif/esp-idf!32316
2024-08-16 13:07:15 +08:00
Song Ruo Jing
860453df47 Merge branch 'bugfix/esp_rom_gpio_connect_out_signal_patch' into 'master'
fix(gpio): patched esp_rom_gpio_connect_out_signal for esp32 and esp32s2

Closes IDFGH-11731 and IDFGH-13373

See merge request espressif/esp-idf!32816
2024-08-16 12:03:25 +08:00
Michael (XIAO Xufeng)
742a4838d6 Merge branch 'fix/mmu_multicore_app_bl' into 'master'
fix(MMU): fixed mmap deadlock when using multicore app with unicore bootloader

Closes IDFGH-10359

See merge request espressif/esp-idf!32745
2024-08-16 11:49:32 +08:00
Marius Vikhammer
f9ed33857d ci(timer): increase IDF_PERFORMANCE_MAX_ESP_TIMER_GET_TIME_PER_CALL for C5/C61 2024-08-16 11:12:46 +08:00
C.S.M
f40380c472 Merge branch 'refactor/mspi_soc_c5_c61' into 'master'
fix(mspi): Refactor mspi ll/soc for c5 and c61

Closes IDF-5157

See merge request espressif/esp-idf!32151
2024-08-16 10:34:21 +08:00
Armando (Dou Yiwen)
f6ec756b8e Merge branch 'fix/fix_c5_p4_c6_cache_disable_with_brc_predict_issue' into 'master'
cache: fixed double exception after cache disabled caused by branch predictor

Closes IDFCI-2318 and IDF-10783

See merge request espressif/esp-idf!32828
2024-08-16 10:24:05 +08:00
Konstantin Kondrashov
e55ae515e2 feat(efuse): Updates esp_efuse_get_pkg_ver 2024-08-15 18:26:44 +03:00
Song Ruo Jing
706935f468 fix(gpio): esp32p4 IOs cannot keep being held in the entire deep sleep process 2024-08-15 21:54:21 +08:00
Song Ruo Jing
1171c3c281 fix(ci): enable gpio, uart target tests on esp32p4 2024-08-15 21:54:21 +08:00
Jakob Hasse
deb18eb487 Merge branch 'refactor/esp_ringbuf_linux' into 'master'
refactor(esp_ringbuf): Adjusted unit tests so some of them run on Linux

Closes IDF-9369

See merge request espressif/esp-idf!32683
2024-08-15 18:29:11 +08:00
Wu Zheng Hui
561c0a8b82 Merge branch 'fix/always_writeback_l1dcache_before_sleep' into 'master'
fix(esp_hw_support): always writeback L1DCache before sleep to keep cpu/regdma data consistency

See merge request espressif/esp-idf!32875
2024-08-15 18:06:40 +08:00
Armando
f1b5846a55 feat(isp): added isp sharp driver 2024-08-15 18:06:23 +08:00
Abhik Roy
322f22d169 fix(lwip): Fixed incorrect handling of 0.0.0.0 in dns 2024-08-15 19:00:47 +10:00
Song Ruo Jing
2f92d863d8 fix(uart): eliminated potential glitch on TX at setup if TX signal is inversed
Closes https://github.com/espressif/esp-idf/issues/14285
2024-08-15 16:36:18 +08:00
Song Ruo Jing
ab4157b6cf fix(gpio): patched esp_rom_gpio_connect_out_signal for esp32 and esp32s2
The original ROM function enabled output for the pad first, and then connected the signal
This could result in an undesired level change at the pad

Closes https://github.com/espressif/esp-idf/issues/12826
2024-08-15 16:36:18 +08:00
Jeroen Domburg
1cdf579b7a fix(usb-serial-jtag): Call driver-specific fsync function for usb-serial-jtag
The VFS driver used to switch to the interrupt-driven driver for rx and tx functions, but
still called its own fsync function, which poked the hardware directly. This interfered
with the driver interrupt, causing spurious bytes to disappear. This adds a driver-specific
sync function and support for that in the vfs layer.

Closes https://github.com/espressif/esp-idf/issues/13939
2024-08-15 15:35:41 +08:00
Chen Jichang
2e2cbd9aa8 feat(ledc): add ledc support on c61 2024-08-15 15:21:06 +08:00
C.S.M
bc80476411 fix(mspi): Refactor mspi ll/soc for c5 and c61 2024-08-15 15:08:56 +08:00
wuzhenghui
fb84c24bae
fix(esp_hw_support): always writeback L1D$ before sleep to keep cpu/regdma data consistency 2024-08-15 12:18:16 +08:00
Xiao Xufeng
55dccc4bba fix(MMU): fixed mmap deadlock when using multicore app with unicore bootloader
Closes https://github.com/espressif/esp-idf/issues/11617
2024-08-15 12:00:08 +08:00
Kevin (Lao Kaiyao)
eff2e4eddd Merge branch 'feature/support_i2c_on_c61' into 'master'
feat(i2c): support i2c on esp32-c61

Closes IDF-9296 and IDF-9297

See merge request espressif/esp-idf!32596
2024-08-15 09:07:01 +08:00
Jakob Hasse
4c492cc85f refactor(esp_psram): allow external stack also when PSRAM is only available via esp_heap_caps
Closes https://github.com/espressif/esp-idf/issues/12722
2024-08-14 14:47:12 +02:00
Mahavir Jain
e5e146365b Merge branch 'bugfix/build_failure_cryptoauthlib' into 'master'
fix(mbedtls): link esp-cryptoauthlib to mbedcrypto library

See merge request espressif/esp-idf!32728
2024-08-14 18:45:54 +08:00
Armando
873068d3fe fix(cache): disable branch predictor before disable cache
branch predictor will start cache request
2024-08-14 18:39:18 +08:00
Wan Lei
8e0824d8aa Merge branch 'test/add_spi_master_clock_reg_validity_test' into 'master'
fix(spi): add clock src and divider config validation test

See merge request espressif/esp-idf!22276
2024-08-14 18:35:54 +08:00
zwx
47f730645c feat(esp_netif): add an API to get all preferred ip6 addresses 2024-08-14 16:25:41 +08:00
zwx
26d8350c19 feat(openthread): support br lib for esp32c5 2024-08-14 16:08:56 +08:00
chenjianhua
ee0bd91364 fix(bt): Update bt lib for ESP32(241c96c)
- Fixed BLE vendor HCI get controller status command
2024-08-14 15:29:11 +08:00
Armando
893c04702f feat(riscv): added api to disable branch predictor 2024-08-14 14:34:34 +08:00
wanlei
e24067295b feat(spi_master): add test clock src and config validation 2024-08-14 11:35:58 +08:00
laokaiyao
1397e5421e feat(i2c): support i2c on esp32-c61 2024-08-14 11:25:31 +08:00
C.S.M
fbab3bc874 Merge branch 'feat/temperature_sensor_bringup' into 'master'
feature(temperature_sensor): Add temperature sensor support on esp32c5

Closes IDF-8727

See merge request espressif/esp-idf!32665
2024-08-14 10:53:26 +08:00
morris
34813ecd6c Merge branch 'bugfix/dma2d_transacrion_config_lifecycle' into 'master'
fix(lcd): prolonged the lifecycle of dma2d transaction config structure

Closes IDF-10763

See merge request espressif/esp-idf!32788
2024-08-14 10:18:07 +08:00
morris
0ca1c61af2 Merge branch 'feat/ldo_channel_reserve' into 'master'
feat(ldo): reserve the LDO1 and LDO2

Closes IDF-10712 and PM-137

See merge request espressif/esp-idf!32693
2024-08-14 10:06:11 +08:00
Chen Ji Chang
8e956dab87 Merge branch 'feat/dma_cache_align' into 'master'
feat(dma): Add helper functions to align buffer

Closes IDF-10462

See merge request espressif/esp-idf!32343
2024-08-14 10:00:55 +08:00
Sudeep Mohanty
cbb2c4be60 Merge branch 'contrib/github_pr_14329' into 'master'
fix(ulp): Add the missing extern "C" guard to ulp_lp_core_print.h (GitHub PR)

Closes IDFGH-13423

See merge request espressif/esp-idf!32689
2024-08-14 05:06:02 +08:00
Rahul Tank
5c3e63712d Merge branch 'bugfix/handle_linked_om_blufi' into 'master'
fix(nimble) Added change to handle linked om data at blufi layer

Closes FCS-1433

See merge request espressif/esp-idf!30320
2024-08-14 00:55:41 +08:00
Jakob Hasse
d7ca8b94c8 Merge branch 'contrib/github_pr_14339' into 'master'
Some checks failed
docker / docker (push) Has been cancelled
Fix(pthread): Added linux port with empty functions to make pthread cxx example build. (GitHub PR)

Closes IDFGH-13424 and IDFGH-13433

See merge request espressif/esp-idf!32785
2024-08-14 00:05:12 +08:00
Abhik Roy
53ba6e97cd fix(example): Fixed updating recv addr for invalid packets for ping
Closes https://github.com/espressif/esp-idf/issues/14197
2024-08-13 21:51:58 +10:00
Ivan Grokhotkov
50244f4c79 Merge branch 'bugfix/sdio_intr_coex' into 'master'
fix(sdmmc): don't disable SDIO interrupts when switching slots

See merge request espressif/esp-idf!32790
2024-08-13 19:24:32 +08:00
Nilesh Kale
6028332164 Merge branch 'feature/enable_secure_boot_in_esp32c61' into 'master'
feat: enable secure boot feature for esp32c61

Closes IDF-9233

See merge request espressif/esp-idf!31420
2024-08-13 19:23:53 +08:00
Rahul Tank
a02a2a2d34 fix(nimble) Added change to handle linked om data at blufi layer 2024-08-13 16:39:18 +05:30
Roland Dobai
b093e32b07 Merge branch 'fix/fix_secure_boot_key_hint' into 'master'
fix: Fix condition checking if secure boot signing key exists

See merge request espressif/esp-idf!32718
2024-08-13 18:48:44 +08:00
Cristian Funes
d3ab90ba24 fix(pthread): Fix cxx pthread example build for linux platform
Closes https://github.com/espressif/esp-idf/pull/14339
2024-08-13 10:48:17 +02:00
shreeyash
6e6fd2f6a3 fix(wifi_prov_mgr): Api to keep BLE on after provisioning 2024-08-13 12:42:35 +05:30
morris
631e15c6eb feat(ldo): add config to let hardware control the ldo output
If LDO1 is used by spi flash, then we recommend to give the ownership to
the hardware. Software just read the parameters from the efuse and set
to PMU.
2024-08-13 14:50:38 +08:00
Armando (Dou Yiwen)
11831cc0db Merge branch 'fix/fix_cache_panic_c61_on_psram_board' into 'master'
cache: fixed cache panic init flow on psram board

See merge request espressif/esp-idf!32701
2024-08-13 14:08:17 +08:00
Marius Vikhammer
85e570b8ee Merge branch 'bugfix/console_no_vfs' into 'master'
test(console): add tests for console with vfs disabled

Closes IDF-9367 and IDF-9578

See merge request espressif/esp-idf!31455
2024-08-13 12:20:44 +08:00
morris
001527e63b Merge branch 'feat/adding_esp32c61_gdma' into 'master'
feat: c61 add gdma support

Closes IDF-9310, IDF-9311, and IDF-9315

See merge request espressif/esp-idf!32145
2024-08-13 12:14:47 +08:00
morris
ec2a8a9c81 fix(drivers): rename the nested extra_flags structure 2024-08-13 11:57:08 +08:00
morris
34b1f2da24 fix(lcd): prelonged the lifecycle of dma2d transaction config structure
The context must exit at least until on_job_pixked callback is called
2024-08-13 11:57:08 +08:00
C.S.M
5d4275fb75 feature(temperature_sensor): Add temperature sensor support on esp32c5 2024-08-13 11:55:39 +08:00
Lou Tianhao
6274040f38 feat(pm): support modem clock for esp32c61 2024-08-13 11:03:21 +08:00
Marius Vikhammer
6cbee5c7f6 Merge branch 'contrib/github_pr_13578' into 'master'
Make FreeRTOS configUSE_TIMERS optional in KConfig (GitHub PR)

Closes IDFGH-12576

See merge request espressif/esp-idf!32576
2024-08-13 10:06:51 +08:00
Marius Vikhammer
e2183d53f1 Merge branch 'bugfix/ulp_always_set_elf_ext' into 'master'
fix(ulp): fixed that the .elf ext was not set by default for custom cmake proj

See merge request espressif/esp-idf!32752
2024-08-13 10:03:40 +08:00
Armando
e58d608034 fix(cache): fixed cache panic init flow on psram board 2024-08-13 09:30:46 +08:00
Roman Leonov
184eeccc71 Merge branch 'fix/usb_host_enum_cancellation' into 'master'
fix(usb_host): The Enumeration Driver, cancellation on error

See merge request espressif/esp-idf!32212
2024-08-13 00:42:00 +08:00
Jakob Hasse
dfbed83426 refactor(esp_ringbuf): Adjusted unit tests so some of them run on Linux 2024-08-12 15:29:41 +02:00
Ivan Grokhotkov
8a9d3076d7
fix(sdmmc): don't disable SDIO interrupts when switching slots 2024-08-12 14:18:29 +02:00
Island
75eb7fe379 Merge branch 'feat/print_the_ble_mac_when_init' into 'master'
feat(ble): Print out the BT mac when the controller is initialized

Closes BLERP-914

See merge request espressif/esp-idf!32674
2024-08-12 20:16:51 +08:00
Ondrej Kosta
ad9cdcd11a Merge branch 'contrib/github_pr_14276' into 'master'
fix(esp_eth): fix C++ invalid type conversion error (GitHub PR)

Closes IDFGH-13363

See merge request espressif/esp-idf!32706
2024-08-12 18:48:08 +08:00
Roman Leonov
0a9bd7aa50 fix(enum): Added cancellation stage to process, second reset stage, remove dynamic members 2024-08-12 09:11:02 +02:00
C.S.M
82ebce39f3 Merge branch 'feat/psram_refacotr' into 'master'
feat(spiram): Refactor psram quad device driver

Closes IDF-10357

See merge request espressif/esp-idf!31995
2024-08-12 13:41:17 +08:00
Alexey Lapshin
1ddd2f42b5 Merge branch 'fix/nullfs-open' into 'master'
fix(vfs): fix nullfs open syscall

See merge request espressif/esp-idf!32725
2024-08-12 12:57:44 +08:00
Mahavir Jain
c3b58b9476 Merge branch 'fix/esp32c5_rng_random_disable' into 'master'
fix(bootloader): update random disable api for ESP32-C5/C6

Closes IDFGH-13185 and IDFGH-13368

See merge request espressif/esp-idf!32700
2024-08-12 12:28:13 +08:00
Mahavir Jain
f38f77a7fc
fix(rng): avoid clearing PMU_PERIF_I2C_RSTB in random disable API for C6
This configuration bit is required for ADC operation as well and hence
should not be cleared in the RNG API sequence.

Ideally, the ADC driver should take care of initializing this bit but
still the RNG layer change is required because of interleaved API usage
scenario described in following linked issue.

Closes https://github.com/espressif/esp-idf/issues/14124
Closes https://github.com/espressif/esp-idf/issues/14280
2024-08-12 08:26:05 +05:30
Zhao Wei Liang
915e1238f0 Merge branch 'bugfix/fixed_c6_h2_vendor_hci_master' into 'master'
Bugfix/fixed c6 h2 vendor hci master

See merge request espressif/esp-idf!32739
2024-08-12 10:54:53 +08:00
Mahavir Jain
cff436cf57 Merge branch 'docs/rng_update_outdated' into 'master'
docs(esp_hw_support): corrected outdated RNG docs

See merge request espressif/esp-idf!32737
2024-08-12 10:49:35 +08:00
Marius Vikhammer
fe5b8bb445 fix(ulp): fixed that the .elf ext was not set by default for custom cmake proj 2024-08-12 10:31:24 +08:00
Zhang Hai Peng
8971902e1c Merge branch 'feat/get_ble_addr_tpye_in_bond_list' into 'master'
feat(ble/bluedroid): Support getting BLE address type in bond list

Closes IDFGH-13287

See merge request espressif/esp-idf!32680
2024-08-12 10:26:11 +08:00
Island
368cfdac26 Merge branch 'docs/optimized_ble_connect_param_update' into 'master'
docs(ble/bluedroid): Optimize documentation for BLE connection parameter updates

Closes BLERP-892

See merge request espressif/esp-idf!32351
2024-08-12 10:25:37 +08:00
Island
f90d23565b Merge branch 'feature/ble_5_1_direction_finding_support_host' into 'master'
feature : Bluetooth LE 5.1 direction finding host support

See merge request espressif/esp-idf!32704
2024-08-12 10:20:36 +08:00
Marius Vikhammer
69ca6e49a7 test(console): add tests for console with vfs disabled 2024-08-12 10:01:04 +08:00
Ivan Grokhotkov
3577900915
fix(esp_system): sort system init priorities also by filename 2024-08-11 20:21:35 +02:00
hongshuqing
0c817d9238
fix(bootloader): update random disable api for ESP32-C5 2024-08-11 22:02:27 +05:30
Martin Vychodil
7eaa185e07 Merge branch 'contrib/github_pr_14341' into 'master'
fix(sdmmc): typo in docs (GitHub PR)

Closes IDFGH-13435

See merge request espressif/esp-idf!32711
2024-08-11 22:00:13 +08:00
Sudeep Mohanty
bfa3c55250 feat(freertos): Enabled Kconfig option to allow FPU usage in ISR for esp32s3
This commit enables the Kconfig option to allow FPU usage in an ISR
context for the esp32s3.
2024-08-10 13:20:02 +02:00
Sudeep Mohanty
354ffb4534 Merge branch 'fix/incorrect_critical_nesting_count_in_linux_port' into 'master'
fix(freertos): Fixed critical section macro in vTaskPlaceOnEventListRestricted()

See merge request espressif/esp-idf!32695
2024-08-10 15:22:14 +08:00
zwl
a9ae1162aa fix(bluetooth/controller): fixed get controller status vendor hci command error on ESP32C5 2024-08-10 12:34:01 +08:00
zwl
0de0ab46fe fix(bluetooth/controller): fixed get controller status vendor hci command error on ESP32C6 2024-08-10 12:28:32 +08:00
Erhan Kurubas
9b38f87781
Revert "Merge branch 'add_openocd_stub_bins' into 'master'"
This reverts merge request !31504
2024-08-09 22:49:43 +02:00
Jakob Hasse
965f52a45a docs(esp_hw_support): corrected outdated RNG docs 2024-08-09 16:20:02 +02:00
zhanghaipeng
9fcb712539 feat(ble/bluedroid): Support getting BLE address type in bond list 2024-08-09 19:53:16 +08:00
Steffen Beyer
93c67f16ab fix(sdmmc): typo in docs
Closes https://github.com/espressif/esp-idf/pull/14341
2024-08-09 13:45:27 +02:00
Ondrej Kosta
127306fee6 Merge branch 'feature/dm9051_throughput_optimization' into 'master'
esp_eth: DM9051: Fix abnormal operation when SPI clock is too high, optimize throughput rate

See merge request espressif/esp-idf!30769
2024-08-09 19:34:22 +08:00
Erhan Kurubas
6c0b4c90b4 Merge branch 'add_openocd_stub_bins' into 'master'
Preload openocd stub binaries and reserve memory for debugging

See merge request espressif/esp-idf!31504
2024-08-09 19:22:28 +08:00
David Roman
b9924df4be fix(esp_eth): fix C++ invalid type conversion error
Closes https://github.com/espressif/esp-idf/issues/14265
2024-08-09 18:54:43 +08:00
Mahavir Jain
a2de1ca576
fix(mbedtls): link esp-cryptoauthlib to mbedcrypto library
If the certificate bundle feature is disabled then the mbedtls
component library becomes interface only component and hence
adding esp-cryptoauthlib as its PRIVATE dependency does not work.

Instead the esp-cryptoauthlib should be added as PRIVATE dependency
for mbedcrypto library (for alternate ECDSA implementation).
2024-08-09 15:30:35 +05:30
Wang Meng Yang
d4b2da21eb Merge branch 'bugfix/heap_corrupt_in_bt_mem_release_on_esp32' into 'master'
fix(bt): Fix heap corruption in the call of esp_bt_mem_release on ESP32

Closes IDFGH-13349

See merge request espressif/esp-idf!32436
2024-08-09 17:58:45 +08:00
Island
8072d96cd6 Merge branch 'bugfix/fix_ble_channel_map_update' into 'master'
fix(bt): Update bt lib for ESP32-C3 and ESP32-S3(f583012)

Closes BCI-436, BLERP-908, and BLERP-909

See merge request espressif/esp-idf!32571
2024-08-09 17:26:59 +08:00
Alexey Lapshin
561587c11c fix(vfs): fix nullfs open syscall 2024-08-09 16:05:52 +07:00
Wang Meng Yang
b95a9c5c63 Merge branch 'bugfix/fix_hidh_integrity_check_bug' into 'master'
fix(esp_hid): Loose the check of input report length to be more compatible

Closes IDFGH-13344

See merge request espressif/esp-idf!32663
2024-08-09 15:27:34 +08:00
Fu Hanxi
952b0e349e ci: fix .build-test-rules.yml since esp32s2 tests unabled 2024-08-09 14:56:52 +08:00
Geng Yuchao
4a70ba9e7b feat: update nimble submodule to support Bluetooth LE 5.1 Direction Finding featrue 2024-08-09 14:51:37 +08:00
Geng Yuchao
25a12ef95e feat: Add direction finding relate defines and kconfig and CMakeLists 2024-08-09 14:51:37 +08:00
Sudeep Mohanty
0db5d725ef fix(freertos): Fixed critical section macro in vTaskPlaceOnEventListRestricted()
The vTaskPlaceOnEventListRestricted() did not use the correct macro when
exiting a kernel cirtical section. This does not affect the HW targets
but on the Linux port, this caused an issue as the critical nesting
count became negative, leading to deadlocks. This commit fixes the bug
and updates the linux port to prevent the nesting count from going
negative.
2024-08-09 08:45:23 +02:00
Jan Beran
a7141f75d7 fix: Fix condition checking if secure boot signing key exists 2024-08-09 08:38:38 +02:00
C.S.M
c431e9b830 feat(spiram): refactor for spiram device driver for s3/c5 2024-08-09 11:43:04 +08:00
Chen Ji Chang
1b0fb462b6 Merge branch 'feat/add_dedic_gpio_support_on_c61' into 'master'
feat(dedic_gpio): support dedic gpio on esp32c61

Closes IDF-9321

See merge request espressif/esp-idf!32688
2024-08-09 11:37:44 +08:00
Marius Vikhammer
0bcee8518b fix(freertos): split idf_additions.c event groups to separate file 2024-08-09 11:19:40 +08:00
dvosully
025b336916 Make FreeRTOS configUSE_TIMERS optional in KConfig 2024-08-09 11:19:40 +08:00
Island
be4278fc47 Merge branch 'fix/ble_mesh_github_pr_14140' into 'master'
fix(ble-mesh): don't use dangling pointer in nimble gatt service

See merge request espressif/esp-idf!32597
2024-08-09 10:33:08 +08:00
wanlei
4313f22a1e change(soc): re-generate ahb_dma header file for esp32c61 2024-08-09 10:13:43 +08:00
igor.udot
a262df7c31 feat: c61 add gdma support 2024-08-09 10:12:40 +08:00
Erhan Kurubas
c7931b0782 feat(esp_system): preload openocd stub binaries and reserve memory for debugging 2024-08-08 23:25:26 +02:00
Adam Múdry
d1571c144b Merge branch 'feat/sdmmc_support_concurrent_use' into 'master'
feat(sdmmc): Concurrent use of SDMMC peripheral

Closes IDF-9152

See merge request espressif/esp-idf!31150
2024-08-09 01:08:16 +08:00
andylinpersonal
0dbb6d94ec fix(ulp): Add the missing extern "C" guard to ulp_lp_core_print.h
This commit adds the missing extern `C` guards the ulp_lp_core_print.h
header file.

Closes https://github.com/espressif/esp-idf/pull/14329
2024-08-08 23:23:08 +08:00
zhanghaipeng
b261ee37e4 fix(bt): Update bt lib for ESP32-C3 and ESP32-S3(f583012)
- Fix BLE channel map update when latency is not zero
2024-08-08 21:33:52 +08:00
Tian Sen Wen
61e05bddc9 fix(esp_eth): Fix DM9051 abnormal operation when SPI clock is too high
Simplified buffer allocation for DM9051
2024-08-08 20:53:48 +08:00
Mario Schlegel
9c98a8584b fix(ble-mesh): don't use dangling pointer in nimble gatt service 2024-08-08 17:39:51 +08:00
Mahavir Jain
f477682938 Merge branch 'feature/remove_aes_rsa_ds_hmac_spport_for_c61' into 'master'
feat: remove suppport for AES, RSA, DS and HMAC in esp32c61

Closes IDF-9326, IDF-9328, IDF-9323, and IDF-9325

See merge request espressif/esp-idf!31798
2024-08-08 17:15:06 +08:00
Mahavir Jain
0aeb9653e7 Merge branch 'fix/avoid_extra_c2m_msync_in_aes_driver' into 'master'
fix(mbedtls/aes): Avoid extra C2M sync of memory

See merge request espressif/esp-idf!32599
2024-08-08 17:04:14 +08:00
C.S.M
3a8c8849b2 Merge branch 'feat/usb_serial_jtag_c61' into 'master'
feature(usb_serial_jtag): Add usb serial jtag support on esp32c61

Closes IDF-9319

See merge request espressif/esp-idf!32676
2024-08-08 15:03:59 +08:00
Armando (Dou Yiwen)
4b77ecdb45 Merge branch 'feat/cache_panic_c5_c61' into 'master'
cache panic: support on c5 and c61

Closes IDF-8645 and IDF-9252

See merge request espressif/esp-idf!32586
2024-08-08 14:09:07 +08:00
Chen Jichang
2fafecdc2e feat(dedic_gpio): support dedic gpio on esp32c61 2024-08-08 14:00:19 +08:00
harshal.patil
b9dc847ee2
fix(mbedtls/aes): Avoid extra C2M sync of memory 2024-08-08 09:12:31 +05:30
Richard Allen
bc56b4fc2e fix(mbedtls/port): fix codespell issues
Fix a few comments codespell identified.
2024-08-08 11:29:53 +08:00
Hong Shu Qing
50df8480b4 Merge branch 'feature/esp32c61_rng_func_support' into 'master'
feat(esp32c61): support rng api

See merge request espressif/esp-idf!32534
2024-08-08 11:16:10 +08:00
C.S.M
bf31a8e781 feat(usb_serial_jtag): Add usb serial jtag support on esp32c61 2024-08-08 11:11:24 +08:00
Armando
36f601b459 test(cache): cache panic test app 2024-08-08 10:38:02 +08:00
Armando
7231a6388b feat(cache): supported cache panic on c61 2024-08-08 10:38:02 +08:00
Armando
190ea15839 feat(cache): supported cache panic on c5 2024-08-08 10:38:02 +08:00
morris
199b7e9b9c Merge branch 'refactor/brownout_ll_function' into 'master'
refactor(brownout): correct names comments in the LL driver

See merge request espressif/esp-idf!32634
2024-08-08 10:09:19 +08:00
Chen Jichang
f919336448 feat(dma): Add helper functions to split aligned buffer
In some cases we will need the dma's buffer to be aligned with specific
requirements. This MR add two helper function to split the unaligned
buffer and merge to the origin buffer. The cost is that each unaligned
buffer requires two stash buffers of spilt alignment size. And this
memory should be managed by callers.
2024-08-07 19:48:19 +08:00
Chen Jian Xing
56816c1ff4 Merge branch 'bugfix/fix_some_esp32_host_issues' into 'master'
Bugfix/fix some esp32 host issues

Closes IDFCI-2286

See merge request espressif/esp-idf!31618
2024-08-07 19:29:08 +08:00
Shu Chen
4025f1fc61 feat(openthread): support time sync feature on border router 2024-08-07 18:52:27 +08:00
Michael Wei
c33c8a27c4 fix(openthread): fix RCP build to pass time sync and CSL options
Closes https://github.com/espressif/esp-idf/pull/14060
2024-08-07 18:50:37 +08:00
Armando (Dou Yiwen)
3a0c25124e Merge branch 'fix/fix_lp_i2s_coverity_issue' into 'master'
lp_i2s: fixed coverity issue

Closes IDF-10715, IDF-10713, IDF-10716, IDF-10714, and IDF-10717

See merge request espressif/esp-idf!32617
2024-08-07 17:29:06 +08:00
Shen Weilong
a5551179ac feat(ble): Print out the BT mac when the controller is initialized 2024-08-07 16:40:27 +08:00
Laukik Hase
6a47d2c9f6 Merge branch 'feat/mbedtls_esp_sha_224_support' into 'master'
feat(mbedtls): Extend the `esp_sha` API to support SHA224 operations

See merge request espressif/esp-idf!32637
2024-08-07 14:31:55 +08:00
Kevin (Lao Kaiyao)
a500f3d3c0 Merge branch 'refactor/i2s_refactor_for_etm' into 'master'
refactor(i2s): refactor to use i2s etm controlling

Closes IDF-10508

See merge request espressif/esp-idf!32315
2024-08-07 14:22:38 +08:00
Rahul Tank
a547ebb383 Merge branch 'feat/set_data_length_enhancement' into 'master'
feat(nimble): Add extra handling for set data len packet event

Closes BLERP-905

See merge request espressif/esp-idf!32515
2024-08-07 13:06:42 +08:00
Laukik Hase
e8477fb894
feat(mbedtls): Extend the esp_sha API to support SHA224 operations 2024-08-07 10:03:11 +05:30
morris
9716d9e5ca refactor(brownout): correct names comments in the LL driver 2024-08-07 10:46:57 +08:00
liqigan
06b2276b7f fix(esp_hid): Loose the check of input report length to be more compatible
Closes https://github.com/espressif/esp-idf/issues/14259
2024-08-07 10:28:35 +08:00
Armando
6219d5e7d4 fix(lp_i2s): fixed coverity issue 2024-08-07 09:59:02 +08:00
hongshuqing
e036a7b745 feat(bootloader): add rng support for ESP32-C61 2024-08-06 20:21:07 +08:00
nilesh.kale
e74dcb1fab feat: remove support for aes and rsa peripherals in esp32c61 2024-08-06 15:06:16 +05:30
nilesh.kale
bedfe0fe3b feat: remove suppport for ds and hmac in esp32c61
This commit remove support for DS and HMAC peripheral
in ESP32C61.
2024-08-06 15:06:08 +05:30
Island
f305b74d43 Merge branch 'feat/ble_mesh_support_esp32c5' into 'master'
Feat/ble mesh support esp32c5

Closes BLERP-893 and IDF-9165

See merge request espressif/esp-idf!32479
2024-08-06 17:34:02 +08:00
Mahavir Jain
afaa7c4fe9 Merge branch 'change/exclude_cves' into 'master'
change: exclude CVEs that do not impact ESP-IDF components

See merge request espressif/esp-idf!32521
2024-08-06 17:19:00 +08:00
Adam Múdry
014dddad1f feat(sdmmc): Concurrent use of SDMMC peripheral
Host and device (card, etc.) initialization is not thread-safe.
After initialization transactions are serialized and guarded by mutex.
Changed `SDMMC_HOST_DEFAULT()` default deinit function to `sdmmc_host_deinit_slot`
which has a slot number as argument.
2024-08-06 10:34:13 +02:00
Island
ff4f1a24ce Merge branch 'bugfix/fixed_ble_issues_on_c6_h2_c2_0731' into 'master'
Bugfix/fixed ble issues on c6 h2 c2 0731

Closes BLERP-858, BLERP-856, BLERP-772, BLERP-888, BLERP-886, BLERP-884, BLERP-883, BLERP-879, BLERP-877, and BLERP-899

See merge request espressif/esp-idf!32457
2024-08-06 16:00:49 +08:00
Mahavir Jain
a6b6851f75 Merge branch 'feat/enable_ecdsa_support_in_esp32c61' into 'master'
feat: enabled support for ecdsa in esp32c61

Closes IDF-9231

See merge request espressif/esp-idf!31366
2024-08-06 13:55:08 +08:00
zhanghaipeng
3e98408b92 docs(ble/bluedroid): Optimize documentation for BLE connection parameter updates 2024-08-06 11:17:46 +08:00
Wu Zheng Hui
82e76abaa8 Merge branch 'bugfix/fix_esp32p4_sleep_psram_access_failure' into 'master'
fix(esp_hw_support): support esp32p4  psram  sleep retention

Closes PM-138, PM-177, PM-187, PM-189, and PM-190

See merge request espressif/esp-idf!32190
2024-08-06 10:49:03 +08:00
Island
707dd9b599 Merge branch 'bugfix/fix_cble50y24_81' into 'master'
feat(bt/bluedroid): Add print and assert when failed to alloc memory

Closes BLERP-809

See merge request espressif/esp-idf!31634
2024-08-06 10:46:49 +08:00
Gao Xu
e094c927e9 Merge branch 'feature/esp32c61_uart_support' into 'master'
feat(uart): support uart on ESP32C61

Closes IDF-9320, IDF-9341, and IDF-9329

See merge request espressif/esp-idf!32254
2024-08-06 10:39:06 +08:00
Shu Chen
8e4454b285 Merge branch 'feature/support_ieee802154_for_esp32c5_base_master' into 'master'
Some checks failed
docker / docker (push) Has been cancelled
feat(802.15.4): support 802.15.4 on esp32c5

Closes TZ-959 and TZ-956

See merge request espressif/esp-idf!32240
2024-08-06 10:34:48 +08:00
laokaiyao
1c52462a4d docs(i2s): update programming guide for I2S ETM feature 2024-08-06 10:16:34 +08:00
laokaiyao
a51b5dbe78 refactor(i2s): refactor to use i2s etm controlling 2024-08-06 10:16:34 +08:00
laokaiyao
b6de55b634 feat(i2s): support i2s etm event and task 2024-08-06 10:16:34 +08:00
Island
ba4e111e87 Merge branch 'bugfix/fix_blecrt_196' into 'master'
feat(bt/bluedroid): Report HCI error code to app when command fails

Closes BLERP-897

See merge request espressif/esp-idf!32411
2024-08-05 19:51:54 +08:00
Armando (Dou Yiwen)
d16bb64005 Merge branch 'feature/lp_i2s' into 'master'
lp_i2s: support lp_i2s driver

Closes IDF-10355

See merge request espressif/esp-idf!31494
2024-08-05 17:55:35 +08:00
Liu Xiao Yu
4d03f63de0 Merge branch 'change/bu_lp_i2c_c5' into 'master'
change(ulp): bring up lp i2c on esp32c5

Closes IDF-8634

See merge request espressif/esp-idf!32142
2024-08-05 16:58:20 +08:00
chenjianhua
800f360cc3 feat(bt/bluedroid): Add print and assert when failed to alloc memory 2024-08-05 16:18:41 +08:00
Mahavir Jain
9b5137347d Merge branch 'fix/incorrect_config_name' into 'master'
Fix encrypt image instead of the partition optimisation not being enabled

See merge request espressif/esp-idf!32517
2024-08-05 15:37:25 +08:00
gaoxu
cd9d8bf2e9 feat(uart): support uart on ESP32C61 2024-08-05 15:06:51 +08:00
C.S.M
6b94f0766f Merge branch 'fix/mmu_func_force_inline' into 'master'
fix(mmu_map): make a static function force inline in order not be put in flash

See merge request espressif/esp-idf!32550
2024-08-05 14:02:31 +08:00
Rahul Tank
15dbfa8a5b feat(nimble): Add extra handling for set data len packet event 2024-08-05 11:05:27 +05:30
Rahul Tank
737d8f8455 Merge branch 'bugfix/adjust_tx_power_lvl_boundary' into 'master'
fix(nimble): Modify Advertising Tx power levels

Closes BLERP-901

See merge request espressif/esp-idf!32484
2024-08-05 13:24:29 +08:00
wuzhenghui
55219ba7f4
change(esp_hw_support): add case to test PSRAM survives after lightsleep 2024-08-05 13:21:09 +08:00
wuzhenghui
819680ff9b
change(esp_hw_support): reorder light/deep sleep test cases and wrapper with corresponding support macros 2024-08-05 13:21:08 +08:00
wuzhenghui
d7eb829fd0
feat(esp_hw_support): support esp32p4 psram retention 2024-08-05 13:21:05 +08:00
nilesh.kale
5cc0110958 feat: enabled support for ecdsa in esp32c61
This commit add ECDSA peripheral support in ESP32C61.
2024-08-05 09:29:31 +05:30
nilesh.kale
849726a3b7 feat: enable secure boot feature for esp32c61 2024-08-05 09:23:27 +05:30
C.S.M
20183e0770 Merge branch 'feat/gpspi_flash_support' into 'master'
feat(spi_flash): Add external flash support on esp32c6,esp32h2,esp32p4,esp32c5

See merge request espressif/esp-idf!32337
2024-08-05 11:00:15 +08:00
morris
89cf4479b0 Merge branch 'change/pin_ili9881c_version' into 'master'
change(examples): set the ili9881c version to 0.2.x

See merge request espressif/esp-idf!32552
2024-08-05 10:59:18 +08:00
Zhang Yan Jiao
d2197be1ee Merge branch 'bugfix/fix_mesh_ie_issue_from_leaf_to_root' into 'master'
fix(wifi/mesh): clear the rootless state in mesh ie when changing from leaf to root

Closes IDFGH-13117 and IDFCI-1116

See merge request espressif/esp-idf!32220
2024-08-05 10:41:41 +08:00
Gao Xu
ff4620a51d Merge branch 'feature/manage_isp_continuous_oneshot_conflict' into 'master'
ISP: AE/AF/AWB continuous concurrent manage

Closes IDF-10579 and IDF-10672

See merge request espressif/esp-idf!32519
2024-08-05 09:28:12 +08:00
Armando (Dou Yiwen)
5dbf2aea2a Merge branch 'fix/pr_14288' into 'master'
sdspi: add dma_aligned_buffer and pwr_ctrl_handle fields (pr_14288)

Closes IDFGH-13376

See merge request espressif/esp-idf!32532
2024-08-05 09:18:46 +08:00
Mahavir Jain
3efe0853fb Merge branch 'bugfix/null_assign_variable' into 'master'
fix(wifi_prov): Use calloc instead of malloc to zero initialize variable

See merge request espressif/esp-idf!32525
2024-08-02 22:03:39 +08:00
gaoxu
e3a717fd15 feat(isp): fix potentiual AF/AE/AWB continuous and oneshot conflict and add test 2024-08-02 16:52:35 +08:00
Atsunori Saito
5518e5639c fix(sdspi): add dma_aligned_buffer and pwr_ctrl_handle fields
Closes https://github.com/espressif/esp-idf/pull/14288
2024-08-02 16:51:52 +08:00
zwl
ca5cb23095 fix: fixed directed adv can't be conneted when adv filter is 0x2 on ESP32C2 2024-08-02 16:34:21 +08:00
morris
9419dbfe68 change(examples): set the ili9881c version to 0.2.x 2024-08-02 16:34:21 +08:00
zwl
556264dcad fix: fixed occasional wdt issue in multi-connection scenarios on ESP32H2 2024-08-02 16:34:21 +08:00
C.S.M
7c08d417d2 fix(mmu_map): make a static function force inline in order not be put in flash 2024-08-02 15:51:22 +08:00
zhangyanjiao
d7e03943d4 fix(wifi/mesh): clear the rootless state in mesh ie when changing from leaf to root
Closes https://github.com/espressif/esp-idf/issues/14063
2024-08-02 14:44:56 +08:00
zwx
3d46e6ed1d feat(802.15.4): support 802.15.4 on esp32c5 2024-08-02 14:34:07 +08:00
Xu Xiao
cf05fa303f Merge branch 'fix/fix_esp32c5_crash_issues' into 'master'
fix(wifi): fix esp32c5 crash issues when connect with full channel scan

Closes WIFIBUG-686 and WIFI-6620

See merge request espressif/esp-idf!32486
2024-08-02 14:22:41 +08:00
Rahul Tank
a6f90b5a02 fix(nimble): Modify Advertising Tx power levels 2024-08-02 11:24:56 +05:30
Rahul Tank
35e88684db fix(wifi_prov): Use calloc instead of malloc to zero initialize variable 2024-08-02 10:33:28 +05:30
Armando
20e665022f test(lp_i2s): added lp i2s read tests 2024-08-02 12:02:05 +08:00