Hello Con Verse,
Thanks for your reply.
Sorry for the very delayed response.
The command I am using for hex genertion is,
-arm-none-eabi-size "Hex_Try.axf" ; arm-none-eabi-objcopy -v -O ihex "Hex_Try.axf" "Hex_Try.hex" ;
FYR, I am attaching my complete make file content here.
################################################################################
# Automatically-generated file. Do not edit!
################################################################################
-include ../makefile.init
RM := rm -rf
# All of the sources participating in the build are defined here
-include sources.mk
-include src/subdir.mk
-include subdir.mk
-include objects.mk
ifneq ($(MAKECMDGOALS),clean)
ifneq ($(strip $(C_DEPS)),)
-include $(C_DEPS)
endif
endif
-include ../makefile.defs
# Add inputs and outputs from these tool invocations to the build variables
# All Target
all: Hex_Try.axf
# Tool invocations
Hex_Try.axf: $(OBJS) $(USER_OBJS)
@echo 'Building target: $@'
@echo 'Invoking: MCU Linker'
arm-none-eabi-gcc -nostdlib -Xlinker -Map="Hex_Try.map" -Xlinker --cref -Xlinker --gc-sections -Xlinker -print-memory-usage -Xlinker --print-map -mcpu=arm7tdmi -T "Hex_Try_Release.ld" -o "Hex_Try.axf" $(OBJS) $(USER_OBJS) $(LIBS)
@echo 'Finished building target: $@'
@echo ' '
$(MAKE) --no-print-directory post-build
# Other Targets
clean:
-$(RM) $(EXECUTABLES)$(OBJS)$(C_DEPS) Hex_Try.axf
-@echo ' '
post-build:
-@echo 'Performing post-build steps'
-arm-none-eabi-size "Hex_Try.axf" ; arm-none-eabi-objcopy -v -O ihex "Hex_Try.axf" "Hex_Try.hex" ; #arm-none-eabi-objcopy -v -O [color=#f00]ihex[/color] "Hex_Try.axf" "Hex_Try[color=#f00].hex[/color]" ; #arm-none-eabi-objcopy -v -O binary "Hex_Try.axf" "Hex_Try.bin" ; # checksum -p LPC2129_01 -d "Hex_Try.bin"
-@echo ' '
.PHONY: all clean dependents
.SECONDARY: post-build
-include ../makefile.targets
################################################################################
# End of File
################################################################################