From d0a275bf33d1146d1f3e8b0d4bfd23c05229bfda Mon Sep 17 00:00:00 2001 From: Jamie McCrae Date: Fri, 20 Dec 2024 08:44:37 +0000 Subject: [PATCH] zephyr: Add imgtool/cbor to pip packages installed by west Adds imgtool and cbor to be automatically installed when using the west packages command, instead of residing in zephyr itself Signed-off-by: Jamie McCrae --- zephyr/module.yml | 4 ++++ zephyr/requirements.txt | 2 ++ 2 files changed, 6 insertions(+) create mode 100644 zephyr/requirements.txt diff --git a/zephyr/module.yml b/zephyr/module.yml index 014a21956..d2af55384 100644 --- a/zephyr/module.yml +++ b/zephyr/module.yml @@ -3,3 +3,7 @@ samples: build: cmake: ./boot/bootutil/zephyr sysbuild-cmake: boot/zephyr/sysbuild +package-managers: + pip: + requirement-files: + - zephyr/requirements.txt diff --git a/zephyr/requirements.txt b/zephyr/requirements.txt new file mode 100644 index 000000000..0eaed4d84 --- /dev/null +++ b/zephyr/requirements.txt @@ -0,0 +1,2 @@ +cbor>=1.0.0 +imgtool>=2.1.0