This commit is contained in:
Imbus 2025-07-06 13:14:51 +02:00
parent 7f8d9307a1
commit 959d67428b
4 changed files with 46 additions and 0 deletions

33
scripts/find_issues.sh Normal file
View file

@ -0,0 +1,33 @@
#!/usr/bin/env bash
# Description:
# Search source files for special comment markers (TODO, FIXME, NOTE, HACK)
# while excluding certain paths like scripts/ by default.
#
# Usage:
# ./find-comments.sh [path]
# path Optional. Defaults to current directory.
set -e
# Default search directory
DIR="${1:-.}"
# Tags to search for
TAGS='TODO|FIXME|NOTE|HACK|BUG|XXX|OPTIMIZE|REFACTOR|DEPRECATED|UNDONE'
# Excluded directories (can be expanded)
EXCLUDES=(
'--glob=!scripts/**'
'--glob=!build/**'
'--glob=!.git/**'
)
# Header
echo -e "\033[1;33m🔍 Scanning for: ${TAGS}\033[0m"
echo -e "In directory: \033[1;36m$DIR\033[0m"
echo
# Execute ripgrep
rg -n --color=always -e "($TAGS)" "${EXCLUDES[@]}" "$DIR"

3
scripts/install_qemu.sh Normal file
View file

@ -0,0 +1,3 @@
#!/usr/bin/env bash
python "$IDF_PATH"/tools/idf_tools.py install qemu-xtensa

View file

@ -0,0 +1,7 @@
#!/usr/bin/env bash
mkdir -p ~/esp
cd ~/esp || exit
git clone -b v5.4.2 --recursive https://github.com/espressif/esp-idf.git
cd ~/esp/esp-idf || exit
./install.sh esp32 # This is the arch for our mcu (esp-wroom-32)

View file

@ -0,0 +1,3 @@
#!/usr/bin/env bash
rm -rf ~/esp