diff --git a/custom_bin/chipinfo b/custom_bin/chipinfo index 857f2ee..9e0ac91 100644 --- a/custom_bin/chipinfo +++ b/custom_bin/chipinfo @@ -3,16 +3,16 @@ echo -e "\nGetting 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 +esptool --port $ESPPORT --baud $ESPBAUD --chip auto chip_id echo -e "\nFlash ID:" -esptool.py --port $ESPPORT --baud $ESPBAUD --chip auto flash_id +esptool --port $ESPPORT --baud $ESPBAUD --chip auto flash_id echo -e "\nFlash Status:" -esptool.py --port $ESPPORT --baud $ESPBAUD --chip auto read_flash_status +esptool --port $ESPPORT --baud $ESPBAUD --chip auto read_flash_status echo -e "\nSecurity Info:" -esptool.py --port $ESPPORT --baud $ESPBAUD --chip auto get_security_info +esptool --port $ESPPORT --baud $ESPBAUD --chip auto get_security_info if [ -f "./CMakeLists.txt" ]; then echo -e "\nEfuse Table:" diff --git a/custom_bin/erase-flash b/custom_bin/erase-flash index 0b879fb..a9ca12a 100644 --- a/custom_bin/erase-flash +++ b/custom_bin/erase-flash @@ -1,4 +1,4 @@ #!/bin/bash echo -e "\nErasing flash on $ESPPORT\n" -esptool.py --port $ESPPORT --baud $ESPBAUD --chip $ESPTARGET erase_flash +esptool --port $ESPPORT --baud $ESPBAUD --chip $ESPTARGET erase_flash echo -e "\nAll done :3\n" diff --git a/custom_bin/menuconfig b/custom_bin/menuconfig index ce5e3d9..8a00568 100644 --- a/custom_bin/menuconfig +++ b/custom_bin/menuconfig @@ -1,4 +1,9 @@ #!/bin/bash +if [ ! -d build ]; then + echo -e "\nNot set up! Setting up for $ESPTARGET on $ESPPORT at $ESPBAUD baud\n" + setup +fi + echo -e "\nRunning Menuconfig\n" idf.py --preview menuconfig echo -e "\nAll done :3\n" \ No newline at end of file