Commit Graph

7346 Commits

Author SHA1 Message Date
Sudeep Mohanty f1ab53eda0 test(panic_handler): Added unit test to verify panic handler can halt
This test verifies that the panic handler can indeed halt when
configured to print and halt instead of rebboting.
2025-08-13 15:40:07 +02:00
Fu Hanxi 7198ae518c ci: remove duplicated new lines 2025-08-12 13:44:35 +02:00
Fu Hanxi 08d21989a9 ci: fix extra default build targets 2025-08-12 13:41:30 +02:00
Fu Hanxi 4115f5836a ci: update file patterns CMakeList.txt to CMakeLists.txt 2025-08-12 13:37:51 +02:00
Peter Marcisovsky ab49455449 Merge branch 'fix/run_esp_usb_pre_commit' into 'master'
Run pre-commit fom esp-usb on usb-related files

See merge request espressif/esp-idf!40864
2025-08-12 10:18:44 +02:00
Alexey Lapshin 4339a7eafb Merge branch 'fix/newlib_kconfig_variables' into 'master'
change(newlib): change CONFIG_NEWLIB* prefix to CONFIG_LIBC_NEWLIB*

See merge request espressif/esp-idf!41153
2025-08-12 09:54:45 +04:00
morris 100a0570e9 Merge branch 'feat/hal_config_macro_func' into 'master'
refactor(hal): use HAL_CONFIG() macro function

Closes IDF-13629

See merge request espressif/esp-idf!41127
2025-08-12 10:49:28 +08:00
Alexey Lapshin 8f97220a48 feat(newlib): add test for newlib_nano with esp32-psram 2025-08-11 21:28:55 +07:00
peter.marcisovsky 4deccbc4a6 fix(usb_host): Run esp-usb pre-commit:
- trailing whitespaces
    - end-of-file-fixer
    - codespell
    - astyle_py: align pointer name
2025-08-11 13:14:36 +02:00
Sudeep Mohanty 3ef41363cf Merge branch 'task/remove_freertos_compatibility' into 'master'
remove(freertos): Removed freertos_compatibility.c

Closes IDF-3851 and IDF-8144

See merge request espressif/esp-idf!40652
2025-08-11 10:25:33 +02:00
morris afd35e411a refactor(hal): use HAL_CONFIG() macro function 2025-08-08 18:25:24 +08:00
Erhan Kurubas b98d27c7f9 Merge branch 'fix/coredump_max_tasks_num' into 'master'
fix(coredump): implement CONFIG_ESP_COREDUMP_MAX_TASKS_NUM limitation

Closes IDFGH-13516

See merge request espressif/esp-idf!41008
2025-08-08 10:36:24 +02:00
Aleksei Apaseev d19fc2958d ci: fix bin size report generation 2025-08-08 12:22:17 +08:00
Zhou Xiao 36cdf54b37 feat(ble): added ble log console for ble log uhci out 2025-08-08 12:01:43 +08:00
Marius Vikhammer bb8346aad2 Merge branch 'bugfix/enable_misc_test_case' into 'master'
ci: cleanup misc system build-test-rules

See merge request espressif/esp-idf!41067
2025-08-08 09:25:25 +08:00
Erhan Kurubas 51f8f625ec fix(coredump): rename uart test config file 2025-08-07 17:13:44 +03:00
Sudeep Mohanty fe2ee39a99 feat(esp_ringbuf): Place Ring buffer in flash by default
The following updates have been made in this commit:
- The commit places ring buffer code in flash memory by default.
- CONFIG_RINGBUF_PLACE_FUNCTIONS_INTO_FLASH has been removed.
- CONFIG_RINGBUF_IN_IRAM is added and can be used to restore the
  previous memory placement.
2025-08-07 19:56:30 +08:00
Sudeep Mohanty 26c19928a9 feat(freertos): Place FreeRTOS in flash by default
The following updates have been made in this commit:
- The commit places FreeRTOS code in flash memory by default.
- CONFIG_FREERTOS_PLACE_FUNCTIONS_INTO_FLASH has been removed.
- CONFIG_FREERTOS_IN_IRAM is unhidden and can be used to restore the
  previous memory placement.
- A test has been added for users to conduct performance impact testing
  based on memory placement configurations.
2025-08-07 19:56:30 +08:00
Song Ruo Jing 2319386d9d Merge branch 'bugfix/gpio_esp32_workaround' into 'master'
fix(gpio): fix ESP32 GPIO sleep mode handling

Closes IDF-13626

See merge request espressif/esp-idf!40988
2025-08-07 17:14:58 +08:00
Marius Vikhammer 43667179f4 ci(system): enabled and cleanup misc system test-apps build-test-rules 2025-08-06 17:50:50 +08:00
morris 6ea0fa1a57 Merge branch 'refactor/remove_lcd_deprecated' into 'master'
esp_lcd clean up

Closes IDF-13711, IDF-13712, IDF-13713, IDF-13714, and IDF-13715

See merge request espressif/esp-idf!40848
2025-08-06 10:41:20 +08:00
Harshal Patil eae2f70381 Merge branch 'change/remove_esp_security_dependency_from_esp_hw_support' into 'master'
Move security-related modules present in esp_hw_support component to esp_security

Closes IDF-10733

See merge request espressif/esp-idf!39490
2025-08-06 06:27:12 +05:30
Song Ruo Jing 9a2984b4c0 fix(gpio): fix ESP32 GPIO sleep mode handling
The previous workaround does not work, the backup/restore should apply to RTC IO registers.
Also moved the workaround to sleep_gpio.c to avoid gpio hal using kconfig.
2025-08-05 21:02:09 +08:00
Alexey Lapshin 44aeff1319 Merge branch 'feature/libc_init_array-from-toolchain' into 'master'
fix(esp_system): fix .init_array.*/.ctors.* ordering

Closes IDF-1176 and DOC-11527

See merge request espressif/esp-idf!39811
2025-08-05 16:09:00 +04:00
morris b8a5ebfa01 refactor(i2c): clean up i2c driver header file
remove unnecessary dependencies
2025-08-05 15:11:07 +08:00
morris b4e39631d3 refactor(i2c_lcd): test app in cxx environment 2025-08-05 15:09:40 +08:00
Sudeep Mohanty 471a659e84 remove(freertos): Removed freertos_compatibility.c
The freertos_compatibility.c file has been removed and appropriate
guidelines have been added to hints.yml and the migration guide to use
alternatives for the backward compatibility functions that have been
removed.
2025-08-05 08:41:47 +02:00
Roland Dobai 138336b9c6 Merge branch 'feat/deprecate-py39' into 'master'
Tools: Deprecate Python 3.9

Closes IDF-7996

See merge request espressif/esp-idf!40851
2025-08-04 15:13:55 +02:00
harshal.patil 60ff4bca9b refactor(esp_system): Update all references of the memory protection configs 2025-08-04 11:43:01 +05:30
harshal.patil 55e0730a8d change(esp_hw_support): Move security-related modules to the esp_security component
- Also adds support to whitelist target specific expected dependency violations
in check_dependencies.py
2025-08-04 11:43:01 +05:30
Alexey Lapshin 019dc93ae0 feat(esp_system): switch to standard __libc_init_array initialization
Initially, ESP-IDF used the do_global_ctors() function to run global
constructors. This was done to accommodate Xtensa targets that emit
.ctors.* sections, which are ordered in descending order.

For RISC-V, compilation used .init_array.* sections, which are designed
to have ascending order. Priority constructors in .init_array.* sections
were correctly processed in ascending order. However, non-priority
.init_array section was processed in descending order, as it was done
for Xtensa .ctors.

Starting with ESP-IDF v6.0, the implementation switched to the standard
LibC behavior (__libc_init_array()), which processes both priority and
non-priority constructors in ascending order.

To achieve this, a breaking changes were introduced:
  - Xtensa .ctors.* priority entries converted to .init_array.* format
    (ascending), to be passed to __libc_init_array().
  - Processing order of non-priority .init_array and .ctors sections was
    changed from descending to ascending.

Also, this change introduces .preinit_array for linking. This may be
needed for some C++ or sanitizer features.

Related to https://github.com/espressif/esp-idf/issues/15529
2025-08-04 11:33:44 +08:00
Peter Dragun 300ff9fc78 change: fix linting errors in python files 2025-08-01 08:05:13 +02:00
Peter Dragun 519042a1e2 feat: Deprecate Python 3.9
BREAKING CHANGE:
- Minimal supported Python version is now 3.10.
2025-08-01 08:05:10 +02:00
Marius Vikhammer 73bd521d7a test(system): fixed missing test_utils component dependency 2025-08-01 13:40:47 +08:00
Marius Vikhammer 4065fb20f3 Merge branch 'feature/esp_test_utils_component' into 'master'
change(test_utils): moved test_utils out of unit-test-app project

See merge request espressif/esp-idf!40678
2025-08-01 11:04:37 +08:00
Marius Vikhammer 96512006c0 Merge branch 'ci/core_tests_use_caps' into 'master'
ci(system): update system pytest apps to use SOC_CAPs

See merge request espressif/esp-idf!40865
2025-08-01 10:25:16 +08:00
Fu Hanxi 6bd8b52ad7 Merge branch 'ci/improve-check_build_test_rules-output' into 'master'
ci: improve the output of check_build_test_rules.py

See merge request espressif/esp-idf!40703
2025-07-31 13:42:26 +02:00
Marius Vikhammer 9788d33351 ci(system): update system pytest apps to use SOC_CAPs 2025-07-31 19:05:58 +08:00
Fu Hanxi fdcc1930d2 ci: improve the output of check_build_test_rules.py 2025-07-31 11:52:13 +02:00
Peter Dragun dba8cb3f76 Merge branch 'feat/ide_requirements' into 'master'
feat(tools/requirements): Add IDE requirements files

See merge request espressif/esp-idf!40348
2025-07-31 17:31:50 +08:00
Erhan Kurubas 521f3e3911 Merge branch 'coredump_breaking_changes' into 'master'
change(coredump): drop binary format and crc checksum

Closes IDF-9020 and IDFGH-14364

See merge request espressif/esp-idf!40324
2025-07-30 20:34:27 +02:00
Mahavir Jain d72bb81702 Merge branch 'refactor/hide_ecdsa_kconfig_option_from_hal' into 'master'
refactor(hal): Move CONFIG options used in ecdsa_hal.c under config.h

Closes IDF-13584

See merge request espressif/esp-idf!40713
2025-07-30 17:36:57 +05:30
Erhan Kurubas fb53d6e719 change(coredump): drop binary format and crc checksum 2025-07-29 22:31:40 +03:00
Rahul Tank 72a678da84 Merge branch 'bugfix/minor_update_readme' into 'master'
fix(nimble): Documentation update in btsnoop script README

See merge request espressif/esp-idf!40857
2025-07-29 16:15:58 +05:30
C.S.M 0313af10a5 Merge branch 'refactor/flash_hal_no_config' into 'master'
refactor(spi_flash): Remove sdkconfig dependency in flash hal layer

Closes IDF-13625

See merge request espressif/esp-idf!40858
2025-07-29 16:34:46 +08:00
Rahul Tank 1aa93c5522 fix(nimble): Minor documentation update in btsnoop script usage 2025-07-28 16:12:44 +05:30
C.S.M 6ad49c1146 refactor(spi_flash): Remove sdkconfig dependency in flash hal layer 2025-07-28 18:16:19 +08:00
Roland Dobai 757d3432da Merge branch 'change/rename-kconfiglib-module' into 'master'
change: use esp_kconfiglib and esp_menuconfig in ESP-IDF

See merge request espressif/esp-idf!40147
2025-07-28 12:07:25 +02:00
Fu Hanxi 93655332e8 Merge branch 'ci/fix-non-test-related-apps-only' into 'master'
CI: fix non test related apps only

See merge request espressif/esp-idf!40804
2025-07-28 09:47:59 +02:00
Jakub Kocka fb4612778d remove(tools): Dropping of virtualenv support 2025-07-25 14:42:52 +08:00