diff options
author | Karel Kočí <cynerd@email.cz> | 2017-03-09 07:04:55 +0100 |
---|---|---|
committer | Karel Kočí <cynerd@email.cz> | 2017-03-09 07:04:55 +0100 |
commit | dfc471c4f68eba0c054e61dbb3567ee89e3a036f (patch) | |
tree | 69b6ee6b5be7da3087d782397cb0ec04734f23a9 /examples/spiblink/master/Kconfig | |
parent | 171e8e92686ac65e8f9a2962a975e6863c791a4f (diff) | |
download | avr-ioe-dfc471c4f68eba0c054e61dbb3567ee89e3a036f.tar.gz avr-ioe-dfc471c4f68eba0c054e61dbb3567ee89e3a036f.tar.bz2 avr-ioe-dfc471c4f68eba0c054e61dbb3567ee89e3a036f.zip |
Update spiblink example to use examples.mk
Diffstat (limited to 'examples/spiblink/master/Kconfig')
-rw-r--r-- | examples/spiblink/master/Kconfig | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/examples/spiblink/master/Kconfig b/examples/spiblink/master/Kconfig new file mode 100644 index 0000000..dc9e8b5 --- /dev/null +++ b/examples/spiblink/master/Kconfig @@ -0,0 +1,20 @@ +mainmenu "AVR-IOE spiblink master configuration" + +# We need CONFIG_IOPORTS, but we don't care about anything else. +config SPIBLINK_MASTER_DEFAULTS + bool + default y + select CONFIG_SPI + select CONFIG_IOPORTS + +config CONFIG_BUTTON_IO + string "Input pin used to connect button" + depends on SPIBLINK_MASTER_DEFAULTS + default "IO_C1" + +config CONFIG_LED_IO + string "Output pin used to connect test led" + depends on SPIBLINK_MASTER_DEFAULTS + default "IO_B0" + +source "../../../ioe.Kconfig" |