mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
add new config items for spiflash ci unit-test
This commit is contained in:
parent
b25ccde45f
commit
92eae20bca
@ -467,11 +467,11 @@ esp_err_t esp_enable_cache_wrap(bool icache_wrap_enable, bool dcache_wrap_enable
|
||||
uint32_t instruction_use_spiram = 0;
|
||||
uint32_t rodata_use_spiram = 0;
|
||||
#if CONFIG_SPIRAM_FETCH_INSTRUCTIONS
|
||||
extern uint32_t esp_spiram_instruction_access_enabled();
|
||||
extern uint32_t esp_spiram_instruction_access_enabled(void);
|
||||
instruction_use_spiram = esp_spiram_instruction_access_enabled();
|
||||
#endif
|
||||
#if CONFIG_SPIRAM_RODATA
|
||||
extern uint32_t esp_spiram_rodata_access_enabled();
|
||||
extern uint32_t esp_spiram_rodata_access_enabled(void);
|
||||
rodata_use_spiram = esp_spiram_rodata_access_enabled();
|
||||
#endif
|
||||
|
||||
|
@ -539,7 +539,7 @@ UT_034:
|
||||
|
||||
UT_035:
|
||||
extends: .unit_test_s2_template
|
||||
parallel: 34
|
||||
parallel: 36
|
||||
tags:
|
||||
- ESP32S2_IDF
|
||||
- UT_T1_1
|
||||
|
5
tools/unit-test-app/configs/spi_flash_config_1_s2
Normal file
5
tools/unit-test-app/configs/spi_flash_config_1_s2
Normal file
@ -0,0 +1,5 @@
|
||||
TEST_COMPONENTS=spi_flash
|
||||
CONFIG_ESP32S2_SPIRAM_SUPPORT=y
|
||||
CONFIG_SPIRAM_FETCH_INSTRUCTIONS=y
|
||||
CONFIG_SPIRAM_RODATA=n
|
||||
CONFIG_IDF_TARGET="esp32s2"
|
5
tools/unit-test-app/configs/spi_flash_config_2_s2
Normal file
5
tools/unit-test-app/configs/spi_flash_config_2_s2
Normal file
@ -0,0 +1,5 @@
|
||||
TEST_COMPONENTS=spi_flash
|
||||
CONFIG_ESP32S2_SPIRAM_SUPPORT=y
|
||||
CONFIG_SPIRAM_FETCH_INSTRUCTIONS=y
|
||||
CONFIG_SPIRAM_RODATA=y
|
||||
CONFIG_IDF_TARGET="esp32s2"
|
5
tools/unit-test-app/configs/spi_flash_config_3_s2
Normal file
5
tools/unit-test-app/configs/spi_flash_config_3_s2
Normal file
@ -0,0 +1,5 @@
|
||||
TEST_COMPONENTS=spi_flash
|
||||
CONFIG_ESP32S2_SPIRAM_SUPPORT=y
|
||||
CONFIG_SPIRAM_FETCH_INSTRUCTIONS=n
|
||||
CONFIG_SPIRAM_RODATA=y
|
||||
CONFIG_IDF_TARGET="esp32s2"
|
Loading…
x
Reference in New Issue
Block a user