mirror of
https://github.com/espressif/esp-idf.git
synced 2026-10-02 03:00:34 +03:00
feat(psram): support psram device driver
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
| Supported Targets | ESP32 | ESP32-C5 | ESP32-C61 | ESP32-H4 | ESP32-P4 | ESP32-S2 | ESP32-S3 |
|
||||
| ----------------- | ----- | -------- | --------- | -------- | -------- | -------- | -------- |
|
||||
| Supported Targets | ESP32 | ESP32-C5 | ESP32-C61 | ESP32-H4 | ESP32-P4 | ESP32-S2 | ESP32-S3 | ESP32-S31 |
|
||||
| ----------------- | ----- | -------- | --------- | -------- | -------- | -------- | -------- | --------- |
|
||||
|
||||
This test app is used to test PSRAM
|
||||
|
||||
@@ -65,9 +65,9 @@ TEST_CASE("test psram halfsleep mode (if applicable)", "[psram]")
|
||||
{
|
||||
uint32_t rtc_slow_clk_period = rtc_clk_cal(CLK_CAL_RTC_SLOW, CONFIG_RTC_CLK_CAL_CYCLES);
|
||||
s_test_psram_heap_allocable();
|
||||
for (int i = 0; i < 5; i++) {
|
||||
for (int i = 0; i < 3; i++) {
|
||||
esp_psram_impl_enter_halfsleep_mode();
|
||||
vTaskDelay(pdMS_TO_TICKS(1000));
|
||||
esp_rom_delay_us(1000);
|
||||
esp_psram_impl_exit_halfsleep_mode();
|
||||
esp_psram_impl_resume_from_halfsleep_mode(rtc_slow_clk_period);
|
||||
s_test_psram_heap_allocable();
|
||||
|
||||
Reference in New Issue
Block a user