Cosmic UK Cosmic US Cosmic Germany Cosmic Italia Cosmic France

Cosmic Software Frequently Asked Questions

How do I compile for the HCS12 versus HC12 family of processors?

The Cosmic HC12/HCS12 compiler has the capability to generate the correct opcodes for the HC12 and HCS12 families of Freescale processors. The default code generation is for the HCS12 family and the +std option is used for the HC12 family. This option must be included on the compiler command line or select "Enable Support for HC12 Processors" from the general compiler options in IDEA.
 CX6812 +mcs  <other options>  foo.c