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/CC2650MODA: RTOS/SimpleAP/FreeRTOS - Need help getting all the pieces installed...

Part Number: CC2650MODA


Tool/software: Code Composer Studio

I'm trying to get my Launchpad with the BLE-MODA board up and running with FreeRTOS (the rest of the crew hasn't used TI-RTOS before)... but I'm not getting very far:

I tried to import the file from C:\ti\simplelink_sdk_ble_plugin_3_20_00_24\examples\rtos\MSP_EXP432P401R\bluetooth\simple_application_processor, but it had an error during the import... but it still put it into the Project Explorer.

I downloaded FreeRTOS and put it into C:\ti\FreeRTOS, and set the environment variable under preferences.

It still wouldn't compile... it was complaining that a lot of files were missing.

I manually copied the c:\ti\FreeRTOS files over to the project... but there seems to be a lot of mismatches/different bits... and when I compile, it complains:

Building file: "../posix/freertos/package/build.cfg"
Invoking: XDCtools
"C:/ti/ccs920/xdctools_3_60_01_27_core/xs" --xdcpath="C:/ti/simplelink_msp432p4_sdk_3_30_00_13/source;C:/ti/simplelink_msp432p4_sdk_3_30_00_13/kernel/tirtos/packages;C:/ti/simplelink_sdk_ble_plugin_3_20_00_24/source;C:/ti/tirtos_msp43x_2_20_00_06/packages;C:/ti/tirtos_msp43x_2_20_00_06/products/bios_6_46_00_23/packages;C:/ti/tirtos_msp43x_2_20_00_06/products/tidrivers_msp43x_2_20_00_08/packages;C:/ti/tirtos_msp43x_2_20_00_06/products/uia_2_00_06_52/packages;" xdc.tools.configuro -o configPkg -t ti.targets.arm.elf.M4F -r debug -c "C:/ti/ccs920/ccs/tools/compiler/ti-cgt-arm_18.12.4.LTS" "../posix/freertos/package/build.cfg"
making package.mak (because of package.bld) ...
generating interfaces for package configPkg (because package/package.xdc.inc is older than package.xdc) ...
configuring build.xem4f from package/cfg/build_pem4f.cfg ...
posix/freertos/package/subdir_rules.mk:12: recipe for target 'build-1043301905-inproc' failed
js: "./package/cfg/build_pem4f.cfg", line 145: xdc.services.global.XDCException: xdc.PACKAGE_NOT_FOUND: can't locate the package 'ti.platforms.tiva' along the path: 'C:/ti/simplelink_msp432p4_sdk_3_30_00_13/source;C:/ti/simplelink_msp432p4_sdk_3_30_00_13/kernel/tirtos/packages;C:/ti/simplelink_sdk_ble_plugin_3_20_00_24/source;C:/ti/tirtos_msp43x_2_20_00_06/packages;C:/ti/tirtos_msp43x_2_20_00_06/products/bios_6_46_00_23/packages;C:/ti/tirtos_msp43x_2_20_00_06/products/tidrivers_msp43x_2_20_00_08/packages;C:/ti/tirtos_msp43x_2_20_00_06/products/uia_2_00_06_52/packages;C:/ti/ccs920/xdctools_3_60_01_27_core/packages;..;'. Ensure that the package path is set correctly.

What version of FreeRTOS should I be using and how do I properly install it into CCS?
Is the ti.platforms.tiva package a separate thing that I need to download and install (and how)?

  • Hi Thor, 

    Apologies for the delay. 

    Have you been able to resolve your issue?

    Thanks,
    Elin

  • Well... I've moved on?

    I could not get the CCS_FreeRTOS project to load properly, but I was able to get clear the workspace and get the GCC_FreeRTOS project to load, so I'm using that for now.  It looks like CCS has plugins for monitoring stack sizes and task configuration that don't work with GCC, but... at least the GCC branch compiles.

    So I'd like to know how to import the C:\ti\simplelink_sdk_ble_plugin_3_20_00_24\examples\rtos\MSP_EXP432P401R\bluetooth\simple_application_processor\freertos\ccs branch properly and how to use CCS to check out stack sizes and configure the tasks.

    But... if it "just doesn't work," I'm no longer in "it's on fire and I need help" status.

  • Hi Thor, 

    Thanks for letting me know. 

    From the top of your original post, it isn't really clear if you are getting an error that's related to CCS or FreeRTOS when you are importing it. What did the error message say? 

    Looking at the build log you shared, it looks like CCS isn't finding some of the files. Make sure that all the files are at the correct location before building the project. 

    Thanks, 
    Elin