Michael (XIAO Xufeng)
e24fbebd27
Merge branch 'change/change_to_only_do_v2p_once_when_startup_v6.0' into 'release/v6.0'
...
mmu: no longer disable cache when converting virtual addr to physical addr and vice versa (v6.0)
See merge request espressif/esp-idf!45474
2026-01-30 15:53:09 +08:00
Jiang Jiang Jian
d3e1887bbc
Merge branch 'fix/p4_min_rev_usage_v6.0' into 'release/v6.0'
...
P4: fix wrong rev_min usage in rom and other places (v6.0)
See merge request espressif/esp-idf!45223
2026-01-30 10:50:51 +08:00
Xiao Xufeng
79f7427729
fix(esp32p4): fix efuse, encryption and other rev_min usage
2026-01-28 21:46:00 +08:00
armando
165ecbab44
test(mspi): add flash api run on psram stack test for xip_psram case
2026-01-28 15:30:15 +08:00
armando
aa8dc66225
fix(psram): fixed requirement on esp_driver_gpspi on esp32
2026-01-20 11:14:40 +08:00
armando
f2b715937f
fix(mspi): fixed mspi dma burst timing issue
2026-01-15 14:08:53 +08:00
Xiao Xufeng
21a6b1a5be
fix(psram): fix inaccurate warning that encryption not enabled on PSRAM on ESP32-C5 v1.2 and C61 v1.1
2026-01-09 10:27:28 +08:00
wanckl
d12f941787
feat(driver_spi): split spi hal component
2025-12-16 20:38:09 +08:00
Song Ruo Jing
62899cbba6
refactor(gpio): split GPIO HAL into separate component
...
cleaned up some includes in GPIO peripheral files
2025-12-08 14:33:26 +08:00
Alexey Gerenkov
d8e47c5e43
Merge branch 'feature/dynamic_flags_in_toolchain_cmake_v6.0' into 'release/v6.0'
...
feat(build): propagate compiler flags from files to toolchain.cmake (v6.0)
See merge request espressif/esp-idf!43499
2025-11-21 16:19:34 +08:00
morris
f229575f98
Merge branch 'change/psram_200m_as_default_v6.0' into 'release/v6.0'
...
psram: use 200MHz as default on p4 (v6.0)
See merge request espressif/esp-idf!43442
2025-11-19 15:14:03 +08:00
Alexey Lapshin
a217630b1e
feat(build): propagate compiler flags from files to toolchain.cmake
...
This change improves build consistency across external projects integrated
through CMake by ensuring that compiler flags defined in configuration files
are passed correctly to the toolchain. It covers the majority of use cases,
as external projects are typically also CMake-based. For projects that use
a custom build system, users will still need to specify the required flags
manually.
2025-11-19 01:12:40 +07:00
Jiang Jiang Jian
d891c55045
Merge branch 'bugfix/psram_mmap_for_all_targets_v6.0' into 'release/v6.0'
...
fix(esp_psram): make SPIRAM_USE_MEMMAP available for all targets (v6.0)
See merge request espressif/esp-idf!43131
2025-11-18 12:27:36 +08:00
armando
04a711b00b
change(psram): use 200M as default
2025-11-18 11:04:47 +08:00
Armando
c26ed5dba0
feat(psram): support 250MHz in experimental
2025-11-14 09:34:01 +08:00
armando
1f7b1f3615
feat(mspi): supported psram & flash 120MHz timing tuning
2025-11-06 02:20:48 +00:00
Mahavir Jain
2b82146902
fix(esp_psram): make SPIRAM_USE_MEMMAP available for all targets
...
This reverts earlier commit d2858847 and thereby making SPIRAM_USE_MEMMAP
available for all targets.
This config option has no direct usage but just avoids adding the PSRAM
to heap but still keeps it memory mapped.
Closes https://github.com/espressif/esp-idf/issues/17764
2025-11-05 14:07:09 +05:30
armando
9fadbf2588
fix(psram): fixed p4 rev3 xip stuck after board reset issue
2025-10-20 03:09:47 +00:00
Chen Chen
a4710cc206
refactor(driver): remove redundant driver dependencies
...
now the driver component only contains legacy code for i2c, twai and
touch sensor
2025-09-30 15:47:45 +08:00
C.S.M
b145ede835
refactor(mspi): Make mspi hal layer independent
2025-09-26 14:57:54 +08:00
Marius Vikhammer
484d2c5c2f
fix(system): fixed issues with unused variable warnings when compiling with NDEBUG
2025-09-19 15:42:07 +08:00
Alexey Lapshin
9281e78381
change(esp_libc): rename newlib component to esp_libc
2025-09-09 22:00:44 +08:00
armando
ad4fe4c394
fix(psram): fixed psram cross page issue
2025-08-21 09:57:07 +08:00
Mahavir Jain
d2858847b2
fix(esp_psram): make SPIRAM_USE_MEMMAP depend on ESP32 target
2025-08-11 18:06:11 +05:30
Mahavir Jain
54c7803cd3
fix(psram): provide boot warning about PSRAM encryption issue on C5/C61
...
For C5/C61 revision 1.0, PSRAM encryption has hardware issue. This will
be addressed in future silicon version. Add explicit warning about this.
2025-08-11 18:06:11 +05:30
armando
9be8dccef5
feat(psram): psram support on h4
2025-07-28 10:16:48 +08:00
armando
73113c0ce8
change(psram): change logw to logd
2025-06-25 06:45:33 +00:00
armando
954e88c92d
feat(psram): support fallback to use default driver pattern when id isn't match
2025-06-19 09:31:48 +08:00
armando
7a6cd632c5
fix(psram): fixed psram ptr check under xip_psram condition
...
Closes https://github.com/espressif/esp-idf/pull/15999
Closes https://github.com/espressif/esp-idf/issues/15997
2025-06-06 10:11:32 +08:00
John Boiles
0e680775f9
fix(memory-utils): Add _instruction_reserved_start/end to esp_psram_check_ptr_addr
...
Adds missing range check that can be used when SPIRAM_XIP_FROM_PSRAM is enabled.
2025-06-06 10:11:32 +08:00
armando
412b79ed1c
change(psram): limited 2t check only for ap
2025-05-26 17:06:03 +08:00
armando
7d5f89fa90
fix(ci): fixed psram tests not running on c5 issue
2025-05-22 10:27:19 +08:00
harshal.patil
3123fff18a
fix(esp_psram): Add XIP PSRAM alignment gaps in heap only if PSRAM protection is enabled
2025-05-05 10:50:19 +05:30
Harshal Patil
d898c2398b
Merge branch 'feat/some_xip_psram_related_optimisations_and_fixes' into 'master'
...
feat(esp_psram): Fix late PSRAM init and add some wasted XIP PSRAM memory in heap
Closes IDF-11463 and IDF-10555
See merge request espressif/esp-idf!37116
2025-04-30 00:02:19 +08:00
harshal.patil
003b54ebfe
feat(esp_psram): XIP from PSRAM can be used only when SPIRAM_BOOT_INIT=y for ESP32P4
...
In case of ESP32-P4, if SPIRAM memory initialisations are not performed during
boot-up, XIP PSRAM can be setup because of different virtual range of PSRAM and Flash
2025-04-29 11:48:28 +05:30
harshal.patil
c67901fc07
ci(esp_psram): Add a test to validate non-bootup PSRAM initialisation
...
- Also adds a test for the newly added PSRAM helper APIs:
esp_psram_get_heap_pool_size() and esp_psram_get_effective_mapped_size()
2025-04-29 11:48:28 +05:30
harshal.patil
f58c78b644
fix(esp_psram): Fix loading PSRAM XIP segments after PMP split has been configured
2025-04-29 11:48:27 +05:30
harshal.patil
ab229a34b3
feat(cpu_region_protect): Enable basic memory protection for SPIRAM
2025-04-29 11:48:27 +05:30
harshal.patil
49f253361e
feat(esp_psram): Add the gap created due to alignment of XIP segments in heap
2025-04-29 11:48:27 +05:30
harshal.patil
0f628496c8
feat(esp_psram): Add some helper APIs to get usable PSRAM memory size
2025-04-29 11:48:27 +05:30
harshal.patil
46225a4026
feat(esp_psram): Add a new API to just detect and enable the PSRAM
...
- esp_psram_chip_init() just detects and does basic initialisations of PSRAM
- esp_psram_init() initialises and maps/loads the PSRAM pages
2025-04-29 11:48:27 +05:30
armando
00e256d343
fix(psram): fixecd wrong ap density check
2025-04-28 16:10:18 +08:00
armando
89d566bb9c
fix(psram): fixed psram init state not in low speed mode issue on c5 c61
2025-04-27 15:06:40 +08:00
armando
1abe57c987
test(system): increased 200B memory leak thresh due to mmu mmap mutex
...
200B to extend the thresh, real increase to the memory usage will be smaller
2025-04-14 10:45:40 +08:00
Marius Vikhammer
d0e555a0b4
fix(build): fixed build error when compiling with cmake 3.16
2025-03-28 10:51:35 +08:00
armando
cf524b41a2
fix(psram): fix wrong mpll freq
2025-03-24 15:02:37 +08:00
Armando (Dou Yiwen)
ee5042095b
Merge branch 'refactor/psram_structure_refactor' into 'master'
...
refactor(psram): cleanup psram component code structure
See merge request espressif/esp-idf!37870
2025-03-21 00:52:03 +08:00
armando
ac8cfadab0
refactor(psram): cleanup psram component code structure
2025-03-20 15:17:01 +08:00
armando
56d5c00245
feat(psram): added 80MHz psram speed option
2025-03-19 11:57:10 +08:00
armando
1a8c556184
feat(psram): supported new octal psram on s3
2025-03-18 10:25:23 +08:00