testiung for release 3
This commit is contained in:
@@ -11,7 +11,7 @@ Literally the most schizophrenically overengineered thing I have ever made. idk
|
|||||||
## Quick start
|
## Quick start
|
||||||
1. `git clone https://github.com/PrincessPi3/esp-idf-tools.git ~/esp-idf-tools`
|
1. `git clone https://github.com/PrincessPi3/esp-idf-tools.git ~/esp-idf-tools`
|
||||||
2. `bash ~/esp-idf-tools/esp-idf-tools-cmd.sh`
|
2. `bash ~/esp-idf-tools/esp-idf-tools-cmd.sh`
|
||||||
3. `source ~/.zshrc`
|
3. `source ~/.zshrc`
|
||||||
4. `get-esp-tools`
|
4. `get-esp-tools`
|
||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
|
|||||||
@@ -34,12 +34,12 @@ for line in $(dmesg | tail -50 | grep -o -E "tty[A-Z]{3}[0-9]{0,2}" | sort -u);
|
|||||||
COUNTER=$((COUNTER+1))
|
COUNTER=$((COUNTER+1))
|
||||||
done
|
done
|
||||||
|
|
||||||
if [ -z "$devArr" ]; then
|
if [ $COUNTER -gt 0 ]; then
|
||||||
echo -e "\nNo Serial Devices Found, Select one later with 'changeport'\n"
|
|
||||||
else
|
|
||||||
echo -e "\nEnter TTY Number You'd Like:"
|
echo -e "\nEnter TTY Number You'd Like:"
|
||||||
read tty
|
read tty
|
||||||
ttyselect=$devarr[(($tty+1))]
|
ttyselect=$devarr[(($tty+1))]
|
||||||
|
else
|
||||||
|
echo -e "\nNo Serial Devices Found, Select one later with 'changeport'\n"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo -e "Set esp target:\n\tOne of: $(getTargets)"
|
echo -e "Set esp target:\n\tOne of: $(getTargets)"
|
||||||
|
|||||||
@@ -1,16 +1,21 @@
|
|||||||
function subprocess() {
|
function subprocess() {
|
||||||
echo -e "\nChanging ESPPORT\n"
|
echo -e "\nChanging ESPPORT\n"
|
||||||
echo -e "TTY devices found in dmesg:"
|
echo -e "\nChecking for Serial Devices in dmesg\n"
|
||||||
COUNTER=0
|
COUNTER=0
|
||||||
devarr=()
|
devarr=()
|
||||||
for line in $(dmesg | tail -50 | grep -o -E "tty[A-Z]{3}[0-9]{0,2}" | sort -u); do
|
for line in $(dmesg | tail -50 | grep -o -E "tty[A-Z]{3}[0-9]{0,2}" | sort -u); do
|
||||||
echo "$COUNTER /dev/$line"
|
echo -e "$COUNTER /dev/$line"
|
||||||
devarr+=("/dev/$line")
|
devarr+=("/dev/$line")
|
||||||
COUNTER=$((COUNTER+1))
|
COUNTER=$((COUNTER+1))
|
||||||
done
|
done
|
||||||
|
|
||||||
echo -e "\nEnter TTY Number You'd Like:"
|
if [ $COUNTER -gt 0 ]; then
|
||||||
read tty
|
echo -e "\nEnter TTY Number You'd Like:"
|
||||||
|
read tty
|
||||||
|
ttyselect=$devarr[(($tty+1))]
|
||||||
|
else
|
||||||
|
echo -e "\nNo Serial Devices Found, Select one later with 'changeport'\n"
|
||||||
|
fi
|
||||||
|
|
||||||
sel=$tty+1
|
sel=$tty+1
|
||||||
eval "$1=$devarr[$sel]"
|
eval "$1=$devarr[$sel]"
|
||||||
|
|||||||
@@ -6,25 +6,39 @@ x espinfo
|
|||||||
x changetarget
|
x changetarget
|
||||||
x changebaud
|
x changebaud
|
||||||
x clean
|
x clean
|
||||||
|
x fullclean
|
||||||
x help-esp-tools
|
x help-esp-tools
|
||||||
x run-esp-cmd [help h -h --help]
|
x run-esp-cmd [help h -h --help]
|
||||||
|
|
||||||
flashmonitor
|
x flashmonitor
|
||||||
monitor
|
x monitor
|
||||||
|
x step-flash-monitor
|
||||||
|
x menuconfig
|
||||||
|
x imagesize
|
||||||
|
x create-project
|
||||||
|
x rebuildfull
|
||||||
|
x chipinfo
|
||||||
|
x esp-install-monitor
|
||||||
|
x esp-install-logs
|
||||||
|
run-esp-cmd n
|
||||||
|
fresh install from nothing
|
||||||
|
|
||||||
text export and changeesp
|
|
||||||
test help on cmd, help-esp-tools
|
|
||||||
test sourced scrips changebaud, changeesp, changeport
|
|
||||||
test menuconfig, monitor, flashmonitor, exit-esp-tools
|
|
||||||
test / fix / remove esp-idf-tools-cmd.sh options
|
|
||||||
reboot immediately when reset is set to 0 mins
|
|
||||||
remove unneeded code
|
|
||||||
check header on install version log
|
|
||||||
audit readme
|
audit readme
|
||||||
maybe pretty up
|
maybe pretty up
|
||||||
test all for bugs
|
|
||||||
|
|
||||||
add error handling to changeesp, changeport, and export on esp and port functions
|
remove unneeded code
|
||||||
|
|
||||||
|
add new stuff to error checking
|
||||||
|
|
||||||
|
x text export and changeesp
|
||||||
|
x test help on cmd, help-esp-tools
|
||||||
|
x test sourced scrips changebaud, changeesp, changeport
|
||||||
|
x test menuconfig, monitor, flashmonitor, exit-esp-tools
|
||||||
|
x test / fix / remove esp-idf-tools-cmd.sh options
|
||||||
|
x reboot immediately when reset is set to 0 mins
|
||||||
|
x check header on install version lo
|
||||||
|
|
||||||
|
x add error handling to changeesp, changeport, and export on esp and port functions
|
||||||
|
|
||||||
figure out esp32 disable sanity check
|
figure out esp32 disable sanity check
|
||||||
create blank project as master
|
create blank project as master
|
||||||
|
|||||||
Reference in New Issue
Block a user