This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

PERCFG UNDEFINED ERROR

Other Parts Discussed in Thread: CC2540

Good Day,

I am using a CC2540EM to connect to an external MCU with my own modified SimpleBLECentral coding. However I keep on getting the same error: PERCFG, P0SEL, etc. are undefined. If I use them in SimpleBLEPeripheral I do not get this error. I really need to get this code going but I seem to be missing an include file or library or something. If possible can anyone please assist me in this matter it would be much appreciated.

Regards
Ruart

  • Hi Ruart,

    Are you using version 1.4 stack? Which build configuration are you using?

  • Hi Zahid,

    I apologize for the delayed response. I just reloaded the project and it worked. The other error I'm getting now is that uartConfig.configured, uartConfig.baudRate are not defined. As for the info you requested, I just started too look at this type of projects last week and I spend about two days on it...other projects to complete. So forgive my incompetence, but I'm not sure where to find this information. What I can tell you is that I'm using a CC2540 and IAR  v8.30.1. Again Thanks for your help.

    Regards

    Ruart