- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I have upgraded to PSoC Creator 3.0 SP1 and have set about clearing up warnings.
I'm using an ISR to do millisecond timing. The prototype is CY_ISR_PROTO(MyInterrupt) ;
The function is CY_ISR(MyInterrupt) { ... }. There is red circle in the margin that displays the message "expected function body after function declarator". I've tried several things and have gotten the error to go away but it breaks my USBUART. It must have something to do with the CyGlobal interrupt because the ISR itself stops working.
The program works with the error message but I would, as a matter of course, like to resolve the error.
Nick
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You are probably using a PSoC3. There are some minor bugs in the code-checking which have to be corrected. Best is to believe in the results of the compilation which will not show up an error (hopefully).
If the above is not the case, can you post your complete project, so that we all can have a look at all of your settings? To do so, use
Creator->File->Create Workspace Bundle (minimal)
and attach the resulting file (do NOT use chrome, that still may not work).
Bob
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Bob,
Thanks for the quick reply. Yes it is a PSoC3.
Nick