summaryrefslogtreecommitdiff
path: root/zephyr/projects/herobrine/BUILD.py
diff options
context:
space:
mode:
Diffstat (limited to 'zephyr/projects/herobrine/BUILD.py')
-rw-r--r--zephyr/projects/herobrine/BUILD.py37
1 files changed, 10 insertions, 27 deletions
diff --git a/zephyr/projects/herobrine/BUILD.py b/zephyr/projects/herobrine/BUILD.py
index 3a3a952ddf..f5daa3c9b6 100644
--- a/zephyr/projects/herobrine/BUILD.py
+++ b/zephyr/projects/herobrine/BUILD.py
@@ -2,32 +2,15 @@
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
-
-def register_variant(project_name, extra_dts_overlays=(), extra_kconfig_files=()):
- register_npcx_project(
- project_name=project_name,
- zephyr_board="herobrine_npcx9",
- dts_overlays=[
- # Common to all projects.
- here / "battery.dts",
- here / "gpio.dts",
- here / "i2c.dts",
- here / "motionsense.dts",
- here / "switchcap.dts",
- here / "usbc.dts",
- # Project-specific DTS customization.
- *extra_dts_overlays,
- ],
- kconfig_files=[
- # Common to all projects.
- here / "prj.conf",
- # Project-specific KConfig customization.
- *extra_kconfig_files,
- ],
- )
-
-
-register_variant(
+register_npcx_project(
project_name="herobrine_npcx9",
- extra_kconfig_files=[here / "prj_herobrine_npcx9.conf"],
+ zephyr_board="herobrine_npcx9",
+ dts_overlays=[
+ "gpio.dts",
+ "battery.dts",
+ "i2c.dts",
+ "motionsense.dts",
+ "switchcap.dts",
+ "usbc.dts",
+ ],
)