It is with CodeWarrior v10.4. In my project’s Sources\Events.c file, function SM1_OnBlockSent(), I deleted the comment ‘/*Write your code here … */’ and added my own code. In CW, when I selected to Generate Processor Expert Code, the Events.c file was recreated. It had my SM1_OnBlockSent() file as it was with my code, but there was a new SM1_OnBlockSent() file at the end.
However, when I tried to recreate it with the same original Events.c file, it works properly. I also tried changing other functions in this file, but it still works properly.
Paul Sawyer | Senior Design Engineer | Nuvation Research Corp, Canada | 519-746-2304 ext 2259