How to compile a firmware project into .img file in Linux? step by step from scratch. I think this is really important for users. Thanks,
Please download the fx3 sdk for linux: https://www.cypress.com/documentation/software-and-drivers/ez-usb-fx3-software-development-kit
The fx3_firmware_linux.tar.gz contains a file FX3_SDK_Linux_Support.pdf that has the detailed steps on installing the FX3 SDK in linux.
Also, in the same folder, please go to "util/elf2img/elf2img.c" which is the file that is used to convert .elf to .img and you can also find the readme text in the same folder.
Please refer to chapter 2 of the EZUSBSuite_UG.pdf in the "fx3_firmware_linux.tar.gz/doc/firmware/" for the guide to compile a firmware project in Linux.