v01d commented on pull request #1710: URL: https://github.com/apache/incubator-nuttx/pull/1710#issuecomment-687302487
As we discussed earlier, it does not make sense for an architecture to support both the case of ARCH_* drivers and the case of no drivers (and implementing up_timer/up_alarm). I would say that: * An arch implements system timer via arch_*: in this case, the choice of tickless (via alarm or via timer) should map directly to which arch_* driver is used. It does not make sense to mix these. * An arch does not yet implement system timer via arch_* So I was suggesting that for the first case, when you choose which clock drivers the system timer, this should auto-select the corresponding tickless option (timer/alarm). Something like: * config arch_timer: if tickless select tickless_timer * config arch_alarm: if tickless select tickless_alarm ---------------------------------------------------------------- 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]
