AnsweredAssumed Answered

error: expected '(' before 'void'   __asm void Cpu_SetBASEPRI(uint32_t Level) {

Question asked by Abhilash V R on Dec 15, 2015
Latest reply on Mar 9, 2017 by David Chung

Dear All,

 

I was trying to migrate a project a from Code warrior to Kinetis Design Studio Version: 3.0.0.

 

I followed the steps in CW MCU 10.6 Processor Expert projects migration into KDS 3.0.0  -(followed  Steps of the conversion by manual configuration of the toolchain).

 

But after all the steps when i tried to build i am getting following error in

 

../Generated_Code/Cpu.c: At top level:

../Generated_Code/Cpu.c:2053:7: error: expected '(' before 'void'

__asm void Cpu_SetBASEPRI(uint32_t Level) {

       ^

make: *** [Generated_Code/Cpu.o] Error 1

 

Can some one help me to find why this error is happening ?

 

Thanks

Abhilash V R

Outcomes