diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2016-06-08 19:32:06 -0400 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2016-06-13 23:18:59 -0400 |
commit | 71947d6beafe118259ca2805dbb21fac5ab3b165 (patch) | |
tree | 27e5aece7a81832d6512f0eefe6925dccf5e0ed4 /src/avr/Kconfig | |
parent | 220a1e419760e4854f5b4ad9565f1c42e75f7bc2 (diff) | |
download | kutter-71947d6beafe118259ca2805dbb21fac5ab3b165.tar.gz kutter-71947d6beafe118259ca2805dbb21fac5ab3b165.tar.xz kutter-71947d6beafe118259ca2805dbb21fac5ab3b165.zip |
gpiocmds: Add Kconfig option to allow boards to disable ADC commands
Some boards may not support the ADC hardware. Update the build so
that those commands do not need to be compiled if they are not
available.
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'src/avr/Kconfig')
-rw-r--r-- | src/avr/Kconfig | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/avr/Kconfig b/src/avr/Kconfig index 24e33812..9cfbec07 100644 --- a/src/avr/Kconfig +++ b/src/avr/Kconfig @@ -2,6 +2,11 @@ if MACH_AVR +config AVR_SELECT + bool + default y + select HAVE_GPIO_ADC + config BOARD_DIRECTORY string default "avr" |