echo47
Advanced Member level 6
I'm using Codewarrior 6.1.1 for Embedded PowerPC (EPPC). I want to link several large binary files (FPGA bitstreams) into my C project. I can do that easily in GCC using a linker command-line option, but how do I do it in Codewarrior?
If that's not possible, is there some way to convert my binary files into Codewarrior compatible object files? I tried several versions of objcopy, and several ELF choices, but Codewarrior didn't like the generated files. Maybe I haven't found the right combination.
Yes, I could convert my binary files to huge ASCII arrays, and then compile or assemble them, but that's messy and slow. I want a cleaner solution!
If that's not possible, is there some way to convert my binary files into Codewarrior compatible object files? I tried several versions of objcopy, and several ELF choices, but Codewarrior didn't like the generated files. Maybe I haven't found the right combination.
Yes, I could convert my binary files to huge ASCII arrays, and then compile or assemble them, but that's messy and slow. I want a cleaner solution!