Commit Graph

126 Commits

Author SHA1 Message Date
armando 6866f375b6 refactor(psram): rename .bss .noinit segments to sections
Closes https://github.com/espressif/esp-idf/pull/15513
2025-03-10 14:44:11 +08:00
Erki Aring c9ab9b8bb3 fix(psram): correct heap vaddr calculation
- fixes https://github.com/espressif/esp-idf/issues/15496

Signed-off-by: armando <douyiwen@espressif.com>
2025-03-10 14:44:11 +08:00
igor.udot daf2d31008 test: format all test scripts 2025-03-05 12:08:48 +08:00
harshal.patil a1e6387c16 fix(esp_psram): Fix incorrect calculation of used XIP PSRAM pages
The functions mmu_config_psram_text_segment() and mmu_config_psram_rodata_segment()
used to return the value of next start page in *out_page instead of the number
of pages used as mentioned in the documentation
2025-02-21 11:07:39 +05:30
wanckl 222b1ddbab fix(driver_gpio): remove gpio_hal_iomux_func_sel 2025-02-19 17:17:51 +08:00
Armando (Dou Yiwen) cc1819200d Merge branch 'feat/ap_quad_psram_ecc_c61_c5' into 'master'
psram: add quad psram error correcting code (ECC) feature on ESP32C61/C5

Closes IDF-12027

See merge request espressif/esp-idf!36465
2025-01-20 14:12:39 +08:00
Armando 8a654ffce1 feat(psram): ecc feature on c5 c61 2025-01-17 16:39:59 +08:00
Armando 6505bcd297 refactor(psram): rename quad psram related naming 2025-01-17 11:31:11 +08:00
Song Ruo Jing 20eb6ca5e9 feat(heap): add a MALLOC_CAP_SIMD flag
MALLOC_CAP_SIMD can be used to allocate memory to be used for SIMD instructions
2025-01-16 14:39:12 +08:00
Armando 14b5db0e87 refactor(mspi): rename to mspi_ll.h 2025-01-07 16:16:06 +08:00
Armando 54a9386b2e fix(psram): fixed mode reg read bad timing on octal and hex psrams 2024-12-24 16:04:47 +08:00
morris 1316d7b741 refactor(spi): hal driver doesn't depend on sdkconfig.h 2024-12-04 19:10:57 +08:00
Armando b626089340 fix(psram): fixed esp32p pico-v3 psram init not ignored issue
Closes https://github.com/espressif/esp-idf/issues/14970
2024-12-03 15:09:34 +08:00
Guillaume Souchere 2a9a41886c feat(heap): Sort list of registered heap by increasing size
For a given group of heaps sharing the same capabilities, it is
best to use smaller heaps first when performing "small" allocations
to keep the bigger heaps untouched. This prevents the scenario where
a series of small allocations would crowd the bigger heaps making
any bigger allocation fail for lack of space.

Closes https://github.com/espressif/esp-idf/issues/13588
2024-11-21 11:02:19 +01:00
Ivan Grokhotkov 4d75d2d487 Merge branch 'bugfix/protocols_examples_common_driver_dep' into 'master'
remove leftover dependencies on `driver` component

See merge request espressif/esp-idf!33548
2024-11-14 22:21:57 +08:00
Omar Chebib fe93c990e6 feat(esp_psram): add support for QEMU 16MB and 32MB QPI PSRAM 2024-11-14 10:24:43 +08:00
Ivan Grokhotkov 68e9bcbf1e fix(build): clean up dependencies on driver component 2024-11-07 13:09:23 +01:00
wangtao@espressif.com e65acc9510 feat(wifi): fix SPIRAM_IGNORE_NOTFOUND releated config 2024-10-24 19:49:57 +08:00
Omar Chebib d327186ddd fix(esp_psram): fix a bug in PSRAM heap registration
This commit fixes a bug in the PSRAM heap initialization that didn't take into
account the reserved himem area when registering the PSRAM virtual space as a heap.
2024-10-15 11:55:28 +08:00
morris aebf700919 refactor(freertos): rename SPIRAM_ALLOW_STACK_EXTERNAL_MEMORY and move to freertos 2024-10-09 13:32:03 +08:00
Armando 256ef127dd fix(linker): fixed extern linker symbol type from int to char 2024-09-14 11:11:55 +08:00
Alexey Lapshin 599c14d8f0 Merge branch 'feature/update-toolchain-to-esp-14.2.0_20240903' into 'master'
feat(tools): update toolchain version to esp-14.2.0_20240906

Closes IDFGH-13033, IDFGH-13355, and IDFGH-13360

See merge request espressif/esp-idf!33295
2024-09-09 14:22:47 +08:00
Alexey Lapshin 205e814563 fix(esp_psram): fix dead code compilation 2024-09-08 13:53:52 +07:00
Alexey Lapshin 4c87af6359 fix(build): fix calloc warnings 2024-09-08 13:53:52 +07:00
Armando (Dou Yiwen) 5dff189341 Merge branch 'feat/xip_psram_c5' into 'master'
psram: xip_psram support on c5/c61, also fixed cache writeback/invalidate not work issue on c61

Closes IDF-8688, IDF-9292, and IDF-11008

See merge request espressif/esp-idf!33265
2024-09-06 10:39:57 +08:00
Armando fce2680e91 feat(psram): xip psram c61 2024-09-03 18:17:03 +08:00
Armando 8842e5764f feat(psram): xip psram c5 2024-09-03 18:17:03 +08:00
wanckl 19c6e77a31 fix(mspi): collect mspi iomux pin macro from iomux_reg.h to spi_pins.h 2024-09-03 13:55:00 +08:00
wanckl 4e095f4b9f ci(esp32c61): enable c61 generic target test 2024-09-02 19:26:12 +08:00
Armando 5e50b11232 fix(psram): fixed ap3204 id check 2024-08-27 09:51:27 +08:00
C.S.M 271ca9f85a feat(spiram): Add .noinit and .bss segement support on esp32c61 2024-08-22 10:58:50 +08:00
C.S.M b676f6080d feature(spiram): Add spiram support on esp32c61 2024-08-22 10:38:43 +08:00
C.S.M 6730203c1d Merge branch 'support_psram_noinit_segment_on_s3' into 'master'
feat(psram): add psram noinit  segment support on s2/s3/p4/c5 and bss segment on c5

Closes IDF-4811, IDF-8689, IDF-10311, and IDFGH-13336

See merge request espressif/esp-idf!32503
2024-08-21 15:25:07 +08:00
Chen Jichang 1c1f536235 feat(psram): add psram noinit segment support on S2/S3/P4/C5
Closes https://github.com/espressif/esp-idf/issues/14253
2024-08-21 12:13:16 +08:00
Jakob Hasse 4c492cc85f refactor(esp_psram): allow external stack also when PSRAM is only available via esp_heap_caps
Closes https://github.com/espressif/esp-idf/issues/12722
2024-08-14 14:47:12 +02:00
C.S.M c431e9b830 feat(spiram): refactor for spiram device driver for s3/c5 2024-08-09 11:43:04 +08:00
Armando 81cee9db8a fix(psram): fixed typo in esp32 quad psram device driver comment 2024-08-01 09:34:18 +08:00
Armando 702b0560ab change(psram): improved xip psram docs on p4 2024-07-26 16:30:46 +08:00
C.S.M 931f95068a feat(spiram): Add temperature support for psram adjustment on esp32c5 2024-07-25 13:48:41 +08:00
Armando 893bd25c0b fix(psram): corrected psram early stage function name 2024-07-23 10:00:24 +08:00
Armando (Dou Yiwen) e799535422 Merge branch 'fix/fix_p4_psram_20m_wrong_clk_div' into 'master'
psram: fixed p4 psram 20M wrong clk div

Closes IDF-10486

See merge request espressif/esp-idf!32191
2024-07-18 23:40:20 +08:00
Armando 1b8c8d5fd4 fix(psram): fixed p4 psram 20M wrong clk div 2024-07-18 17:34:47 +08:00
Armando (Dou Yiwen) cb9f4740be Merge branch 'feat/support_psram_aps3204l' into 'master'
psram: support APS3204L on S3

See merge request espressif/esp-idf!31460
2024-07-18 14:37:58 +08:00
Armando 8c22cb6c6a feat(psram): support bss on psram on p4 2024-07-15 10:44:13 +08:00
C.S.M 9de3e737cf feat(spiram): Add spiram support on esp32c5 2024-07-04 19:29:04 +08:00
Armando ca60b88ea0 feat(psram): support APS3204L 2024-06-13 11:54:38 +08:00
Armando 615f486791 fix(esp_system): fixed not necessary public require to bootloader_support 2024-06-12 12:13:06 +08:00
Armando 10d3912c70 feat(xip_psram): support xip psram feature on esp32p4 2024-05-22 15:56:07 +08:00
morris cf59c00564 change(mpll): clean up mpll clock acquire with ldo driver 2024-03-25 22:03:49 +08:00
Guillaume Souchere d0b97fbd6b Merge branch 'refactor/decouple-psram-init-from-essp-system' into 'master'
refactor(esp_psram): Decouple psram init from esp_system

Closes IDF-8769

See merge request espressif/esp-idf!29042
2024-03-12 21:01:59 +08:00