Hi Everyone!
I am trying to use the AIR430 Booster pack, MSP430G2452 uC and programming it with Energia 0101E0012 on a Mac. If I simply try to compile the examples given in energia (for example, WirelessMonitorSensor), I get a compile error as follows:
/Applications/Energia.app/Contents/Resources/Java/hardware/msp430/libraries/AIR430BoostUSAFCC/utility/Platform.cpp: In function 'void A110x2500SpiRead(unsigned char, unsigned char*, unsigned char)':
/Applications/Energia.app/Contents/Resources/Java/hardware/msp430/libraries/AIR430BoostUSAFCC/utility/Platform.cpp:84:28: error: 'SPIMISO_SET_MODE' was not declared in this scope
/Applications/Energia.app/Contents/Resources/Java/hardware/msp430/libraries/AIR430BoostUSAFCC/utility/Platform.cpp: In function 'void A110x2500SpiWrite(unsigned char, const unsigned char*, unsigned char)':
/Applications/Energia.app/Contents/Resources/Java/hardware/msp430/libraries/AIR430BoostUSAFCC/utility/Platform.cpp:114:28: error: 'SPIMISO_SET_MODE' was not declared in this scope
If I write my own program that just loads the AIR430BoosFCC.h and SPI.h headers (using the Sketch/Import Library.../AIRBoostUSAFCC), I get a different error:
In file included from /Applications/Energia.app/Contents/Resources/Java/hardware/msp430/libraries/AIR430BoostUSAFCC/AIR430BoostFCC.h:29:0,
from test.ino:1:
/Applications/Energia.app/Contents/Resources/Java/hardware/msp430/libraries/AIR430BoostUSAFCC/utility/A110x2500Radio.h:109:10: error: 'boolean' does not name a type
The code to generate this error is: