We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 276d1c8 commit 37f318cCopy full SHA for 37f318c
boards/xtensa/esp32s3/esp32s3-devkit/src/esp32s3_bringup.c
@@ -62,6 +62,10 @@
62
# include <nuttx/input/buttons.h>
63
#endif
64
65
+#ifdef CONFIG_RTC_DRIVER
66
+# include "esp32s3_rtc_lowerhalf.h"
67
+#endif
68
+
69
#ifdef CONFIG_VIDEO_FB
70
#include <nuttx/video/fb.h>
71
@@ -153,6 +157,17 @@ int esp32s3_bringup(void)
153
157
}
154
158
155
159
160
161
+ /* Instantiate the ESP32-S3 RTC driver */
162
163
+ ret = esp32s3_rtc_driverinit();
164
+ if (ret < 0)
165
+ {
166
+ syslog(LOG_ERR,
167
+ "ERROR: Failed to Instantiate the RTC driver: %d\n", ret);
168
+ }
169
170
156
171
#ifdef CONFIG_WATCHDOG
172
/* Configure watchdog timer */
173
0 commit comments