Hello, I am working on programming Aurix TC264 B-step. After compiling with Hightec Toolchaine Erika os v3, I obtained .elf format. I want to generate .hex.
thanks
Generate .hex file
Moderator: paolo.gai
Re: Generate .hex file
The compiler provides tools for this. Please check the compiler manual.
Paolo
Paolo
Re: Generate .hex file
Hello,
In the ee.mk file modify the "TARGET := $(TARGET_NAME).hex" , add "export APP_TARGETS := $(TARGET_NAME).hex" (L241) to the ee_arch_compiler_gcc.mk file.
In the ee_arch_rules.mk add "$(TARGET_NAME).hex: $(TARGET_NAME).elf
$(EE_OBJCOPY) -O ihex $< $@ "
In the ee.mk file modify the "TARGET := $(TARGET_NAME).hex" , add "export APP_TARGETS := $(TARGET_NAME).hex" (L241) to the ee_arch_compiler_gcc.mk file.
In the ee_arch_rules.mk add "$(TARGET_NAME).hex: $(TARGET_NAME).elf
$(EE_OBJCOPY) -O ihex $< $@ "
Re: Generate .hex file
Thanks for the suggestion!
PJ
PJ