AnsweredAssumed Answered

'New Project' function did not generate main.c if PE is used

Question asked by Markus Krug on Aug 6, 2012
Latest reply on Aug 7, 2012 by Erich Styger



I just discovered a small, but strange, thing.

I am using CW10.2 for a K60 Tower System. If I setup a new project and include PE the 'wizard' did not generate a separate main.c file although I checked the appropriate box while setting up the new project.

The 'wizard' does if I select 'None' or 'Device Initialization' in the 'Rapid Application Development' dialog box.


First I thought I will get the main.c if I click again on 'Generate PE Code' - however it doesn't.


Simply renaming processorexpert.c (where main() is located) into main.c doesn't really work because anytime I call 'Generate PE Code' I got a new processorexpert.c which will than cause trouble during compiling and linking.


Anyone else have the same experience? Any idea how to solve that?