Armando
d9f7b7fe4a
fix(cache): fix wrong dcache size 0 configuration issue on s2
...
Closes https://github.com/espressif/esp-idf/issues/12711
2024-01-05 10:40:04 +08:00
Cao Sen Miao
f5e80b68c7
fix(ota): Fixed OTA fail on octal flash with 32MB memory,
...
Closes https://github.com/espressif/esp-idf/issues/11903
2023-11-01 12:27:16 +08:00
Armando
30fda7f5c2
change(mspi): remove s3 120mhz sdr warning
2023-09-27 15:00:26 +08:00
Armando
53b1c2a2e6
test(flash_mmap): test flash mmap pages
2023-08-25 10:37:48 +08:00
Armando
6183b555aa
fix(flash_mmap): fixed limited free I/D pages on ESP32S3, C2, C3
2023-08-25 10:37:48 +08:00
wanlei
1283619767
cache: refactor cache_utils into cache_hal instade
2023-07-31 15:34:56 +08:00
wanlei
68e07d90ba
cache: fix cache suspended/resumed twice on S3
2023-07-31 15:08:18 +08:00
morris
3fba3425f1
Merge branch 'bugfix/fix_spi_flash_api_concurrency_issue_v5.0' into 'release/v5.0'
...
spi_flash: fix concurrency issue when concurrently calling esp_flash apis (v5.0)
See merge request espressif/esp-idf!24512
2023-07-25 11:04:57 +08:00
Armando
38de42bd26
feat(spi_flash): add common test_flash_utils component
2023-07-24 15:28:18 +08:00
Armando
403cdb03ec
spi_flash: rename spi_flash_os_func_app: spi_start, spi_end
...
spi_start -> s_acquire_spi_bus_lock
spi_end -> s_release_spi_bus_lock
2023-07-24 15:28:18 +08:00
Armando
c56ff93007
spiflash: added esp_flash API concurrency pressure test
2023-07-24 15:28:18 +08:00
Armando
5a59c50951
spi_flash: fix concurrency issue when calling esp_flash apis under xip_psram or auto_suspen
2023-07-24 15:28:18 +08:00
Armando
0c2cd2dfa6
spiflash: fix not calling on_spi_acquired when CONFIG_SPI_FLASH_SHARE_SPI1_BUS issue
2023-07-24 15:28:18 +08:00
gaoxiaojie
805f3bc557
fix(cache): add lock to protect cache sync operation
2023-07-24 10:51:23 +08:00
Jiang Jiang Jian
c10505f939
Merge branch 'bugfix/fix_esp32s3_psram_access_failed_in_dfs_v5.0' into 'release/v5.0'
...
esp_pm: fix esp32s3 psram access failed when dfs is enabled (backport v5.0)
See merge request espressif/esp-idf!24199
2023-07-11 12:19:43 +08:00
wuzhenghui
65e8cb55eb
bugfix: fix esp32s3 psram access failed when dfs is enabled
2023-06-15 14:14:21 +08:00
Armando
75bd7008a5
mspi: added timing tuning start, and success log
2023-06-12 16:14:13 +08:00
Armando
23cbe3c008
mspi: modified mspi 80mhz octal psram timing tuning point fallback id on s3
2023-05-11 11:16:33 +08:00
Cao Sen Miao
4c66d7e6df
esp_flash: correct veriable 'size' description
2023-03-21 12:10:38 +08:00
Cao Sen Miao
e94d95103e
spi_flash: Fix issue that cannot get accurate flash size when encounter large size memory,
...
Closes https://github.com/espressif/esp-idf/pull/9566
2023-03-20 13:07:35 +08:00
Omar Chebib
83907aaa20
TWDT: Use the new TWDT Kconfig options in the examples and tests
2023-03-07 10:23:43 +08:00
Ivan Grokhotkov
82458fd31d
Merge branch 'bugfix/extram_stack_coredump_v5.0' into 'release/v5.0'
...
coredump: add support for stacks in external RAM (backport v5.0)
See merge request espressif/esp-idf!22410
2023-02-20 20:32:19 +08:00
morris
db8b56c9ac
Merge branch 'bugfix/fix_micro_error_SPI_HOST_MAX_v5.0' into 'release/v5.0'
...
spi: fix micro SPI_HOST_MAX error (v5.0)
See merge request espressif/esp-idf!22147
2023-02-18 15:06:35 +08:00
Omar Chebib
18125ff7b7
coredump: add support for stacks in external RAM
...
Tasks having their stacks in SPIRAM can now be part of the coredump written to flash
2023-02-17 10:39:07 +08:00
wanlei
9fd62d547c
spi_flash: fix flash function arg_check with spi host_id
2023-01-30 10:33:17 +08:00
Armando
698be13236
mspi: remove mspi 80m ddr mode warning regarding to timing tuning
2023-01-05 11:50:57 +08:00
Omar Chebib
0714847552
C/Cxx: unify static assertions with the macro ESP_STATIC_ASSERT
...
Closes https://github.com/espressif/esp-idf/issues/9938
2022-12-19 15:06:15 +01:00
Armando
2369fa4d66
mspi_tuning: fix psram timing tuning bug
...
Prior to this commit, when calling:
- spi_timing_enter_mspi_low_speed_mode()
- spi_timing_enter_mspi_high_speed_mode()
psram timing is not tuned. This will lead to a stall during early
startup. This bug is on S3, for 80MHz DDR PSRAM
This commit will add psram timing tuning, in these two functions.
2022-12-15 17:04:23 +08:00
gaoxu
06e1ff2881
system: don't disable cache if Flash .text and .rodata are moved to PSRAM
2022-12-09 18:02:57 +08:00
Jiang Jiang Jian
67f1ff7fa1
Merge branch 'feature/gd_e_hpm_support_v5.0' into 'release/v5.0'
...
spi_flash: Add GD25QxxE and ZBit flash HPM(120M) support(backport v5.0)
See merge request espressif/esp-idf!20240
2022-12-08 11:52:21 +08:00
Armando
d4725fb34d
partition: use esp_partition_munmap instead of spi_flash_munmap
2022-11-10 11:26:51 +08:00
Martin Vychodil
af81bd1b0a
Storage: Partition APIs moved to the new component 'esp_partition'
...
All the partition handling API functions and data-types were moved from the 'spi_flash' component to the new one named 'esp_partition'. See Storage 5.x migration guide for more details
2022-11-02 21:49:08 +01:00
Cao Sen Miao
7e1c632d8b
spi_flash: Add several flash chips HPM(120M) support
2022-09-21 11:47:52 +08:00
KonstantinKondrashov
0147bd6b0d
freertos: Adds new APIs to set/get and restore base priority
...
Closes https://github.com/espressif/esp-idf/issues/7580
2022-09-07 21:16:00 +08:00
Armando
64e0ee573d
esp_psram: rename esp_private/mmu.h to mmu_psram_flash.h
...
Prior to this commit, esp_psram/include/esp_private/mmu.h contains some
APIs that is used for:
- copy flash content to psram
- necessary sync APIs used by flash_mmap.c, due to above feature
This commit rename it to mmu_psram_flash.h, therefore mmu.h can be used
for real mmu related APIs.
This commit also moves above mention funcitons in `mmu.c` and
`mmu_psram.c` to `mmu_psram_flash.c`, leaving `mmu.c` to be used for
real mmu driver.
2022-08-27 15:11:15 +08:00
Laukik Hase
5bd962cba7
ci: Fix host-test failures
2022-08-24 14:46:33 +05:30
Ivan Grokhotkov
401c10ecfb
build system: re-add -Wno-format as private flag for some components
2022-08-03 16:42:47 +04:00
Shubham Kulkarni
b6d69840e8
partition_table: Support registering custom subtypes
2022-08-03 05:18:37 +00:00
wangyuanze
8781a50abe
spi_flash: fix hpm dummy error when using 80m flash and psram
2022-07-28 14:32:30 +08:00
Darian
c8ee369a7c
Merge branch 'feature/deprecate-old-cpu-api' into 'master'
...
HAL: Deprecate old CPU/SoC/Interrupt Controller HAL API
Closes IDF-4919 and IDF-5032
See merge request espressif/esp-idf!18987
2022-07-23 00:37:33 +08:00
Cao Sen Miao
ec6a56ed0c
spi_flash: re-enable the HPM mode on several XMC chips
2022-07-22 09:54:56 +08:00
Guillaume Souchere
6005cc9163
hal: Deprecate interrupt_controller_hal.h, cpu_hal.h and cpu_ll.h interfaces
...
This commit marks all functions in interrupt_controller_hal.h, cpu_ll.h and cpu_hal.h as deprecated.
Users should use functions from esp_cpu.h instead.
2022-07-22 00:06:06 +08:00
Darian Leung
781d06af73
esp_hw_support: Remove compare_set.h API
...
This function removes the following legacy atomic CAS functions:
From compare_set.h (file removed):
- compare_and_set_native()
- compare_and_set_extram()
From portmacro.h
- uxPortCompareSet()
- uxPortCompareSetExtram()
Users should call esp_cpu_compare_and_set() instead as this function hides the details
of atomic CAS on internal and external RAM addresses.
Due to the removal of compare_set.h, some missing header includes are also fixed in this commit.
2022-07-22 00:06:06 +08:00
Jiang Jiang Jian
cf5b097c88
Merge branch 'bugfix/further_fix_for_mspi_current_leakage' into 'master'
...
system/sleep: further fix spi flash/ram current leakage
Closes IDF-4720
See merge request espressif/esp-idf!18566
2022-07-21 19:14:26 +08:00
Jing Li
66395a5c00
system/sleep: further fix spi flash/ram current leakage
2022-07-21 19:14:26 +08:00
Cao Sen Miao
e69f658ac6
flash_encryption: Add several test environments for flash encryption test
2022-07-20 12:49:42 +08:00
Fu Hanxi
05d2357062
feat: use standalone project idf-build-apps for find/build apps utils
2022-07-14 08:26:31 +08:00
Cao Sen Miao
683d92bc88
flash_encryption: Fix issue that flash encryption cannot work when 8-line psram enabled,
...
Closes https://github.com/espressif/esp-idf/issues/9244 ,
Closes https://github.com/espressif/esp-idf/issues/9287
2022-07-12 16:08:57 +08:00
Cao Sen Miao
a690a87829
spi_flash: Remove legacy spi_flash drivers
2022-07-01 11:01:34 +08:00
Cao Sen Miao
d9b4b82edc
spi_flash: Modify documentations
2022-07-01 10:59:34 +08:00