2019-04-06 21:08:09 +08:00
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
|
2019-02-09 19:40:02 +08:00
|
|
|
CONFIG_ARM=y
|
|
|
|
CONFIG_SOC_FAMILY_NRF=y
|
|
|
|
CONFIG_SOC_SERIES_NRF52X=y
|
|
|
|
CONFIG_SOC_NRF52840_QIAA=y
|
|
|
|
CONFIG_BOARD_NRF52840_PAPYR=y
|
|
|
|
|
|
|
|
# Enable MPU
|
|
|
|
CONFIG_ARM_MPU=y
|
|
|
|
|
2019-03-27 16:35:11 +08:00
|
|
|
# enable GPIO
|
|
|
|
CONFIG_GPIO=y
|
|
|
|
|
2019-02-09 19:40:02 +08:00
|
|
|
# enable uart driver
|
|
|
|
CONFIG_SERIAL=y
|
2019-05-02 18:43:35 +08:00
|
|
|
CONFIG_UART_NRFX=y
|
2019-02-09 19:40:02 +08:00
|
|
|
CONFIG_UART_0_NRF_UART=y
|
|
|
|
|
|
|
|
# enable console
|
|
|
|
CONFIG_CONSOLE=y
|
|
|
|
CONFIG_UART_CONSOLE=y
|
|
|
|
|
|
|
|
# additional board options
|
|
|
|
CONFIG_GPIO_AS_PINRESET=y
|