- Open Code Composer Studio
- Go to
File > Switch Workspace > Other...
and selectbiomed-a21/msp430
.
If projects do not appear in the Project Explorer
pane :
- Go to
File > Import...
, selectC/C++ > CCS Projects
, clickNext >
- Browse to select
biomed-a21/msp430
(the entire workspace) as the search-directory, the select all 3 projects (sender
,receiver
andshared
) to import them.
- Create it
- Go to
File > New > CCS Project
- In
Target
, on the right, selectMSP430F5529
- Give the project a name
- Make sure that the
Project type and tool-chain
isExecutable
- Click
Finish
- Go to
- Create the required folders
- Create a new folder named
src
where.c
files will be placed - Create a new folder named
include
where.h
files will be placed
- Create a new folder named
- Change the project's settings
- Select the new project on the
Project Explorer
pane - Go to
File > Properties
- Go to
Build
and navigate to theDependencies
tab on the right. ClickAdd...
and select theshared
project. - Go to
Build > MSP430 Compiler > Include Options
, double click on the${PROJECT_ROOT}
entry and modify it to add the/include
subfolder to the path. - On the same page, also add the
shared/include
folder. - Go to
Build > MSP430 Linker > File Search Path
. Click the add icon in theInclude library file o...
section, clickWorkspace
and selectshared > Debug > shared.lib
.⚠️ If the file does not exist, you will have to first build the project (to trigger theshared
project build). Make sure to Save the settings before. If import error occurs, you can ignore them for now.⚠️
- Apply changes and close
- Select the new project on the