added board.cmake to project. fixed Building issue.
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -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/
|
||||||
|
|||||||
10
boards/Mi_labs/phf000_board/board.cmake
Normal file
10
boards/Mi_labs/phf000_board/board.cmake
Normal 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
|
||||||
Reference in New Issue
Block a user