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 compilation, I am having the following compilation error:

ubuntu@pc-ubuntu:~/Documents/nuttx/hello/nuttx-export-9.1.0$
arm-none-eabi-gcc -c -fno-builtin -Wall -Wstrict-prototypes -Wshadow
-Wundef -g -mcpu=cortex-m4 -mthumb -mfloat-abi=soft -I. -isystem
./include   -pipe -I "./include" -I "./arch/chip" hello.c -o  hello.o
In file included from ./arch/chip/hardware/stm32f40xxx_pinmap.h:48:0,
                 from ./arch/chip/hardware/stm32_pinmap.h:133,
                 from ./arch/chip/chip.h:59,
                 from ./include/arch/armv7-m/nvicpri.h:28,
                 from ./include/arch/armv7-m/irq.h:37,
                 from ./include/arch/irq.h:49,
                 from ./include/nuttx/irq.h:53,
                 from ./include/nuttx/sched.h:40,
                 from ./include/sched.h:34,
                 from ./include/stdio.h:48,
                 from hello.c:1:
./arch/chip/stm32_gpio.h:538:36: error: unknown type name 'xcpt_t'
                        bool event, xcpt_t func, void *arg);
                                    ^~~~~~

Could you give some advice on how to address this issue?

Best regards,

Flavio

-- 
Flavio de Castro Alves Filho

flavio.al...@gmail.com
Twitter: http://twitter.com/#!/fraviofii
LinkedIn profile: www.linkedin.com/in/flaviocastroalves

Reply via email to