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
+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 "tools:"
ls "$ESPIDFTOOLS_INSTALLDIR/.custom_bin/"
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 path: $IDF_PATH"
echo "esp-idf version: $ESP_IDF_VERSION"
echo "esp-idf python path: $IDF_PYTHON_ENV_PATH"
echo "openocd scripts: $OPENOCD_SCRIPTS"
echo "esp-idf rom elf dir: $ESP_ROM_ELF_DIR"
echo "esp-idf-deactivate file path $IDF_DEACTIVATE_FILE_PATH"
echo "esp-idf install cmd: $IDF_TOOLS_INSTALL_CMD"
echo "esp-idf export cmd: $IDF_TOOLS_EXPORT_CMD"es
echo "port: $ESPPORT"
echo "baud: $ESPBAUD"
echo "target device: $ESPTARGET"
echo "esp-idf path (\$IDF_PATH): $IDF_PATH"
echo "esp-idf version (\$ESP_IDF_VERSION): $ESP_IDF_VERSION"
echo "esp-idf python path (\$IDF_PYTHON_ENV_PATH): $IDF_PYTHON_ENV_PATH"
echo "openocd scripts (\$OPENOCD_SCRIPTS): $OPENOCD_SCRIPTS"
echo "esp-idf rom elf dir (\$ESP_ROM_ELF_DIR): $ESP_ROM_ELF_DIR"
echo "esp-idf-deactivate file path (\$IDF_DEACTIVATE_FILE_PATH): $IDF_DEACTIVATE_FILE_PATH"
echo "esp-idf install cmd (\$IDF_TOOLS_INSTALL_CMD): $IDF_TOOLS_INSTALL_CMD"
echo "esp-idf export cmd (\$IDF_TOOLS_EXPORT_CMD): $IDF_TOOLS_EXPORT_CMD"
echo "port (\$ESPPORT): $ESPPORT"
echo "baud (\$ESPBAUD): $ESPBAUD"
echo "target device (\$ESPTARGET): $ESPTARGET"
+8
View File
@@ -1,4 +1,12 @@
#!/bin/bash
set -e # no continue on errrrrrrr
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
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
set -e # fail on any error
echo -e "\nFully Rebuildan~\n"
bash fullclean