#!/bin/bash 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 --port $ESPPORT --baud $ESPBAUD --chip auto chip_id echo -e "\nFlash ID:" esptool --port $ESPPORT --baud $ESPBAUD --chip auto flash_id echo -e "\nFlash Status:" esptool --port $ESPPORT --baud $ESPBAUD --chip auto read_flash_status echo -e "\nSecurity Info:" esptool --port $ESPPORT --baud $ESPBAUD --chip auto get_security_info if [ -f "./CMakeLists.txt" ]; then echo -e "\nEfuse Table:" idf.py --preview --port $ESPPORT --baud $ESPBAUD efuse-dump fi echo -e "\nAll donsies~ :3\n"