[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Error messages with gcc-msp430 (4.5.3~mspgcc-20110716-4)
From: |
Robert Heller |
Subject: |
Error messages with gcc-msp430 (4.5.3~mspgcc-20110716-4) |
Date: |
Sun, 25 Aug 2013 15:39:59 -0500 |
Is there some missing command line options needed for this:
sep3.c:601:13: error: expected â=â, â,â, â;â, âasmâ or
â__attribute__â before âvoidâ
sep3.c:609:13: error: expected â=â, â,â, â;â, âasmâ or
â__attribute__â before âvoidâ
sep3.c:655:13: error: expected â=â, â,â, â;â, âasmâ or
â__attribute__â before âvoidâ
Lines 601, 609, and 655 look line this:
//lpm4 wakeup.
// Low power mode 4 wakeup
#pragma vector=PORT2_VECTOR
__interrupt void makeItGo() /* LINE=601 */
{
_BIC_SR_IRQ(LPM4_bits);
CLEAR_INTERRUPT;
}
// UART Receive interrupt.
#pragma vector=UART0RX_VECTOR
__interrupt void uartInterrupt (void) /* LINE=609 */
{
byteReceived++;
// Watchdog Timer interrupt service routine
// This function runs once every second, as long as the patch is
// not asleep.
#pragma vector=WDT_VECTOR
__interrupt void watchdog_timer(void) /* LINE=655 */
{
P1DIR ^= BIT0; //turns LED on testing board on and off.
--
Robert Heller -- 978-544-6933 / heller@deepsoft.com
Deepwoods Software -- http://www.deepsoft.com/
() ascii ribbon campaign -- against html e-mail
/\ www.asciiribbon.org -- against proprietary attachments
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Error messages with gcc-msp430 (4.5.3~mspgcc-20110716-4),
Robert Heller <=