forked from Archive/PX4-Autopilot
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:
parent
63fd54f44e
commit
17615b22a4
2
NuttX
2
NuttX
|
@ -1 +1 @@
|
|||
Subproject commit 8d51b780f611ad73268a41a8d8007f39a344758a
|
||||
Subproject commit 33e56f1a3aac0ef5474c57b565bd9f9e8813b2fb
|
|
@ -346,6 +346,7 @@ CONFIG_BOOT_RUNFROMFLASH=y
|
|||
#
|
||||
# Board Selection
|
||||
#
|
||||
CONFIG_ARCH_BOARD_AEROCORE=y
|
||||
CONFIG_ARCH_BOARD_CUSTOM=y
|
||||
CONFIG_ARCH_BOARD=""
|
||||
|
||||
|
|
|
@ -3,7 +3,6 @@
|
|||
# Nuttx/ Configuration
|
||||
#
|
||||
CONFIG_NUTTX_NEWCONFIG=y
|
||||
|
||||
#
|
||||
# Build Setup
|
||||
#
|
||||
|
@ -340,6 +339,7 @@ CONFIG_BOOT_RUNFROMFLASH=y
|
|||
#
|
||||
# Board Selection
|
||||
#
|
||||
CONFIG_ARCH_BOARD_PX4FMU_V1=y
|
||||
CONFIG_ARCH_BOARD_CUSTOM=y
|
||||
CONFIG_ARCH_BOARD=""
|
||||
|
||||
|
|
|
@ -381,6 +381,7 @@ CONFIG_BOOT_RUNFROMFLASH=y
|
|||
#
|
||||
# Board Selection
|
||||
#
|
||||
CONFIG_ARCH_BOARD_PX4FMU_V2=y
|
||||
CONFIG_ARCH_BOARD_CUSTOM=y
|
||||
CONFIG_ARCH_BOARD=""
|
||||
|
||||
|
|
|
@ -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.
|
||||
*
|
||||
|
|
Loading…
Reference in New Issue