To generate code, click icon Generate Processor Expert Code in the Components view. This generates source files for components to the Generated_Code folder in the CodeWarrior project view. The Sources folder of the project contains user-editable main.c module with a skeleton of the main function and events.c with event handlers.
After code generation, do these steps: