mirror of
https://github.com/Klipper3d/klipper.git
synced 2025-08-04 12:34:08 -06:00
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>
This commit is contained in:
parent
220a1e4197
commit
71947d6bea
6 changed files with 135 additions and 113 deletions
|
@ -2,6 +2,11 @@
|
|||
|
||||
if MACH_AVR
|
||||
|
||||
config AVR_SELECT
|
||||
bool
|
||||
default y
|
||||
select HAVE_GPIO_ADC
|
||||
|
||||
config BOARD_DIRECTORY
|
||||
string
|
||||
default "avr"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue