donghengqaz commented on a change in pull request #2074:
URL: https://github.com/apache/incubator-nuttx/pull/2074#discussion_r511764286
##########
File path: arch/xtensa/src/esp32/Kconfig
##########
@@ -259,6 +263,8 @@ config ESP32_WIRELESS
select NET
select ARCH_PHY_INTERRUPT
select ESP32_RNG
+ select ESP32_RT_TIMER
+ select ESP32_TIMER0
Review comment:
I think we can add extra API to get timer0, then there will be 2 APIs
like `esp32_tim_init` and `esp32_tim0_init`. When WiFi is enable,
`esp32_tim_init` can't return timer0, and only `esp32_tim0_init` return timer0.
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]