Commit 10fc37d7 authored by Erwan Gouriou's avatar Erwan Gouriou Committed by Kumar Gala
Browse files

boards/shields: Add connector flags for compatibility checks



In order to provide a way to control boards/shields compatibility,
provide connector flags.
One should select this flag in Kconfig.board to state connector
compatibility for the board.

Signed-off-by: default avatarErwan Gouriou <erwan.gouriou@linaro.org>
parent 2a490fd0
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -24,3 +24,7 @@ endchoice
menu "Board Options"
gsource "$ENV_VAR_BOARD_DIR/Kconfig"
endmenu

menu "Shields"
source "boards/shields/Kconfig"
endmenu

boards/shields/Kconfig

0 → 100644
+17 −0
Original line number Diff line number Diff line
config HAS_ARDUINO_SERIAL
	bool
	help
	  This option specifies that the target platform is compatible
	  with Arduino Serial

config HAS_ARDUINO_I2C
	bool
	help
	  This option specifies that the target platform is compatible
	  with Arduino I2C

config HAS_ARDUINO_SPI
	bool
	help
	  This option specifies that the target platform is compatible
	  with Arduino SPI