1.2-dev-1
This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
[submodule "Sillyfilly-espdumper"]
|
||||
path = Sillyfilly-espdumper
|
||||
url = https://github.com/PrincessPi3/Sillyfilly-espdumper.git
|
||||
@@ -44,3 +44,8 @@
|
||||
|
||||
1.1-dev-2
|
||||
improved speed of downloading esp-dev-kits
|
||||
|
||||
1.2-dev-1
|
||||
fixed small presentation bugs
|
||||
added Sillyfilly-espdumper submodule
|
||||
added `--preview` to several idf.py commands to use the very latest and esp32c5
|
||||
@@ -9,7 +9,7 @@ some features require user to have passwordless sudo rights
|
||||
Literally the most schizophrenically overengineered thing I have ever made. idk why I did that
|
||||
|
||||
## Quick start
|
||||
1. `git clone https://github.com/PrincessPi3/esp-idf-tools.git ~/esp-idf-tools`
|
||||
1. `git clone --recursive https://github.com/PrincessPi3/esp-idf-tools.git ~/esp-idf-tools`
|
||||
2. `bash ~/esp-idf-tools/esp-idf-tools-cmd.sh install`
|
||||
3. `source ~/.zshrc`
|
||||
4. `get-esp-tools`
|
||||
@@ -116,6 +116,9 @@ Some take optional [branch] paramater
|
||||
* `$examples` is a shortcut for examples directory in esp-idf
|
||||
* ex. cd `$examples`
|
||||
|
||||
### Sillyfilly-espdumper
|
||||
todo: integrate
|
||||
|
||||
### Cronjob
|
||||
reinstall from master everyday at 4am, logging out users with warn delays and rebooting after
|
||||
* `crontab -e`
|
||||
|
||||
Submodule
+1
Submodule Sillyfilly-espdumper added at 16a9a223c7
@@ -7,7 +7,7 @@
|
||||
|
||||
function getTargets() {
|
||||
tmpFile='/tmp/targets.tmp'
|
||||
idf.py --list-targets > "$tmpFile"
|
||||
idf.py --preview --list-targets > "$tmpFile"
|
||||
tr '\n' ' ' < "$tmpFile"
|
||||
rm "$tmpFile"
|
||||
}
|
||||
@@ -81,8 +81,6 @@ alias exit-esp-tools="source $binDir/exit-esp-tools.sh"
|
||||
|
||||
echo -e "\nesp-idf version: $ESP_IDF_VERSION commit $commitHash from branch $branchData"
|
||||
|
||||
echo -e "\nrun with 'get-esp-tools'"
|
||||
|
||||
echo -e "\nWelcome to esp-idf!\nAll done :3\n"
|
||||
|
||||
###############################################
|
||||
|
||||
+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"
|
||||
@@ -110,6 +110,9 @@ Features:
|
||||
`$examples` is a shortcut for examples directory in esp-idf
|
||||
ex. cd $examples`
|
||||
|
||||
Sillyfilly-espdumper:
|
||||
todo: populate
|
||||
|
||||
Cronjob:
|
||||
reinstall from master everyday at 4am, logging out users with warn delays and rebooting after
|
||||
`crontab -e`
|
||||
|
||||
+1
-1
@@ -1 +1 @@
|
||||
1.1-dev-2
|
||||
1.2-dev-1
|
||||
Reference in New Issue
Block a user