797 Commits

Author SHA1 Message Date
Michael (XIAO Xufeng)
0d73471a9d Merge branch 'test/add_cache2phys_xip_tests_v5.3' into 'release/v5.3'
fix(mmap): fixed spi_flash_phys2cache, spi_flash_cache2phys return addr in PSRAM issue (v5.3)

See merge request espressif/esp-idf!33628
2025-01-30 23:08:33 +08:00
harshal.patil
ae4e693cfc
feat(hal/spi_flash_encrypted): Enable pseudo rounds function during XTS-AES operations 2025-01-23 14:06:16 +05:30
wuzhenghui
12db9e4225
fix(esp_hw_support): fix branch predictor access flash after cache disabled 2025-01-22 19:27:37 +08:00
morris
2d432ab856 Merge branch 'feat/xmc_32d_support_v5.3' into 'release/v5.3'
feat(spi_flash): support 120M on xmc25q32d flash (backport v5.3)

See merge request espressif/esp-idf!36079
2025-01-02 14:17:13 +08:00
C.S.M
768f746036 feat(spi_flash): support 120M on xmc25q32d flash 2024-12-31 11:34:27 +08:00
Xiao Xufeng
91964c9ad5 ci(app_update): move test_apps to subfolder with a name 2024-12-28 02:01:16 +08:00
Xiao Xufeng
4d75a8118f ci(spi_flash): add tests for cache2phys with XIP 2024-12-27 18:04:51 +08:00
Xiao Xufeng
a4886829f5 fix(mmap): fixed spi_flash_phys2cache return addr in PSRAM issue
When SPIRAM_FETCH_INSTRUCTIONS or SPIRAM_RODATA enabled
2024-12-27 18:04:51 +08:00
Xiao Xufeng
c4cccdedd0 fix(mmap): fixed spi_flash_cache2phys return addr in PSRAM issue
When SPIRAM_FETCH_INSTRUCTIONS or SPIRAM_RODATA enabled
2024-12-27 18:04:51 +08:00
laokaiyao
fa118a24cd fix(gpio_reserve): reserve the mspi pin regarding line mode 2024-12-25 11:07:01 +08:00
Armando
1f982e3ded fix(spi_flash): fixed no_os flash API not consider branch predictor on c5/c61 2024-12-20 14:06:19 +08:00
Armando
5b6191195f fix(spi_flash): fixed no_os flash API not consider cache states issue on h2/p4/c6/c5/c61 2024-12-20 14:06:19 +08:00
morris
c7529d7c94 Merge branch 'bugfix/test_esp_flash_write_v5.3' into 'release/v5.3'
fix(spi_flash): Fix Test esp_flash_write (v5.3)

See merge request espressif/esp-idf!35385
2024-12-09 10:20:32 +08:00
Konstantin Kondrashov
3e4fa69113 fix(spi_flash): Fix Test esp_flash_write 2024-12-03 09:55:18 +02:00
C.S.M
ee6f31b279 test(spi_flash): Fix some failing test related to spi flash 2024-11-25 14:28:01 +08:00
C.S.M
922777118b patch(spi_flash): cleanup XMC flash chip usage according to new information 2024-10-23 17:34:16 +08:00
C.S.M
8890286468 feat(spi_flash): Add new xmc chip id 2024-10-23 17:34:16 +08:00
Chen Jichang
84f024478c fix(ci): rerun pre-commit to fix readme files 2024-09-27 11:12:55 +08:00
morris
5589d8cbf4 Merge branch 'feat/flash_32bit_support_p4_v5.3' into 'release/v5.3'
feature(spi_flash): Add 32bit address support for esp32p4 eco1 (backport v5.3)

See merge request espressif/esp-idf!31262
2024-09-12 11:45:14 +08:00
morris
29b43f3f1a Merge branch 'feat/ldo_channel_reserve_v5.3' into 'release/v5.3'
feat(ldo): reserve the LDO1 and LDO2 (v5.3)

See merge request espressif/esp-idf!32836
2024-09-04 11:28:28 +08:00
Armando
13c30981b9 fix(cache): disable branch predictor before disable cache
branch predictor will start cache request
2024-08-16 10:25:43 +08:00
morris
479c835d1a feat(ldo): add config to let hardware control the ldo output
If LDO1 is used by spi flash, then we recommend to give the ownership to
the hardware. Software just read the parameters from the efuse and set
to PMU.
2024-08-14 10:25:04 +08:00
C.S.M
5b8da6f327 fix(spi_flash): Add external flash support on esp32c6,esp32h2,esp32p4 2024-08-05 11:47:55 +08:00
C.S.M
3110c94117 feat(spi_flash): Support auto suspend on esp32p4 2024-08-01 18:12:51 +08:00
C.S.M
a4fbcae397 feat(spi_flash): Adjust flash clock to real 80M clock, and support 32bit address on eco1 2024-08-01 18:12:51 +08:00
Mahavir Jain
aacfe19a4e fix(esp_mm): for existing mmap region, consider new offset for virtual addr
While returning virtual address for existing memory mapped region, newly
supplied offset from the physical address was not getting considered.

This was a regression present from ESP-IDF 5.1 release.

Added test case in spi_flash component that fails without this fix.

Closes https://github.com/espressif/esp-idf/issues/13929
2024-07-15 12:42:06 +08:00
Armando
48e06fafea feat(xip_psram): support xip psram feature on esp32p4 2024-05-29 10:02:44 +08:00
Armando
687064b2f8 change(cpu_start): added note about internal ram only stage 2024-05-23 15:41:35 +08:00
Omar Chebib
6f888390ab fix(spi_flash): fix a bug where l2 cache was configured from flash 2024-04-15 13:55:38 +08:00
laokaiyao
65b1fd33d3 ci(esp32c5mp): disable the unsupported tests 2024-04-07 12:13:29 +08:00
Wan Lei
7116671f4d Merge branch 'feat/c6lite_c61_final_helloworld' into 'master'
feat(esp32c61): birth and say hello world 🎄 (stage 8/8)

Closes IDF-9290

See merge request espressif/esp-idf!29751
2024-04-02 14:11:36 +08:00
wanlei
20c18ac52b feat(esp32c61): final introduce helloworld support 2024-04-02 10:50:52 +08:00
Armando
1dfc443b5b change(mmap): added built-test-rules.yml contents to flash_mmap test_app 2024-04-02 09:48:07 +08:00
Michael (XIAO Xufeng)
5d6c56c20d Merge branch 'fix/unused_mmap_include' into 'master'
fix(all): remove unused header includes

See merge request espressif/esp-idf!29816
2024-03-29 10:20:08 +08:00
wanlei
535afdd7f4 feat(esp32c61): ci enable header check, fix c61 build 2024-03-27 19:39:59 +08:00
morris
5369b68bc8 change(flash): acquire the LDO channel used by flash
so that even if the same channel has other consumers, the voltage won't
be changed
2024-03-25 22:04:01 +08:00
Xiao Xufeng
313c4f2cdc fix(all): remove unused header includes 2024-03-25 13:58:40 +08:00
KonstantinKondrashov
8dc21afcfe fix(spi_flash): Fix stuck during flash operation
When a task was not pinned to a certain CPU.
2024-03-22 19:49:42 +02:00
C.S.M
ff976c3c31 Merge branch 'bugfix/flash_mxic_chip' into 'master'
fix(spi_flash): Fix MXIC chip flash size detected wrong

See merge request espressif/esp-idf!29539
2024-03-12 18:35:38 +08:00
Cao Sen Miao
68462ef241 fix(spi_flash): Fix MXIC chip flash size detected wrong,
Closes https://github.com/espressif/esp-idf/issues/12222
2024-03-11 15:19:30 +08:00
morris
c952cfb673 feat(gpio): reserve gpio output atomically 2024-03-09 10:33:58 +08:00
Darian Leung
48a7f053d5
feat(freertos/smp): Update other IDF components to be compatible with FreeRTOS v11.0.1 2024-03-05 15:44:12 +08:00
Cao Sen Miao
44e16a6401 fix(spi_flash): Fix issue that flash encryption failed while rom_impl config is enabled
The issue is `esp_flash_write_encryped` function in ROM on ESP32C3, ESP32S3
calls legacy implementation, which uses old configuration. And this causes
write fails.
The solution in this commit is to compile and link this function(and related)
in IRAM instead of the ROM one.
The IRAM cost increases around 1.2KB after the fix
2024-02-28 10:07:53 +08:00
Mahavir Jain
98373a3c2a Merge branch 'bugfix/encrypted_flash_write_safe_addr' into 'master'
fix(spi_flash): check for safe write address in encrypted flash API

See merge request espressif/esp-idf!29043
2024-02-23 12:30:30 +08:00
Mahavir Jain
d99a715568
test: add encrypted flash write test for dangerous regions 2024-02-21 10:31:27 +05:30
Mahavir Jain
58efbf4894
fix(spi_flash): check for safe write address in encrypted flash API 2024-02-14 13:45:11 +05:30
fl0wl0w
90d1dcfd76 feat(freertos): Introduced new Kconfig option CONFIG_FREERTOS_NUMBER_OF_CORES
This commit replaces the use of portNUM_PROCESSORS and configNUM_CORES
macros in all of ESP-IDF. These macros are needed to realize an SMP
scenario by fetching the number of active cores FreeRTOS is running on.
Instead, a new Kconfig option, CONFIG_FREERTOS_NUMBER_OF_CORES, has been
added as a proxy for the FreeRTOS config option, configNUMBER_OF_CORES.
This new commit is now used to realize an SMP scenario in various places
in ESP-IDF.

[Sudeep Mohanty: Added new Kconfig option CONFIG_FREERTOS_NUMBER_OF_CORES]

Signed-off-by: Sudeep Mohanty <sudeep.mohanty@espressif.com>
2024-02-09 09:11:28 +01:00
wanlei
4a46d70e9a fix(spi_master): Fix p4 spi clock source support other than XTAL 2024-01-17 17:01:23 +08:00
Armando (Dou Yiwen)
44a1a62214 Merge branch 'feature/psram_200mhz_support' into 'master'
psram: 200mhz psram support

Closes IDF-7517

See merge request espressif/esp-idf!28089
2024-01-11 13:19:45 +08:00
Fu Hanxi
fba96d58c2
ci: dynamic pipeline
build:
- upgrade idf-build-apps to 2.x
- unify get_pytest_apps and get_cmake_apps to get_all_apps
	- returns (test_apps, non_test_apps) tuple
- add tests for the new get_all_apps

assign:
- generate build report
- generate target test pipeline based on the build report

target test:
- download artifacts from minio server
- users can use `pytest --pipeline-id xxxxx` to download and flash
the binaries from the artifacts

.post:
- generate target test reports
2024-01-10 15:37:34 +01:00