Creating a SYS/BIOS project in CCSv4

From Texas Instruments Wiki
Jump to: navigation, search



Sysbios image.png
Follow these steps to use Code Composer Studio (CCS) to create an application that can use SYS/BIOS. CCS v4.2.3 was used for the screen captures in this procedure, but the procedure is quite similar in CCS v4.x through CCS v5.0.
  1. Open CCS and choose File > New > CCS Project from the menu bar.
  2. In the New CCS Project dialog, type a Project Name. For example, to begin creating a project using "hello world" example code provided with SYS/BIOS, you can type "hello". It is recommended that you use the default project location so that CCS can find your projects easily. Then, click Next.
    Ch2 newproj.png
  3. Select your platform type in the Project Type field. For example, you might select "C6000". Then, click Next.
  4. Click Next on the "Additional Project Settings" page. (You may want to use referenced projects later, if you decide to create multiple SYS/BIOS projects that share a common configuration file.)
  5. In the Device Variant row of the "Project Settings" page, select a filter in the first field. This shortens the list of device variants in the second field. Then, select the actual device you are using. For example, you might select "Generic devices" in the filter field and "Generic C64x+ Device" in the second field. Depending on your device, you might also need to adjust the Device Endianness and Runtime Support Library settings.
    Ch2 projsettings.png
  6. Click Next.
    Important: Don't click Finish at this point if you want to create a project that can use SYS/BIOS.
  7. On the "Project Templates" page, expand the list of SYS/BIOS templates and choose one. A description of the selected template is shown in the dialog.
    Sysbios templates v4.png
    To get started with SYS/BIOS, you can choose one of the Generic Examples, such as the Log Example or Task Mutex Example. To create your own application project, you might choose the Minimal or Typical example depending on how memory-limited your target is. (If you have other software that uses SYS/BIOS and XDCtools, such as IPC, you can choose a template for that component.)
  8. Click Next.
  9. On the "RTSC Configuration Settings" page, make sure the versions of XDCtools, SYS/BIOS, and any other components you want to use are selected. By default, the most recent versions are selected.
    Ch2 rtsc.png
  10. The Target setting is based on device settings you made on earlier pages, and should not need to be changed.
  11. Click the drop-down arrow next to the Platform field. CCS scans the available packages for available platforms. Click on the list and choose the platform you want to use.
  12. The Build-profile field determines which libraries the application will link with. We recommend that you use the "release" setting even when you are creating and debugging an application. (In SYS/BIOS versions prior to 6.32, the recommended Build-profile was "whole_program".
  13. Click Finish to create a new project and add it to the C/C++ Projects list.