2016-12-13 00:50:56 +08:00
|
|
|
# Kconfig.mcux - MCUX GPIO configuration options
|
|
|
|
#
|
|
|
|
# Copyright (c) 2016 Freescale Semiconductor, Inc.
|
2017-01-20 22:16:32 +08:00
|
|
|
# Copyright (c) 2017, NXP
|
2016-12-13 00:50:56 +08:00
|
|
|
#
|
2017-01-19 09:01:01 +08:00
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
2016-12-13 00:50:56 +08:00
|
|
|
#
|
|
|
|
|
|
|
|
menuconfig GPIO_MCUX
|
|
|
|
bool "MCUX GPIO driver"
|
|
|
|
depends on GPIO && HAS_MCUX
|
|
|
|
default n
|
|
|
|
help
|
|
|
|
Enable the MCUX pinmux driver.
|
|
|
|
|
|
|
|
if GPIO_MCUX
|
|
|
|
|
|
|
|
config GPIO_MCUX_PORTA
|
|
|
|
bool "Port A"
|
|
|
|
depends on PINMUX_MCUX_PORTA
|
|
|
|
default n
|
|
|
|
help
|
|
|
|
Enable Port A.
|
|
|
|
|
|
|
|
config GPIO_MCUX_PORTA_NAME
|
|
|
|
string "Port A driver name"
|
|
|
|
depends on GPIO_MCUX_PORTA
|
2017-02-27 20:05:37 +08:00
|
|
|
default "GPIO_0"
|
2016-12-13 00:50:56 +08:00
|
|
|
|
|
|
|
config GPIO_MCUX_PORTA_PRI
|
|
|
|
int "Port A interrupt priority"
|
|
|
|
depends on GPIO_MCUX_PORTA
|
|
|
|
default 2
|
|
|
|
|
|
|
|
config GPIO_MCUX_PORTB
|
|
|
|
bool "Port B"
|
|
|
|
depends on PINMUX_MCUX_PORTB
|
|
|
|
default n
|
|
|
|
help
|
|
|
|
Enable Port B.
|
|
|
|
|
|
|
|
config GPIO_MCUX_PORTB_NAME
|
|
|
|
string "Port B driver name"
|
|
|
|
depends on GPIO_MCUX_PORTB
|
2017-02-27 20:05:37 +08:00
|
|
|
default "GPIO_1"
|
2016-12-13 00:50:56 +08:00
|
|
|
|
|
|
|
config GPIO_MCUX_PORTB_PRI
|
|
|
|
int "Port B interrupt priority"
|
|
|
|
depends on GPIO_MCUX_PORTB
|
|
|
|
default 2
|
|
|
|
|
|
|
|
config GPIO_MCUX_PORTC
|
|
|
|
bool "Port C"
|
|
|
|
depends on PINMUX_MCUX_PORTC
|
|
|
|
default n
|
|
|
|
help
|
|
|
|
Enable Port C.
|
|
|
|
|
|
|
|
config GPIO_MCUX_PORTC_NAME
|
|
|
|
string "Port C driver name"
|
|
|
|
depends on GPIO_MCUX_PORTC
|
2017-02-27 20:05:37 +08:00
|
|
|
default "GPIO_2"
|
2016-12-13 00:50:56 +08:00
|
|
|
|
|
|
|
config GPIO_MCUX_PORTC_PRI
|
|
|
|
int "Port C interrupt priority"
|
|
|
|
depends on GPIO_MCUX_PORTC
|
|
|
|
default 2
|
|
|
|
|
|
|
|
config GPIO_MCUX_PORTD
|
|
|
|
bool "Port D"
|
|
|
|
depends on PINMUX_MCUX_PORTD
|
|
|
|
default n
|
|
|
|
help
|
|
|
|
Enable Port D.
|
|
|
|
|
|
|
|
config GPIO_MCUX_PORTD_NAME
|
|
|
|
string "Port D driver name"
|
|
|
|
depends on GPIO_MCUX_PORTD
|
2017-02-27 20:05:37 +08:00
|
|
|
default "GPIO_3"
|
2016-12-13 00:50:56 +08:00
|
|
|
|
|
|
|
config GPIO_MCUX_PORTD_PRI
|
|
|
|
int "Port D interrupt priority"
|
|
|
|
depends on GPIO_MCUX_PORTD
|
|
|
|
default 2
|
|
|
|
|
|
|
|
config GPIO_MCUX_PORTE
|
|
|
|
bool "Port E"
|
|
|
|
depends on PINMUX_MCUX_PORTE
|
|
|
|
default n
|
|
|
|
help
|
|
|
|
Enable Port E.
|
|
|
|
|
|
|
|
config GPIO_MCUX_PORTE_NAME
|
|
|
|
string "Port E driver name"
|
|
|
|
depends on GPIO_MCUX_PORTE
|
2017-02-27 20:05:37 +08:00
|
|
|
default "GPIO_4"
|
2016-12-13 00:50:56 +08:00
|
|
|
|
|
|
|
config GPIO_MCUX_PORTE_PRI
|
|
|
|
int "Port E interrupt priority"
|
|
|
|
depends on GPIO_MCUX_PORTE
|
|
|
|
default 2
|
|
|
|
|
|
|
|
endif # GPIO_MCUX
|