Re: Where is ERROR defined?

2021-07-02 Thread Alan Carvalho de Assis
$ cat include/sys/types.h | grep ERROR ERROR = -1, On 7/2/21, Oleg wrote: > Hi all, > > Could someone be so kind as to point me out where is ERROR (-1) defined in > NuttX code? > > --- > With regards, Oleg. >

Where is ERROR defined?

2021-07-02 Thread Oleg
Hi all, Could someone be so kind as to point me out where is ERROR (-1) defined in NuttX code? --- With regards, Oleg.

Re: LPC1769 Progmem

2021-07-02 Thread Fotis Panagiotopoulos
Oh, that's great. That should definitely make the interface better. But nevertheless, I tried to "ignore" the terms, and still I can't make any sense of it. This is what I try to do (which works fine on an STM32F4): int write_data(intptr_t addr, BootData_t * data){ if (memcmp((BootData_t

Re: LPC1769 Progmem

2021-07-02 Thread Xiang Xiao
Here has some discussion about the naming: https://github.com/apache/incubator-nuttx/pull/3834 On Fri, Jul 2, 2021 at 6:28 PM Fotis Panagiotopoulos wrote: > Hello, > > I am porting an old application to NuttX. > This is running on a hardware board that uses the NXP LPC1769 MCU. > I am in need of

LPC1769 Progmem

2021-07-02 Thread Fotis Panagiotopoulos
Hello, I am porting an old application to NuttX. This is running on a hardware board that uses the NXP LPC1769 MCU. I am in need of the up_progmem interface. Unfortunately, I see that this driver is broken. It is not working, always returning an error. I checked its internals, but it is quite a m