Other Parts Discussed in Thread: AM1808
The subject is a mouthful. I've developed a custom AM1808 platform with USB and a SONAR coprocessor. Here is the problem:
The SitaraWare USB library implements packed structures (typedef overlays on byte tables), however, apparently the TMS470 ARM compiler does not support packing. :~#
So I learned how to use CodeSourcery ARM cross-compiler toolchain within CSS and have now successfully compiled all of the SitaraWare libraries (-mcpu=arm926ej-s).
Now this stumbling block has me stopped in my tracks...
- If my application is a CSS project (e.g. TMS470 tool-chain), then the TMS470 wchar_t type is incompatible with the CodeSourcery-compiled SitaraWare libs.
- If my application is plain C/C++ project using CodeSourcery tool-chain, then the TI debugger cannot run because the project is not device-specific (even if it were producing the output that the debugger needs).
Arggggggggg!!!!! Am I taking the wrong approach to this? Thought about re-writing the TI USB lib and at this point might have been quicker than the learning curve on all these tools.
Help! Anyone?