mirror of
https://github.com/zephyrproject-rtos/zephyr
synced 2025-09-09 03:42:33 +00:00
Add shield definition for the MikroElektronika ADC Click. The ADC Click carries a MCP3204 12-bit Analog-to-Digital converter in a mikroBUS form factor. Signed-off-by: Henrik Brix Andersen <hebad@vestas.com>
17 lines
219 B
Plaintext
17 lines
219 B
Plaintext
# Copyright (c) 2020 Vestas Wind Systems A/S
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
if SHIELD_MIKROE_ADC_CLICK
|
|
|
|
if ADC
|
|
|
|
config SPI
|
|
default y
|
|
|
|
config ADC_MCP320X
|
|
default y
|
|
|
|
endif # ADC
|
|
|
|
endif # SHIELD_MIKROE_ADC_CLICK
|