Commit Graph

32803 Commits

Author SHA1 Message Date
wanckl
08de38ae62 refactor(driver_twai): remove errata config selection 2 2025-11-11 13:18:14 +08:00
wanckl
7fa65f4cff refactor(driver_twai): remove errata config selection 1 2025-11-11 13:18:14 +08:00
morris
74710439b9 Merge branch 'feat/deprecate_legacy_twai_v6.0' into 'release/v6.0'
feat(driver_twai): add legacy driver deprecated warning (v6.0)

See merge request espressif/esp-idf!42975
2025-11-11 11:30:00 +08:00
Island
b65d10f0d8 Merge branch 'change/ble_update_lib_20251030_v6.0' into 'release/v6.0'
change(ble): [AUTO_MR] 20251030 - Update ESP BLE Controller Lib (v6.0)

See merge request espressif/esp-idf!42981
2025-11-10 10:36:55 +08:00
Michael (XIAO Xufeng)
3911e65523 Merge branch 'feat/switch_h4_ci_build_to_mp_v6.0' into 'release/v6.0'
feat(esp32h4): switch default h4 build to mp version (v6.0)

See merge request espressif/esp-idf!43052
2025-11-06 00:22:51 +08:00
Zhao Wei Liang
f8f9cacd1c change(ble): [AUTO_MR] Update lib_esp32c6 to 5b8adfa8
(cherry picked from commit 16a893e934)

Co-authored-by: zhaoweiliang <zhaoweiliang@espressif.com>
2025-11-06 00:07:34 +08:00
Zhao Wei Liang
d13044debf change(ble): [AUTO_MR] Update lib_esp32c5 to 5b8adfa8
(cherry picked from commit baf8a20a5e)

Co-authored-by: zhaoweiliang <zhaoweiliang@espressif.com>
2025-11-06 00:07:34 +08:00
Zhao Wei Liang
d44a245e1b change(ble): [AUTO_MR] Update lib_esp32h2 to 5b8adfa8
(cherry picked from commit 4e07ce892d)

Co-authored-by: zhaoweiliang <zhaoweiliang@espressif.com>
2025-11-06 00:07:34 +08:00
morris
b45631a7af Merge branch 'fix/anacmpr_etm_test_v6.0' into 'release/v6.0'
fix(test): deley some time to ensure gptimer is stopped (v6.0)

See merge request espressif/esp-idf!42891
2025-11-05 11:14:34 +08:00
Frantisek Hrbata
f93a0d9ff2 fix(esp_libc/cmake): add vfs as requirement if CONFIG_VFS_SUPPORT_IO is enabled
The esp_libc relies on the stdio implementation of the vfs component if
CONFIG_VFS_SUPPORT_IO is enabled. This is not an issue in cmakev1
because if the vfs component is not included in the project build, its
configuration is not available, and CONFIG_VFS_SUPPORT_IO is not set.
However, in cmakev2, the configuration for all components is available,
and the presence of some component configuration options does not
necessarily mean that the component is included in the project build.
When esp_libc is compiled without the vfs dependency but with
CONFIG_VFS_SUPPORT_IO enabled, the libc initialization will encounter a
panic due to a NULL pointer dereference (fp->_flags) in __swsetup_r, as
fopen in esp_libc_init_global_stdio will return NULL.
2025-11-04 07:48:15 +01:00
Frantisek Hrbata
ce5646b354 fix(esp_hal_i2c/cmake): fix the usage of the uninitialized variable
The `includes` list variable is used without initialization. Initialize
it explicitly.

Signed-off-by: Frantisek Hrbata <frantisek.hrbata@espressif.com>
2025-11-04 07:48:14 +01:00
Frantisek Hrbata
a82016927f fix(mbedtls/cmake): handle lwip dependency in cmakev2
Currently, the lwip is linked to mbedtls if CONFIG_LWIP_ENABLE is set.
This approach works in cmakev1 because only the configuration for
BUILD_COMPONENTS is available during component evaluation. However, this
is not the case in cmakev2, where the configuration for all components
is available. This means that even if CONFIG_LWIP_ENABLE is set, it does
not guarantee that the lwip component is included in the build. For
cmakev2, modify the check to use a generator expression to ensure that
lwip is linked to mbedtls only if lwip is actually included in the
build.

Signed-off-by: Frantisek Hrbata <frantisek.hrbata@espressif.com>
2025-11-04 07:48:14 +01:00
Frantisek Hrbata
5edb41e548 fix(esp_usb_cdc_rom_console/cmake): avoid using uninitialized srcs variable
In cmakev2, the component CMakeLists.txt files are evaluated recursively
based on the component dependencies. This means that variables from
previously evaluated components are set and available in the scope of
the currently evaluated component. It is necessary to initialize every
variable that is used.

Fixes: 56e0c11bb6 ("feat(usb_cdc_console): moved usb-cdc ROM console to n..")
Signed-off-by: Frantisek Hrbata <frantisek.hrbata@espressif.com>
2025-11-04 07:48:13 +01:00
Frantisek Hrbata
4fa31953b2 fix(xtensa/cmake): do not include project_include.cmake if the architecture is not xtensa
In cmakev2, the project_include.cmake files for every component are
included. This means that even when working with RISC-V, the
project_include.cmake file for Xtensa is still included. Ensure that the
architecture is verified, and exit if it is not Xtensa.

Signed-off-by: Frantisek Hrbata <frantisek.hrbata@espressif.com>
2025-11-04 07:48:13 +01:00
Frantisek Hrbata
7eb762611f fix(esp_eth/cmake): avoid using BUILD_COMPONENTS build property for IDF_BUILD_V2
IDF_BUILD_V2 does not have BUILD_COMPONENTS build property. Therefore,
when IDF_BUILD_V2 is defined, use a generator expressions instead.
The inclusion of esp_eth_netif_glue.c, which relies on the presence of
the esp_netif component, should ideally be managed by a configuration
option. The same applies to the requirements for esp_eth. Currently,
only a basic adjustment has been made to enable the inclusion of esp_eth
in cmakev2.

Signed-off-by: Frantisek Hrbata <frantisek.hrbata@espressif.com>
2025-11-04 07:48:13 +01:00
Frantisek Hrbata
497ef182da fix(esp_common/cmake): avoid using BUILD_COMPONENTS build property for IDF_BUILD_V2
IDF_BUILD_V2 does not have BUILD_COMPONENTS build property. Therefore,
when IDF_BUILD_V2 is defined, use idf_component_optional_requires and
generator expressions instead. I believe that the one-liner should also
work with IDF_BUILD_V1, but the change is kept separate to clearly show
the difference between IDF_BUILD_V1 and IDF_BUILD_V2.

Signed-off-by: Frantisek Hrbata <frantisek.hrbata@espressif.com>
2025-11-04 07:48:13 +01:00
Frantisek Hrbata
41fd27cc97 fix(heap/cmake): avoid using BUILD_COMPONENTS build property for IDF_BUILD_V2
IDF_BUILD_V2 does not have BUILD_COMPONENTS build property. Therefore,
when IDF_BUILD_V2 is defined, use a generator expressions instead. I
believe that the one-liner should also work with IDF_BUILD_V1, but the
change is kept separate to clearly show the difference between
IDF_BUILD_V1 and IDF_BUILD_V2.

Signed-off-by: Frantisek Hrbata <frantisek.hrbata@espressif.com>
2025-11-04 07:48:13 +01:00
Chen Jichang
dacc106758 feat(esp32h4): switch default h4 build to mp version 2025-11-03 16:27:05 +08:00
wanckl
e0c6238db1 feat(driver_twai): add legacy driver deprecated warning 2025-10-29 17:38:39 +08:00
morris
c0750e8bd4 fix(test): deley some time to ensure gptimer is stopped 2025-10-27 11:06:12 +08:00
Song Ruo Jing
d76364c2a4 Merge branch 'bugfix/uart_get_tx_buffer_free_size' into 'master'
fix(uart): correct uart_get_tx_buffer_free_size calculation

Closes IDFGH-15188

See merge request espressif/esp-idf!42701
2025-10-24 14:30:39 +08:00
David Čermák
d878a786fd Merge branch 'fix/netif_enable_lostip_timer' into 'master'
[esp_netif]: Enable/disable the lost-ip-timer explicitely

Closes IDF-10922

See merge request espressif/esp-idf!42044
2025-10-24 14:23:33 +08:00
David Čermák
42abb32a86 Merge branch 'fix/netif_verbose_level_for_trace' into 'master'
[esp_netif]: Change debug->verbose level for tracing logs

Closes IDFGH-12320

See merge request espressif/esp-idf!42344
2025-10-24 14:19:40 +08:00
Mahavir Jain
9172ed9727 Merge branch 'fix/fix_host_transport_ci_test' into 'master'
fix: fix failing test_transport_on_host test in the CI pipeline

See merge request espressif/esp-idf!42621
2025-10-24 11:10:40 +05:30
David Čermák
8a64cc15a5 Merge branch 'feat/netif_mtu_path_disc' into 'master'
[esp_netif]: Support for MTU path discovery

Closes IDFGH-10355 and IDFGH-14560

See merge request espressif/esp-idf!42088
2025-10-24 13:29:03 +08:00
Island
94d2e8eff0 Merge branch 'change/ble_update_lib_20251022' into 'master'
change(ble): [AUTO_MR] 20251022 - Update ESP BLE Controller Lib

Closes BLERP-2329, BLERP-2315, BLERP-2316, BLERP-2325, BLERP-2256, BLERP-2326, BLERP-2327, BLERP-2328, BLERP-2330, BLERP-2331, BLERP-2302, BLERP-2300, and BLERP-2301

See merge request espressif/esp-idf!42821
2025-10-24 13:17:29 +08:00
Marius Vikhammer
f04d9ac50e Merge branch 'ci/ulp_fsm_reset_between_tests' into 'master'
ci(ulp): reset board between ulp-fsm tests

Closes IDFCI-3334 and IDFCI-3336

See merge request espressif/esp-idf!42857
2025-10-24 12:22:15 +08:00
Guillaume Souchere
67b258d55a Merge branch 'fix/console-deinit-test-threshold' into 'master'
fix(console): Update the leak threashold after struct update in intr_alloc.c

See merge request espressif/esp-idf!42809
2025-10-24 04:28:12 +02:00
Marius Vikhammer
865f0f4f0e ci(ulp): reset board between ulp-fsm tests 2025-10-24 10:15:35 +08:00
Kevin (Lao Kaiyao)
37b8f8f3e6 Merge branch 'bugfix/fix_touch_curr_scan_workaround_on_p4' into 'master'
fix(esp32p4): P4 touch channel 14 failure fix

Closes IDFGH-16661

See merge request espressif/esp-idf!42818
2025-10-24 04:46:39 +08:00
David Čermák
b3afa26a60 Merge branch 'feat/netif_sntp_events' into 'master'
[esp_netif]: Support posting event on SNTP time updates

Closes IDF-1729

See merge request espressif/esp-idf!42075
2025-10-24 04:42:00 +08:00
David Čermák
4a59e94b4e Merge branch 'fix/lwip_dhcps_fuzz' into 'master'
[lwip]: Fix dhcp server minor issues found when fuzzing

See merge request espressif/esp-idf!42315
2025-10-24 04:41:24 +08:00
Tomas Rohlinek
06004072cb Merge branch 'feat/vfs_disable_termios_by_default' into 'master'
feat(storage/vfs): Disable termios support by default

Closes IDF-7998

See merge request espressif/esp-idf!42175
2025-10-23 13:25:11 +02:00
Tomas Rohlinek
734c1725fb Merge branch 'feat/fatfs_update_default_options' into 'master'
feat(storage/fatfs): Update default configuration to better fit average usecase

Closes IDF-14042

See merge request espressif/esp-idf!42174
2025-10-23 13:23:13 +02:00
Michael (XIAO Xufeng)
746485f640 Merge branch 'fix/cpu_reset_dma' into 'master'
dma: fixed issue that DMA are not reset when CPU reset

See merge request espressif/esp-idf!41512
2025-10-23 16:26:57 +08:00
David Cermak
a6b216ac22 fix(esp_netif): Change debug->verbose level for tracing logs 2025-10-23 13:57:11 +08:00
David Cermak
787bb39765 feat(esp_netif): Support posting event on SNTP time update 2025-10-23 13:56:02 +08:00
David Čermák
6bfcd4b41c Merge branch 'fix/netif_igmp_cb' into 'master'
[esp_netif]: Fix calling IGMP callbacks after igmp_init()

Closes IDF-13554

See merge request espressif/esp-idf!42310
2025-10-23 13:53:51 +08:00
David Čermák
406c7f3ec6 Merge branch 'fix/netif_deprecated_inc' into 'master'
[lwip]: Removed deprecated headers

Closes IDF-6414

See merge request espressif/esp-idf!41868
2025-10-23 13:51:26 +08:00
David Cermak
4709069e13 fix(lwip): Fix dhcp-server to use callback only if configured 2025-10-23 13:49:21 +08:00
David Cermak
0cc53db591 fix(lwip): Fix dhcp-server to mem_free() items allocated by mem_alloc() 2025-10-23 13:49:21 +08:00
David Cermak
4c69bf826f feat(esp_netif): Add support for initial MTU in netif config
Closes https://github.com/espressif/esp-idf/issues/15319
2025-10-23 07:41:42 +02:00
Gao Xu
23dc9a9f47 Merge branch 'fix/esp32_adc_continuous_loss_sample' into 'master'
Fix/esp32 adc continuous loss sample

Closes IDFGH-9225, IDF-8427, and FCS-1773

See merge request espressif/esp-idf!41933
2025-10-23 12:50:06 +08:00
morris
920efaabbd Merge branch 'feat/esp_hal_lcd' into 'master'
feat(hal):graudate the LCD hal driver into a new component

Closes IDF-13676 and IDF-14100

See merge request espressif/esp-idf!42751
2025-10-23 12:36:59 +08:00
zhaoweiliang
96bdca38a1 feat(ble): add priority level config on ESP32-C5 2025-10-23 11:25:42 +08:00
zhaoweiliang
75f2b8d4a1 feat(ble): add priority level config on ESP32-H2 2025-10-23 11:25:42 +08:00
zhaoweiliang
09337109b7 feat(ble): add priority level config on ESP32-C6 2025-10-23 11:25:37 +08:00
C.S.M
19fef9f5ac Merge branch 'refactor/remove_flash_rom_patch_cfg' into 'master'
refactor(spi_flash): Remove spi_flash rom driver patch config option

Closes IDF-1578

See merge request espressif/esp-idf!42108
2025-10-23 11:24:46 +08:00
laokaiyao
c253f82bec ci(touch): add test case for the curr measuring channel 2025-10-23 10:47:48 +08:00
Pete Kabaragoya
7adc84467f fix(esp32p4): P4 touch channel 14 failure fix
Merges https://github.com/espressif/esp-idf/pull/17759

Core dump when using all touch channels on a P4 unless curr_chan is allowed to be 14
2025-10-23 10:47:48 +08:00