You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by GitBox <gi...@apache.org> on 2021/09/22 19:16:40 UTC

[GitHub] [incubator-nuttx] saramonteiro commented on a change in pull request #4585: xtensa/esp32-s2: Adds support to rt_timer and systimer to ESP32-S2.

saramonteiro commented on a change in pull request #4585:
URL: https://github.com/apache/incubator-nuttx/pull/4585#discussion_r714238108



##########
File path: boards/xtensa/esp32s2/esp32s2-saola-1/src/esp32s2_bringup.c
##########
@@ -154,6 +158,15 @@ int esp32s2_bringup(void)
 
 #endif /* CONFIG_TIMER */
 
+#ifdef CONFIG_ESP32S2_RT_TIMER
+  ret = esp32s2_rt_timer_init();
+  if (ret < 0)
+    {
+      syslog(LOG_ERR, "Failed to initialize RT timer: %d\n", ret);
+      return ret;

Review comment:
       Done




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org