AnsweredAssumed Answered

KL03 RTOS Startup code

Question asked by Eric Eckenrode on Mar 23, 2016
Latest reply on Mar 23, 2016 by Erich Styger

Hi,

I have a question about the below code in my KL03 project.

I'm not using an RTOS.  In this case is it ok to remove the code?

 

 

/*

  ** Don't write any code pass this
line, or it will be deleted during code generation. **

  /*** RTOS startup code. Macro
PEX_RTOS_START is defined by the RTOS component. DON'T MODIFY THIS CODE!!! ***/

  #ifdef PEX_RTOS_START

  
PEX_RTOS_START();                 
/* Startup of the selected RTOS. Macro is defined by the
RTOS component. */

  #endif

  /*** End of RTOS startup code.  ***/

  /*** Processor Expert end of main routine.
DON'T MODIFY THIS CODE!!! ***/

  for(;;){}

  /*** Processor Expert end of main routine.
DON'T WRITE CODE BELOW!!! ***/

} /*** End of main routine. DO NOT MODIFY
THIS TEXT!!! ***/

 

/* END main */

/*!

** @}

*/

 

Thanks,

Eric

Outcomes