I'm writing application based on the demo for f0discovery kit.
When I set the VERBOSE flag (in Makefile) to "yes", the information about size of the bin file are not shown after compilation. Why is it that? Is there a special reason for that? I think this is very convenient to have that information not only when compiled with VERBOSE=no.
I've modified the file:
$(CHIBIOS)/os/common/ports/ARMCMx/compilers/GCC//rules.mk
Before:
Code: Select all
%.dmp: %.elf $(LDSCRIPT)
ifeq ($(USE_VERBOSE_COMPILE),yes)
$(OD) $(ODFLAGS) $< > $@
else
@echo Creating $@
@$(OD) $(ODFLAGS) $< > $@
@echo
@$(SZ) $<
@echo
@echo Done
endif
After (line 4):
Code: Select all
%.dmp: %.elf $(LDSCRIPT)
ifeq ($(USE_VERBOSE_COMPILE),yes)
$(OD) $(ODFLAGS) $< > $@
$(SZ) $<
else
@echo Creating $@
@$(OD) $(ODFLAGS) $< > $@
@echo
@$(SZ) $<
@echo
@echo Done
endif
Maybe that kind of modification should be incorporated into the code? I would appreciate that
Best ragards
ncoage