Skip to content

Commit

Permalink
Back to correct size computation
Browse files Browse the repository at this point in the history
  • Loading branch information
mmoskal committed Dec 23, 2016
1 parent d6f57b3 commit d818c53
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ $(EXECUTABLE): $(OBJECTS)
-Wl,-Map,$(BUILD_PATH)/$(NAME).map -o $(BUILD_PATH)/$(NAME).elf $(OBJECTS)
arm-none-eabi-objcopy -O binary $(BUILD_PATH)/$(NAME).elf $@
@echo
-@arm-none-eabi-size $(BUILD_PATH)/$(NAME).elf | awk '{ s=$$1; print } END { print ""; print "Space left: " (8192-s) }'
-@arm-none-eabi-size $(BUILD_PATH)/$(NAME).elf | awk '{ s=$$1+$$2; print } END { print ""; print "Space left: " (8192-s) }'
@echo


Expand Down

0 comments on commit d818c53

Please sign in to comment.