Steve wrote:
Clue: Is there a UART0 module in your MSP430? :-)
A few months ago the isr_compat.h file didn't work with IAR. Now it
works with recent versions of IAR, Quadravox, CCE, and GCC. I don't know
about Rowley. I don't have older versions of IAR to try it with.
Regards,
Steve
Yes I have got a UART in my mxp320x1611.
Yea, I've solved the problem,
I've forgotten to include the signal.h .
Would'nt it be nice, the
#include "signal.h"
to put on the right places in isr_compat.h?
For such fools as me.
Thanks,
Steffen
Steffen Netz wrote:
>Hallo,
>
>am I silly, or what.
>I've tried isr_compat.h months ago for ISR and it did'nt work.
>Now I have downloaded the latest CVS, and IAR works but
>gcc not!!
>
>// Run //
>cat isr.c
>...
>extern data_t AdcBuffer_z;
>extern void I2C_int(void);
>
>ISR(UART0RX,usart0_rx) //UART0RX INTERRUPT HANDLER GCC
>{
>...
>
>mgcc isr.c
>isr.c:28: syntax error before numeric constant
>isr.c:56: syntax error before numeric constant
>isr.c:73: syntax error before numeric constant
>
>mgcc -E isr.c | more
>
>extern data_t AdcBuffer_z;
>extern void I2C_int(void);
>
>interrupt(18) usart0_rx(void)
>
>// End ///
>
>What is wrong with this?
>
>regards,
>Steffen
>
>
>
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
Mspgcc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mspgcc-users
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: binary
Hi Steffen,
Clue: Is there a UART0 module in your MSP430? :-)
A few months ago the isr_compat.h file didn't work with IAR. Now it
works with recent versions of IAR, Quadravox, CCE, and GCC. I don't know
about Rowley. I don't have older versions of IAR to try it with.
Regards,
Steve
Steffen Netz wrote:
>Hallo,
>
>am I silly, or what.
>I've tried isr_compat.h months ago for ISR and it did'nt work.
>Now I have downloaded the latest CVS, and IAR works but
>gcc not!!
>
>// Run //
>cat isr.c
>...
>extern data_t AdcBuffer_z;
>extern void I2C_int(void);
>
>ISR(UART0RX,usart0_rx) //UART0RX INTERRUPT HANDLER GCC
>{
>...
>
>mgcc isr.c
>isr.c:28: syntax error before numeric constant
>isr.c:56: syntax error before numeric constant
>isr.c:73: syntax error before numeric constant
>
>mgcc -E isr.c | more
>
>extern data_t AdcBuffer_z;
>extern void I2C_int(void);
>
>interrupt(18) usart0_rx(void)
>
>// End ///
>
>What is wrong with this?
>
>regards,
>Steffen
>
>
>
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
Mspgcc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mspgcc-users
--
--------------------------------------------------------------------
| Fraunhofer Institut Photonische Microsysteme |
| |
| Fraunhofer Institute for Photonic Microsystems ( Germany ) |
| |
| Steffen Netz | phone : ( +49 ) (0)351/8823-212 |
| Maria-Reiche-Str. 2 | fax : ( +49 ) (0)351/8823-266 |
| 01109 Dresden | email : [email protected] |
--------------------------------------------------------------------