Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagecpp
titleExample Task including UART initialization
/*****************************************************************************/
/*! Toolkit initialization function
*   \param argc
*   \param argv                                                              */
/*****************************************************************************/
void ToolkitSampleTask(void* pvParam)
{
  TLR_HANDLE hReadyLed   = NULL;
  TLR_HANDLE hRunLed     = NULL;
  int32_t    lTkRet      = CIFX_NO_ERROR;
  RX_HANDLE  hSerDPM     = NULL;

  /* Signal task initialized */
  rX_SysSetTaskInitialized(NULL);    
  
  /* Redirect printf output to uart */
  UartStdIOHookInit("REALUART", "UART");

  .......
}

 The  

The complete example can be downloaded here:

Panel
titleDownloads

Attachments
uploadfalse
oldfalse
sortByname