Files
esp-idf-tools/custom_bin/imagesize
T
2025-12-17 07:40:46 -07:00

17 lines
409 B
Bash
Executable File

#!/bin/bash
outfile="imagesize-$(date +"%Y-%m-%d-%H%M-%S")-$ESPTARGET-$(git rev-parse HEAD).txt.local"
echo -e "\nProject sizes\n"
echo -e "\nSaving to $outfile\n"
echo -e "\nGeneral:\n"
idf.py size | tee -a "$outfile"
echo -e "\nComponants:\n"
idf.py size-components | tee -a "$outfile"
echo -e "\nFiles:\n"
idf.py size-files | tee -a "$outfile"
echo -e "\nSaved to $outfile\n"
echo -e "\nAll done :3\n"