mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
16a91399f1
External memory is accessed via SPI0. When modifying the SPI0 registers, should put the code in internal RAM. Otherwise when there is an ongoing SPI0 transaction, CPU changes the SPI0 registers. This is dangerous. Besides, modifying SPI0 registers may lead external memory to an unstable state. Therefore putting these code in internal RAM is necessary.
19 lines
557 B
Plaintext
19 lines
557 B
Plaintext
[mapping:esp_hw_support]
|
|
archive: libesp_hw_support.a
|
|
entries:
|
|
cpu_util (noflash_text)
|
|
if IDF_TARGET_ESP32S2 = y:
|
|
regi2c_ctrl (noflash)
|
|
rtc_clk (noflash)
|
|
rtc_init:rtc_vddsdio_set_config (noflash)
|
|
rtc_pm (noflash_text)
|
|
rtc_sleep (noflash_text)
|
|
rtc_time (noflash_text)
|
|
if IDF_TARGET_ESP32C3 = n && IDF_TARGET_ESP32H2 = n:
|
|
rtc_wdt (noflash_text)
|
|
if IDF_TARGET_ESP32S3 = y:
|
|
if SPIRAM_MODE_QUAD = y:
|
|
spiram_psram (noflash)
|
|
if SPIRAM_MODE_OCT = y:
|
|
opiram_psram (noflash)
|