We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9554ae9 commit 161fa14Copy full SHA for 161fa14
boards/arm/mimxrt1020_evk/board.cmake
@@ -4,5 +4,18 @@
4
# SPDX-License-Identifier: Apache-2.0
5
#
6
7
+set_ifndef(OPENSDA_FW jlink)
8
+
9
+if(OPENSDA_FW STREQUAL jlink)
10
+ set_ifndef(BOARD_DEBUG_RUNNER jlink)
11
+ set_ifndef(BOARD_FLASH_RUNNER jlink)
12
+elseif(OPENSDA_FW STREQUAL daplink)
13
+ set_ifndef(BOARD_DEBUG_RUNNER pyocd)
14
+ set_ifndef(BOARD_FLASH_RUNNER pyocd)
15
+endif()
16
17
+board_runner_args(pyocd "--target=mimxrt1020")
18
board_runner_args(jlink "--device=MIMXRT1021xxx5A")
19
20
+include(${ZEPHYR_BASE}/boards/common/pyocd.board.cmake)
21
include(${ZEPHYR_BASE}/boards/common/jlink.board.cmake)
0 commit comments