Hi,

Which version are you using? In the latest master I see:
#if defined(CONFIG_RTC)
  /* Initialize the internal RTC hardware.  Initialization of external RTC
   * must be deferred until the system has booted.
   */

  up_rtc_initialize();

#if !defined(CONFIG_RTC_EXTERNAL)
  /* Initialize the time value to match the RTC */

  clock_inittime(NULL);
#endif
#endif

So you propose not to call up_rtc_initialize(); as well?

Best regards,
Petro

ср, 26 квіт. 2023 р. о 09:33 Krasimir Cheshmedzhiev <cheshmedzh...@gmail.com>
пише:

> Hi all,
>
>
>
> When using external rtc the function up_rtc_initialize() in file
> nuttx/sched/clock_initialize.c should not be called.
>
> A small fix is attached.
>
>
>
> Best regards
>

Reply via email to