wip
This commit is contained in:
@@ -56,6 +56,9 @@ default.size.stdout \
|
||||
OBJDUMP_LIST += \
|
||||
AUTOM10.list \
|
||||
|
||||
OBJCOPY_HEX += \
|
||||
AUTOM10.hex \
|
||||
|
||||
|
||||
# All Target
|
||||
all: main-build
|
||||
@@ -79,12 +82,17 @@ AUTOM10.list: $(EXECUTABLES) makefile objects.list $(OPTIONAL_TOOL_DEPS)
|
||||
@echo 'Finished building: $@'
|
||||
@echo ' '
|
||||
|
||||
AUTOM10.hex: $(EXECUTABLES) makefile objects.list $(OPTIONAL_TOOL_DEPS)
|
||||
arm-none-eabi-objcopy -O ihex $(EXECUTABLES) "AUTOM10.hex"
|
||||
@echo 'Finished building: $@'
|
||||
@echo ' '
|
||||
|
||||
# Other Targets
|
||||
clean:
|
||||
-$(RM) AUTOM10.elf AUTOM10.list AUTOM10.map default.size.stdout
|
||||
-$(RM) AUTOM10.elf AUTOM10.hex AUTOM10.list AUTOM10.map default.size.stdout
|
||||
-@echo ' '
|
||||
|
||||
secondary-outputs: $(SIZE_OUTPUT) $(OBJDUMP_LIST)
|
||||
secondary-outputs: $(SIZE_OUTPUT) $(OBJDUMP_LIST) $(OBJCOPY_HEX)
|
||||
|
||||
fail-specified-linker-script-missing:
|
||||
@echo 'Error: Cannot find the specified linker script. Check the linker settings in the build configuration.'
|
||||
|
||||
Reference in New Issue
Block a user