cmake/separateObjects/run.sh

15 lines
185 B

#!/bin/bash
FILE=build/
if [ -d "$FILE" ];then
rm -r build/
cmake -S . -B build/
else
cmake -S . -B build/
fi
cd $FILE
make -j11
#st-flash write refOvenTest.bin 0x08000000
cd ..