1.3-dev-0

This commit is contained in:
2025-05-27 04:04:15 -06:00
parent 4bd8194592
commit de251e3b3b
7 changed files with 43 additions and 14 deletions
+6
View File
@@ -49,3 +49,9 @@
fixed small presentation bugs fixed small presentation bugs
added Sillyfilly-espdumper submodule added Sillyfilly-espdumper submodule
added `--preview` to several idf.py commands to use the very latest and esp32c5 added `--preview` to several idf.py commands to use the very latest and esp32c5
1.3-dev-0
renamed rebuildfull to rebuild-interactive
set rebuild-interactive to fail on any error
added rebuild-auto-flashmonitor to quickly fullclean, set up with defaults and $ESPTARGET, then flashmonitor, failing on any error
more information and better details on espinfo
+14 -12
View File
@@ -1,15 +1,17 @@
echo "esp-idf-tools install dir: $ESPIDFTOOLS_INSTALLDIR" echo "esp-idf-tools install dir (\$ESPIDFTOOLS_INSTALLDIR): $ESPIDFTOOLS_INSTALLDIR"
echo "esp-idf-tools custom_bin dir: $ESPIDFTOOLS_INSTALLDIR/.custom_bin/" echo "esp-idf-tools custom_bin dir: $ESPIDFTOOLS_INSTALLDIR/.custom_bin/"
echo "tools:"
ls "$ESPIDFTOOLS_INSTALLDIR/.custom_bin/"
echo "esp-idf-tools version: $(cat $ESPIDFTOOLS_INSTALLDIR/.custom_bin/version.txt)" echo "esp-idf-tools version: $(cat $ESPIDFTOOLS_INSTALLDIR/.custom_bin/version.txt)"
echo "esp-idf-tools last install: $(tail -1 $ESPIDFTOOLS_INSTALLDIR/version-data.log)" echo "esp-idf-tools last install: $(tail -1 $ESPIDFTOOLS_INSTALLDIR/version-data.log)"
echo "esp-idf path: $IDF_PATH" echo "esp-idf path (\$IDF_PATH): $IDF_PATH"
echo "esp-idf version: $ESP_IDF_VERSION" echo "esp-idf version (\$ESP_IDF_VERSION): $ESP_IDF_VERSION"
echo "esp-idf python path: $IDF_PYTHON_ENV_PATH" echo "esp-idf python path (\$IDF_PYTHON_ENV_PATH): $IDF_PYTHON_ENV_PATH"
echo "openocd scripts: $OPENOCD_SCRIPTS" echo "openocd scripts (\$OPENOCD_SCRIPTS): $OPENOCD_SCRIPTS"
echo "esp-idf rom elf dir: $ESP_ROM_ELF_DIR" echo "esp-idf rom elf dir (\$ESP_ROM_ELF_DIR): $ESP_ROM_ELF_DIR"
echo "esp-idf-deactivate file path $IDF_DEACTIVATE_FILE_PATH" echo "esp-idf-deactivate file path (\$IDF_DEACTIVATE_FILE_PATH): $IDF_DEACTIVATE_FILE_PATH"
echo "esp-idf install cmd: $IDF_TOOLS_INSTALL_CMD" echo "esp-idf install cmd (\$IDF_TOOLS_INSTALL_CMD): $IDF_TOOLS_INSTALL_CMD"
echo "esp-idf export cmd: $IDF_TOOLS_EXPORT_CMD"es echo "esp-idf export cmd (\$IDF_TOOLS_EXPORT_CMD): $IDF_TOOLS_EXPORT_CMD"
echo "port: $ESPPORT" echo "port (\$ESPPORT): $ESPPORT"
echo "baud: $ESPBAUD" echo "baud (\$ESPBAUD): $ESPBAUD"
echo "target device: $ESPTARGET" echo "target device (\$ESPTARGET): $ESPTARGET"
+8
View File
@@ -1,4 +1,12 @@
#!/bin/bash #!/bin/bash
set -e # no continue on errrrrrrr
echo -e "\nFlashing and Monitoring for $ESPTARGET on $ESPPORT\n" echo -e "\nFlashing and Monitoring for $ESPTARGET on $ESPPORT\n"
# if tehre is no CMakeLists.txt in cwd, setup to defaults with idf.py set-target and not setup as that goes through menuconfig
if [ ! -f "./CMakeLists.txt" ]; then
idf.py set-target $ESPTARGET
done
idf.py --preview flash monitor idf.py --preview flash monitor
echo -e "\nAll done :3\n" echo -e "\nAll done :3\n"
+10
View File
@@ -0,0 +1,10 @@
#!/bin/bash
echo -e "\nFully Rebuildan~\n"
echo -e "\nFully cleaninnn\n"
bash fullclean
echo -e "\nSetting up project for $ESPTARGET\n"
idf.py --preview set-target $ESPTARGET # using idf.py set-target because it sticks to all defaults and doesnt do menuconfig like setup
bash flashmonitor
@@ -1,4 +1,6 @@
#!/bin/bash #!/bin/bash
set -e # fail on any error
echo -e "\nFully Rebuildan~\n" echo -e "\nFully Rebuildan~\n"
bash fullclean bash fullclean
+1
View File
@@ -90,6 +90,7 @@ Features:
`clean` idf.py clean `clean` idf.py clean
`fullclean` fully resets a project, 'idf.py fullclean' plus remove the build dir and delete some temp and backup files `fullclean` fully resets a project, 'idf.py fullclean' plus remove the build dir and delete some temp and backup files
`rebuildfull` does a `fullclean` but also an `erase-flash` and also `setup` `rebuildfull` does a `fullclean` but also an `erase-flash` and also `setup`
rebuild-flash-monitor does a `fullclean` then `idf.py set-target` and finally `flashmonitor`
`setup` same as running `idf.py set-target $ESPTARGET; idf.py menuconfig; idf.py build` `setup` same as running `idf.py set-target $ESPTARGET; idf.py menuconfig; idf.py build`
`flash` idf.py flash `flash` idf.py flash
`monitor` idf.py monitor `monitor` idf.py monitor
+1 -1
View File
@@ -1 +1 @@
1.2-dev-1 1.3-dev-0