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.

Getting driverlib into an existing project...

Other Parts Discussed in Thread: MSP430FR5969

Hi,

I'm getting back into CCS after a few years - I have some existing projects that I have got going in the latest version of CCS (6.2.0..00050)

Driverlib is installed in the c:\ti\.... tree

How do I get driverlib back into my existing project? The MSPware users' guide (2_80_00_01.pdf) demonstrates a method using templates from a V5 compiler, not the V6 one.

I'm running W10 Pro on an i7, targeting an MSP430FR5969 launchpad. Fully licensed TI compiler .

Bit stuck at the moment - there is no driverlib.a that I can see, and it seems the instructions in the manual are not helpful...

Thanks

  • Hi Nick,

    Here are the steps I typically take to import DriverLib into an existing project:

    1. Copy the driverlib folder directly into the project root folder
    2. Inside Project Properties, under CCS Build -> MSP430 Compiler -> Include Options add "${PROJECT_ROOT}/driverlib/MSP430FR5xx_6xx"

    Hopefully this helps, let me know if you encounter any difficulties.

    Regards,
    Ryan
  • Thanks Ryan - I had just done this by creating an "emptyProject" with driverlib and looking at how CCS had set it up, then cloning the driverlib directory and the include paths into both Debug & Release configurations of my original project.

    It'd be nice f the driverlib docs , specifically MSP430FR5xx_6xx_DriverLib_Users_Guide-2_80_00_01 and similar, chapters 3 & 4, were updated to reflect the change in practice (and the V6.x CCS version).

    Cheers

**Attention** This is a public forum