bug fixes and added espinfo for detailed chip info
This commit is contained in:
@@ -29,7 +29,8 @@ Literally the most schizophrenically overengineered thing I have ever made. idk
|
|||||||
`save-defconfig` idf.py save-defconfig
|
`save-defconfig` idf.py save-defconfig
|
||||||
`step-flash-monitor` attempt clean, build, flash, then monitor, dying on error
|
`step-flash-monitor` attempt clean, build, flash, then monitor, dying on error
|
||||||
`imagesize` get binary size, broken down in various ways including total, by componant, and by file
|
`imagesize` get binary size, broken down in various ways including total, by componant, and by file
|
||||||
`chipinfo` get information from the esp board
|
`chipinfo` get information from the esp chip
|
||||||
|
`espinfo` get detailed information about the esp chip
|
||||||
`menuconfig` run `idf.py menuconfig`
|
`menuconfig` run `idf.py menuconfig`
|
||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
|
|||||||
Executable
+14
@@ -0,0 +1,14 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
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 "\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
|
||||||
|
echo -e "\nEfuse Table:"
|
||||||
|
idf.py --port $ESPPORT --baud $ESPBAUD efuse-dump
|
||||||
|
|
||||||
|
echo -e "\nAll donsies~ :3\n"
|
||||||
@@ -68,7 +68,8 @@ Features:
|
|||||||
`save-defconfig` idf.py save-defconfig
|
`save-defconfig` idf.py save-defconfig
|
||||||
`step-flash-monitor` attempt clean, build, flash, then monitor, dying on error
|
`step-flash-monitor` attempt clean, build, flash, then monitor, dying on error
|
||||||
`imagesize` get binary size, broken down in various ways including total, by componant, and by file
|
`imagesize` get binary size, broken down in various ways including total, by componant, and by file
|
||||||
`chipinfo` get information from the esp board
|
`chipinfo` get information from the esp chip
|
||||||
|
`espinfo` get detailed information from the esp chip
|
||||||
`menuconfig` run `idf.py menuconfig`
|
`menuconfig` run `idf.py menuconfig`
|
||||||
|
|
||||||
Aliases:
|
Aliases:
|
||||||
|
|||||||
@@ -255,8 +255,8 @@ function testAppendAlias() {
|
|||||||
function handleAliasEnviron() {
|
function handleAliasEnviron() {
|
||||||
testAppendAlias "get_idf" "alias get_idf='. $exportScript'"
|
testAppendAlias "get_idf" "alias get_idf='. $exportScript'"
|
||||||
testAppendAlias "run_esp_reinstall" "alias run_esp_reinstall='git -C $runningDir pull;echo -e \"\nOld Version:\";tail -1 $versionData;echo -e \"\n\";bash $runningDir/reinstall-esp-idf.sh'"
|
testAppendAlias "run_esp_reinstall" "alias run_esp_reinstall='git -C $runningDir pull;echo -e \"\nOld Version:\";tail -1 $versionData;echo -e \"\n\";bash $runningDir/reinstall-esp-idf.sh'"
|
||||||
testAppendAlias "esp_install_monitor" "alias esp_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_logs='less $versionData;less $log'"
|
testAppendAlias "esp_install_logs" "alias esp_install_logs='less $versionData;less $log'"
|
||||||
|
|
||||||
if [ -z $ESPIDF_INSTALLDIR ]; then
|
if [ -z $ESPIDF_INSTALLDIR ]; then
|
||||||
writeToLog "ESPIDF_INSTALLDIR environment variable not found, appending to $rcFile"
|
writeToLog "ESPIDF_INSTALLDIR environment variable not found, appending to $rcFile"
|
||||||
|
|||||||
Reference in New Issue
Block a user