This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

CCS/BQ76PL455EVM: What include and source files I have to use in "pl455.c" (from bq76PL455A-Q1 Example Code 1.0) file, when I have to use "TMS570LS0432_FreeRTOS" project. (Build in problem)

Part Number: BQ76PL455EVM
Other Parts Discussed in Thread: HALCOGEN, TMS570LS0432, BQ76PL455A-Q1,

Tool/software: Code Composer Studio

Hello,

I am shifting from interrupt base to FreeRTOS base project for TMS570LS0432 Hercules microcontroller. The project has been developed through Halcogen (TMS570LS0432_FreeRTOS) and CCS platform. 

However, to communicate with BQ76PL455EVM, I need to make some changes in "pl455.c" (from bq76PL455A-Q1 Example Code 1.0) to build free error as it was developed for RTI base project. 

Please help me, what files I need to add or any changes required to develop this FreeRTOS project.

Errors in bellow these lines from "pl455.c" file.

#include "rti.h"
#include "reg_rti.h"

#include "datatypes.h"

 

  • Hello,

    The PL455.c doesn't use the rti function. Please comment out this line:

    //#include "rti.h"

    //#include "reg_rti.h"

  • Hi Wang,

    Thank you for your Response.

    As you suggested, I comment out "rti.h" and "reg_rti.h" lines.

    However, there are so many rti functions are called inside the pl455.c file and errors are generated due to this. (Screenshot attached)

    If I can to replace them with any of Free_RTOS files, let me know.

      

    Similarly, a "datatypes.h" file is also missing in TMS570LS0432_Free_RTOS project (both in pl455.c and pl455.h files showing error).

    So, do I need to comment it out or have to add a "datatypes.h" file into TMS570LS0432_FreeRTOS project (or replace with other)?

    Regards

    Jyotirmaya

  • Hello, 

    there is no simple answer for you. 
    The initial design functionality is based on rti. 
    You need to analyze this functionality, exclude fro your design whatever you do not need and migrate to FREE RTOS everything you need. 
    Your migration cannot be done by simple include and exclude operations, probably.

  • Thanks, Tomasz.

    I understand that there is no direct way to resolve my issue.

    I will rearrange the pl455.c and pl455.h files as for my FreeRTOS design requirements. 

    Regards,

    Jyotirmaya