2019-10-21 07:51:48 +08:00
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
|
|
|
|
CONFIG_SOC_SERIES_NRF52X=y
|
|
|
|
CONFIG_SOC_NRF52832_QFAA=y
|
|
|
|
CONFIG_BOARD_PINETIME_DEVKIT0=y
|
|
|
|
CONFIG_HWINFO=y
|
|
|
|
CONFIG_HWINFO_NRF=y
|
|
|
|
|
|
|
|
# enable MPU
|
|
|
|
CONFIG_ARM_MPU=y
|
|
|
|
|
|
|
|
# enable GPIO
|
|
|
|
CONFIG_GPIO=y
|
|
|
|
|
|
|
|
# enable UART driver
|
|
|
|
CONFIG_SERIAL=y
|
|
|
|
|
|
|
|
# enable I2C0 driver
|
2020-11-10 16:49:54 +08:00
|
|
|
CONFIG_I2C=y
|
2019-10-21 07:51:48 +08:00
|
|
|
|
|
|
|
# enable SPI1 driver
|
2020-11-10 16:49:54 +08:00
|
|
|
CONFIG_SPI=y
|
2019-10-21 07:51:48 +08:00
|
|
|
|
|
|
|
# enable console
|
|
|
|
CONFIG_CONSOLE=y
|
|
|
|
CONFIG_UART_CONSOLE=y
|
|
|
|
|
2020-11-10 16:49:54 +08:00
|
|
|
# additional board options
|
2019-10-21 07:51:48 +08:00
|
|
|
# enable P0_21 as RST
|
|
|
|
CONFIG_GPIO_AS_PINRESET=y
|