AnsweredAssumed Answered

IAR Compiler Error[Pe020]: ..

Question asked by gugi on Nov 16, 2015
Latest reply on Nov 17, 2015 by gugi

Hello,

I really do not have an idea what happens. I copied these lines from example where it is working and I get errors in my project ?!?

 

/* Change the system clock source to HFXTAL and change clock frequency to 16MHz     */

  /* Requirement for AFE (ACLK)                                                       */

  SystemTransitionClocks(ADI_SYS_CLOCK_TRIGGER_MEASUREMENT_ON);

  /* SPLL with 32MHz used, need to divide by 2 */

  SetSystemClockDivider(ADI_SYS_CLOCK_UART, 2);

 

 

Warning[Pe223]: function "SystemTransitionClocks" declared implicitly E:\projects\.....................\NTI_V1.c 71

Error[Pe020]: identifier "ADI_SYS_CLOCK_TRIGGER_MEASUREMENT_ON" is undefined E:\projects\ITL\.....................\NTI_V1.c 71

Error[Pe020]: identifier "systemClockPrint" is undefined E:\projects\.....................\NTI_V1.c 93

Error while running C/C++ Compiler

 

NTI_proj.JPG

 

Please HELP !

Outcomes