RE: external rtc small fix

2023-04-26 Thread Krasimir Cheshmedzhiev
G_RTC_EXTERNAL) >> /* Initialize the internal RTC hardware. Initialization of external RTC >>* must be deferred until the system has booted. >>*/ >> >> up_rtc_initialize(); >> . >> >> Best regards >> >> -Original Me

Re: external rtc small fix

2023-04-26 Thread Petro Karashchenko
EXTERNAL) >> /* Initialize the internal RTC hardware. Initialization of external RTC >>* must be deferred until the system has booted. >>*/ >> >> up_rtc_initialize(); >> . >> >> Best regards >> >> -Original Message- >&

Re: external rtc small fix

2023-04-26 Thread Petro Karashchenko
l the system has booted. >*/ > > up_rtc_initialize(); > . > > Best regards > > -Original Message- > From: Petro Karashchenko > Sent: Wednesday, April 26, 2023 10:02 AM > To: dev@nuttx.apache.org > Subject: Re: external rtc small fix > > Hi, > &

RE: external rtc small fix

2023-04-26 Thread Krasimir Cheshmedzhiev
Initialization of external RTC * must be deferred until the system has booted. */ up_rtc_initialize(); . Best regards -Original Message- From: Petro Karashchenko Sent: Wednesday, April 26, 2023 10:02 AM To: dev@nuttx.apache.org Subject: Re: external rtc small fix Hi, Whic

Re: external rtc small fix

2023-04-26 Thread Petro Karashchenko
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 ti

external rtc small fix

2023-04-25 Thread Krasimir Cheshmedzhiev
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 --- nx12.1-orig/nuttx/sched/clock/clock_initialize.c 2022-12-13 09:30:57.0 +0200 +++ nx12.1-new/nuttx/sched/cloc