Skip to content

Commit ce88bd9

Browse files
Bob Recnygalak
authored andcommitted
boards: arm: add ubx_bmd340eval_nrf52840
Add support for BMD-340-EVAL board from u-blox AG Corrected reset pin number in index.rst Signed-off-by: Bob Recny <[email protected]>
1 parent 8a51f9e commit ce88bd9

File tree

11 files changed

+923
-0
lines changed

11 files changed

+923
-0
lines changed
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# BMD-340-EVAL board configuration
2+
3+
# Copyright (c) 2021 u-blox AG
4+
# SPDX-License-Identifier: Apache-2.0
5+
6+
config BOARD_ENABLE_DCDC
7+
bool "Enable DCDC mode"
8+
select SOC_DCDC_NRF52X
9+
default y
10+
depends on BOARD_UBX_BMD340EVAL_NRF52840
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# BMD-340-EVAL board configuration
2+
3+
# Copyright (c) 2021 u-blox AG
4+
# SPDX-License-Identifier: Apache-2.0
5+
6+
config BOARD_UBX_BMD340EVAL_NRF52840
7+
bool "u-blox BMD-340-EVAL"
8+
depends on SOC_NRF52840_QIAA
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
# BMD-340-EVAL board configuration
2+
3+
# Copyright (c) 2021 u-blox AG
4+
# SPDX-License-Identifier: Apache-2.0
5+
6+
if BOARD_UBX_BMD340EVAL_NRF52840
7+
8+
config BOARD
9+
default "ubx_bmd340eval_nrf52840"
10+
11+
if USB
12+
13+
config USB_NRFX
14+
default y
15+
16+
config USB_DEVICE_STACK
17+
default y
18+
19+
endif # USB
20+
21+
config BT_CTLR
22+
default BT
23+
24+
endif # BOARD_UBX_BMD340EVAL_NRF52840
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# BMD-340-EVAL board configuration
2+
3+
# Copyright (c) 2021 u-blox AG
4+
# SPDX-License-Identifier: Apache-2.0
5+
6+
board_runner_args(nrfjprog "--nrf-family=NRF52")
7+
board_runner_args(jlink "--device=nrf52" "--speed=4000")
8+
board_runner_args(pyocd "--target=nrf52840" "--frequency=4000000")
9+
include(${ZEPHYR_BASE}/boards/common/nrfjprog.board.cmake)
10+
include(${ZEPHYR_BASE}/boards/common/jlink.board.cmake)
11+
include(${ZEPHYR_BASE}/boards/common/pyocd.board.cmake)
12+
include(${ZEPHYR_BASE}/boards/common/openocd-nrf5.board.cmake)
390 KB
Loading
797 KB
Loading

0 commit comments

Comments
 (0)