Other Parts Discussed in Thread: C2000WARE
Tool/software: TI C/C++ Compiler
I am trying to build a 28388 application without use of any TI libraries or external linkages/references (there's a story on this below). I have all c, h, and asm files located in a single directory, and I have copied over the current cmd-files files and asm files from the CCS1010 and C2000Ware directories. There are no libraries in this directory, nor is there anything in the project linker file search path. Everything compiles without error, but the linker reports a single error, and undefined symbol __TI_zero_init.
This TI_zero_init is not called or referenced by any of my source. It is almost as if the compiler/linker is requiring the presence of this symbol. Is there a way to disable this check?
Note I can not use any of your 28388 sample code in the current C2000Ware directories, so that is not an option. We have many motor-controller products based on various C2000 platforms, but all of our existing code is based on your previous register-structure-based header files (the F2837xD*.h like files). Your new register-offset based example code (with the HWREGH(BASE + OFFSET) syntax) is SO different that we do not consider it a viable approach to merge across our working 28377 code. Also the excessive single-line function calls per register configuration almost demand a level of optimization, which is a poor approach. We have had very good results with your prior code bases, and your new approach makes us abandon all of your new code.