Introduce an architecture sorting of boards. This is to allow for easier maintenance going forward as the number of boards grows. It will be easier for any scripts to know the board/arch mapping without having to maintain an explicit list of what boards are associated with which arch. We can also do things like have architecture maintainers cover reviews and branches for arch/${ARCH} and boards/${ARCH} going forward. Change-Id: I02e0a30292b31fad58fb5dfab2682ad1c5a7d5a7 Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
47 lines
1,018 B
Text
47 lines
1,018 B
Text
# Kconfig - nRF52 PCA10040 board configuration
|
|
#
|
|
# Copyright (c) 2016 Nordic Semiconductor ASA
|
|
#
|
|
# 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.
|
|
|
|
if BOARD_NRF52_PCA10040
|
|
|
|
config BOARD
|
|
default nrf52_pca10040
|
|
|
|
if UART_NRF5
|
|
|
|
config GPIO
|
|
default y
|
|
|
|
config GPIO_NRF5
|
|
default y
|
|
|
|
config GPIO_NRF5_P0
|
|
default y
|
|
|
|
config UART_NRF5_GPIO_TX_PIN
|
|
default 6
|
|
|
|
config UART_NRF5_GPIO_RX_PIN
|
|
default 8
|
|
|
|
config UART_NRF5_GPIO_RTS_PIN
|
|
default 5
|
|
|
|
config UART_NRF5_GPIO_CTS_PIN
|
|
default 7
|
|
|
|
endif # UART_NRF5
|
|
|
|
endif # BOARD_NRF52_PCA10040
|