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

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,

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