Re: Build problems - nuttx as an external library

2020-11-22 Thread Flavio Castro Alves Filho
Hello Alan, It worked. Thank you very much. An additional remark: during the link phase on your document, in my case, it missed the net lib on the command line. Best regards, Flavio Em seg., 16 de nov. de 2020 às 16:24, Alan Carvalho de Assis escreveu: > > Hi Flávio, > > A simple band-aid fix

Re: Build problems - nuttx as an external library

2020-11-16 Thread Disruptive Solutions
Was this not included in the build tests? Op ma 16 nov. 2020 8:25 p.m. schreef Alan Carvalho de Assis < acas...@gmail.com>: > Hi Flávio, > > A simple band-aid fix: add this typedef inside > "arch/chip/stm32_gpio.h" just before it is called at > stm32_gpiosetevent(): > > typedef CODE int (*xcpt_t

Re: Build problems - nuttx as an external library

2020-11-16 Thread Alan Carvalho de Assis
Hi Flávio, A simple band-aid fix: add this typedef inside "arch/chip/stm32_gpio.h" just before it is called at stm32_gpiosetevent(): typedef CODE int (*xcpt_t)(int irq, FAR void *context, FAR void *arg); int stm32_gpiosetevent(uint32_t pinset, bool risingedge, bool fallingedge,

Build problems - nuttx as an external library

2020-11-16 Thread Flavio Castro Alves Filho
Hello, I intend to build a nuttx application using the operating system as an external library. I am working on a custom board running stm32f417 and I am following the instructions from the following link: https://acassis.wordpress.com/2020/06/28/using-nuttx-as-library-once-again/ For the first