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
+6 -1
View File
@@ -43,4 +43,9 @@
a shortcut for applying esp-idf patches
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
## 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`
+1 -3
View File
@@ -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
View File
@@ -1,4 +1,4 @@
#!/bin/bash
echo -e "\nBuilding\n"
idf.py build
idf.py --preview build
echo -e "\nAll done :3\n"
+1 -1
View File
@@ -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
View File
@@ -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
View File
@@ -1,4 +1,4 @@
#!/bin/bash
echo -e "\nCleaning...\n"
idf.py clean
idf.py --preview clean
echo -e "\nAll done :3\n"
+1 -1
View File
@@ -6,4 +6,4 @@ else
read projname;
fi
idf.py create-project "$projname"
idf.py --preview create-project "$projname"
+1 -1
View File
@@ -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 -1
View File
@@ -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"
+1 -1
View File
@@ -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"
+4 -3
View File
@@ -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 -1
View File
@@ -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
View File
@@ -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"
+7 -7
View File
@@ -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
+1 -1
View File
@@ -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
View File
@@ -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"
+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 "\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"
+4 -1
View File
@@ -109,7 +109,10 @@ Features:
ex. `patch-esp-idf ./some.patch`
`$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
View File
@@ -1 +1 @@
1.1-dev-2
1.2-dev-1