mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
9b34085053
The workaround for PSRAM that will occupy an SPI bus is enabled only when: 1. used on 32MBit ver 0 PSRAM. 2. work at 80MHz. The test used to only check 32MBit by the config option, but for PSRAM on Wrover-B module seems to use a newer version of 32MBit PSRAM. So it expects the workaround to be enabled, but actually not. This commit split the unit test into two parts: 1. check all SPI buses are available, for all configs except psram_hspi and psram_vspi, run on regular runners (including Wrover and Wrover-B). a hidden option is enabled so that the compiler knows it's not building psram_hspi or psram_vspi. 2. check the specified bus are acquired, for config psram_hspi and psram_vspi. This only run on special runner (legacy Wrover module).
5 lines
145 B
Plaintext
5 lines
145 B
Plaintext
TEST_COMPONENTS=esp32
|
|
CONFIG_SPIRAM_SUPPORT=y
|
|
CONFIG_SPIRAM_BANKSWITCH_ENABLE=y
|
|
CONFIG_SPIRAM_BANKSWITCH_RESERVE=8
|
|
CONFIG_SPIRAM_OCCUPY_NO_HOST=y |