Skip to content

Commit

Permalink
Added a tool to check if all the pictures in graphics are used in int…
Browse files Browse the repository at this point in the history
…ernal apps
  • Loading branch information
gullradriel committed Jan 26, 2025
1 parent afec15a commit 070aeca
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions firmware/tools/check_bitmap_usage.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
#!/bin/bash
for fname in $(ls ../graphics/); do
fname=$(echo "$fname" | awk -F'.' '{print $1}')
out=$(grep -r --exclude="bitmap.hpp" "$fname" ../* )
ret=$?
if [[ "$ret" -ne 0 ]]; then
echo "$fname not found"
fi
done

0 comments on commit 070aeca

Please # to comment.