diff --git a/custom_bin/flashmonitor b/custom_bin/flashmonitor index ce9d09e..d0a4ffe 100644 --- a/custom_bin/flashmonitor +++ b/custom_bin/flashmonitor @@ -6,7 +6,7 @@ echo -e "\nFlashing and Monitoring for $ESPTARGET on $ESPPORT\n" # if tehre is no CMakeLists.txt in cwd, setup to defaults with idf.py set-target and not setup as that goes through menuconfig if [ ! -f "./CMakeLists.txt" ]; then idf.py set-target $ESPTARGET -done +fi idf.py --preview flash monitor echo -e "\nAll done :3\n" \ No newline at end of file