Hello
I would proceed as follows:
- Start CodeWarrior
- Open your project
- Check which ansi library is linked to the project
- Select File -> Open
- Browse for {Install}\lib\hc12c\hc12_lib.mcp (where {Install} stands for your installation directory).
- Select the appropriate build target for the library file you are using
"C Mb IEEE32/32" if you are linking "ansib.lib" to your application, ...
You can check which is the lib file generated as follows:
- Open target settings dialog (Press ALT + F7)
- Switch to "Libmaker for HC12" panel.
- The library file generated is displayed in the Library file name edit box.
- Once you have found the appropriate target, open the target settings dialog (Press ALT + F)
- Switch to "Compiler for HCI" panel and add the option to the Command line.
CrasyCat