Merge branch 'master' of https://github.com/PrincessPi3/esp-install-custom
This commit is contained in:
@@ -2,4 +2,5 @@ scratch.txt
|
||||
*.bak
|
||||
*.old
|
||||
old
|
||||
scratch
|
||||
.vscode
|
||||
@@ -29,7 +29,8 @@ Literally the most schizophrenically overengineered thing I have ever made. idk
|
||||
`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
|
||||
`chipinfo` get information from the esp chip
|
||||
`espinfo` get detailed information about the esp chip
|
||||
`menuconfig` run `idf.py menuconfig`
|
||||
|
||||
## Usage
|
||||
|
||||
Executable
+22
@@ -0,0 +1,22 @@
|
||||
#!/bin/bash
|
||||
echo -e "Getting ESP Chip Info...\n"
|
||||
# echo -e "Base MAC Address:"
|
||||
# esptool.py --port $ESPPORT --baud $ESPBAUD --chip auto read_mac
|
||||
echo -e "\nChip ID:"
|
||||
esptool.py --port $ESPPORT --baud $ESPBAUD --chip auto chip_id
|
||||
|
||||
echo -e "\nFlash ID:"
|
||||
esptool.py --port $ESPPORT --baud $ESPBAUD --chip auto flash_id
|
||||
|
||||
echo -e "\nFlash Status:"
|
||||
esptool.py --port $ESPPORT --baud $ESPBAUD --chip auto read_flash_status
|
||||
|
||||
echo -e "\nSecurity Info:"
|
||||
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
|
||||
fi
|
||||
|
||||
echo -e "\nAll donsies~ :3\n"
|
||||
@@ -0,0 +1 @@
|
||||
cat $HOME/esp/esp-install-custom/help.txt
|
||||
Executable
+12
@@ -0,0 +1,12 @@
|
||||
#!/bin/bash
|
||||
# usage install_esp_branch v5.4.1
|
||||
if [ -z "$1" ]; then
|
||||
echo "usage example: `install_esp_branch v.5.4.1`"
|
||||
exit
|
||||
fi
|
||||
|
||||
rm -rf ~/esp/esp-idf
|
||||
rm -rf ~/.espressif
|
||||
git clone --recursive https://github.com/espressif/esp-idf.git -b "$1" ~/esp/esp-idf
|
||||
bash ~/esp/esp-idf/install.sh all
|
||||
python ~/esp/esp-idf/tools/idf_tools.py install all
|
||||
@@ -54,6 +54,7 @@ Usage:
|
||||
|
||||
|
||||
Features:
|
||||
`help-esp` show this help
|
||||
`build` idf.py build
|
||||
`changebaud` prompts to enter a new baud
|
||||
`changeesp` prompts to type in esp32s3, esp32c6, etc
|
||||
@@ -68,7 +69,8 @@ Features:
|
||||
`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
|
||||
`chipinfo` get information from the esp chip
|
||||
`espinfo` get detailed information from the esp chip
|
||||
`menuconfig` run `idf.py menuconfig`
|
||||
|
||||
Aliases:
|
||||
|
||||
@@ -260,8 +260,8 @@ function testAppendAlias() {
|
||||
function handleAliasEnviron() {
|
||||
testAppendAlias "get_idf" "alias get_idf='. $exportScript'"
|
||||
testAppendAlias "run_esp_reinstall" "alias run_esp_reinstall='git -C $runningDir pull;echo -e \"\nOld Version:\";tail -1 $versionData;echo -e \"\n\";bash $runningDir/reinstall-esp-idf.sh'"
|
||||
testAppendAlias "esp_install_monitor" "alias esp_monitor='tail -n 75 -f $log'"
|
||||
testAppendAlias "esp_install_logs" "alias esp_logs='less $versionData;less $log'"
|
||||
testAppendAlias "esp_install_monitor" "alias esp_install_monitor='tail -n 75 -f $log'"
|
||||
testAppendAlias "esp_install_logs" "alias esp_install_logs='less $versionData;less $log'"
|
||||
|
||||
if [ -z $ESPIDF_INSTALLDIR ]; then
|
||||
writeToLog "ESPIDF_INSTALLDIR environment variable not found, appending to $rcFile"
|
||||
|
||||
+1
-1
@@ -1 +1 @@
|
||||
7.2.1-dev
|
||||
7.3-dev
|
||||
|
||||
Reference in New Issue
Block a user