mirror of
https://git.yoctoproject.org/meta-zephyr
synced 2026-01-29 21:58:41 +01:00
zephyr-openthread-echo-client: Add new echo-client variant for OpenThread
Similar to the normal echo-client example it demonstrates socket usage, but in this variant we enable the OpenThread config overlay and add the needed module to the build. Signed-off-by: Stefan Schmidt <stefan.schmidt@huawei.com> Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
This commit is contained in:
committed by
Naveen Saini
parent
a16a5d4318
commit
14a33ef85f
@@ -0,0 +1,13 @@
|
||||
include zephyr-sample.inc
|
||||
|
||||
ZEPHYR_SRC_DIR = "${S}/samples/net/sockets/echo_client"
|
||||
|
||||
ZEPHYR_MODULES_append = "\;${S}/modules/lib/mbedtls"
|
||||
ZEPHYR_MODULES_append = "\;${S}/modules/lib/openthread"
|
||||
|
||||
EXTRA_OECMAKE += "-DOVERLAY_CONFIG=overlay-ot.conf"
|
||||
|
||||
# The overlay config and OpenThread itself imposes some specific requirements
|
||||
# towards the boards (e.g. flash layout and ieee802154 radio) so we need to
|
||||
# limit to known working machines here.
|
||||
COMPATIBLE_MACHINE = "(arduino-nano-33-ble)"
|
||||
Reference in New Issue
Block a user