Skip to content

Commit 16ca6b6

Browse files
committed
extra: copy uf2 files to firmware folder
1 parent 9ee3929 commit 16ca6b6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

extra/build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ line_comment_only='^\s*\/\*' # match lines starting with comment
8282
line_continuation='\\$' # match lines ending with '\'
8383
c_comment='\s*\/\*.*?\*\/' # match C-style comments and any preceding space
8484
perl -i -pe "s/${c_comment}//gs unless /${line_preproc_ok}/ || (/${line_comment_only}/ && !/${line_continuation}/)" $(find ${VARIANT_DIR}/llext-edk/include/ -type f)
85-
for ext in elf bin hex; do
85+
for ext in elf bin hex uf2; do
8686
rm -f firmwares/zephyr-$variant.$ext
8787
if [ -f ${BUILD_DIR}/zephyr/zephyr.$ext ]; then
8888
cp ${BUILD_DIR}/zephyr/zephyr.$ext firmwares/zephyr-$variant.$ext

0 commit comments

Comments
 (0)