add flash and PSRAM CS IO acquire function

This commit is contained in:
chenjianqiang
2021-07-02 21:46:49 +08:00
committed by Li Shuai
parent 9f957cbfe2
commit 9b53e18c44
14 changed files with 108 additions and 1 deletions

View File

@@ -85,6 +85,15 @@ size_t esp_spiram_get_size(void);
*/
void esp_spiram_writeback_cache(void);
/**
* @brief get psram CS IO
*
* This interface should be called after PSRAM is enabled, otherwise it will
* return an invalid value -1/0xff.
*
* @return psram CS IO or -1/0xff if psram not enabled
*/
uint8_t esp_spiram_get_cs_io(void);
/**