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.

Compiling CC2538 Foundation Firmware (swrc271a) with CCSv6

Other Parts Discussed in Thread: CC2538

I downloaded the CC2538 Foundation Firmware at http://www.ti.com/tool/cc2538-sw 

**** Build Finished ****
Buildfile generation error occurred..
This project was created for a device not currently supported: Cortex M.CC2538.
1. Check for updates and visit the CCS App Center to get the latest device support.
2. Check if you have installed support for the corresponding MCU/processor platform.
3. Migrate the project to closest matching supported device by adjusting project properties.
4. Contact TI for support if using experimental silicon.
Build stopped..

I searched the App Center but no luck of finding the CC2538 or anything related.

I was wondering how I can proceed with using the project with CCSv6?

Thanks.

  • Hi,
    as indicated in www.ti.com/.../swru327.pdf, foundation firmware has been tested with CCS release 5.2.0.
    Please make sure to use that CCS release.
    Thanks,
    TheDarkSide
  • The project files were made for an older version of CCS, and it seems like the newer versions don't convert the project files properly.

    To fix the project, open the project properties (Alt+Enter is the default shortcut for this). In the device selection drop-down, select CC2538F53. And that's it. You should now be able to build the project. 

  • M said:

    The project files were made for an older version of CCS, and it seems like the newer versions don't convert the project files properly.

    To fix the project, open the project properties (Alt+Enter is the default shortcut for this). In the device selection drop-down, select CC2538F53. And that's it. You should now be able to build the project. 

    Thanks for the helpful hints.

    I am using CCSv6.1.0 and it seems I couldn't see the CC2538F53 is in the Device list. Instead, I tried the "Custom ARM Device" option and it works! The target driverlib.lib was successfully compiled.

    However, I think adding the Cortex-M3 based CCxxxx chips in the CCSv6.10 will be very helpful.

  • You will need to install CCS including the Wireless MCUs (it's part of the selection dialog you get during the installation). So please run the CCS installer again to add the CCxxxx devices.
  • Thank you.

    I was also wondering if there are any document indicating how to set the project to be compiled with the GNU Compiler?

  • Not exactly, but we have this document: www.ti.com/.../swra443 "Using GCC/GDB With CC2538".