Actions

EmSys

Difference between revisions of "Atomthread On TivaC CCS Project Template"

From EdWiki

m
m (atomthread template Project)
 
(13 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
► [[EmSys:Using GCC with Tiva TM4C123G LaunchPad in CCSv6 | Install Code Composer Studio]]<br />
+
== atomthread template Project ==
 +
► [[EmSys:Install Code Composer Studio v6 Ubuntu | Install Code Composer Studio]]<br />
 
► [[EmSys:Install TivaWare for C Series Ubuntu | Install TivaWare for C Series]]<br />
 
► [[EmSys:Install TivaWare for C Series Ubuntu | Install TivaWare for C Series]]<br />
 
► Launch Code Composer Studio with new workspce.<br />
 
► Launch Code Composer Studio with new workspce.<br />
 
► Instead of creating a new project, we will Import a pre-configured project from the file system.<br />
 
► Instead of creating a new project, we will Import a pre-configured project from the file system.<br />
 
► Download [{{SERVER}}/emsys/rtos/atomthread/atomthreads_on_tivac_template.zip atomthreads Template Project].<br />
 
► Download [{{SERVER}}/emsys/rtos/atomthread/atomthreads_on_tivac_template.zip atomthreads Template Project].<br />
 
 
► To import an existing project into the CCS IDE workspace, select '''File > Import''' from the CCS main menu.<br />
 
► To import an existing project into the CCS IDE workspace, select '''File > Import''' from the CCS main menu.<br />
 
► In the Next screen, Select '''Code Composer Studio > CCS Projects'''<br />
 
► In the Next screen, Select '''Code Composer Studio > CCS Projects'''<br />
► Click on the '''Next''' button.
 
  
 
[[image:ccs_import_archive_project.png|450px|center]]
 
[[image:ccs_import_archive_project.png|450px|center]]
  
► In the '''Import CCS Projects''' Dialog window, choose '''Select archive file:''', and Browse to freertos_ccs_gcc_tm4c123gxl_blinky.zip file.<br /> Click Finish.
+
► Click on the '''Next''' button. <br />
 +
► In the '''Import CCS Projects''' Dialog window, choose '''Select archive file:''', and Browse to '''atomthreads_on_tivac_template.zip''' file.<br />
 +
► Make sure '''Copy projects into workspace''' button is checked! <br />
  
[[image:ccs_import_projects_from_archive.png|450px|center]]
+
[[image:ccs_import_atomthread_project_from_archive.png|450px|center]]
  
 +
► Click on the '''Finish''' button.<br />
 +
[[image:atomthreads_on_tivac_blinky_folder.png|right]]
 +
► Rename the Project as ''atomthreads_on_tivac_blinky'' <br />
 
► Create CCS [[EmSys:Create a variable at workspace level | Build Variable]] called '''TIVAWARE_LOC''' which should link to the Tivaware folder<br />
 
► Create CCS [[EmSys:Create a variable at workspace level | Build Variable]] called '''TIVAWARE_LOC''' which should link to the Tivaware folder<br />
 
► [[EmSys:CCS Build your project and fix any errors | Build Project]]<br />
 
► [[EmSys:CCS Build your project and fix any errors | Build Project]]<br />
 +
►Launch Serial terminal emulator (minicom, gtkterm,etc) and configure for 115200,8,1,N<br />
 
► [[EmSys:CCS Debug Configuration | Configure for Debug]]<br />
 
► [[EmSys:CCS Debug Configuration | Configure for Debug]]<br />
 
► [[EmSys:CCS Build Load Run | Load/Debug/Run the Program]]
 
► [[EmSys:CCS Build Load Run | Load/Debug/Run the Program]]
  
 +
In the Serial terminal window, you should see "Hello, Atomthreads OS" string is displayed. RED Led should be blinking on the Tiva Board.
 +
 +
If you have reached this far, Congratulations!!
 +
 +
=== References ===
 +
# [[EmSys:Introduction to Atomthreads | Introduction to atomthreads]]
 +
# [[EmSys:Atomkernel.c File Reference | atomthreads kernel Reference]]
 +
# [[EmSys:Help Development Boards#Atomthreads | atomthreads Documentation]]
  
<!--
+
=== External Links ===
[[File:prev.gif|left|link=EmSys:Getting Started with FreeRTOS]]
+
# [https://github.com/kelvinlawson/atomthreads atomthreads on github]
[[File:next.gif|right|link=EmSys:FreeRTOS Exercise Lab01]]  
+
# [http://atomthreads.com/ atomthreads website]
[[File:home.gif|center|link={{SERVER}}/edwiki/Main_Page]]
+
-->
+

Latest revision as of 06:53, 5 November 2020

atomthread template Project

Install Code Composer Studio
Install TivaWare for C Series
► Launch Code Composer Studio with new workspce.
► Instead of creating a new project, we will Import a pre-configured project from the file system.
► Download atomthreads Template Project.
► To import an existing project into the CCS IDE workspace, select File > Import from the CCS main menu.
► In the Next screen, Select Code Composer Studio > CCS Projects

Ccs import archive project.png

► Click on the Next button.
► In the Import CCS Projects Dialog window, choose Select archive file:, and Browse to atomthreads_on_tivac_template.zip file.
► Make sure Copy projects into workspace button is checked!

Ccs import atomthread project from archive.png

► Click on the Finish button.

Atomthreads on tivac blinky folder.png

► Rename the Project as atomthreads_on_tivac_blinky
► Create CCS Build Variable called TIVAWARE_LOC which should link to the Tivaware folder
Build Project
►Launch Serial terminal emulator (minicom, gtkterm,etc) and configure for 115200,8,1,N
Configure for Debug
Load/Debug/Run the Program

In the Serial terminal window, you should see "Hello, Atomthreads OS" string is displayed. RED Led should be blinking on the Tiva Board.

If you have reached this far, Congratulations!!

References

  1. Introduction to atomthreads
  2. atomthreads kernel Reference
  3. atomthreads Documentation

External Links

  1. atomthreads on github
  2. atomthreads website