Alven Wu awu@cybertec.com.au [nuttx]
2018-02-16 07:01:11 UTC
hi everyone
These days , I tried to make use of the RTC device in nuttx , but seems
failed even I configure the
RTC device carefully.
From the error info printed out , It seems the RTC device driver should be
initialized during the OS startup phase, and also from
arch/arm/src/common/up_initialize.c, seems the rtc_device initialization
has not been included. Even the function up_rtc_initialize under
arch/arm/src/stm32/stm32_rtcc.c has been designed.
So the question is that is the RTC device initialization supposed to be
called in up_initialize.c , then we can make use of the RTC device??
thanks.
Best Regards
Alven
These days , I tried to make use of the RTC device in nuttx , but seems
failed even I configure the
RTC device carefully.
From the error info printed out , It seems the RTC device driver should be
initialized during the OS startup phase, and also from
arch/arm/src/common/up_initialize.c, seems the rtc_device initialization
has not been included. Even the function up_rtc_initialize under
arch/arm/src/stm32/stm32_rtcc.c has been designed.
So the question is that is the RTC device initialization supposed to be
called in up_initialize.c , then we can make use of the RTC device??
thanks.
Best Regards
Alven