add breathing led program

This commit is contained in:
rmanach
2025-02-25 15:06:27 +01:00
parent ad08d857d1
commit 045026026a
6 changed files with 337 additions and 1 deletions
+4
View File
@@ -39,6 +39,10 @@ endif
format: .check-name
@test -f "$(shell find /usr/bin/ -name astyle)" && astyle --style=java --indent=spaces=4 -K -xC120 $(name)/*.c
run-debug: format
@rm -f ${name}/${name}.debug
@gcc -std=c99 -o2 ${name}/*.c -lm -o ${name}/${name}.debug && ./${name}/${name}.debug
compile: format
rm -f ${name}/build/CMakeCache.txt
@(test -d ${name} && mkdir -p ${name}/build && cd ${name}/build && cmake .. && make -j$(nproc) && echo "project compile successfully") || echo "error: unable to compile project: $(name)"