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/PROCESSOR-SDK-AM65X: Building example code

Part Number: PROCESSOR-SDK-AM65X

Tool/software: Code Composer Studio

Hello,

I have two questions for you...

  1. I am wondering if it is possible to build a specified example code (e.x. csl_dmTimer_baremetal_test_app)? Because building the whole code under packages/ti/csl/ takes about more than ten minutes which is too long for me...
  2. I cannot see any message printed by UART_printStatus() or UART_printf() in CCS console. Could someone provide any comments?

  • Hi Hungwei,

    #1: It's possible to build only the CSL application examples instead of the entire CSL library + examples. PDK build help can be obtained as follows:

    > cd <PDK>\packages
    > pdksetupenv
    > gmake help

    To build only the CSL examples for R5F:

    > gmake csl_apps LIMIT_SOCS="am65xx" LIMIT_BOARDS="am65xx_evm" LIMIT_CORES="mcu1_0 mcu1_1"

    I'm unaware of a method to only build a specific CSL example without modifying make files. To build only specific CSL example(s), modify csl_EXAMPLE_LIST in <PDK>\packages\ti\csl\csl_component.mk. For example to build only the DM Timer example, add this to the end of the file:

    csl_EXAMPLE_LIST = csl_dmTimer_baremetal_test_app

    #2: The output from the UART functions is directed to a UART output, not the CCS console. Please see documentation here:

    http://software-dl.ti.com/processor-sdk-rtos/esd/docs/06_01_00_08/rtos/index_how_to_guides.html#uart-connection

    For R5F, the 2nd (MCU UART) output should be selected for the serial console (e.g. TeraTerm).

    Regards,
    Frank