This repository was archived by the owner on Nov 19, 2022. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +9
-3
lines changed Expand file tree Collapse file tree 3 files changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ nrf52840_pca10056.build.variant=nrf52840_pca10056
23
23
nrf52840_pca10056.menu.network.802154=IEEE802.15.4
24
24
nrf52840_pca10056.menu.network.802154.build.network_conf=-DOVERLAY_APPEND_NETWORK={runtime.platform.path}/variants/{build.variant}/overlay-802154.conf
25
25
nrf52840_pca10056.menu.network.ot=OpenThread
26
- nrf52840_pca10056.menu.network.ot.build.network_conf=-DOVERLAY_APPEND_NETWORK={runtime.platform.path}/variants/{build.variant}/overlay-ot.conf -DDEPENDENCY_APPEND_OT=ot
26
+ nrf52840_pca10056.menu.network.ot.build.network_conf=-DOVERLAY_APPEND_NETWORK={runtime.platform.path}/variants/{build.variant}/overlay-ot.conf -DDEPENDENCY_APPEND_OT=ot -DEXTERNAL_PROJECT_PATH_OPENTHREAD={build.system.path}/openthread
27
27
nrf52840_pca10056.menu.network.bt=Bluetooth
28
28
nrf52840_pca10056.menu.network.bt.build.network_conf=-DOVERLAY_APPEND_NETWORK={runtime.platform.path}/variants/{build.variant}/overlay-bt.conf
29
29
nrf52840_pca10056.menu.uartlog.enable=Enable
Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ build.zephyr.env.compiler=ZEPHYR_TOOLCHAIN_VARIANT=zephyr ZEPHYR_SDK_INSTALL_DIR
33
33
build.zephyr.env.compiler.macosx=ZEPHYR_TOOLCHAIN_VARIANT=gnuarmemb GNUARMEMB_TOOLCHAIN_PATH=/opt/gcc-arm-none-eabi
34
34
build.zephyr.env=ZEPHYR_BASE={build.system.path}/zephyr {build.zephyr.env.compiler}
35
35
build.zephyr.args.arduino=-DARDUINO_BUILD_PATH={build.path} -DARDUINO_VARIANT_PATH={build.variant.path} -DARDUINO_PREPROC_SOURCE={source_file} -DARDUINO_PREPROC_TARGET={preprocessed_file_path}
36
- build.zephyr.args.board=-DBOARD={build.variant} -DEXTERNAL_PROJECT_PATH_OPENTHREAD={build.system.path}/openthread
36
+ build.zephyr.args.board=-DBOARD={build.variant}
37
37
build.zephyr.args.configs={build.network_conf} {build.uartlog_conf}
38
38
build.zephyr.args={build.zephyr.args.arduino} {build.zephyr.args.board} {build.zephyr.args.configs}
39
39
intiki.cmd={runtime.tools.intiki.path}/intiki
Original file line number Diff line number Diff line change @@ -56,12 +56,18 @@ if(NOT WIN32)
56
56
endif ()
57
57
endif ()
58
58
59
+ if (NOT ${EXTERNAL_PROJECT_PATH_OPENTHREAD} STREQUAL "" )
60
+ set (external_ot_path -DEXTERNAL_PROJECT_PATH_OPENTHREAD=${EXTERNAL_PROJECT_PATH_OPENTHREAD} )
61
+ else ()
62
+ set (external_ot_path "" )
63
+ endif ()
64
+
59
65
if (EXISTS ${build_dir} /_cmakefile/.NOT_CHANGED )
60
66
file (REMOVE ${build_dir} /_cmakefile/.NOT_CHANGED )
61
67
else ()
62
68
if ("${ARDUINO_PREPROC_TARGET} " STREQUAL "{preprocessed_file_path}" )
63
69
execute_process (
64
- COMMAND ${CMAKE_COMMAND} -GNinja -DBOARD=${BOARD} -DCONF_FILE=${conffile_opt} -DEXTERNAL_PROJECT_PATH_OPENTHREAD=${EXTERNAL_PROJECT_PATH_OPENTHREAD } ${preproc_flag} -DARDUINO_EXTRA_DEPENDENCIES=${extradeps_opt} _cmakefile
70
+ COMMAND ${CMAKE_COMMAND} -GNinja -DBOARD=${BOARD} -DCONF_FILE=${conffile_opt} ${external_ot_path } ${preproc_flag} -DARDUINO_EXTRA_DEPENDENCIES=${extradeps_opt} _cmakefile
65
71
WORKING_DIRECTORY ${build_dir}
66
72
)
67
73
else ()
You can’t perform that action at this time.
0 commit comments