1.2-dev-1
This commit is contained in:
+1
-1
@@ -1,4 +1,4 @@
|
||||
#!/bin/bash
|
||||
echo -e "\nBuilding\n"
|
||||
idf.py build
|
||||
idf.py --preview build
|
||||
echo -e "\nAll done :3\n"
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
function getTargets() {
|
||||
tmpFile='/tmp/targets.tmp'
|
||||
idf.py --list-targets > "$tmpFile"
|
||||
idf.py --preview --list-targets > "$tmpFile"
|
||||
tr '\n' ' ' < "$tmpFile"
|
||||
rm "$tmpFile"
|
||||
}
|
||||
|
||||
+1
-1
@@ -16,7 +16,7 @@ esptool.py --port $ESPPORT --baud $ESPBAUD --chip auto get_security_info
|
||||
|
||||
if [ -f "./CMakeLists.txt" ]; then
|
||||
echo -e "\nEfuse Table:"
|
||||
idf.py --port $ESPPORT --baud $ESPBAUD efuse-dump
|
||||
idf.py --preview --port $ESPPORT --baud $ESPBAUD efuse-dump
|
||||
fi
|
||||
|
||||
echo -e "\nAll donsies~ :3\n"
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
#!/bin/bash
|
||||
echo -e "\nCleaning...\n"
|
||||
idf.py clean
|
||||
idf.py --preview clean
|
||||
echo -e "\nAll done :3\n"
|
||||
@@ -6,4 +6,4 @@ else
|
||||
read projname;
|
||||
fi
|
||||
|
||||
idf.py create-project "$projname"
|
||||
idf.py --preview create-project "$projname"
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
#!/bin/bash
|
||||
echo -e "\nFlashing an $ESPTARGET on $ESPPORT\n"
|
||||
idf.py flash
|
||||
idf.py --preview flash
|
||||
echo -e "\nAll done :3\n"
|
||||
@@ -1,4 +1,4 @@
|
||||
#!/bin/bash
|
||||
echo -e "\nFlashing and Monitoring for $ESPTARGET on $ESPPORT\n"
|
||||
idf.py flash monitor
|
||||
idf.py --preview flash monitor
|
||||
echo -e "\nAll done :3\n"
|
||||
@@ -33,6 +33,6 @@ if [ -f dependencies.lock ]; then
|
||||
rm -f dependencies.lock
|
||||
fi
|
||||
|
||||
idf.py fullclean
|
||||
idf.py --preview fullclean
|
||||
|
||||
echo -e "\nAll done :3\n"
|
||||
@@ -2,12 +2,13 @@
|
||||
echo -e "\nProject sizes\n"
|
||||
|
||||
echo -e "\nGeneral:\n"
|
||||
idf.py size
|
||||
idf.py --preview fullclean
|
||||
idf.py --preview size
|
||||
|
||||
echo -e "\nComponants:\n"
|
||||
idf.py size-components
|
||||
idf.py --preview size-components
|
||||
|
||||
echo -e "\nFiles:\n"
|
||||
idf.py size-files
|
||||
idf.py --preview size-files
|
||||
|
||||
echo -e "\nAll done :3\n"
|
||||
@@ -1,4 +1,4 @@
|
||||
#!/bin/bash
|
||||
echo -e "\nRunning Menuconfig\n"
|
||||
idf.py menuconfig
|
||||
idf.py --preview menuconfig
|
||||
echo -e "\nAll done :3\n"
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
#!/bin/bash
|
||||
echo -e "\nMonitoring on $ESPPORT\n"
|
||||
idf.py monitor
|
||||
idf.py --preview monitor
|
||||
echo -e "\nAll done :3\n"
|
||||
@@ -4,13 +4,13 @@ echo -e "\nFully Rebuildan~\n"
|
||||
bash fullclean
|
||||
|
||||
echo -e "\nSetting up project for $ESPTARGET\n"
|
||||
idf.py set-target $ESPTARGET
|
||||
idf.py --preview set-target $ESPTARGET
|
||||
|
||||
echo -e "\nErase flash? y/n"
|
||||
read wipe
|
||||
if [ "$wipe" == "y" ]; then
|
||||
echo -e "\nExecuting erase-flash\n"
|
||||
idf.py erase-flash
|
||||
idf.py --preview erase-flash
|
||||
echo -e "\nFlash wiped\n"
|
||||
fi
|
||||
|
||||
@@ -18,7 +18,7 @@ echo -e "\nRun menuconfig y/n?\n"
|
||||
read menuconfig
|
||||
if [ "$menuconfig" == "y" ]; then
|
||||
echo -e "\nExecuting menuconfig\n"
|
||||
idf.py menuconfig
|
||||
idf.py --preview menuconfig
|
||||
echo -e "\nConfig Complete\n"
|
||||
fi
|
||||
|
||||
@@ -26,7 +26,7 @@ echo -e "\nSave as Default Config? y/n?\n"
|
||||
read defconfig
|
||||
if [ "$defconfig" == "y" ]; then
|
||||
echo -e "\nExecuting save-defconfig\n"
|
||||
idf.py save-defconfig
|
||||
idf.py --preview save-defconfig
|
||||
echo -e "\nDefault Config Saved\n"
|
||||
fi
|
||||
|
||||
@@ -34,16 +34,16 @@ echo -e "\nBuild, Flash, and Monitor Now? y/n"
|
||||
read flashmon
|
||||
if [ "$flashmon" == "y" ]; then
|
||||
echo -e "\nBuild, Flashing, and Monitoran~\n"
|
||||
idf.py flash
|
||||
idf.py --preview flash
|
||||
echo -e "\nFlashed... Short Delay Before Monitor\n"
|
||||
sleep 1
|
||||
idf.py monitor
|
||||
idf.py --preview monitor
|
||||
else
|
||||
echo -e "\nBuild Now? y/n"
|
||||
read build
|
||||
if [ "$build" == "y" ]; then
|
||||
echo -e "\nBuildan~\n"
|
||||
idf.py build
|
||||
idf.py --preview build
|
||||
echo -e "\nBuild complete\n"
|
||||
fi
|
||||
fi
|
||||
|
||||
@@ -10,7 +10,7 @@ fi
|
||||
|
||||
echo -e "\nRunning save-defconfig\n"
|
||||
|
||||
idf.py save-defconfig
|
||||
idf.py --preview save-defconfig
|
||||
|
||||
echo -e "\nDefaults saved to sdkconfig.defaults\n"
|
||||
echo -e "\nAll done :3\n"
|
||||
+2
-2
@@ -1,5 +1,5 @@
|
||||
#!/bin/bash
|
||||
echo -e "\nSetting up for $ESPTARGET\n"
|
||||
idf.py set-target $ESPTARGET
|
||||
idf.py menuconfig
|
||||
idf.py --preview set-target $ESPTARGET
|
||||
idf.py --preview menuconfig
|
||||
echo -e "\nAll done :3\n"
|
||||
@@ -3,16 +3,16 @@ set -e # die on error
|
||||
|
||||
echo -e "Clean, build, flash, monitor in steps, dying on error"
|
||||
|
||||
echo -e "\ncleaning up first\n"
|
||||
bash fullclean
|
||||
# echo -e "\ncleaning up first\n"
|
||||
# bash fullclean
|
||||
|
||||
echo -e "\nBuilding\n"
|
||||
idf.py build
|
||||
idf.py --preview build
|
||||
|
||||
echo -e "\nFlashing to $ESPPORT\n"
|
||||
idf.py flash
|
||||
idf.py --preview flash
|
||||
|
||||
echo -e "\nMonitor time on $ESPPORT for target $ESPTARGET at $ESPBAUD\n"
|
||||
idf.py monitor
|
||||
idf.py --preview monitor
|
||||
|
||||
echo -e "\nAll done :3\n"
|
||||
Reference in New Issue
Block a user