Commit Graph

2981 Commits

Author SHA1 Message Date
Fu Hanxi
6ff6d7ad6c ci: backport master changes to 6.0 2026-03-10 10:37:23 +08:00
harshal.patil
4d2e7fb4d3 fix(mbedtls): Enable h/w accel for CMAC and HMAC operations
- Refactor ESP-MAC drivers
2026-02-02 10:51:30 +05:30
Jiang Jiang Jian
31056d5db9 Merge branch 'refactor/spi_flash_private_v6.0' into 'release/v6.0'
refactor(spi_flash): reorganize header files, improve encapsulation and simplify ROM implementation (v6.0)

See merge request espressif/esp-idf!45488
2026-02-02 10:57:34 +08:00
hebinglin
21a6537e08 change(esp_driver): set cases with toppd check only run in esp32c5eco3 rather than eco2 2026-02-01 11:59:16 +08:00
Xiao Xufeng
3411286544 refactor(spi_flash): reorganize header files and improve API encapsulation
This commit reorganizes SPI flash header files to better reflect their
visibility and intended usage:

1. Rename `esp_flash_port/` to `esp_flash_chips/`:
   - Better reflects that these headers are for chip driver implementations
   - All chip driver headers moved to `esp_flash_chips/` directory
   - Added README.md explaining semi-public nature of these headers

2. Move internal headers to `esp_private/`:
   - `esp_flash_internal.h` -> `esp_private/esp_flash_internal.h`
   - `memspi_host_driver.h` -> `esp_private/memspi_host_driver.h`

3. Move chip driver related headers to `esp_flash_chips/`:
   - `esp_private/esp_flash_types.h` -> `esp_flash_chips/esp_flash_types.h`
   - `spi_flash/spi_flash_defs.h` -> `esp_flash_chips/spi_flash_defs.h`
   - `spi_flash_override.h` -> `esp_flash_chips/spi_flash_override.h`
   - All `spi_flash_chip_*.h` headers moved to `esp_flash_chips/`

4. Code improvements:
   - Remove unused includes (e.g., `spi_flash_override.h` from `cache_utils.c`)
   - Use public API `esp_flash_get_size()` instead of direct member access
   - Add `esp_flash_is_quad_mode` to linker.lf for IRAM placement

5. Documentation updates:
   - Add README.md in `esp_flash_chips/` explaining semi-public headers
   - Update programming guide with warnings about internal headers
   - Update both English and Chinese documentation

6. Update all references across the codebase:
   - Update includes in `spi_flash` component
   - Update `bootloader_support`, `app_update`, `esp_tee`, `espcoredump`
   - Update example projects

Breaking changes:
- Headers moved to new locations require include path updates
- `custom_flash_driver` example temporarily disabled until external
  components are updated
2026-01-29 03:28:30 +08:00
Xiao Xufeng
170061e971 refactor(spi_flash): move internal types to private headers and refactor initialization
This commit refactors the SPI flash component to improve encapsulation and
modularity by moving internal types and functions to private headers, and
reorganizing initialization code.

Key changes:

1. Move PSRAM frequency constraint macro from soc_caps.h to mspi_ll.h
   - Rename SOC_SPI_MEM_PSRAM_FREQ_AXI_CONSTRAINED to
     MSPI_TIMING_LL_PSRAM_FREQ_AXI_CONSTRAINED
   - Move macro definition to chip-specific mspi_ll.h files (C5, C61, H4, P4, S31)
   - Update usage in clk_utils.c and esp_flash_spi_init.c
   - Remove old macro from all soc_caps.h files

2. Move internal types to private headers
   - Move esp_flash_t structure to esp_private/esp_flash_types.h
   - Move esp_flash_os_functions_t to esp_private/spi_flash_os.h
   - Update all internal files to include private headers
   - Keep forward declarations in public esp_flash.h

3. Move chip driver header to internal directory
   - Move spi_flash_chip_driver.h to esp_flash_port/spi_flash_chip_driver.h
   - Update all references to use new path
   - Add esp_private/esp_flash_types.h include to the moved header

4. Refactor initialization functions
   - Move init_flash from esp_system/startup_funcs.c to
     spi_flash/esp_flash_spi_init.c
   - Create new init_pm_flash_freq_limit function in startup_funcs.c
     to call esp_pm_flash_freq_limit_init() conditionally
   - Update system_init_fn.txt with new function locations

5. Improve API encapsulation
   - Replace direct access to esp_flash_t->size in
     esp_partition_register_external() with esp_flash_get_size() API
   - Move esp_flash_is_quad_mode from inline function to regular function
     in esp_flash_api.c

6. Update component dependencies
   - Add esp_driver_gpio to spi_flash component PRIV_REQUIRES
   - Remove unused includes and clean up header dependencies

These changes improve code organization by clearly separating public APIs
from internal implementation details, making the codebase more maintainable
and reducing the risk of breaking changes to internal structures.
2026-01-29 03:28:30 +08:00
Fu Hanxi
b29535d19c ci: exclude tools/cmakev2/test while running test script linter 2026-01-28 10:32:41 +01:00
Jiang Jiang Jian
1c7ec05187 Merge branch 'fix/picolibc_psram_issue_v6.0' into 'release/v6.0'
fix(picolibc): add psram fix for libc functions (v6.0)

See merge request espressif/esp-idf!44560
2026-01-08 20:14:08 +08:00
Song Ruo Jing
a0c91ea082 refactor(uart): remove soc/uart_channel.h 2026-01-04 16:02:57 +08:00
Alexey Lapshin
bbe311569c fix(picolibc): add psram fix for libc functions 2025-12-25 10:41:25 +07:00
Ashish Sharma
76287081ea feat: code cleanup 2025-12-19 07:29:43 +08:00
Ashish Sharma
f306dbea84 feat(mbedtls): migrates ESP-TEE with PSA APIs 2025-12-19 07:28:33 +08:00
Ashish Sharma
a088d2ccdc feat(mbedtls): fix build errors with PSA migration 2025-12-18 21:18:58 +08:00
Ashish Sharma
b4fea9cccc feat(lwip): migrate to to PSA API interface 2025-12-18 21:18:58 +08:00
wanckl
d12f941787 feat(driver_spi): split spi hal component 2025-12-16 20:38:09 +08:00
morris
5c5d78b639 Merge branch 'ci/freertos_header_v6.0' into 'release/v6.0'
ci(header_check): Add check for public header should not include freertos  (backport v6.0)

See merge request espressif/esp-idf!44104
2025-12-11 18:00:57 +08:00
laokaiyao
841cb4caa1 feat(hal): graudate the adc/dac hal driver into a new component 2025-12-11 10:27:00 +08:00
laokaiyao
9657fde797 feat(hal): graudate the touch sensor hal driver into a new component 2025-12-11 10:26:55 +08:00
C.S.M
ed64e7bf78 ci(header_check): Add check for public header should not include freertos 2025-12-10 15:10:43 +08:00
Fu Hanxi
5ee94fac14 Merge branch 'ci/backport-master-6.0-20251204' into 'release/v6.0'
Ci/backport master 6.0 20251204

See merge request espressif/esp-idf!43993
2025-12-09 10:36:10 +01:00
Alexey Gerenkov
effa1e4248 Merge branch 'feature/update-toolchain-to-esp-15.2.0_20250929.4-6d3fdb7_v6.0' into 'release/v6.0'
Make Picolibc the default libc (v6.0)

See merge request espressif/esp-idf!43966
2025-12-08 18:13:08 +08:00
Alexey Lapshin
a90828fbd5 fix(ci): fix check_public_headers.py to check system headers 2025-12-06 00:08:35 +07:00
Fu Hanxi
68d021f09c ci: introduce default marker eco_default 2025-12-05 14:54:55 +01:00
Evgeny Torbin
27619bbb41 ci: fix uploading build artifacts 2025-12-05 14:54:55 +01:00
morris
69a76c5170 refactor(hal_dma): move bitscrambler from hal component
because bitscrambler can't live without DMA, it's highly binded with the
GDMA peripheral.
2025-11-27 16:06:52 +08:00
Fu Hanxi
0c89f9a089 Merge branch 'ci/backport-to-release-6.0' into 'release/v6.0'
Ci/backport to release 6.0

See merge request espressif/esp-idf!43673
2025-11-26 09:14:36 +01:00
Fu Hanxi
de78c0fdd0 ci: move host test unittest jobs to pytest 2025-11-24 15:00:01 +01:00
Fu Hanxi
11df972a25 ci: move the retry_failed_jobs to pre_check stage 2025-11-24 15:00:01 +01:00
Fu Hanxi
2d6f423c00 ci: cleanup build_template_app jobs 2025-11-24 15:00:01 +01:00
Fu Hanxi
1d1237d4c0 ci: cleanup after_script:build related rules 2025-11-24 15:00:00 +01:00
Fu Hanxi
6c0cac7a76 ci: remove generate_build_child_pipeline.py 2025-11-24 15:00:00 +01:00
igor.udot
68b9bbe543 ci: pytest-ignore skip using dut id 2025-11-24 10:17:33 +08:00
Euripedes Rocha
ec0ef59535 Merge branch 'chore/update-protocol-eth-connect_v6.0' into 'release/v6.0'
feat(protocol_examples_common): Use Ethernet Init component (v6.0)

See merge request espressif/esp-idf!43554
2025-11-21 08:22:17 +01:00
morris
45fa560e98 Merge branch 'feat/make_p4_rev3_default_v6.0' into 'release/v6.0'
p4: make v3 as default (v6.0)

See merge request espressif/esp-idf!43440
2025-11-21 15:12:44 +08:00
morris
f050c1deb1 Merge branch 'fix/no_function_call_in_min_max_v6.0' into 'release/v6.0'
refactor: avoid function calls inside MIN/MAX macros (v6.0)

See merge request espressif/esp-idf!43476
2025-11-21 12:03:09 +08:00
armando
f5f8fcc4cf ci(p4): re-enable p4 jobs 2025-11-21 02:48:05 +00:00
glmfe
e187d3b259 feat(protocol_examples_common): Use Ethernet Init component
- Refactored protocol_examples_common to use ethernet_init component
2025-11-20 18:57:03 +08:00
Marius Vikhammer
ad29ffc78f Merge branch 'ci/enable-junit-report-in-mr_v6.0' into 'release/v6.0'
ci: enable junit report in MR (v6.0)

See merge request espressif/esp-idf!43290
2025-11-20 18:43:39 +08:00
morris
e9539d4560 refactor: avoid function calls inside MIN/MAX macros 2025-11-18 15:18:14 +08:00
Euripedes Rocha
98a9e14d0e Merge branch 'removes_esp_mqtt_v6.0' into 'release/v6.0'
change(mqtt): Removes the mqtt client from idf (v6.0)

See merge request espressif/esp-idf!43292
2025-11-15 18:25:58 +01:00
Alexey Gerenkov
6c118b39c0 Merge branch 'move_sysview_to_component_registry_v6.0' into 'release/v6.0'
Move sysview to component registry (v6.0)

See merge request espressif/esp-idf!43218
2025-11-14 18:32:46 +08:00
Euripedes Rocha Filho
dcf03ca0d2 remove(mqtt): Moves esp-mqtt to component manager
esp-mqtt is now a managed component at espressif/mqtt
2025-11-14 10:53:56 +01:00
morris
9245d8ee46 Merge branch 'refactor/remove_twai_errata_config_v6.0' into 'release/v6.0'
refactor(driver_twai): remove twai errata config (v6.0)

See merge request espressif/esp-idf!43029
2025-11-14 13:52:24 +08:00
Erhan Kurubas
7d4ae881c5 change(app_trace): move sysview to component registry 2025-11-13 10:50:42 +01:00
Alexey Gerenkov
ccc59ed681 Merge branch 'esp_tracing_component_v6.0' into 'release/v6.0'
New Esp tracing component (v6.0)

See merge request espressif/esp-idf!43059
2025-11-13 17:44:25 +08:00
Fu Hanxi
d7a7d4cea7 ci: remove generate pytest report job
this is a temp workaround, since the current job takes too much time.
should replace it a new implementation
2025-11-12 10:19:13 +01:00
wanckl
9176ef32a4 refactor(driver_twai): using hal/config in hal layer 2025-11-11 13:18:14 +08:00
Frantisek Hrbata
d5fcecbe85 ci(pre-commit): exclude buildv2_test_app from check-readmes
The `tools/test_build_system/buildv2_test_app` is a cmakev2 build system
testing application, same as `build_test_app`, which should be removed
from the readme check performed by check_build_test_rules.py.

Signed-off-by: Frantisek Hrbata <frantisek.hrbata@espressif.com>
2025-11-05 12:02:08 +01:00
Erhan Kurubas
dcde633acd feat(tracing): add new component for tracing 2025-11-05 09:57:18 +01:00
igor.udot
5dc95cf311 ci: extend wildcard support for no_runner_tags 2025-11-03 11:21:43 +08:00