Coder Social home page Coder Social logo

homebrew-mspgcc's Introduction

homebrew-mspgcc

These are Homebrew formulae for mspgcc, the compiler toolchain for the MSP430 microcontroller. The repository includes binutils, gcc, libc, and the mcu files.

To get everything, type:

$ brew tap sampsyo/mspgcc
$ brew install msp430-libc

Since libc is the top of the dependency chain, this should suffice to get everything you need.

$ msp430-gcc --version
msp430-gcc (GCC) 4.6.3 20120301 (mspgcc LTS 20120406 unpatched)
...

These formulae are quick n' dirty and undoubtedly need some improvement (missing dependencies, brittle workarounds, etc.). I also haven't (yet) included gdb or mspdebug.

One manual step is required to get a working system. Annoyingly, since the --prefix= compile option for each of these packages is different, each of the various tools can't find required files installed by other packages. To consolidate the various lib pieces under a common directory, run:

$ ./addlinks.sh

This script symlinks everything from all the packages into msp430 under the msp430-gcc keg. This means your root for the MSP430 toolchain is something like /usr/local/opt/msp430-gcc/msp430 (which would be /usr/local/msp430 on a "normal" installation).

homebrew-mspgcc's People

Contributors

sampsyo avatar wbennett avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.