summaryrefslogtreecommitdiff
path: root/zephyr/test/base32
diff options
context:
space:
mode:
Diffstat (limited to 'zephyr/test/base32')
-rw-r--r--zephyr/test/base32/CMakeLists.txt7
-rw-r--r--zephyr/test/base32/prj.conf6
2 files changed, 13 insertions, 0 deletions
diff --git a/zephyr/test/base32/CMakeLists.txt b/zephyr/test/base32/CMakeLists.txt
new file mode 100644
index 0000000000..3db4cee753
--- /dev/null
+++ b/zephyr/test/base32/CMakeLists.txt
@@ -0,0 +1,7 @@
+# SPDX-License-Identifier: Apache-2.0
+
+cmake_minimum_required(VERSION 3.13.1)
+project(base32)
+find_package(Zephyr REQUIRED HINTS $ENV{ZEPHYR_BASE})
+
+target_sources(app PRIVATE ${PLATFORM_EC}/test/base32.c)
diff --git a/zephyr/test/base32/prj.conf b/zephyr/test/base32/prj.conf
new file mode 100644
index 0000000000..4d4bf11d07
--- /dev/null
+++ b/zephyr/test/base32/prj.conf
@@ -0,0 +1,6 @@
+# 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.
+
+CONFIG_ZTEST=y
+CONFIG_PLATFORM_EC=y