Skip to content
This repository has been archived by the owner on Jan 3, 2023. It is now read-only.

[RFC] Let's turn mraa's Kconfig options into a dedicated submenu #32

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 14 additions & 15 deletions Kconfig
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Kconfig - Cryptography primitive options for TinyCrypt
# Kconfig - Configuration options for mraa library

#
# Copyright (c) 2015 Intel Corporation
Expand All @@ -16,69 +16,68 @@
# limitations under the License.
#

config MRAA
menuconfig MRAA
bool
prompt "Mraa Support"
default n
select PINMUX
select PINMUX_DEV
select PINMUX_DEV_QMSI
select NEWLIB_LIBC
help
This option enables the mraa lib

if MRAA

config MRAA_GPIO
bool
prompt "Mraa GPIO function support"
select MRAA
prompt "GPIO function support"
select GPIO
default n
help
This option enables support for MRAA GPIO

config MRAA_AIO
bool
prompt "Mraa AIO function support"
select MRAA
prompt "AIO function support"
select AIO
default n
help
This option enables support for MRAA AIO

config MRAA_I2C
bool
prompt "Mraa I2C function support"
prompt "I2C function support"
select I2C
select MRAA
select MRAA_GPIO
default n
help
This option enables support for MRAA I2C

config MRAA_PWM
bool
prompt "Mraa PWM function support"
prompt "PWM function support"
select PWM
select MRAA
default n
help
This option enables support for MRAA PWM

config MRAA_UART
bool
prompt "Mraa UART function support"
prompt "UART function support"
select UART
select MRAA
default n
help
This option enables support for MRAA UART

config MRAA_SPI
bool
prompt "Mraa SPI function support"
prompt "SPI function support"
select SPI
select GPIO
select MRAA
select PINMUX
default n
help
This option enables support for MRAA SPI

endif