This vcode below gice the following error
Blink1_EB.ino: In function 'void loop()': Blink1_EB.ino:32:8: error: 'val' cannot appear in a constant-expression Blink1_EB.ino:32:2: error: case label '<expression error>' not within a switch statement Blink1_EB.ino:32:13: error: expected ':' before '{' token Blink1_EB.ino:34:4: error: case label '1' not within a switch statement Blink1_EB.ino:41:4: error: break statement not within loop or switch Blink1_EB.ino:43:2: error: case label '0' not within a switch statement Blink1_EB.ino:50:2: error: break statement not within loop or switch
Hi
I am getting a similar error as reported by Lamckh above .
Here is what is being reported
c:/program files/energia/energia-0101e0011/hardware/tools/msp430/bin/../lib/gcc/msp430/4.6.3/../../../../msp430/bin/ld.exe: cannot open linker script file memory.x: No such file or directory collect2: ld returned 1 exit status
I would appreciate help with this .
Setup :
Portable PC
Windows XP
Launchpad MSP-EXP430G2 Rev 1.5 Board
Program : Eamples/Basic Blink
Compiler : Energia
Board : Launchpad w/ MSP430g2553
Serial Port : Port 3
Processor Fitted to Board : M430G2553
I downloaded the Energia compiler today and tried to run it for the first time with the setup above .
Compilation ok until I got the following linker error
c:/program files/energia/energia-0101e0011/hardware/tools/msp430/bin/../lib/gcc/msp430/4.6.3/../../../../msp430/bin/ld.exe: cannot open linker script file memory.x: No such file or directory collect2: ld retu