AnsweredAssumed Answered

Rebuild BSP with IAR error

Question asked by Tong Le on May 27, 2011
Latest reply on Jun 8, 2011 by Anthony Huereca

Hi,

I am trying to rebuild the bsp using IAR v6.0 and the compiler generates these of errors.

 

Error[Pe144]: a value of type "int" cannot be used to initialize an entity of type "unsigned int const volatile *"

 

The error points to this code

 

static  uint32_t volatile * const pctl_ptr_arr[] = {
    &(PORTA_PCR(0)),
    &(PORTB_PCR(0)),
    &(PORTC_PCR(0)),
    &(PORTD_PCR(0)),
    &(PORTE_PCR(0))
};


I rebuilt the BSP on another machine (windows xp) and it compiled just fine.

 

Does any one have this same problem?

 

Outcomes