Skip to content

Commit

Permalink
Update Makefile
Browse files Browse the repository at this point in the history
add firmware-statistics
  • Loading branch information
orgua committed Mar 30, 2023
1 parent 5b04e5a commit fe1bb7d
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions software/firmware/lib/GCC/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,13 @@ printEnd:
@echo 'Size in bytes:'
@stat -L -c %s $(TARGET_PATH)
@echo ''
@echo '************************************************************'
@echo 'Internal statistics of ELF'
@echo ''
@$(CROSS_COMPILE)size $(TARGET_PATH)
@echo ''
@$(CROSS_COMPILE)nm --size-sort --print-size $(TARGET_PATH) | grep -w '[Tt]'
@echo ''
@echo 'Finished building project: $(PROJ_NAME) (with GNU GCC)'
@echo '************************************************************'
@echo ''
Expand Down

0 comments on commit fe1bb7d

Please sign in to comment.