Commit Graph

3051 Commits

Author SHA1 Message Date
Fu Hanxi
1c9e7d209d ci: streamline custom before_script checkout code to preclone script 2026-02-05 09:26:56 +01:00
Fu Hanxi
cb2cca0194 ci: upload junit report from child pipeline
supported in gitlab 18.5
2026-02-04 13:56:35 +01:00
luoxu
4e006884f8 remove(ble_mesh): deprecate the tinycrypt library within the Bluetooth Mesh component 2026-02-04 00:07:33 +08:00
Fu Hanxi
6660044dda ci: use reusable deploy yaml templates 2026-02-03 11:34:52 +01:00
Armando (Dou Yiwen)
9040191fcc Merge branch 'feat/esp_hal_sdmmc' into 'master'
sd: esp_hal_sd component

Closes IDF-15167 and IDF-14096

See merge request espressif/esp-idf!45225
2026-02-03 08:20:18 +00:00
Fu Hanxi
12a8c15c2d Merge branch 'ci/rev_default' into 'master'
ci: rev_default instead of eco_default

See merge request espressif/esp-idf!45269
2026-02-02 12:34:52 +01:00
armando
8499ad6ab0 feat(hal):graudate the sdmmc/sdio_slave hal driver into a new component 2026-02-02 09:47:54 +08:00
harshal.patil
53072bfa9d fix(mbedtls): Enable h/w accel for CMAC and HMAC operations
- Refactor ESP-MAC drivers
2026-01-31 00:45:11 +05:30
Michael (XIAO Xufeng)
5984b29af5 Merge branch 'refactor/spi_flash_private' into 'master'
refactor(spi_flash): reorganize header files, improve encapsulation and simplify ROM implementation

See merge request espressif/esp-idf!44347
2026-01-28 17:39:51 +08:00
Fu Hanxi
266323482d ci: exclude tools/cmakev2/test while running test script linter 2026-01-27 13:30:17 +01:00
igor.udot
70775b1f5f ci(sort_yaml): add mock common components 2026-01-23 10:12:17 +08:00
Xiao Xufeng
8dbf23630a 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-23 03:38:54 +08:00
Xiao Xufeng
758cf6e1a3 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-23 03:38:54 +08:00
Erhan Kurubas
f1d43df4a1 feat(examples): dump coverage over uart 2026-01-20 11:30:03 +03:00
Fu Hanxi
0b71f5c42b ci: rename eco_default to rev_default 2026-01-20 08:58:10 +01:00
hebinglin
4756d62584 change(esp_driver): set cases with toppd check only run in esp32c5eco3 rather than eco2 2026-01-12 14:30:57 +08:00
Xiao Xufeng
438e07b30e refactor: Remove idf_test component
Split the idf_performance.h and target ver, which hold the performance
thresholds, into the headers of each testing.

In the past pytest also parse the common header to get the thresholds.
Now the logic is also removed. Performance thresholds are supposed to be
in the pytest scripts.
2026-01-01 02:26:42 +08:00
Ashish Sharma
cbd925837e feat: migrates mbedtls port layer to PSA APIs 2025-12-30 09:31:49 +05:30
Song Ruo Jing
643b2508fa refactor(uart): remove soc/uart_channel.h 2025-12-25 14:42:43 +08:00
Alexey Lapshin
1684eeb60f fix(picolibc): add psram fix for libc functions 2025-12-24 13:28:44 +07:00
morris
291554cd09 refactor(global): remove completed todos in the codebase 2025-12-15 22:40:15 +08:00
Wang Ning
61eeab0af3 docs: update git clone command to only clone latest commit 2025-12-12 19:21:59 +08:00
wanckl
6449181ce0 feat(driver_spi): split spi hal component 2025-12-11 15:00:18 +08:00
Igor Udot
84d2b57df9 Merge branch 'ci/check_build_test_rules' into 'master'
ci: fix mismatch in check_build_test_rules

Closes CII-49 and CII-50

See merge request espressif/esp-idf!43937
2025-12-05 11:56:39 +08:00
morris
a12d474d98 Merge branch 'refactor/esp_hal_for_analog' into 'master'
feat(hal): graudate the analog related hal driver into a new component

Closes IDF-14093, IDF-14079, and IDF-14464

See merge request espressif/esp-idf!43278
2025-12-04 17:24:10 +08:00
Fu Hanxi
8edaf6b92e Merge branch 'ci/support_default_eco_targets' into 'master'
ci: introduce default marker `eco_default`

Closes CII-31

See merge request espressif/esp-idf!43763
2025-12-04 08:52:29 +01:00
igor.udot
e075bf2781 ci: wildcard temp_skip and support multiple temp_skip markers 2025-12-04 14:10:48 +08:00
laokaiyao
e39c9781f3 feat(hal): graudate the adc/dac hal driver into a new component 2025-12-04 10:38:24 +08:00
laokaiyao
5e249409ff feat(hal): graudate the touch sensor hal driver into a new component 2025-12-04 10:34:57 +08:00
Fu Hanxi
678192902b ci: introduce default marker eco_default 2025-12-03 15:07:47 +01:00
Alexey Lapshin
61a93a2737 fix(ci): fix check_public_headers.py to check system headers 2025-12-03 13:31:42 +07:00
C.S.M
690dfd8c79 Merge branch 'feat/introduce_esp32s31_hello_world' into 'master'
feat(esp32s31): Introduce esp32s31 hello world 🛸

See merge request espressif/esp-idf!43761
2025-12-03 13:36:01 +08:00
igor.udot
9148af6831 ci: fix mismatch in check_build_test_rules 2025-12-03 11:03:52 +08:00
C.S.M
0c4cf75c35 feat(esp32s31): Introduce esp32s31 hello world 2025-12-02 10:44:16 +08:00
C.S.M
986481f616 Merge branch 'ci/freertos_header' into 'master'
ci(header_check): Add check for public header should not include freertos

Closes IDF-10013

See merge request espressif/esp-idf!43219
2025-12-02 10:42:26 +08:00
Fu Hanxi
1a17be64a9 Merge branch 'fix/cmake_clang_artifacts' into 'master'
ci: fix uploading build artifacts

Closes CII-45

See merge request espressif/esp-idf!43565
2025-12-01 14:12:39 +01:00
Roland Dobai
304df32182 Merge branch 'change/modify_license_of_header_files' into 'master'
change: Modify license of register header files

See merge request espressif/esp-idf!43809
2025-11-28 19:32:38 +01:00
Evgeny Torbin
181a0a8fca ci: fix uploading build artifacts 2025-11-28 13:57:05 +01:00
C.S.M
d5054072eb ci(header_check): Add check for public header should not include freertos 2025-11-28 19:15:17 +08:00
Jaroslav Burian
da18980ff0 change: Modify license of soc component
License of soc component is changed from Apache-2.0 to Apache-2.0 OR MIT
to be able to use it in esp-stub-lib
2025-11-28 10:32:05 +01:00
Sonika Rathi
7fb2f80fe0 Merge branch 'feat/vfs_linux' into 'master'
feat(vfs): Add support for linux target in VFS

See merge request espressif/esp-idf!39524
2025-11-27 22:12:06 +08:00
David Cermak
3064c31dd3 fix(configs): Remove mentions of ASIO from configs files 2025-11-25 13:02:31 +01:00
morris
c7f4c62e00 Merge branch 'refactor/bitscrambler_in_esp_hal_dma' into 'master'
refactor(hal): bitscrambler hal -> esp_hal_dma, usj hal -> esp_hal_usb

Closes IDF-14353

See merge request espressif/esp-idf!43542
2025-11-25 13:06:26 +08:00
Fu Hanxi
26a01e843c Merge branch 'ci/known-failure-dut-id' into 'master'
ci: pytest-ignore skip using dut id

Closes CII-44

See merge request espressif/esp-idf!43539
2025-11-24 10:25:04 +01:00
morris
bc064a353a 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-21 16:10:16 +08:00
Fu Hanxi
6c585a0e18 Merge branch 'ci/simplify-ci' into 'master'
Ci/simplify ci

Closes IDFCI-6717

See merge request espressif/esp-idf!43157
2025-11-21 07:34:24 +01:00
igor.udot
083200737c ci: pytest-ignore skip using dut id 2025-11-21 11:43:15 +08:00
Ondrej Kosta
1e6f49d178 Merge branch 'chore/update-protocol-eth-connect' into 'master'
feat(protocol_examples_common): Use Ethernet Init component

Closes IDF-14227

See merge request espressif/esp-idf!42265
2025-11-20 17:28:17 +08:00
Fu Hanxi
accfcc96f4 ci: move host test unittest jobs to pytest 2025-11-20 09:07:22 +01:00
glmfe
f398594982 feat(protocol_examples_common): Use Ethernet Init component
- Refactored protocol_examples_common to use ethernet_init component
2025-11-19 15:58:12 +01:00