added board.cmake to project. fixed Building issue.
This commit is contained in:
parent
382bbbd422
commit
b46294e874
|
|
@ -34,7 +34,6 @@ CMakeFiles/
|
||||||
cmake_install.cmake
|
cmake_install.cmake
|
||||||
CTestTestfile.cmake
|
CTestTestfile.cmake
|
||||||
Makefile
|
Makefile
|
||||||
*.cmake
|
|
||||||
|
|
||||||
# Zephyr generated files
|
# Zephyr generated files
|
||||||
zephyr/
|
zephyr/
|
||||||
|
|
|
||||||
|
|
@ -0,0 +1,10 @@
|
||||||
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
|
|
||||||
|
board_runner_args(jlink "--device=nRF52833_xxAA" "--speed=4000")
|
||||||
|
board_runner_args(pyocd "--target=nrf52833" "--frequency=4000000")
|
||||||
|
include(${ZEPHYR_BASE}/boards/common/nrfutil.board.cmake)
|
||||||
|
include(${ZEPHYR_BASE}/boards/common/nrfjprog.board.cmake)
|
||||||
|
include(${ZEPHYR_BASE}/boards/common/jlink.board.cmake)
|
||||||
|
include(${ZEPHYR_BASE}/boards/common/pyocd.board.cmake)
|
||||||
|
include(${ZEPHYR_BASE}/boards/common/openocd-nrf5.board.cmake)
|
||||||
|
asdfasdf
|
||||||
Loading…
Reference in New Issue