1.2-dev-1

This commit is contained in:
2025-05-18 19:24:55 -06:00
parent 3845128c3f
commit 4bd8194592
22 changed files with 49 additions and 35 deletions
+3
View File
@@ -0,0 +1,3 @@
[submodule "Sillyfilly-espdumper"]
path = Sillyfilly-espdumper
url = https://github.com/PrincessPi3/Sillyfilly-espdumper.git
+5
View File
@@ -44,3 +44,8 @@
1.1-dev-2 1.1-dev-2
improved speed of downloading esp-dev-kits 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
+4 -1
View File
@@ -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 Literally the most schizophrenically overengineered thing I have ever made. idk why I did that
## Quick start ## 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` 2. `bash ~/esp-idf-tools/esp-idf-tools-cmd.sh install`
3. `source ~/.zshrc` 3. `source ~/.zshrc`
4. `get-esp-tools` 4. `get-esp-tools`
@@ -116,6 +116,9 @@ Some take optional [branch] paramater
* `$examples` is a shortcut for examples directory in esp-idf * `$examples` is a shortcut for examples directory in esp-idf
* ex. cd `$examples` * ex. cd `$examples`
### Sillyfilly-espdumper
todo: integrate
### Cronjob ### Cronjob
reinstall from master everyday at 4am, logging out users with warn delays and rebooting after reinstall from master everyday at 4am, logging out users with warn delays and rebooting after
* `crontab -e` * `crontab -e`
+1 -3
View File
@@ -7,7 +7,7 @@
function getTargets() { function getTargets() {
tmpFile='/tmp/targets.tmp' tmpFile='/tmp/targets.tmp'
idf.py --list-targets > "$tmpFile" idf.py --preview --list-targets > "$tmpFile"
tr '\n' ' ' < "$tmpFile" tr '\n' ' ' < "$tmpFile"
rm "$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 "\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" echo -e "\nWelcome to esp-idf!\nAll done :3\n"
############################################### ###############################################
+1 -1
View File
@@ -1,4 +1,4 @@
#!/bin/bash #!/bin/bash
echo -e "\nBuilding\n" echo -e "\nBuilding\n"
idf.py build idf.py --preview build
echo -e "\nAll done :3\n" echo -e "\nAll done :3\n"
+1 -1
View File
@@ -1,6 +1,6 @@
function getTargets() { function getTargets() {
tmpFile='/tmp/targets.tmp' tmpFile='/tmp/targets.tmp'
idf.py --list-targets > "$tmpFile" idf.py --preview --list-targets > "$tmpFile"
tr '\n' ' ' < "$tmpFile" tr '\n' ' ' < "$tmpFile"
rm "$tmpFile" rm "$tmpFile"
} }
+1 -1
View File
@@ -16,7 +16,7 @@ esptool.py --port $ESPPORT --baud $ESPBAUD --chip auto get_security_info
if [ -f "./CMakeLists.txt" ]; then if [ -f "./CMakeLists.txt" ]; then
echo -e "\nEfuse Table:" echo -e "\nEfuse Table:"
idf.py --port $ESPPORT --baud $ESPBAUD efuse-dump idf.py --preview --port $ESPPORT --baud $ESPBAUD efuse-dump
fi fi
echo -e "\nAll donsies~ :3\n" echo -e "\nAll donsies~ :3\n"
+1 -1
View File
@@ -1,4 +1,4 @@
#!/bin/bash #!/bin/bash
echo -e "\nCleaning...\n" echo -e "\nCleaning...\n"
idf.py clean idf.py --preview clean
echo -e "\nAll done :3\n" echo -e "\nAll done :3\n"
+1 -1
View File
@@ -6,4 +6,4 @@ else
read projname; read projname;
fi fi
idf.py create-project "$projname" idf.py --preview create-project "$projname"
+1 -1
View File
@@ -1,4 +1,4 @@
#!/bin/bash #!/bin/bash
echo -e "\nFlashing an $ESPTARGET on $ESPPORT\n" echo -e "\nFlashing an $ESPTARGET on $ESPPORT\n"
idf.py flash idf.py --preview flash
echo -e "\nAll done :3\n" echo -e "\nAll done :3\n"
+1 -1
View File
@@ -1,4 +1,4 @@
#!/bin/bash #!/bin/bash
echo -e "\nFlashing and Monitoring for $ESPTARGET on $ESPPORT\n" 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" echo -e "\nAll done :3\n"
+1 -1
View File
@@ -33,6 +33,6 @@ if [ -f dependencies.lock ]; then
rm -f dependencies.lock rm -f dependencies.lock
fi fi
idf.py fullclean idf.py --preview fullclean
echo -e "\nAll done :3\n" echo -e "\nAll done :3\n"
+4 -3
View File
@@ -2,12 +2,13 @@
echo -e "\nProject sizes\n" echo -e "\nProject sizes\n"
echo -e "\nGeneral:\n" echo -e "\nGeneral:\n"
idf.py size idf.py --preview fullclean
idf.py --preview size
echo -e "\nComponants:\n" echo -e "\nComponants:\n"
idf.py size-components idf.py --preview size-components
echo -e "\nFiles:\n" echo -e "\nFiles:\n"
idf.py size-files idf.py --preview size-files
echo -e "\nAll done :3\n" echo -e "\nAll done :3\n"
+1 -1
View File
@@ -1,4 +1,4 @@
#!/bin/bash #!/bin/bash
echo -e "\nRunning Menuconfig\n" echo -e "\nRunning Menuconfig\n"
idf.py menuconfig idf.py --preview menuconfig
echo -e "\nAll done :3\n" echo -e "\nAll done :3\n"
+1 -1
View File
@@ -1,4 +1,4 @@
#!/bin/bash #!/bin/bash
echo -e "\nMonitoring on $ESPPORT\n" echo -e "\nMonitoring on $ESPPORT\n"
idf.py monitor idf.py --preview monitor
echo -e "\nAll done :3\n" echo -e "\nAll done :3\n"
+7 -7
View File
@@ -4,13 +4,13 @@ echo -e "\nFully Rebuildan~\n"
bash fullclean bash fullclean
echo -e "\nSetting up project for $ESPTARGET\n" 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" echo -e "\nErase flash? y/n"
read wipe read wipe
if [ "$wipe" == "y" ]; then if [ "$wipe" == "y" ]; then
echo -e "\nExecuting erase-flash\n" echo -e "\nExecuting erase-flash\n"
idf.py erase-flash idf.py --preview erase-flash
echo -e "\nFlash wiped\n" echo -e "\nFlash wiped\n"
fi fi
@@ -18,7 +18,7 @@ echo -e "\nRun menuconfig y/n?\n"
read menuconfig read menuconfig
if [ "$menuconfig" == "y" ]; then if [ "$menuconfig" == "y" ]; then
echo -e "\nExecuting menuconfig\n" echo -e "\nExecuting menuconfig\n"
idf.py menuconfig idf.py --preview menuconfig
echo -e "\nConfig Complete\n" echo -e "\nConfig Complete\n"
fi fi
@@ -26,7 +26,7 @@ echo -e "\nSave as Default Config? y/n?\n"
read defconfig read defconfig
if [ "$defconfig" == "y" ]; then if [ "$defconfig" == "y" ]; then
echo -e "\nExecuting save-defconfig\n" echo -e "\nExecuting save-defconfig\n"
idf.py save-defconfig idf.py --preview save-defconfig
echo -e "\nDefault Config Saved\n" echo -e "\nDefault Config Saved\n"
fi fi
@@ -34,16 +34,16 @@ echo -e "\nBuild, Flash, and Monitor Now? y/n"
read flashmon read flashmon
if [ "$flashmon" == "y" ]; then if [ "$flashmon" == "y" ]; then
echo -e "\nBuild, Flashing, and Monitoran~\n" echo -e "\nBuild, Flashing, and Monitoran~\n"
idf.py flash idf.py --preview flash
echo -e "\nFlashed... Short Delay Before Monitor\n" echo -e "\nFlashed... Short Delay Before Monitor\n"
sleep 1 sleep 1
idf.py monitor idf.py --preview monitor
else else
echo -e "\nBuild Now? y/n" echo -e "\nBuild Now? y/n"
read build read build
if [ "$build" == "y" ]; then if [ "$build" == "y" ]; then
echo -e "\nBuildan~\n" echo -e "\nBuildan~\n"
idf.py build idf.py --preview build
echo -e "\nBuild complete\n" echo -e "\nBuild complete\n"
fi fi
fi fi
+1 -1
View File
@@ -10,7 +10,7 @@ fi
echo -e "\nRunning save-defconfig\n" 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 "\nDefaults saved to sdkconfig.defaults\n"
echo -e "\nAll done :3\n" echo -e "\nAll done :3\n"
+2 -2
View File
@@ -1,5 +1,5 @@
#!/bin/bash #!/bin/bash
echo -e "\nSetting up for $ESPTARGET\n" echo -e "\nSetting up for $ESPTARGET\n"
idf.py set-target $ESPTARGET idf.py --preview set-target $ESPTARGET
idf.py menuconfig idf.py --preview menuconfig
echo -e "\nAll done :3\n" echo -e "\nAll done :3\n"
+5 -5
View File
@@ -3,16 +3,16 @@ set -e # die on error
echo -e "Clean, build, flash, monitor in steps, dying on error" echo -e "Clean, build, flash, monitor in steps, dying on error"
echo -e "\ncleaning up first\n" # echo -e "\ncleaning up first\n"
bash fullclean # bash fullclean
echo -e "\nBuilding\n" echo -e "\nBuilding\n"
idf.py build idf.py --preview build
echo -e "\nFlashing to $ESPPORT\n" 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" 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" echo -e "\nAll done :3\n"
+3
View File
@@ -110,6 +110,9 @@ Features:
`$examples` is a shortcut for examples directory in esp-idf `$examples` is a shortcut for examples directory in esp-idf
ex. cd $examples` ex. cd $examples`
Sillyfilly-espdumper:
todo: populate
Cronjob: Cronjob:
reinstall from master everyday at 4am, logging out users with warn delays and rebooting after reinstall from master everyday at 4am, logging out users with warn delays and rebooting after
`crontab -e` `crontab -e`
+1 -1
View File
@@ -1 +1 @@
1.1-dev-2 1.2-dev-1