2016-09-28 19:43:57 +08:00
|
|
|
# Kconfig - 96Boards NITROGEN board configuration
|
2016-07-01 17:36:35 +08:00
|
|
|
#
|
|
|
|
# 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.
|
|
|
|
|
2016-09-28 19:43:57 +08:00
|
|
|
if BOARD_96B_NITROGEN
|
2016-07-01 17:36:35 +08:00
|
|
|
|
|
|
|
config BOARD
|
2016-09-28 19:43:57 +08:00
|
|
|
default 96b_nitrogen
|
2016-07-01 17:36:35 +08:00
|
|
|
|
2016-12-08 23:03:44 +08:00
|
|
|
if GPIO_NRF5
|
2016-07-01 17:36:35 +08:00
|
|
|
|
2016-12-08 23:03:44 +08:00
|
|
|
config GPIO_NRF5_P0
|
2016-07-01 17:36:35 +08:00
|
|
|
default y
|
|
|
|
|
2016-12-08 23:03:44 +08:00
|
|
|
endif # GPIO_NRF5
|
2016-07-01 17:36:35 +08:00
|
|
|
|
2016-12-08 23:03:44 +08:00
|
|
|
if UART_NRF5
|
2016-07-01 17:36:35 +08:00
|
|
|
|
2016-10-23 19:29:00 +08:00
|
|
|
config UART_NRF5_GPIO_TX_PIN
|
|
|
|
default 13
|
|
|
|
|
|
|
|
config UART_NRF5_GPIO_RX_PIN
|
|
|
|
default 15
|
|
|
|
|
|
|
|
config UART_NRF5_GPIO_RTS_PIN
|
|
|
|
default 12
|
|
|
|
|
|
|
|
config UART_NRF5_GPIO_CTS_PIN
|
|
|
|
default 14
|
|
|
|
|
2016-07-01 17:36:35 +08:00
|
|
|
endif # UART_NRF5
|
|
|
|
|
2016-09-28 19:43:57 +08:00
|
|
|
endif # BOARD_96B_NITROGEN
|