This commit is contained in:
2024-12-28 18:34:18 -07:00
parent b9cf833427
commit c854d0a6c7
5 changed files with 10 additions and 9 deletions
+5 -6
View File
@@ -21,17 +21,16 @@ Literally the most schizophrenically overengineered thing I have ever made. idk
`changeport` opens a menu to select a serial port
`clean` idf.py clean
`fullclean` fully resets a project, 'idf.py fullclean' plus remove the build dir and delete some temp and backup files
`menuconfig` alias of `idf.py menuconfig` b
`rebuildfull` does a `fullclean` but also an `erase-flash` and also `setup`
`setup` same as running `idf.py set-target $ESPTARGET; idf.py menuconfig; idf.py build`
`flash` alias of `idf.py flash`
`flashmonitor` alias of `idf.py flash monitor`
`flash` idf.py flash
`monitor` idf.py monitor
`erase-flash` idf.py erase-flash
`save-defconfig` idf.py save-defconfig
`step-flash-monitor` attempt clean, build, flash, then monitor, dying on error. each ends before the next beings- found to be useful on the esp32c6
`chipinfo` get information about the chip
`imagesize` or gets the size of the binary to be uploaded, in genral, by componants, and by individual file
`step-flash-monitor` attempt clean, build, flash, then monitor, dying on error
`imagesize` get binary size, broken down in various ways including total, by componant, and by file
`chipinfo` get information from the esp board
`menuconfig` run `idf.py menuconfig`
## Usage
```
+1 -1
View File
@@ -34,8 +34,8 @@ echo -e "\nBuild, Flash, and Monitor Now? y/n"
read flashmon
if [ "$flashmon" == "y" ]; then
echo -e "\nBuild, Flashing, and Monitoran~\n"
echo -e "\nFlashed... Short Delay Before Monitor\n"
idf.py flash
echo -e "\nFlashed... Short Delay Before Monitor\n"
sleep 1
idf.py monitor
else
-1
View File
@@ -4,7 +4,6 @@ set -e # die on error in theory
echo -e "Clean, build, flash, monitor in steps, dying on error"
echo -e "\ncleaning up first\n"
# idf.py clean
bash fullclean
echo -e "\nBuilding\n"
+3
View File
@@ -67,6 +67,9 @@ Features:
`erase-flash` idf.py erase-flash
`save-defconfig` idf.py save-defconfig
`step-flash-monitor` attempt clean, build, flash, then monitor, dying on error
`imagesize` get binary size, broken down in various ways including total, by componant, and by file
`chipinfo` get information from the esp board
`menuconfig` run `idf.py menuconfig`
Aliases:
run_esp_reinstall
+1 -1
View File
@@ -1 +1 @@
7.0-dev
7.1-dev