summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--zephyr/zmake/zmake/output_packers.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/zephyr/zmake/zmake/output_packers.py b/zephyr/zmake/zmake/output_packers.py
index 049f18cbf9..1ba38cf96c 100644
--- a/zephyr/zmake/zmake/output_packers.py
+++ b/zephyr/zmake/zmake/output_packers.py
@@ -185,6 +185,7 @@ class NpcxPacker(BinmanPacker):
"""
ro_file = "zephyr.npcx.bin"
+ npcx_monitor = "npcx_monitor.bin"
# TODO(b/192401039): CONFIG_FLASH_SIZE is nuvoton-only. Since
# binman already checks sizes, perhaps we can just remove this
@@ -216,6 +217,9 @@ class NpcxPacker(BinmanPacker):
else:
yield path, output_file
+ # Include the NPCX monitor file as an output artifact.
+ yield ro / self.npcx_monitor, self.npcx_monitor
+
# A dictionary mapping packer config names to classes.
packer_registry = {