Commit d9c18ff0 authored by Jakub Rzeszutko's avatar Jakub Rzeszutko Committed by Carles Cufi
Browse files

boards: arm: Add Nordic nRF52811 board



This commit adds support for board: nrf52811_PCA10056.

The nRF52840 DK: PCA10056 is the recommend development kit, it emulates
the nRF52811, and can be used as a starting point for development
before moving over to a custom board.

Please note that this development kit does not support Bluetooth
Direction Finding. What is more it cannot be used with most of Arduino
shields because of PCA10056 PIN layout.

Signed-off-by: default avatarJakub Rzeszutko <jakub.rzeszutko@nordicsemi.no>
Signed-off-by: default avatarCarles Cufi <carles.cufi@nordicsemi.no>
parent 0efddb63
Loading
Loading
Loading
Loading
+9 −0
Original line number Diff line number Diff line
# Copyright (c) 2019 Nordic Semiconductor ASA

# SPDX-License-Identifier: Apache-2.0

# The nrf52811_pca10056 board mirrors the nRF52840 DK hardware. This
# needs to be considered by certain system initialization functionality
# residing in system_nrf52811.c and SoC dependent routines in nrfx_coredep.h.
zephyr_compile_definitions(DEVELOP_IN_NRF52840)
zephyr_compile_definitions(NRFX_COREDEP_DELAY_US_LOOP_CYCLES=3)
+14 −0
Original line number Diff line number Diff line
# Kconfig - nRF52811 PCA10056 board configuration
#
# Copyright (c) 2019 Nordic Semiconductor ASA
#
# SPDX-License-Identifier: Apache-2.0

if BOARD_NRF52811_PCA10056

config BOARD_ENABLE_DCDC
        bool "Enable DCDC mode"
        select SOC_DCDC_NRF52X
        default y

endif # BOARD_NRF52811_PCA10056
+9 −0
Original line number Diff line number Diff line
# Kconfig - nRF52811 PCA10056 board configuration
#
# Copyright (c) 2019 Nordic Semiconductor ASA
#
# SPDX-License-Identifier: Apache-2.0

config  BOARD_NRF52811_PCA10056
	bool "nRF52811 PCA10056"
	depends on SOC_NRF52811_QFAA
+43 −0
Original line number Diff line number Diff line
# Kconfig - nRF52811 PCA10056 board configuration
#
# Copyright (c) 2019 Nordic Semiconductor ASA
#
# SPDX-License-Identifier: Apache-2.0

if BOARD_NRF52811_PCA10056

config BOARD
	default "nrf52811_pca10056"

config BT_CTLR
	default BT

if ADC

config ADC_0
	default y

endif # ADC

if I2C

config I2C_0
	default y

endif # I2C

if SPI

config SPI_0
	default y

endif # SPI

if PWM

config PWM_0
	default y

endif # PWM

endif # BOARD_NRF52811_PCA10056
+8 −0
Original line number Diff line number Diff line
# Copyright (c) 2019 Nordic Semiconductor ASA

# SPDX-License-Identifier: Apache-2.0

board_runner_args(nrfjprog "--nrf-family=NRF52")
board_runner_args(jlink "--device=nrf52" "--speed=4000")
include(${ZEPHYR_BASE}/boards/common/nrfjprog.board.cmake)
include(${ZEPHYR_BASE}/boards/common/jlink.board.cmake)
Loading