You're not using mspgcc, you're using msp430-elf which is the upstream
version.  It uses different functions; I don't remember offhand how
they spelled the names, but they'll be in a header somewhere.  Should
also be compatible with  any Code Composer Studio instructions you
come across.

Peter

On Wed, Aug 13, 2014 at 12:58 PM, Christopher Toledo
<uberscient...@gmail.com> wrote:
> I created a gist outlining my problem here:
> https://gist.github.com/uberscientist/baa627f9779d2d08ca87
>
> I'll summarize:
> I create an ISR, attempt to use __bic_SR_register_on_exit inside it and I
> get an error saying:
> "error: MSP430 builtin functions only work inside interrupt handlers"
>
> How do you manipulate the SR from ISRs? Thanks!
>
> ------------------------------------------------------------------------------
>
> _______________________________________________
> Mspgcc-users mailing list
> Mspgcc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/mspgcc-users
>

------------------------------------------------------------------------------
_______________________________________________
Mspgcc-users mailing list
Mspgcc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mspgcc-users

Reply via email to