AnsweredAssumed Answered

MQX 4.2 BSP Compilation Error

Question asked by kackle123 on Nov 23, 2015
Latest reply on Dec 8, 2015 by kackle123

When I try to compile the BSP for a clone of a FRDM-K64F board (120 MHz), I get the following errors:

 

C:/Freescale/CW MCU v10.6/MCU/ProcessorExpert/lib/Kinetis/pdd2/MK64FN1M0LQ12/system/CPU_Init.c: In function 'CPU_EnableInt':

C:/Freescale/CW MCU v10.6/MCU/ProcessorExpert/lib/Kinetis/pdd2/MK64FN1M0LQ12/system/CPU_Init.c:1035:2: error: expected string literal before 'CPSIE'

C:/Freescale/CW MCU v10.6/MCU/ProcessorExpert/lib/Kinetis/pdd2/MK64FN1M0LQ12/system/CPU_Init.c: In function 'CPU_DisableInt':

C:/Freescale/CW MCU v10.6/MCU/ProcessorExpert/lib/Kinetis/pdd2/MK64FN1M0LQ12/system/CPU_Init.c:1051:2: error: expected string literal before 'CPSID'

 

I traced it to missing quotes in an assembly function call (asm(CPSIE, f)), but my correction gets removed every time I re-generate the Processor Expert files.  Is there a way for me to fix this permanently?  Thank you.

Outcomes