Insure that CONFIG_ARCH_BOARD_xxx is defined and to be consistent with Nuttx build place them in defconfig files so that config.h will have ONFIG_ARCH_BOARD_xxx defined

This commit is contained in:
David Sidrane
2015-02-17 23:27:34 +01:00
committed by Lorenz Meier
parent 63fd54f44e
commit 17615b22a4
5 changed files with 9 additions and 2 deletions
+5
View File
@@ -110,6 +110,11 @@
/* no GPIO driver on the PX4IOv2 board */
#endif
#if !defined(CONFIG_ARCH_BOARD_PX4IO_V1) && !defined(CONFIG_ARCH_BOARD_PX4IO_V2) && \
!defined(CONFIG_ARCH_BOARD_PX4FMU_V1) && !defined(CONFIG_ARCH_BOARD_PX4FMU_V2) && \
!defined(CONFIG_ARCH_BOARD_AEROCORE)
# error No CONFIG_ARCH_BOARD_xxxx set
#endif
/*
* IOCTL definitions.
*