System time issue with external RTC

2024-05-31 Thread cheshmedzhiev
Hi all, The testing conditions are: nuttx 2.12 runs on NUCLEO-U5A5ZJ-Q board. I have high accurate external RTC connected to one of i2c busses. When system runs for a long time - 2-3 days or more the time returned by date command is not accurate. When I reboot the system the system time become

adding third party code to device driver

2023-10-12 Thread cheshmedzhiev
Hi all, I wrote a device driver for a i2c device. There is a software from third party which at this moment cannot be made part of nuttx. I can edit makefiles to include code, but I think this not a right way to do that. What is the way to add code to the driver to make it easier to switch f

RE: adding a new board - files?

2023-07-18 Thread Krasimir Cheshmedzhiev
dumb questions but I have never used git. Best regards -Original Message- From: Alan C. Assis Sent: Monday, July 10, 2023 9:24 PM To: dev@nuttx.apache.org Subject: Re: adding a new board - files? Hi Krasimir, On 7/10/23, Krasimir Cheshmedzhiev wrote: > Hi all, > > > > I

adding a new board - files?

2023-07-10 Thread Krasimir Cheshmedzhiev
Hi all, I am working on adding a nucleo-u5a5zj-q to nuttx supported boards. How (where I can read) to prepare files - those which I created and those which I changed, to make them part of main source tree? Best regards

RE: external rtc small fix

2023-04-26 Thread Krasimir Cheshmedzhiev
gmail.com> wrote: > Please take a look if this https://github.com/apache/nuttx/pull/9104 > fixes the reported issue. > > Best regards, > Petro > > ср, 26 квіт. 2023 р. о 10:10 Krasimir Cheshmedzhiev < > cheshmedzh...@gmail.com> пише: > >> Hi, >> >&g

RE: external rtc small fix

2023-04-26 Thread Krasimir Cheshmedzhiev
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 пише: > Hi all, > > > > When using external rtc the function up_rtc_initialize() in file > nu

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

RE: [VOTE] Remove Windows Native support?

2020-01-20 Thread cheshmedzhiev
-1 Keep It. It is useful, less or more... Best regards -Original Message- From: Gregory Nutt Sent: Monday, January 20, 2020 4:20 PM To: dev@nuttx.apache.org Subject: [VOTE] Remove Windows Native support? The [DISCUSS] phase has complete and comments have been received. It is time to