Jump to content
43oh

Using msp430-gcc as an asm compiler


Recommended Posts

I spent some time and figured out how to make msp430-gcc compile and link the msp430g2xx3_ta_01.asm sample

program from the msp430g2553 samples zip http://www.ti.com/litv/zip/slac485a. I had to modify the labels

(added ':'s at the end ), changed some of the directives, and then passed a boatload of arguments to gcc. You can

find the gory details in this gist:

 

https://gist.github.com/1297504

 

You need the latest uniarch msp430gcc with the latest patches for this to work properly and latest mspdebug.

 

To build and install just type in the directory where the source is:

 

$ make clean all install

 

-rick

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...