Lab 3
Add MSP430ware DriverLib
Hopefully you answered the last question by saying that we need to add the DriverLib library to
our project. The question marks told us that CCS couldn’t find the header file.
Adding the DriverLib library is a two-step process:
• Import a copy of the library
• Include the location in the CCS build search path
7. Import MSP430ware DriverLib library to your project.
File → Import... → General → File System
Then select the version and path of MSP430ware you are using. Note: Your path may be
different than what is shown below. (See Worksheet question #1.)
After clicking Finish, you should notice the library folder was added to your project:
driverlib/MSP430F5xx_6xx (or driverlib/MSP430FR5xx_6xx)
Note: The version of MSP430ware you have may vary slightly from what is shown above. If
the version is lower (i.e. older), you should update it. If it is later, hopefully it will work
without any problems.
You will need to expand
‘driverlib’ so that you can
choose the driverlib folder
for your architecture.
Don’t forget to select your
project folder.
Select ‘Create top-level
folder’
3 - 24 MSP430 Workshop - Using GPIO with MSP430ware