Menu

#59 msp430-libc: msp430x47xx bug fixes

closed-fixed
libc (18)
5
2011-08-01
2011-03-24
Ionut Nicu
No

These set of patches fix the following problems:

* Enable support for the DMA module on msp430x47xx chips
* Fix the SD16IV_BASE and SD16MEM_BASE definitions for msp430x471x chips
* Fix the DMA1DA sfr definition (all chip families)

Discussion

  • Ionut Nicu

    Ionut Nicu - 2011-03-24
     
  • Peter A. Bigot

    Peter A. Bigot - 2011-03-25

    I can merge these into the repository, but I don't plan to continue to maintain/release the legacy headers. Is there some reason why the TI headers don't work for you?

     
  • Peter A. Bigot

    Peter A. Bigot - 2011-03-25
    • status: open --> closed-fixed
     
  • Peter A. Bigot

    Peter A. Bigot - 2011-03-25

    Merged into next branch; will appear in any subsequent release. (Thanks for providing these in git am-compatible format.)

     
  • Ionut Nicu

    Ionut Nicu - 2011-03-25
    • status: closed-fixed --> open-fixed
     
  • Ionut Nicu

    Ionut Nicu - 2011-03-25

    I'm using the legacy headers because I compiled msp430-libc from the master branch.
    I know there's a ti branch in the git repository containing the TI headers. Do you have any hint on the proper method to start using those? Will they replace the legacy headers in the next msp430-libc release?

     
  • Peter A. Bigot

    Peter A. Bigot - 2011-03-25

    The ti branch has only the upstream files as released by TI. The pab/ti_headers branch is the equivalent of "master" for the TI-based msp430-libc.

    Sorry it's kinda a mess; mspgcc4 is in last stage of support now that uniarch is starting to be available. The msp430-libc that comes with it does not have either set of mcu-specific headers, as they're now in the msp430mcu repository. See https://sourceforge.net/apps/mediawiki/mspgcc/index.php?title=Devel:UniarchGit for how to start playing with that.

     
  • Peter A. Bigot

    Peter A. Bigot - 2011-08-01

    Fixes are probably in the msp430-libc repository on the mspgcc4/master branch as below. No further releases of non-TI msp430-libc will be made.

    commit 55081368c075eb4a22d9af33e33172472291f892
    Author: Peter A. Bigot <pab@peoplepowerco.com>
    Date: Sun Jan 30 12:27:53 2011 -0600

    SF 3114711.4 Correct linkage for global register/function declarations

    commit 383b4acf203670013b19430cf0cff1c67b061a75
    Author: Peter A. Bigot <pabigot@users.sourceforge.net>
    Date: Sun Jan 30 09:46:15 2011 -0600

    SF 3114711.2: Defined clang-specific _BI[CS]_SR_IRQ macros

     
  • Peter A. Bigot

    Peter A. Bigot - 2011-08-01
    • status: open-fixed --> closed-fixed
     
  • Peter A. Bigot

    Peter A. Bigot - 2011-08-01

    Fixes now on mspgcc4/next branch in mspgcc repository for msp430-libc.

    commit b6d02dcd85ed14e00b838dd8f63178db6ef25bb3
    Author: Ionut Nicu <ionut.nicu@mindbit.ro>
    Date: Tue Mar 15 12:03:24 2011 +0200

    dma: fix DMA1DA sfr definition

    Signed-off-by: Ionut Nicu <ionut.nicu@mindbit.ro>

    commit d20c92bf692c0603980198c1ffd24e7438c06dd6
    Author: Ionut Nicu <ionut.nicu@mindbit.ro>
    Date: Fri Mar 11 18:36:52 2011 +0200

    msp430x47xx: fix SD16 IV and MEM_BASE

    The SD16 IV and MEM_BASE addresses were incorrectly set
    for the MSP430471x3 chip series.

    Signed-off-by: Ionut Nicu <ionut.nicu@mindbit.ro>

    commit e75a2eee78f85c6d57dfe08287cbaae506ed2c46
    Author: Ionut Nicu <ionut.nicu@mindbit.ro>
    Date: Fri Mar 11 18:22:22 2011 +0200

    msp430x47xx: fix support for the DMA module

    Include the dma.h header and provide the proper
    defines, so that the DMA module is supported on
    this chip series.

    Signed-off-by: Ionut Nicu <ionut.nicu@mindbit.ro>