xiaoxiang781216 commented on issue #7089:
URL: 
https://github.com/apache/incubator-nuttx/issues/7089#issuecomment-1247602987

   > @xiaoxiang781216
   > 
   > Thank you, I will try them!
   > 
   > By the way,
   > 
   > * Why do lower-half drivers depend on `up_rtc_xxx()` implementations  in 
`Make.defs`?
   
   arch_rtc.c is introduced very later. Before that, all RTC driver need not 
only implement rtc_lowerhalf_s, but also up_rtc_xxx.
   
   >   We cannot enable only lower-half in current codes.
   > * Why are NOT lower-half drivers for external RTCs(under 
`/drivers/timers/`) implemented?
   >   What is difference between internals and externals?
   > 
   > I don't understand these policies...
   
   Since internal RTC is part of SoC, which code should put into arch/xxx/yyy/.
   External RTC connected to SoC through I2C/1wire/SPI, which code should put 
into drivers/timer/.
   


-- 
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-unsubscr...@nuttx.apache.org

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

Reply via email to