bug fixes
This commit is contained in:
@@ -12,7 +12,7 @@ Literally the most schizophrenically overengineered thing I have ever made. idk
|
|||||||
`git clone https://github.com/PrincessPi3/esp-idf-tools.git ~/esp-idf-tools`
|
`git clone https://github.com/PrincessPi3/esp-idf-tools.git ~/esp-idf-tools`
|
||||||
`bash ~/esp-idf-tools/esp-idf-tools-cmd.sh`
|
`bash ~/esp-idf-tools/esp-idf-tools-cmd.sh`
|
||||||
`source ~/.zshrc`
|
`source ~/.zshrc`
|
||||||
`get_idf`
|
`get_esp_tools`
|
||||||
|
|
||||||
## Features
|
## Features
|
||||||
`build` idf.py build
|
`build` idf.py build
|
||||||
@@ -115,6 +115,9 @@ esp_install_monitor
|
|||||||
esp__install_logs
|
esp__install_logs
|
||||||
displays full text of install.log and version-data.txt
|
displays full text of install.log and version-data.txt
|
||||||
no arguments
|
no arguments
|
||||||
|
|
||||||
|
exit_esp_tools
|
||||||
|
exit and reset shell
|
||||||
```
|
```
|
||||||
|
|
||||||
## Helpful stuff
|
## Helpful stuff
|
||||||
|
|||||||
@@ -44,7 +44,7 @@ export examples="$ESPIDF_INSTALLDIR/esp-idf/examples"
|
|||||||
|
|
||||||
echo -e "Installation Variables:"
|
echo -e "Installation Variables:"
|
||||||
tail -1 "$ESPIDF_INSTALLDIR/version-data.log"
|
tail -1 "$ESPIDF_INSTALLDIR/version-data.log"
|
||||||
echo -e "\tesp-install-custom version: $versionData"
|
echo -e "\tesp-idf-toolsversion: $versionData"
|
||||||
echo -e "\tesp-idf version: $ESP_IDF_VERSION"
|
echo -e "\tesp-idf version: $ESP_IDF_VERSION"
|
||||||
echo -e "\tcommmit hash: $commitHash"
|
echo -e "\tcommmit hash: $commitHash"
|
||||||
echo -e "\tbranch: $branchData"
|
echo -e "\tbranch: $branchData"
|
||||||
@@ -64,7 +64,7 @@ echo -e "\nSetting alias"
|
|||||||
alias changeport="source $binDir/changeport.sh"
|
alias changeport="source $binDir/changeport.sh"
|
||||||
alias changebaud="source $binDir/changebaud.sh"
|
alias changebaud="source $binDir/changebaud.sh"
|
||||||
alias changeesp="source $binDir/changeesp.sh"
|
alias changeesp="source $binDir/changeesp.sh"
|
||||||
alias exit_idf="source $binDir/exit_idf.sh"
|
alias exit_esp_tools="source $binDir/exit_idf.sh"
|
||||||
alias monitor="idf.py monitor"
|
alias monitor="idf.py monitor"
|
||||||
alias flashmonitor="idf.py flash monitor"
|
alias flashmonitor="idf.py flash monitor"
|
||||||
alias menuconfig="idf.py menuconfig"
|
alias menuconfig="idf.py menuconfig"
|
||||||
|
|||||||
@@ -1 +0,0 @@
|
|||||||
cat $HOME/esp/esp-install-custom/help.txt
|
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
cat $ESPIDF_INSTALLDIR/help.txt
|
||||||
@@ -263,7 +263,7 @@ function testAppendAlias() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function handleAliasEnviron() {
|
function handleAliasEnviron() {
|
||||||
testAppendAlias "get_idf" "alias get_idf='. $exportScript'"
|
testAppendAlias "get_esp_tools" "alias get_esp_tools='. $exportScript'"
|
||||||
testAppendAlias "run_esp_cmd" "alias run_esp_reinstall='git -C $runningDir pull;echo -e \"\nOld Version:\";tail -1 $versionData;echo -e \"\n\";bash $runningDir/esp-idf-tools-cmd.sh'"
|
testAppendAlias "run_esp_cmd" "alias run_esp_reinstall='git -C $runningDir pull;echo -e \"\nOld Version:\";tail -1 $versionData;echo -e \"\n\";bash $runningDir/esp-idf-tools-cmd.sh'"
|
||||||
testAppendAlias "esp_install_monitor" "alias esp_install_monitor='tail -n 75 -f $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'"
|
testAppendAlias "esp_install_logs" "alias esp_install_logs='less $versionData;less $log'"
|
||||||
|
|||||||
@@ -50,11 +50,11 @@ Modes:
|
|||||||
Usage:
|
Usage:
|
||||||
Once installed for the first time, restart your shell.
|
Once installed for the first time, restart your shell.
|
||||||
to activate esp-idf with the custom additions, run:
|
to activate esp-idf with the custom additions, run:
|
||||||
`get_idf`
|
`get_esp_tools`
|
||||||
exit with
|
exit with
|
||||||
`exit_idf`
|
`exit_esp_tools`
|
||||||
for help
|
for help
|
||||||
`help-esp`
|
`help_esp_tools`
|
||||||
|
|
||||||
|
|
||||||
Features:
|
Features:
|
||||||
|
|||||||
Reference in New Issue
Block a user