From 73529c7f0796842e46476a4a07d80abf1e8785e7 Mon Sep 17 00:00:00 2001 From: Luca Burelli Date: Thu, 31 Jul 2025 15:37:12 +0200 Subject: [PATCH 1/2] build: export final DTS and Kconfig files used in the build This commit exports the merged device tree source (DTS) and Kconfig files as used by the build process to the 'firmwares/' directory for documentation purposes. Signed-off-by: Luca Burelli --- extra/build.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/extra/build.sh b/extra/build.sh index 310a850d..6ff88b92 100755 --- a/extra/build.sh +++ b/extra/build.sh @@ -82,12 +82,15 @@ line_comment_only='^\s*\/\*' # match lines starting with comment line_continuation='\\$' # match lines ending with '\' c_comment='\s*\/\*.*?\*\/' # match C-style comments and any preceding space perl -i -pe "s/${c_comment}//gs unless /${line_preproc_ok}/ || (/${line_comment_only}/ && !/${line_continuation}/)" $(find ${VARIANT_DIR}/llext-edk/include/ -type f) + for ext in elf bin hex; do rm -f firmwares/zephyr-$variant.$ext if [ -f ${BUILD_DIR}/zephyr/zephyr.$ext ]; then cp ${BUILD_DIR}/zephyr/zephyr.$ext firmwares/zephyr-$variant.$ext fi done +cp ${BUILD_DIR}/zephyr/zephyr.dts firmwares/zephyr-$variant.dts +cp ${BUILD_DIR}/zephyr/.config firmwares/zephyr-$variant.config # Generate the provides.ld file for linked builds echo "Generating exported symbol scripts" From 0f4bde44530bc4532552b4508dd8a72ef32a002d Mon Sep 17 00:00:00 2001 From: Luca Burelli Date: Thu, 31 Jul 2025 15:50:23 +0200 Subject: [PATCH 2/2] west.yaml: use zephyr-arduino-v4.2.0 --- west.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/west.yml b/west.yml index 8e94fe61..cc6dae18 100644 --- a/west.yml +++ b/west.yml @@ -21,7 +21,7 @@ manifest: projects: - name: zephyr remote: arduino - revision: zephyr-arduino-20250714 + revision: zephyr-arduino-v4.2.0 import: name-allowlist: - cmsis