"To create a *.cyre file for a project the following steps are required:

1. Right click on a project in the Workplace Explorer and select Add >New Item

2. Select the Keil Reentrancy File to open the file in the editor, as shown in Figure 3.56.

3. This opens a blank page in the code editor with the filetype .cyre. Enter the name of each function to be treated as reentrant, e.g., ADC_Start, PWM_Start, etc., as a single function name per line."

Using the information presented in AN54460, section "Determining Re-entrant Functions" I created Synth_oscillator.cyre:

"FREQSET_AMUXCH0_UNSET

FREQSET_IDACCH0_SETVALUE

FREQSET_AMUXCH0_SET"

I then performed a Clean and Rebuild process and ended up with the "Error: cdf.M0005:..." error.

First, I apologize for not updating that archive. I created it when I first added the entire line of the three L15 warnings and didn't update it after I got the Error: cdf.M0005: CyDsFi... messages. I have updated it and included it with this post.

The Error was due to something else in Creator's operation. I just launched Creator this morning after a shut-down and didn't get that message upon clean and build. However, I did get the L15 reentrance error on first try. So, even though AN54460 says that "CYREENTRANT" needs to be added only to user functions, I don't have any yet, I added it to FREQSET_AMUXCH0_UNSET in both cyfitter_cfg.c and cyfitter_cfg.h and got a "CyDsFit aborted due to errors, please address all errors and rerun CyDsFit." error message (that line is still in those files in the archive).

I then deleted "CYREENTRANT" from the cyfitter_cfg.c and cyfitter_cfg.h files and get that Error: cdf.M0005: CyDsFit aborted... message. So, I shut down Creator and restarted it and tried to build the project and now get an error:

I tried to delete the lcpsoc3 but can't, even after I click the admin permission button. Now, I can't get Creator to clean and build at all. I tried to delete the folder but am not allowed to. I tried to unset Read-only in its properties but am not allowed to. My only thought as to a work around is to delete the project and start over but this can't be the way Cypress intends it to work.

OK, I uninstalled and installed and still got the "L15: MULTIPLE CALL..." messages even though the cyre file exists and lists the problem functions. I then added "CYREENTRANT" as indicated in "Making User Defined Functions Re-entrant" in AN54460 and received no more warnings or error messages.

Is there something I need to look out for or not to do to avoid generating those "Error: cdf.M0005: CyDsFit aborted..." errors?

Yes, Jeff, and that archive contained errors in the cyre file, as you confirmed. Since my compilation was error-free, I would like to have your project.Just to see if it is your project or your Creator installation.

I was randomly getting the cdf.M0005 errors after very innocuous edits on a PSoC5LP project. Removing the edits sometimes helped or not. It turns out that problem was the project was on a shared network drive. I moved my project to a local drive and all is well. And so much faster!