114 lines
2.4 KiB
Plaintext
114 lines
2.4 KiB
Plaintext
# Kconfig.mcux - MCUX GPIO configuration options
|
|
#
|
|
# Copyright (c) 2016 Freescale Semiconductor, Inc.
|
|
# Copyright (c) 2017, NXP Semiconductors, Inc.
|
|
#
|
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
# you may not use this file except in compliance with the License.
|
|
# You may obtain a copy of the License at
|
|
#
|
|
# http://www.apache.org/licenses/LICENSE-2.0
|
|
#
|
|
# Unless required by applicable law or agreed to in writing, software
|
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
# See the License for the specific language governing permissions and
|
|
# limitations under the License.
|
|
#
|
|
|
|
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
|
|
default "gpio_porta"
|
|
|
|
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
|
|
default "gpio_portb"
|
|
|
|
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
|
|
default "gpio_portc"
|
|
|
|
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
|
|
default "gpio_portd"
|
|
|
|
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
|
|
default "gpio_porte"
|
|
|
|
config GPIO_MCUX_PORTE_PRI
|
|
int "Port E interrupt priority"
|
|
depends on GPIO_MCUX_PORTE
|
|
default 2
|
|
|
|
endif # GPIO_MCUX
|