mirror of
https://github.com/zephyrproject-rtos/zephyr
synced 2025-08-25 09:25:22 +00:00
Instead of accessing the environment variable ZEPHYR_BASE every time we require accessing the source code root, use an intermediate variable that has OS path separators correctly set to '/' to avoid issues on Windows. Note: This removes the ZEPHYR_SOURCE_DIR CMake variable. External applications using that will need to change to use the new ZEPHYR_BASE variable. Signed-off-by: Carles Cufi <carles.cufi@nordicsemi.no>
5 lines
221 B
CMake
5 lines
221 B
CMake
board_runner_args(nrfjprog "--nrf-family=NRF51")
|
|
board_runner_args(jlink "--device=nrf51" "--speed=4000")
|
|
include(${ZEPHYR_BASE}/boards/common/nrfjprog.board.cmake)
|
|
include(${ZEPHYR_BASE}/boards/common/jlink.board.cmake)
|