fix(soc): link rtc_io_num_map to DRAM

This commit is contained in:
wuzhenghui
2026-02-14 11:12:22 +08:00
parent d881be5ce0
commit 5f2cd42bd8
+2 -1
View File
@@ -4,10 +4,11 @@
* SPDX-License-Identifier: Apache-2.0
*/
#include "esp_attr.h"
#include "soc/rtc_periph.h"
#include "soc/rtc_io_reg.h"
const int8_t rtc_io_num_map[SOC_GPIO_PIN_COUNT] = {
DRAM_ATTR const int8_t rtc_io_num_map[SOC_GPIO_PIN_COUNT] = {
RTCIO_GPIO0_CHANNEL, //GPIO0
-1,//GPIO1
RTCIO_GPIO2_CHANNEL, //GPIO2