added board.cmake to project. fixed Building issue.

This commit is contained in:
Miguel I. 2025-09-07 15:22:15 +02:00
parent 382bbbd422
commit b46294e874
2 changed files with 10 additions and 1 deletions

1
.gitignore vendored
View File

@ -34,7 +34,6 @@ CMakeFiles/
cmake_install.cmake
CTestTestfile.cmake
Makefile
*.cmake
# Zephyr generated files
zephyr/

View File

@ -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