Skip to content

Commit

Permalink
Bad Rp2040 cyw43 firmware build
Browse files Browse the repository at this point in the history
Introduced in SmingHub#2804
  • Loading branch information
mikee47 committed Jul 5, 2024
1 parent a6fc94e commit e02b597
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sming/Arch/Rp2040/Components/rp2040/firmware/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
set -e

write_chunk() {
sz=$(printf "%08x" $(wc -c "$1" | awk '{print $$1}'))
sz=$(printf "%08x" $(wc -c "$1" | awk '{print $1}'))
# Output 8-byte header containing chunk tag plus length in little-endian format
printf "CHNK\x${sz:6:2}\x${sz:4:2}\x${sz:2:2}\x${sz:0:2}" >> $2
# Append chunk data
Expand Down

0 comments on commit e02b597

Please sign in to comment.