bug fixes and symantic improvements

This commit is contained in:
2025-05-09 13:09:03 -06:00
parent 5af1bc0ef2
commit 62a35ee2a8
10 changed files with 128 additions and 104 deletions
+19 -5
View File
@@ -1,8 +1,22 @@
#!/bin/bash
echo -e "\nflash_id\n"
esptool.py flash_id
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 "\nchip_id\n"
esptool.py chip_id
echo -e "\nFlash ID:"
esptool.py --port $ESPPORT --baud $ESPBAUD --chip auto flash_id
echo -e "\nAll done :3\n"
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"