refactor(driver/rtcio): Re-wrap RTCIO APIs with more accurate soc_caps

This commit is contained in:
Song Ruo Jing
2023-06-30 16:30:03 +08:00
parent 5ebe3b0fc2
commit 4985caa38f
22 changed files with 317 additions and 107 deletions

View File

@@ -4,7 +4,7 @@
* SPDX-License-Identifier: Apache-2.0
*/
#include "soc/rtc_periph.h"
#include "soc/rtc_io_periph.h"
const int rtc_io_num_map[SOC_GPIO_PIN_COUNT] = {
RTCIO_GPIO0_CHANNEL, //GPIO0