samples: zephyr: add hello-world
This is a minimal example application that works on various boards,
without target-specific definitions, device tree overlay files, etc.
It's been tested on frdm_k64f, 96b_carbon, and 96b_nitrogen.
Signed-off-by: Marti Bolivar <marti.bolivar@linaro.org>
diff --git a/samples/zephyr/hello-world/dts.overlay b/samples/zephyr/hello-world/dts.overlay
new file mode 100644
index 0000000..dc3e1dc
--- /dev/null
+++ b/samples/zephyr/hello-world/dts.overlay
@@ -0,0 +1,10 @@
+/*
+ * Basic Device Tree overlay file for chain-loading by mcuboot.
+ * See the Makefile for more information.
+ */
+
+/ {
+ chosen {
+ zephyr,code-partition = &slot0_partition;
+ };
+};