summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJack Rosenthal <jrosenth@chromium.org>2020-10-26 16:27:16 -0600
committerCommit Bot <commit-bot@chromium.org>2021-01-15 03:54:48 +0000
commit924999ce857d36c3f1ba575552194369654cb364 (patch)
tree3001876f94b33a75aeb1d2db06e45f40eeb9461c
parent287363ad8bb4c18fbbca090043b76a7020fbeaf2 (diff)
downloadchrome-ec-924999ce857d36c3f1ba575552194369654cb364.tar.gz
volteer: add initial zmake.yaml
Add a basic zmake.yaml file. BUG=b:170268806 TEST=compile volteer board with zmake (chroot) zephyr-chrome $ zmake configure -B ~/volteer-build \ projects/experimental/volteer (chroot) zephyr-chrome $ zmake build ~/volteer-build Change-Id: I12927166c14cb189374f8ff9e86e71de93f8072a Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/zephyr-chrome/+/2503389 Tested-by: Jack Rosenthal <jrosenth@chromium.org> Reviewed-by: Jett Rink <jettrink@chromium.org> Commit-Queue: Jack Rosenthal <jrosenth@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2630136 Reviewed-by: Simon Glass <sjg@chromium.org>
-rw-r--r--zephyr/projects/volteer/zmake.yaml27
1 files changed, 27 insertions, 0 deletions
diff --git a/zephyr/projects/volteer/zmake.yaml b/zephyr/projects/volteer/zmake.yaml
new file mode 100644
index 0000000000..e7f5e37bd6
--- /dev/null
+++ b/zephyr/projects/volteer/zmake.yaml
@@ -0,0 +1,27 @@
+# Copyright 2020 The Chromium OS Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
+board: volteer
+supported-zephyr-versions:
+ - v2.4
+
+# Note: below output type is not correct, but good enough for
+# developing right now. We need to run ecst to pack the RO/RW binary
+# into the special NPCX format, but don't do that now.
+#
+# So, when flashing, please flash
+# build-singleimage/zephyr/zephyr_volteer.bin instead until Zmake
+# grows a configuration option to handle ecst.
+output-type: raw
+
+# Note: the Zephyr SDK is not available by default in the chroot.
+# Please follow
+# https://docs.zephyrproject.org/latest/getting_started/installation_linux.html
+# for instructions on installing the SDK.
+#
+# If you are building outside of the chroot on a gLinux machine, the
+# arm-none-eabi-gcc toolchain seems to work fine. If you prefer this
+# toolchain, you can pass --toolchain=arm-none-eabi to zmake
+# configure, and that will work as well.
+toolchain: zephyr