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.

MSP430F5xxxx DriverLib V2.20.00.06 Problems

It looks like the file ‘msp430f5xx_6xxgeneric.h’ is part of the TI CSS tools, so it seems that DriverLib is not compatible with IAR ,can this be confirmed please.

  • Hi Paul,

    I am moving your post to the MSP forum, in hopes they can provide better support for your driverlib questions.
  • In version 1.97.00.19, the file was included with Driverlib, in a folder "deprecated", and indeed this works with IAR 5.50.1

    // from hw_memmap.h for F5xx/F6xx
    
    #if defined(__IAR_SYSTEMS_ICC__)
    #include "../deprecated/IAR/msp430f5xx_6xxgeneric.h"
    #elif defined(__TI_COMPILER_VERSION__)
    #include "../deprecated/CCS/msp430f5xx_6xxgeneric.h"
    #elif defined(__GNUC__)
    #include "msp430f5xx_6xxgeneric.h"
    #else
    #include "msp430f5xx_6xxgeneric.h"
    #endif
    
    

    In version 2.21.00.08 the ifdef clauses are gone and the deprecated is also gone.

    So it looks like you are correct in the sense that older versions of IAR aren't supported any longer. I can't personallt tell you about newer IAR versions.

    Would be good to hear TI's input on this and why they don't make clear minimum tool versions that a particular release is compatible with.

  • Since this has a BSD license on it, here is the IAR version from Driverlib 1.97.00.19. I make no representation that this will work unchanged for your 2.xx version of Driverlib.

    msp430f5xx_6xxgeneric.h

  • Hi Paul,
    CCS and IAR have been including the latest msp430f5xx_6xxgeneric.h as part of their tools support package for a long time now. We have been packaging this file as part of driverlib in older versions of driverlib. In the recent releases we have decided to rely on the latest msp430f5xx_6xxgeneric.h packaged with the tools IDE just like we rely on the device header files.
    We have been supporting driverlib on IAR for a long time now and have not broken compatibility.

    We always mention the tool dependencies in our product release notes. Let me point you to the exact section of our latest release notes.
    software-dl.ti.com/.../release_notes.html

    Hope that helps.

    Thanks,
    Kasthuri
  • >and have not broken compatibility.

    You *have* broken compatibility for IAR versions < 6.30

    There are still a lot of people on 5.50.x
  • In addition, the release notes make no mention of the removal of the "../deprecated/IAR/" directory contents. Version 2.00 talks about removal of deprecated APIs ( and lists them if you click the link) but no mention of migration path for older versions of IAR like you do for GRACE.
  • Hi Paul/Brian,
    Please use the official tool IAR 6.30 dependency mentioned in the release notes. I just checked with the tools/header files team. The generic file is not packaged with old versions of IAR. Sorry for the inconvenience.
    Thanks,Kasthuri
  • That's fine if you have IAR 6.30 or newer. If you're stuck on 5.50 then you're stuck without the file.

**Attention** This is a public forum