I have a lot of data files I'd like to include in my apps. So I changed the data into obj files using objcopy. That's fine, and I'm able to create a library which contains all my binary data. But here is the problem. The obj and lib files are architecture dependent. So if I create them for e.g. ATMega128 they cannot be used with XMEGA128. So every time I change the MCU type I have to recreate obj and thus lib files for used architecture. But my lib (or obj) contains only raw binary data, so it should not depend on architecture. Is there any general architecture specifier, like AVR8 which will satisfy linker no matter for which AVR8 I'm building the application?
Joined: Fri. Jan 10, 2003
Posts: 584 View posts