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
Armando
13167d8479
change(flash): rename spi_timing_is_tuned to spi_flash_timing_is_tuned
2024-01-10 11:52:28 +08:00
laokaiyao
d0a8f3e5c4
feat(esp32c5): support esptool on esp32c5 beta3
2024-01-09 13:11:11 +08:00
laokaiyao
11e19f40b9
feat(esp32c5): support to build hello world on esp32c5 beta3
2024-01-09 13:11:11 +08:00
Cao Sen Miao
2e83fa1c69
refactor(spi_flash): Use new spi_flash register sturct and deperecate the old one
2024-01-08 09:59:22 +08:00
Cao Sen Miao
8325b507e0
test(spi_flash): Enable spi_flash related test on esp32p4
2024-01-08 09:59:12 +08:00
Armando (Dou Yiwen)
f8674e6610
Merge branch 'bugfix/fix_wrong_dcache_0_size_issue_on_s2' into 'master'
...
cache: fix wrong dcache size 0 configuration issue on s2
Closes IDFGH-11592
See merge request espressif/esp-idf!28264
2024-01-05 10:33:50 +08:00
Armando
d9661e15e2
fix(cache): fix wrong dcache size 0 configuration issue on s2
...
Closes https://github.com/espressif/esp-idf/issues/12711
2024-01-04 12:06:09 +08:00
Armando
3c5a4f9e8a
ci(p4): added todo jira for disabled tests on p4
2024-01-04 09:36:38 +08:00
Armando
907b876354
ci(p4): temporarily disable failed ci tests on p4
2024-01-04 09:36:06 +08:00
Armando
1ab742b3c3
ci(p4): enable esp32p4 target test
2024-01-04 09:34:55 +08:00
Cao Sen Miao
e7dd6bbcdf
fix(spi_flash): Fix spi_flash counter test on CI
2023-12-18 19:03:30 +08:00
Cao Sen Miao
a5a29882ef
fix(spi_flash): Fix that internal RAM has no enough space to put all stuff inside
2023-12-14 17:05:59 +08:00
Aditya Patwardhan
a84234c23f
feat(security): Enable Flash encryption for ESP32P4
2023-12-05 13:10:55 +05:30
C.S.M
067ee29774
Merge branch 'bugfix/improve_enc_write_performance' into 'master'
...
bugfix(spi_flash): Improve encryption write performance
Closes IDFGH-11415
See merge request espressif/esp-idf!27123
2023-11-22 15:19:28 +08:00
Cao Sen Miao
6953b51b3a
fix(spi_flash): Improve encryption write performance, Closes https://github.com/espressif/esp-idf/issues/12553
2023-11-22 10:33:05 +08:00
Marius Vikhammer
52e3f09b32
refactor(spi): moved spi hw sharing func to hw support
...
Common spi functionality for sharing the SPI bus between modules is moved from esp_driver_spi to
a more fitting location in esp_hw_support (shared HW resource control).
This also allows us to decouple the spi_flash driver from esp_driver_spi, removing
esp_driver_spi and esp_ringbuf from G1 builds.
2023-11-20 12:07:54 +08:00
Armando
fca46eac52
refactor(spi): make spi driver as component
2023-11-09 14:50:05 +08:00
C.S.M
647f0d24a7
Merge branch 'feature/suspend_tsus_config' into 'master'
...
feat(spi_flash): Support configurable tSUS in flash suspend and update the test
See merge request espressif/esp-idf!26567
2023-11-09 10:45:17 +08:00
Cao Sen Miao
dcff5220a7
feat(spi_flash): Support configurable tSUS in flash suspend
2023-11-06 18:04:43 +08:00
morris
2ef14fe55e
refactor(gptimer): refactor gptimer driver into a component
2023-11-06 17:09:31 +08:00
Song Ruo Jing
9461993ec5
refactor(gpio): make gpio driver as component, and fix astyle
2023-11-03 15:42:23 +08:00
Marius Vikhammer
d6a79b5108
Merge branch 'feature/hello_world_linux' into 'master'
...
feat(linux_target): enable hello world example for linux target
See merge request espressif/esp-idf!26638
2023-10-25 10:22:49 +08:00
Adam Múdry
687c5cc8d5
Merge branch 'fix/remove_wno-format_from_storage_components' into 'master'
...
refactor: Remove -Wno-format from storage related components
Closes IDF-6793
See merge request espressif/esp-idf!26531
2023-10-24 21:25:34 +08:00
Xiao Xufeng
1f5fb3f921
spi_flash: fixed issue that enabling HPM-DC by default may cause app unable to restart
2023-10-24 10:38:08 +08:00
Marius Vikhammer
8c52b0845d
feat(linux_target): enable hello world example for linux target
2023-10-24 10:04:09 +08:00
Adam Múdry
e151184da7
refactor: Remove -Wno-format from storage related components
2023-10-22 17:56:41 +00:00
C.S.M
0e95c0f4f8
Merge branch 'ci/reduce_flash_build_ci' into 'master'
...
spi_flash: reduce build times on ci
See merge request espressif/esp-idf!26264
2023-10-14 09:41:35 +08:00
Cao Sen Miao
6137905c02
ci(spi_flash): reduce build times on ci
2023-10-13 17:54:42 +08:00
Cao Sen Miao
6cea72b76b
fix(ota): Fixed OTA fail on octal flash with 32MB memory,
...
Closes https://github.com/espressif/esp-idf/issues/11903
2023-10-13 12:01:26 +08:00
Adam Múdry
ab1eb37fe8
feat(partition_table): Add read-only partition flag and functionality
2023-10-11 00:01:05 +02:00
Armando (Dou Yiwen)
b58a2ea6a6
Merge branch 'feature/support_cache_p4' into 'master'
...
cache: support cache driver on esp32p4
Closes IDF-7516
See merge request espressif/esp-idf!25490
2023-09-25 15:21:46 +08:00
Armando
ec27891af6
change(cache): swap cache hal arg 'type' and 'level'
2023-09-22 14:19:41 +08:00
Armando
ea38a2e9a4
feat(cache): support cache driver on esp32p4
2023-09-22 14:19:41 +08:00
Chen Yudong
2e11919f70
fix(ci): change build-test-rules files folder
2023-09-20 19:17:06 +08:00
Darian Leung
287bdc5e61
fix(test_apps): Trim builds of component test apps
...
Some component test apps do not use the "set(COMPONENTS main)" command in their
project level "CMakeLists.txt", thus leading to their builds pulling in all
ESP-IDF components.
This commit trims the build of multiple component test apps:
- Add "set(COMPONENTS main ...)" to project level "CMakeLists.txt"
- Add missing "PRIV_REQUIRES" in some "main" component "CMakeLists.txt"
Also removed repeated configuraiton options in legacy_i2c_driver/sdkconfig.ci.defaults
as they are already specified in legacy_i2c_driver/sdkconfig.defaults
2023-09-18 17:16:37 +08:00
Lu Ze Yu
43db5fbb6e
Merge branch 'contrib/github_pr_12093' into 'master'
...
hal: fix compile issues with cxx
Closes IDFGH-10892, IDF-8017, and IDF-8014
See merge request espressif/esp-idf!25421
2023-09-15 10:21:11 +08:00
Zim Kalinowski
5afabafc82
Merge branch 'bugfix/fix-in-esp-flash-test' into 'master'
...
fix(spi_flash): Fixed minor issue with esp flash test
See merge request espressif/esp-idf!25971
2023-09-14 23:32:17 +08:00
Zim Kalinowski
a00335ac62
fix(spi_flash): Fixed minor issue with esp flash test
2023-09-14 09:41:20 +02:00
Planck (Lu Zeyu)
255d499884
fix(ll): fix cpp compile error
...
Merges https://github.com/espressif/esp-idf/pull/12093
fix(ll): remove FLAG_ATTR macro
Such kind of operator overload will not work because C++ thinks such overload is ambiguous and it still prefer the built-in one which accepts and returns integer. Manually force type conversion seems to be unavoidable.
2023-09-14 14:48:12 +08:00
Cao Sen Miao
f895c6d414
ci(spi_flash): Add flash test for 26MHZ XTAL on ESP32C2
2023-09-07 17:37:01 +08:00
Armando
cbe4470a1b
change(soc): remove no longer used mmu.h on p4
2023-09-05 15:47:26 +08:00
Armando (Dou Yiwen)
c9adbe13d8
Merge branch 'feature/support_psram_on_p4' into 'master'
...
esp_psram: esp32p4 psram device driver support
Closes IDF-7495
See merge request espressif/esp-idf!25368
2023-08-29 15:50:30 +08:00
Armando
712c0c0075
feat(psram): esp32p4 psram device driver support
2023-08-28 14:14:58 +08:00
Krzysztof Budzynski
1d030b7601
Merge branch 'bugfix/description_for_AR2023-003' into 'master'
...
[docs] Update API Reference of SPI Flash for AR2023-003
See merge request espressif/esp-idf!25458
2023-08-28 12:17:04 +08:00
Krzysztof
290ca75ae0
[docs] Update API Reference of SPI Flash for AR2023-003
2023-08-27 18:31:31 +08:00
Armando
7dbd3f6909
feat(ci): Enable p4 example, test_apps and unit tests CI build
2023-08-24 12:51:19 +08:00
Gao Xu
0ceb5f2648
Merge branch 'refactor/cache_disable_enable_interface' into 'master'
...
refactor(cache): abstract cache rom API in cache_ll.h
Closes IDF-7922
See merge request espressif/esp-idf!25040
2023-08-15 19:43:47 +08:00
Armando
8c8affc812
feat(mmu): support mmu and flash mmap driver on p4
2023-08-15 10:17:03 +08:00
Armando
706d684418
feat(esp32p4): introduced new target esp32p4, supported hello_world
2023-08-09 19:33:25 +08:00
gaoxu
fd759d65b0
refactor(cache): abstract cache rom API in cache_ll.h
2023-08-09 10:32:12 +00:00
daiziyan
1037135761
docs: provided translation for storage.rst and system.rst and updated a typo for memory-types.rst
2023-07-27 16:24:29 +08:00
Armando
e8bbb490ec
feat(cache): added cache init configurations on p4
2023-07-25 05:59:10 +00:00
wuzhenghui
797efb1dd3
ci: add pd_vddsdio in lightsleep UT tests
...
- Add pd_vddsdio in lightsleep UT tests to ensure proper functionality
2023-07-14 21:21:23 +08:00
Chen Ji Chang
7ec38eb309
Merge branch 'bugfix/update_all_esp32xxx/rom/gpio.h_comments' into 'master'
...
gpio: Update the incorrect comments in rom/gpio.h
Closes IDFGH-10490
See merge request espressif/esp-idf!24487
2023-07-13 19:44:31 +08:00
Chen Jichang
b9c22b126a
bugfix(driver/gpio):update the incorrect comment
...
There are some register description errors in parts of rom/gpio.h
This commit update the incorrect comments in rom/gpio.h And now
esp_rom_gpio.h is recommend instead of rom/gpio.h. So this commit adds
macro SIG_GPIO_OUT_IDX in esp_rom_gpio_connect_out_signal
function and removes the reference to gpio.h in some source files.
Closes https://github.com/espressif/esp-idf/issues/11737
2023-07-13 10:52:50 +08:00
Armando
fb420725d2
feat(hal): unify hal cmake for spi_flash_hal_gpspi.c
2023-07-10 16:11:47 +08:00
morris
f0c07f82b5
fix(test): check call graph for hal component
2023-07-05 09:09:01 +08:00
Armando
5d3f2c7571
feat(spi_flash): add common test_flash_utils component
2023-06-28 11:08:05 +08:00
Armando
5948c4b8ff
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-06-28 11:08:05 +08:00
Armando
267ab08a29
spiflash: added esp_flash API concurrency pressure test
2023-06-28 11:08:05 +08:00
Armando
0e6d3aa9cd
spi_flash: fix concurrency issue when calling esp_flash apis under xip_psram or auto_suspen
2023-06-28 11:08:05 +08:00
Armando
f1f446d495
spiflash: fix not calling on_spi_acquired when CONFIG_SPI_FLASH_SHARE_SPI1_BUS issue
2023-06-28 11:08:05 +08:00
Wan Lei
a0dc515143
Merge branch 'refactor/cache_utils_refactor_to_cache_hal' into 'master'
...
cache: refactor cache_utils to use cache_hal instade
Closes IDF-7172 and IDF-7385
See merge request espressif/esp-idf!23317
2023-06-19 11:54:12 +08:00
wanlei
0f7e39d15a
cache: refactor cache_utils into cache_hal instade
2023-06-15 11:50:42 +08:00
wanlei
c5c793109f
cache: fix cache suspended/resumed twice on S3
2023-06-14 10:55:07 +08:00
KonstantinKondrashov
e72061695e
all: Removes unnecessary newline character in logs
...
Closes https://github.com/espressif/esp-idf/issues/11465
2023-06-09 03:31:21 +08:00
Jiang Guang Ming
d476c4338e
spi_flash: support esp_flash rom impl test on c6 and h2
2023-06-02 16:56:46 +08:00
jiangguangming
8c075ea61f
spi_flash: remove unnecessary header includes in test_app
2023-05-19 11:28:50 +08:00
Cao Sen Miao
1ec55b7d1a
spi_flash: Add GD25LQ255E flash support
2023-05-17 18:28:57 +08:00
Cao Sen Miao
36aace3f47
spi_flash: Move most tests in unit-test to pytest
2023-05-15 14:58:51 +08:00
Cao Sen Miao
5bd535e9e0
spi_flash: Add strict test for flash suspend
2023-05-11 20:12:41 +08:00
Cao Sen Miao
ed96dadd06
spi_flash: 2nd stage for supporting flash suspend. (1). Support more esp chips (2). Improve real-time performance (3). Making timing more stable (4) Add documents
2023-05-11 20:10:30 +08:00
Armando
dbf3612d6d
spi_flash: replace flash clock src change API with mspi timing API
2023-05-04 17:05:35 +08:00
Armando
8eec6558d1
mspi: refactor timing tuning driver to make it compatible with p4
2023-05-04 17:05:35 +08:00
Marius Vikhammer
9357f0977c
Merge branch 'ci/chip_support_network_invalid_kconfigs' into 'master'
...
ci: remove redundant ci configs for chip support and network components
See merge request espressif/esp-idf!23430
2023-04-26 17:26:05 +08:00
Marius Vikhammer
bca026455c
ci: remove redundent ci configs for chip support and network components
...
CI would build psram config test apps even for target with no psram.
2023-04-26 09:54:29 +08:00
Radek Tandler
d8f2c0e715
Merge branch 'feature/storage_host_test_ffs' into 'master'
...
fatfs: host test migrated to CMake and esp_partition emulation for linux
See merge request espressif/esp-idf!23265
2023-04-25 15:30:09 +08:00
Kevin (Lao Kaiyao)
6b5077f2d7
Merge branch 'refactor/remove_esp32h4_target' into 'master'
...
esp32h4: removed esp32h4 target (stage 2)
Closes IDF-7237, IDF-7238, and IDF-7239
See merge request espressif/esp-idf!23179
2023-04-24 23:34:19 +08:00
laokaiyao
bf2a7b2df6
esp32h4: removed esp32h4 related codes
2023-04-23 12:03:07 +00:00
wanlei
b519eed230
spi_flash: fix config SPI_FLASH_SHARE_SPI1_BUS dependency
2023-04-21 18:57:06 +08:00
radek.tandler
13a305656d
host_test: cleanup of make based obsolete code in wl, fatfs and spi_flash
2023-04-21 10:45:17 +02:00
laokaiyao
b7053b46ef
esp32h4: remove esp32h4 target from peripherals
2023-04-20 15:19:45 +08:00
C.S.M
247cc7dd87
Merge branch 'feature/cache_32M_map' into 'master'
...
spi_flash: 32M bits address flash cache map
Closes IDF-7119 and IDF-4693
See merge request espressif/esp-idf!23021
2023-04-14 16:01:25 +08:00
Cao Sen Miao
c7053641bc
spi_flash: 32M bits address flash map, (for customer use only)
2023-04-14 11:37:09 +08:00
Radek Tandler
d8b8ab5d43
Merge branch 'feature/wl_host_test_cmake' into 'master'
...
Storage: Migrate WL host test to CMake
See merge request espressif/esp-idf!23015
2023-04-13 13:16:57 +08:00
radek.tandler
0402874d3c
host_test: wl migrated to Cmake and linux emulation of esp_partition
...
- build system changed to CMake
- host tests changed to use partition api on linux instead of mocked code
- extended wl flash host tests to cover power off recovery code
2023-04-11 16:16:53 +02:00
Darian Leung
3d2e674326
freertos: Move private API additions to "freertos_idf_additions_priv.h"
...
Previously, some IDF FreeRTOS API additions that were meant to be private were
exposed through the same "idf_additions.h" header. This commit moves those
functions to a separate header included via
"esp_private/freertos_idf_additions_priv.h" so that they are not mistaken as
public API by users.
This commit also fixes some missing include and C++ guards in idf_additions.h
2023-04-07 15:24:34 +08:00