AnsweredAssumed Answered

CCES 2.8 adi_pwr_SetFreq() not working

Question asked by blueskull on Jul 15, 2018
Latest reply on Jul 19, 2018 by Reva@14

CCES 2.8 can't compile this simple program:

 

#include <stdio.h>
#include <sys/platform.h>
#include <services/pwr/adi_pwr.h>
#include "adi_initialize.h"
#include "FIRBench.h"

int main(int argc, char *argv[])
{
adi_initComponents();
adi_pwr_Init(0, 25000000);
adi_pwr_SetFreq(0, 400000000, 200000000);
printf("Hello world.\n");
while(1);
return 0;
}

 

Compiler complains unidentified identifier pREG_DMC0_PHY_CTL0, which only exists on BF701/3/5/7, not on BF700/2/4/6.

 

The project target has been set to BF706.

 

Please suggest a solution.

 

 

 

 

 

Thanks, 

 

Bo Gao

Outcomes