Commit Graph

45105 Commits

Author SHA1 Message Date
Kapil Gupta
4f127f57e2 fix(esp_wifi): Fix some compilation errors in roaming app 2025-03-05 12:24:15 +05:30
Kapil Gupta
c058048085 fix(esp_wifi): Correctly break 11kv config into wnm and rrm configs 2025-03-05 12:24:11 +05:30
gongyantao
fafdae5cb7 fix(bt): fixed some issues in bt controller
- fixed the issue where the NULL pointer was deferenced in lc_free state
- avoid accessing released ACL resources in SCO logic
2025-03-05 14:46:43 +08:00
morris
ee668ee658 test(BitScrambler): added more basic test cases
e.g. to test different eof mode, prefetch mode
2025-03-05 14:41:49 +08:00
Rahul Tank
cf169a402b Merge branch 'bugfix/fix_link_estab_compile_failure' into 'master'
fix(nimble): Handle probable release breaking change

See merge request espressif/esp-idf!37433
2025-03-05 13:58:46 +08:00
Shreeyash
19716c764d feat(nimble): Allow BLE SPP Client to subscribe to the server 2025-03-05 11:26:16 +05:30
Fu Hanxi
03b4711ed2 test: disable esp32c6 test for examples/peripherals/mcpwm/mcpwm_sync 2025-03-05 12:08:48 +08:00
igor.udot
daf2d31008 test: format all test scripts 2025-03-05 12:08:48 +08:00
Chen Ji Chang
270cd77abb Merge branch 'feat/h4_introduce_step5' into 'master'
feat(esp32h4): add G0 component support (stage5)

See merge request espressif/esp-idf!37254
2025-03-05 11:08:33 +08:00
Espressif BOT
a39d8d43ee change(mbedtls/crt_bundle): Update esp_crt_bundle certificates 2025-03-05 10:44:47 +08:00
Island
5787da0aec Merge branch 'feat/ble_read_long_value' into 'master'
feat(ble/bluedroid): Add Read Long Characteristic Values example

Closes FCS-1676

See merge request espressif/esp-idf!37273
2025-03-04 21:13:37 +08:00
Jiang Jiang Jian
cfed129e05 Merge branch 'bugfix/fix_some_bugs_ralated_to_channel_esp32c5' into 'master'
fix(wifi): refactor and fix second channel is always below in ht40 on 5G band

Closes FCW-198

See merge request espressif/esp-idf!35263
2025-03-04 17:43:16 +08:00
renpeiying
2aee9ac12c docs: Add translation for api-guides/tools/diag_tool 2025-03-04 16:44:35 +08:00
Chen Jichang
30f2578e75 fix(esp32h4): fix g0 component build 2025-03-04 16:17:18 +08:00
igor.udot
717c18a58e test: fix test name conflict 2025-03-04 15:53:33 +08:00
igor.udot
bbcef0570d ci: add test marks linter 2025-03-04 15:53:32 +08:00
Sudeep Mohanty
47df2ed524 Merge branch 'fix/lp_uart_flush_wait_for_idle' into 'master'
fix(lp_uart): Update the `lp_core_uart_tx_flush()` API to wait for UART Tx idle state

Closes IDFGH-14693

See merge request espressif/esp-idf!37401
2025-03-04 15:50:26 +08:00
zhanghaipeng
dcc26e3e4f feat(ble/bluedroid): Support read periodic advertiser list size command 2025-03-04 15:44:27 +08:00
morris
f7bfa95d81 Merge branch 'fix/jpeg_decode_correctly_set_restart_interval' into 'master'
feat(jpeg_decoder): Correctly set JPEG restart interval

See merge request espressif/esp-idf!37370
2025-03-04 15:44:18 +08:00
Chen Jichang
b16095cf00 feat(esp32h4): add G0 component support (stage5) 2025-03-04 15:21:58 +08:00
Marius Vikhammer
2fa89207f4 ci(owners): update codeowners for testing components 2025-03-04 14:28:01 +08:00
Marius Vikhammer
64113b8e86 Merge branch 'bugfix/unit_test_example' into 'master'
fix(linux_target): fixed TEST_COMPONENTS not working on macOS for linux target

Closes IDFGH-14751

See merge request espressif/esp-idf!37429
2025-03-04 13:59:51 +08:00
harshal.patil
a6ea9bcd41 fix(secure_boot): Fix SB verification failure when sig block and key digest mismatch
- Secure boot V2 verification failed when multiple keys are used to sign the bootloader
  and the application is signed with a key other than the first key that is used to
  sign the bootloader.
- The issue was introduced as a regression from the commit `ff16ce43`.
- Added a QEMU test for recreating the issue.
- Made SECURE_BOOT_FLASH_BOOTLOADER_DEFAULT independent of SECURE_BOOT_BUILD_SIGNED_BINARIES.
2025-03-04 11:26:51 +05:30
morris
afb2154247 Merge branch 'docs/add_translation_for_bitscrambler' into 'master'
docs: Provide CN translation for bitscrambler

See merge request espressif/esp-idf!36804
2025-03-04 13:40:26 +08:00
Ren Peiying
f38bb558fc docs: Provide CN translation for bitscrambler 2025-03-04 13:40:26 +08:00
morris
541c21f975 Merge branch 'feat/enable_l2mem_burst_buffer_mode' into 'master'
Enable l2mem burst buffer mode && improve AXI-ICM QoS function

See merge request espressif/esp-idf!37283
2025-03-04 11:14:20 +08:00
morris
ca2e1c71c4 Merge branch 'bugfix/rmt_simple_encoder_example' into 'master'
fix(example): wrong ws2812 reset duration

Closes IDFGH-14759

See merge request espressif/esp-idf!37447
2025-03-04 11:10:14 +08:00
Zhang Shu Xian
420e61d022 Merge branch 'docs/update_translation_for_nvs_bootloader' into 'master'
docs: Provide CN translation for nvs bootloader and fix broken link

Closes DOC-10278 and DOC-10343

See merge request espressif/esp-idf!37252
2025-03-04 10:05:42 +08:00
Jonas Jonsson
b1f63fe9b2 feat(ppp): Improve PPP server + client support
Make it easier to run a PPP server and client on different interfaces by
adding the interface name to logs and expose the PPP passive option.
2025-03-03 16:09:33 +01:00
Jonas Jonsson
0151c8db54 feat(ppp): Allow config PPP DNS servers for peer
Make it possible to set the DNS servers to provide to the peer. This is
useful when acting as a PPP server.

If any DNS server is set, don't request a DNS server from the peer.
2025-03-03 16:09:33 +01:00
Song Ruo Jing
65044efa22 Merge branch 'bugfix/ppa_srm_scale_frag_yuv420' into 'master'
fix(ppa): fix ppa srm potentially get blocked when scaling to YUV420

Closes IDF-12468

See merge request espressif/esp-idf!37318
2025-03-03 22:41:44 +08:00
morris
1d400fb92e Merge branch 'refactor/gptimer_placement_by_app_trace' into 'master'
refactor(app_trace): don't need to place the whole gptimer driver in the IRAM

Closes IDF-12513

See merge request espressif/esp-idf!37430
2025-03-03 22:14:01 +08:00
Frantisek Hrbata
70407df8c2 fix(build): don't call enable_language() before project()
For the Linux target, we currently attempt to fallback to older C/CXX
lagnuage standards in the __build_set_lang_version() function. The
language standard support is checked using CMake's language-specific
functions, such as check_c_compiler_flag(). These functions require the
language to be enabled[1] in CMake beforehand, which is done by calling
project() or by enabling the languages later with enable_language(). At
present, we use enable_language() to enable C and CXX languages in
CMake, allowing us to set the standard early, before invoking project().
However, newer CMake versions (>3.29) issue a warning[2] if
enable_language() is called before project(), as noted in CMP0165[3].

It should generally be acceptable to call __build_set_lang_version()
after __project(), but doing so would alter the behavior of the
COMPILE_OPTIONS also for non-Linux targets. Currently, users can
add to COMPILE_OPTIONS even before calling project() in the project's
CMakeLists.txt and the options will be in the desired order. In other
words, appending to COMPILE_OPTIONS can occur either before or after
calling project() in the project's CMakeLists.txt, with the outcome
remaining consistent. This means the user's settings will appear later
and take priority. However, if __build_set_lang_version() is called
after __project(), the user's COMPILE_OPTIONS settings would be
overridden if set before calling project(). Our documentation[4] explicitly
states that COMPILE_OPTIONS and similar properties should be modified
using idf_build_set_property() after calling project() to prevent
default values from overwriting them.

Even with this guidance, some existing components that modify
COMPILE_OPTIONS before invoking project() might be impacted by this
change. Therefore, separate the language standard settings for non-Linux
and Linux targets. For non-Linux targets, these settings are applied in
__build_set_default_build_specifications(), maintaining the current
behavior. For the Linux target, the language standard is set with
__linux_build_set_lang_version() after calling __project(), ensuring the
languages are already enabled in CMake and no warning is issued. Since the Linux
target is still in preview, this approach should be acceptable,
especially with the existing documentation[4].

Closes https://github.com/espressif/esp-idf/issues/15488

[1] https://cmake.org/cmake/help/latest/manual/cmake-toolchains.7.html#languages
[2] https://gitlab.kitware.com/cmake/cmake/-/merge_requests/9396
[3] https://cmake.org/cmake/help/latest/policy/CMP0165.html#policy:CMP0165
[4] https://docs.espressif.com/projects/esp-idf/en/v5.4/esp32/api-guides/
    build-system.html#overriding-default-build-specifications

Signed-off-by: Frantisek Hrbata <frantisek.hrbata@espressif.com>
2025-03-03 14:52:18 +01:00
yinqingzhao
1c5708b07b fix(wifi): fix some bugs related channel 2025-03-03 20:40:45 +08:00
Jan Beran
2ccbb2f91d fix(kconfig): Fix issues with Kconfig files 2025-03-03 13:02:41 +01:00
David Čermák
9715729b27 Merge branch 'fix/common_connect_sema_race' into 'master'
fix(connect): Fix wifi_connect to delete semaphores after waiting on them

See merge request espressif/esp-idf!37164
2025-03-03 20:01:15 +08:00
morris
b815cb18b8 Merge branch 'bugfix/spi_lcd_dc_io_setup' into 'master'
fix(lcd): DC signal shouldn't affect the input path of the GPIO

Closes IDFGH-14740

See merge request espressif/esp-idf!37427
2025-03-03 18:28:09 +08:00
Mahavir Jain
01652f590c Merge branch 'fix/tee_otadata_part_encrypted' into 'master'
fix(esp_tee): TEE otadata partition default encrypted for flash-enc case

See merge request espressif/esp-idf!36720
2025-03-03 17:49:05 +08:00
morris
d96e325388 fix(example): wrong ws2812 reset duration
Closes https://github.com/espressif/esp-idf/issues/15498
2025-03-03 17:19:21 +08:00
Kapil Gupta
a8e5fd4b86 fix(ci): Update UT to verify fast psk calculations
Also update some comments
2025-03-03 14:16:32 +05:30
Marius Vikhammer
d46b4fbfcf fix(linux_target): fixed TEST_COMPONENTS not working on macOS for linux target
Closes https://github.com/espressif/esp-idf/issues/15490
2025-03-03 16:42:18 +08:00
harshal.patil
700f62e206 feat(wpa_supplicant): Support all targets generically in fastpsk 2025-03-03 14:04:45 +05:30
Kapil Gupta
e02e6fe5ca fix(esp_wifi): Add some comments in github PR 15073
Closes https://github.com/espressif/esp-idf/pull/15073
2025-03-03 14:04:44 +05:30
Chien Wong
03311c6867 feat(wpa_supplicant): Add optimized PSK impl
Signed-off-by: Chien Wong <m@xv97.com>
2025-03-03 14:04:44 +05:30
Jan Beran
0ef626c3cb fix(esp_system): Remove unnecessary select from esp_system/Kconfig 2025-03-03 09:19:07 +01:00
Mahavir Jain
3821d6cb97 fix(esp_tee): TEE otadata partition default encrypted for flash-enc case 2025-03-03 15:50:47 +08:00
C.S.M
eb5c2485e2 Merge branch 'fix/flash_encryption_verify_write' into 'master'
fix(spi_flash): Fix flash encryption write verify

Closes IDFGH-14629

See merge request espressif/esp-idf!37356
2025-03-03 15:14:09 +08:00
Rahul Tank
b11fa82eb6 fix(nimble): Handle probable release breaking change
link_estab event may be handled by customers in application and the previous would break it.
Revert few changes so as to not break the customer's code
2025-03-03 12:34:39 +05:30
morris
2cd87223a8 feat(l2mem): enable buffer mode for ahb burst access 2025-03-03 14:38:24 +08:00
morris
099c5a8a69 fix(axi_icm): qos can be applied to read and write independently 2025-03-03 14:38:24 +08:00