feat(psram): support bss on psram on p4

This commit is contained in:
Armando
2024-07-10 10:01:22 +08:00
parent 172784733c
commit 0b5db82e5e
5 changed files with 47 additions and 7 deletions

View File

@@ -1,5 +1,5 @@
/*
* SPDX-FileCopyrightText: 2022 Espressif Systems (Shanghai) CO LTD
* SPDX-FileCopyrightText: 2022-2024 Espressif Systems (Shanghai) CO LTD
*
* SPDX-License-Identifier: Apache-2.0
*/
@@ -55,6 +55,11 @@ esp_err_t esp_psram_extram_reserve_dma_pool(size_t size);
*/
bool esp_psram_extram_test(void);
/**
* @brief Init .bss on psram
*/
void esp_psram_bss_init(void);
#if CONFIG_IDF_TARGET_ESP32
/**
* @brief Force a writeback of the data in the PSRAM cache. This is to be called whenever