Jump to content

Recommended Posts

These are the error messages I get when I try to compile Tic249 Stepper Motor Driver from Pololu https://www.pololu.com/docs/0J71
I asked help from Pololu there engineer saw the messages and asked me to get help from energia forum as it related to IDE issues. 

 

Please can you look through my error masseges and guide me how can i solve it. 

Energia: 1.8.11E23 (Windows 10), Board: "MSP-EXP430F5529LP" In file included from 😄\........\Energia\libraries\tic-arduino-master\examples\I2CMulti\I2CMulti.ino:18:0: 😄\........\Energia\libraries\tic-arduino-master/Tic.h:17:1: warning: scoped enums only available with -std=c++0x or -std=gnu++0x [enabled by default] 😄\........\Energia\libraries\tic-arduino-master/Tic.h:44:1: warning: scoped enums only available with -std=c++0x or -std=gnu++0x [enabled by default] 😄\........\Energia\libraries\tic-arduino-master/Tic.h:65:1: warning: scoped enums only available with -std=c++0x or -std=gnu++0x [enabled by default] 😄\........\Energia\libraries\tic-arduino-master/Tic.h:95:1: warning: scoped enums only available with -std=c++0x or -std=gnu++0x [enabled by default] 😄\........\Energia\libraries\tic-arduino-master/Tic.h:109:1: warning: scoped enums only available with -std=c++0x or -std=gnu++0x [enabled by default] 😄\........\Energia\libraries\tic-arduino-master/Tic.h:120:1: warning: scoped enums only available with -std=c++0x or -std=gnu++0x [enabled by default] 😄\........\Energia\libraries\tic-arduino-master/Tic.h:134:1: warning: scoped enums only available with -std=c++0x or -std=gnu++0x [enabled by default] 😄\........\Energia\libraries\tic-arduino-master/Tic.h:162:1: warning: scoped enums only available with -std=c++0x or -std=gnu++0x [enabled by default] 😄\........\libraries\tic-arduino-master/Tic.h:182:1: warning: scoped enums only available with -std=c++0x or -std=gnu++0x [enabled by default] 😄\........\Energia\libraries\tic-arduino-master/Tic.h:193:1: warning: scoped enums only available with -std=c++0x or -std=gnu++0x [enabled by default] 😄\........\Energia\libraries\tic-arduino-master/Tic.h:209:1: warning: scoped enums only available with -std=c++0x or -std=gnu++0x [enabled by default] 😄\........\Energia\libraries\tic-arduino-master/Tic.h:220:1: warning: scoped enums only available with -std=c++0x or -std=gnu++0x [enabled by default] 😄\........\Energia\libraries\tic-arduino-master/Tic.h:229:1: warning: scoped enums only available with -std=c++0x or -std=gnu++0x [enabled by default] 😄\........\Energia\libraries\tic-arduino-master/Tic.h:241:1: warning: scoped enums only available with -std=c++0x or -std=gnu++0x [enabled by default] 😄\........\Energia\libraries\tic-arduino-master/Tic.h:250:1: warning: scoped enums only available with -std=c++0x or -std=gnu++0x [enabled by default] 😄\........\Energia\libraries\tic-arduino-master/Tic.h:274:1: warning: scoped enums only available with -std=c++0x or -std=gnu++0x [enabled by default] 😄\........\Energia\libraries\tic-arduino-master/Tic.h:286:1: warning: scoped enums only available with -std=c++0x or -std=gnu++0x [enabled by default] 😄\........\Energia\libraries\tic-arduino-master/Tic.h:296:1: warning: scoped enums only available with -std=c++0x or -std=gnu++0x [enabled by default] 😄\........\Energia\libraries\tic-arduino-master/Tic.h:1281:24: error: ISO C++ forbids initialization of member '_lastError' [-fpermissive] 😄\........\Energia\libraries\tic-arduino-master/Tic.h:1281:24: error: making '_lastError' static [-fpermissive] 😄\........\Energia\libraries\tic-arduino-master/Tic.h:1281:24: error: ISO C++ forbids in-class initialization of non-const static member '_lastError' 😄\........\Energia\libraries\tic-arduino-master/Tic.h:1357:24: error: 'TicProduct' is not a class or namespace 😄\........\Energia\libraries\tic-arduino-master/Tic.h:1357:36: error: ISO C++ forbids initialization of member 'product' [-fpermissive] 😄\........\Energia\libraries\tic-arduino-master/Tic.h:1357:36: error: making 'product' static [-fpermissive] 😄\........\Energia\libraries\tic-arduino-master/Tic.h:1357:36: error: ISO C++ forbids in-class initialization of non-const static member 'product' 😄\........\Energia\libraries\tic-arduino-master/Tic.h: In member function 'void TicBase::setTargetPosition(int32_t)': 😄\........\Energia\libraries\tic-arduino-master/Tic.h:347:16: error: 'TicCommand' is not a class or namespace 😄\........\Energia\libraries\tic-arduino-master/Tic.h: In member function 'void TicBase::setTargetVelocity(int32_t)': 😄\........\Energia\libraries\tic-arduino-master/Tic.h:367:16: error: 'TicCommand' is not a class or namespace 😄\........\Energia\libraries\tic-arduino-master/Tic.h: In member function 'void TicBase::haltAndSetPosition(int32_t)': 😄\........\Energia\libraries\tic-arduino-master/Tic.h:388:16: error: 'TicCommand' is not a class or namespace 😄\........\Energia\libraries\tic-arduino-master/Tic.h: In member function 'void TicBase::haltAndHold()': 😄\........\Energia\libraries\tic-arduino-master/Tic.h:409:18: error: 'TicCommand' is not a class or namespace 😄\........\Energia\libraries\tic-arduino-master/Tic.h: In member function 'void TicBase::goHomeReverse()': 😄\........\Energia\libraries\tic-arduino-master/Tic.h:419:15: error: 'TicCommand' is not a class or namespace 😄\........\Energia\libraries\tic-arduino-master/Tic.h: In member function 'void TicBase::goHomeForward()': 😄\........\Energia\libraries\tic-arduino-master/Tic.h:429:15: error: 'TicCommand' is not a class or namespace 😄\........\Energia\libraries\tic-arduino-master/Tic.h: In member function 'void TicBase::resetCommandTimeout()': 😄\........\Energia\libraries\tic-arduino-master/Tic.h:442:18: error: 'TicCommand' is not a class or namespace 😄\........\Energia\libraries\tic-arduino-master/Tic.h: In member function 'void TicBase::deenergize()': 😄\........\Energia\libraries\tic-arduino-master/Tic.h:466:18: error: 'TicCommand' is not a class or namespace 😄\........\Energia\libraries\tic-arduino-master/Tic.h: In member function 'void TicBase::energize()': 😄\........\Energia\libraries\tic-arduino-master/Tic.h:481:18: error: 'TicCommand' is not a class or namespace 😄\........\Energia\libraries\tic-arduino-master/Tic.h: In member function 'void TicBase::exitSafeStart()': 😄\........\Energia\libraries\tic-arduino-master/Tic.h:496:18: error: 'TicCommand' is not a class or namespace 😄\........\Energia\libraries\tic-arduino-master/Tic.h: In member function 'void TicBase::enterSafeStart()': 😄\........\\Energia\libraries\tic-arduino-master/Tic.h:516:18: error: 'TicCommand' is not a class or namespace 😄\........\Energia\libraries\tic-arduino-master/Tic.h: In member function 'void TicBase::reset()': 😄\........\Energia\libraries\tic-arduino-master/Tic.h:530:18: error: 'TicCommand' is not a class or namespace 😄\........\Energia\libraries\tic-arduino-master/Tic.h: In member function 'void TicBase::clearDriverError()': 😄\........\Energia\libraries\tic-arduino-master/Tic.h:548:18: error: 'TicCommand' is not a class or namespace 😄\........\Energia\libraries\tic-arduino-master/Tic.h: In member function 'void TicBase::setMaxSpeed(uint32_t)': 😄\........\Energia\libraries\tic-arduino-master/Tic.h:564:16: error: 'TicCommand' is not a class or namespace 😄\........\Energia\libraries\tic-arduino-master/Tic.h: In member function 'void TicBase::setStartingSpeed(uint32_t)': 😄\........\Energia\libraries\tic-arduino-master/Tic.h:580:16: error: 'TicCommand' is not a class or namespace 😄\........\Energia\libraries\tic-arduino-master/Tic.h: In member function 'void TicBase::setMaxAccel(uint32_t)': 😄\........\Energia\libraries\tic-arduino-master/Tic.h:597:16: error: 'TicCommand' is not a class or namespace 😄\........\Energia\libraries\tic-arduino-master/Tic.h: In member function 'void TicBase::setMaxDecel(uint32_t)': 😄\........\Energia\libraries\tic-arduino-master/Tic.h:614:16: error: 'TicCommand' is not a class or namespace 😄\........\Energia\libraries\tic-arduino-master/Tic.h: In member function 'void TicBase::setStepMode(TicStepMode)': 😄\........\Energia\libraries\tic-arduino-master/Tic.h:631:15: error: 'TicCommand' is not a class or namespace 😄\........\Energia\libraries\tic-arduino-master/Tic.h: In member function 'void TicBase::setDecayMode(TicDecayMode)': 😄\........\Energia\libraries\tic-arduino-master/Tic.h:668:15: error: 'TicCommand' is not a class or namespace 😄\........\Energia\libraries\tic-arduino-master/Tic.h: In member function 'void TicBase::setAgcMode(TicAgcMode)': 😄\........\Energia\libraries\tic-arduino-master/Tic.h:678:15: error: 'TicCommand' is not a class or namespace 😄\........\Energia\libraries\tic-arduino-master/Tic.h: In member function 'void TicBase::setAgcBottomCurrentLimit(TicAgcBottomCurrentLimit)': 😄\........\Energia\libraries\tic-arduino-master/Tic.h:688:15: error: 'TicCommand' is not a class or namespace 😄\........\Energia\libraries\tic-arduino-master/Tic.h: In member function 'void TicBase::setAgcCurrentBoostSteps(TicAgcCurrentBoostSteps)': 😄\........\Energia\libraries\tic-arduino-master/Tic.h:698:15: error: 'TicCommand' is not a class or namespace 😄\........\Energia\libraries\tic-arduino-master/Tic.h: In member function 'void TicBase::setAgcFrequencyLimit(TicAgcFrequencyLimit)': 😄\........\Energia\libraries\tic-arduino-master/Tic.h:708:15: error: 'TicCommand' is not a class or namespace 😄\........\Energia\libraries\tic-arduino-master/Tic.h: In member function 'TicOperationState TicBase::getOperationState()': 😄\........\Energia\libraries\tic-arduino-master/Tic.h:726:39: error: 'VarOffset' is not a class or namespace 😄\........\Energia\libraries\tic-arduino-master/Tic.h: In member function 'bool TicBase::getEnergized()': 😄\........\Energia\libraries\tic-arduino-master/Tic.h:733:20: error: 'VarOffset' is not a class or namespace 😄\........\Energia\libraries\tic-arduino-master/Tic.h:734:16: error: 'TicMiscFlags1' is not a class or namespace 😄\........\Energia\libraries\tic-arduino-master/Tic.h: In member function 'bool TicBase::getPositionUncertain()': 😄\........\Energia\libraries\tic-arduino-master/Tic.h:744:20: error: 'VarOffset' is not a class or namespace 😄\........\Energia\libraries\tic-arduino-master/Tic.h:745:16: error: 'TicMiscFlags1' is not a class or namespace 😄\........\Energia\libraries\tic-arduino-master/Tic.h: In member function 'bool TicBase::getForwardLimitActive()': 😄\........\Energia\libraries\tic-arduino-master/Tic.h:751:20: error: 'VarOffset' is not a class or namespace 😄\........\Energia\libraries\tic-arduino-master/Tic.h:752:16: error: 'TicMiscFlags1' is not a class or namespace 😄\........\Energia\libraries\tic-arduino-master/Tic.h: In member function 'bool TicBase::getReverseLimitActive()': 😄\........\Energia\libraries\tic-arduino-master/Tic.h:758:20: error: 'VarOffset' is not a class or namespace 😄\........\Energia\libraries\tic-arduino-master/Tic.h:759:16: error: 'TicMiscFlags1' is not a class or namespace 😄\........\Energia\libraries\tic-arduino-master/Tic.h: In member function 'bool TicBase::getHomingActive()': 😄\........\Energia\libraries\tic-arduino-master/Tic.h:765:20: error: 'VarOffset' is not a class or namespace 😄\........\Energia\libraries\tic-arduino-master/Tic.h:766:16: error: 'TicMiscFlags1' is not a class or namespace 😄\........\Energia\libraries\tic-arduino-master/Tic.h: In member function 'uint16_t TicBase::getErrorStatus()': 😄\........\Energia\libraries\tic-arduino-master/Tic.h:784:21: error: 'VarOffset' is not a class or namespace 😄\........\Energia\libraries\tic-arduino-master/Tic.h: In member function 'uint32_t TicBase::getErrorsOccurred()': 😄\........\Energia\libraries\tic-arduino-master/Tic.h:807:16: error: 'TicCommand' is not a class or namespace 😄\........\Energia\libraries\tic-arduino-master/Tic.h:808:7: error: 'VarOffset' is not a class or namespace 😄\........\Energia\libraries\tic-arduino-master/Tic.h: In member function 'TicPlanningMode TicBase::getPlanningMode()': 😄\........\Energia\libraries\tic-arduino-master/Tic.h:827:37: error: 'VarOffset' is not a class or namespace 😄\........\Energia\libraries\tic-arduino-master/Tic.h: In member function 'int32_t TicBase::getTargetPosition()': 😄\........\Energia\libraries\tic-arduino-master/Tic.h:838:21: error: 'VarOffset' is not a class or namespace 😄\........\Energia\libraries\tic-arduino-master/Tic.h: In member function 'int32_t TicBase::getTargetVelocity()': 😄\........\Energia\libraries\tic-arduino-master/Tic.h:849:21: error: 'VarOffset' is not a class or namespace 😄\........\Energia\libraries\tic-arduino-master/Tic.h: In member function 'uint32_t TicBase::getMaxSpeed()': 😄\........\Energia\libraries\tic-arduino-master/Tic.h:860:21: error: 'VarOffset' is not a class or namespace 😄\........\Energia\libraries\tic-arduino-master/Tic.h: In member function 'uint32_t TicBase::getStartingSpeed()': 😄\........\Energia\libraries\tic-arduino-master/Tic.h:876:21: error: 'VarOffset' is not a class or namespace 😄\........\Energia\libraries\tic-arduino-master/Tic.h: In member function 'uint32_t TicBase::getMaxAccel()': 😄\........\Energia\libraries\tic-arduino-master/Tic.h:892:21: error: 'VarOffset' is not a class or namespace 😄\........\Energia\libraries\tic-arduino-master/Tic.h: In member function 'uint32_t TicBase::getMaxDecel()': 😄\........\Energia\libraries\tic-arduino-master/Tic.h:908:21: error: 'VarOffset' is not a class or namespace 😄\........\Energia\libraries\tic-arduino-master/Tic.h: In member function 'int32_t TicBase::getCurrentPosition()': 😄\........\Energia\libraries\tic-arduino-master/Tic.h:923:21: error: 'VarOffset' is not a class or namespace 😄\........\Energia\libraries\tic-arduino-master/Tic.h: In member function 'int32_t TicBase::getCurrentVelocity()': 😄\........\Energia\libraries\tic-arduino-master/Tic.h:939:21: error: 'VarOffset' is not a class or namespace 😄\........\Energia\libraries\tic-arduino-master/Tic.h: In member function 'uint32_t TicBase::getActingTargetPosition()': 😄\........\Energia\libraries\tic-arduino-master/Tic.h:951:21: error: 'VarOffset' is not a class or namespace 😄\........\Energia\libraries\tic-arduino-master/Tic.h: In member function 'uint32_t TicBase::getTimeSinceLastStep()': 😄\........\Energia\libraries\tic-arduino-master/Tic.h:964:21: error: 'VarOffset' is not a class or namespace 😄\........\Energia\libraries\tic-arduino-master/Tic.h: In member function 'TicReset TicBase::getDeviceReset()': 😄\........\Energia\libraries\tic-arduino-master/Tic.h:980:30: error: 'VarOffset' is not a class or namespace 😄\........\Energia\libraries\tic-arduino-master/Tic.h: In member function 'uint16_t TicBase::getVinVoltage()': 😄\........\Energia\libraries\tic-arduino-master/Tic.h:991:21: error: 'VarOffset' is not a class or namespace 😄\........\Energia\libraries\tic-arduino-master/Tic.h: In member function 'uint32_t TicBase::getUpTime()': 😄\........\Energia\libraries\tic-arduino-master/Tic.h:1005:21: error: 'VarOffset' is not a class or namespace 😄\........\Energia\libraries\tic-arduino-master/Tic.h: In member function 'int32_t TicBase::getEncoderPosition()': 😄\........\Energia\libraries\tic-arduino-master/Tic.h:1016:21: error: 'VarOffset' is not a class or namespace 😄\........\Energia\libraries\tic-arduino-master/Tic.h: In member function 'uint16_t TicBase::getRCPulseWidth()': 😄\........\Energia\libraries\tic-arduino-master/Tic.h:1034:21: error: 'VarOffset' is not a class or namespace 😄\........\Energia\libraries\tic-arduino-master/Tic.h: In member function 'uint16_t TicBase::getAnalogReading(TicPin)': 😄\........\Energia\libraries\tic-arduino-master/Tic.h:1054:22: error: 'VarOffset' is not a class or namespace 😄\........\Energia\libraries\tic-arduino-master/Tic.h: In member function 'bool TicBase::getDigitalReading(TicPin)': 😄\........\Energia\libraries\tic-arduino-master/Tic.h:1071:32: error: 'VarOffset' is not a class or namespace 😄\........\Energia\libraries\tic-arduino-master/Tic.h: In member function 'TicPinState TicBase::getPinState(TicPin)': 😄\........\Energia\libraries\tic-arduino-master/Tic.h:1090:30: error: 'VarOffset' is not a class or namespace 😄\........\Energia\libraries\tic-arduino-master/Tic.h: In member function 'TicStepMode TicBase::getStepMode()': 😄\........\Energia\libraries\tic-arduino-master/Tic.h:1105:33: error: 'VarOffset' is not a class or namespace 😄\........\Energia\libraries\tic-arduino-master/Tic.h: In member function 'TicDecayMode TicBase::getDecayMode()': 😄\........\Energia\libraries\tic-arduino-master/Tic.h:1138:34: error: 'VarOffset' is not a class or namespace 😄\........\Energia\libraries\tic-arduino-master/Tic.h: In member function 'TicInputState TicBase::getInputState()': 😄\........\Energia\libraries\tic-arduino-master/Tic.h:1154:35: error: 'VarOffset' is not a class or namespace 😄\........\Energia\libraries\tic-arduino-master/Tic.h: In member function 'uint16_t TicBase::getInputAfterAveraging()': 😄\........\Energia\libraries\tic-arduino-master/Tic.h:1164:21: error: 'VarOffset' is not a class or namespace 😄\........\Energia\libraries\tic-arduino-master/Tic.h: In member function 'uint16_t TicBase::getInputAfterHysteresis()': 😄\........\Energia\libraries\tic-arduino-master/Tic.h:1174:21: error: 'VarOffset' is not a class or namespace 😄\........\Energia\libraries\tic-arduino-master/Tic.h: In member function 'int32_t TicBase::getInputAfterScaling()': 😄\........\Energia\libraries\tic-arduino-master/Tic.h:1190:21: error: 'VarOffset' is not a class or namespace 😄\........\Energia\libraries\tic-arduino-master/Tic.h: In member function 'TicMotorDriverError TicBase::getLastMotorDriverError()': 😄\........\Energia\libraries\tic-arduino-master/Tic.h:1198:41: error: 'VarOffset' is not a class or namespace 😄\........\Energia\libraries\tic-arduino-master/Tic.h: In member function 'TicAgcMode TicBase::getAgcMode()': 😄\........\Energia\libraries\tic-arduino-master/Tic.h:1208:32: error: 'VarOffset' is not a class or namespace 😄\........\Energia\libraries\tic-arduino-master/Tic.h: In member function 'TicAgcBottomCurrentLimit TicBase::getAgcBottomCurrentLimit()': 😄\........\Energia\libraries\tic-arduino-master/Tic.h:1218:46: error: 'VarOffset' is not a class or namespace 😄\........\Energia\libraries\tic-arduino-master/Tic.h: In member function 'TicAgcCurrentBoostSteps TicBase::getAgcCurrentBoostSteps()': 😄\........\Energia\libraries\tic-arduino-master/Tic.h:1228:45: error: 'VarOffset' is not a class or namespace 😄\........\Energia\libraries\tic-arduino-master/Tic.h: In member function 'TicAgcFrequencyLimit TicBase::getAgcFrequencyLimit()': 😄\........\Energia\libraries\tic-arduino-master/Tic.h:1238:42: error: 'VarOffset' is not a class or namespace 😄\........\Energia\libraries\tic-arduino-master/Tic.h: In member function 'uint8_t TicBase::getLastHpDriverErrors()': 😄\........\Energia\libraries\tic-arduino-master/Tic.h:1249:20: error: 'VarOffset' is not a class or namespace 😄\........\Energia\libraries\tic-arduino-master/Tic.h: In member function 'void TicBase::getSetting(uint8_t, uint8_t, uint8_t*)': 😄\........\Energia\libraries\tic-arduino-master/Tic.h:1268:16: error: 'TicCommand' is not a class or namespace 😄\........\Energia\libraries\tic-arduino-master/Tic.h: In member function 'uint8_t TicBase::getVar8(uint8_t)': 😄\........\Energia\libraries\tic-arduino-master/Tic.h:1330:16: error: 'TicCommand' is not a class or namespace 😄\........\Energia\libraries\tic-arduino-master/Tic.h: In member function 'uint16_t TicBase::getVar16(uint8_t)': 😄\........\Energia\libraries\tic-arduino-master/Tic.h:1337:16: error: 'TicCommand' is not a class or namespace 😄\........\Energia\libraries\tic-arduino-master/Tic.h: In member function 'uint32_t TicBase::getVar32(uint8_t)': 😄\........\Energia\libraries\tic-arduino-master/Tic.h:1344:16: error: 'TicCommand' is not a class or namespace Multiple libraries were found for "Tic.h" Used: 😄\........\Energia\libraries\tic-arduino-master Multiple libraries were found for "Wire.h" Used: 😄\.........\Energia15\packages\energia\hardware\msp430\1.0.7\libraries\Wire exit status 1 Error compiling for board MSP-EXP430F5529LP. This report would have more information with "Show verbose output during compilation" option enabled in File -> Preferences. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~END~~~~~~~~~~~~~~~~~~~~~~~~~~

Share this post


Link to post
Share on other sites

is there a straight forward way to clear it, I found out energia also has in its software serial library error that is causing other related libraries to have error. 

 

"C:\\Users\\Sony\\AppData\\Local\\Energia15\\packages\\energia\\tools\\msp430-gcc\\4.6.6/bin/msp430-g++" -c -Os -w -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -mmcu=msp430f5529 -DF_CPU=25000000L -DARDUINO=10811 -DENERGIA=10811 -DENERGIA_MSP_EXP430F5529LP -DENERGIA_ARCH_MSP430 "-IC:\\Users\\Sony\\AppData\\Local\\Energia15\\packages\\energia\\tools\\msp430-gcc\\4.6.6/include" "-IC:\\Users\\Sony\\AppData\\Local\\Energia15\\packages\\energia\\hardware\\msp430\\1.0.7\\cores\\msp430" "-IC:\\Users\\Sony\\AppData\\Local\\Energia15\\packages\\energia\\hardware\\msp430\\1.0.7\\variants\\MSP-EXP430F5529LP" "-IC:\\Users\\Sony\\AppData\\Local\\Energia15\\packages\\energia\\hardware\\msp430\\1.0.7\\libraries\\SoftwareSerial" "C:\\Users\\Sony\\AppData\\Local\\Energia15\\packages\\energia\\hardware\\msp430\\1.0.7\\libraries\\SoftwareSerial\\SoftwareSerial.cpp" -o "C:\\Users\\Sony\\AppData\\Local\\Temp\\arduino_build_355145\\libraries\\SoftwareSerial\\SoftwareSerial.cpp.o"
C:\Users\Sony\AppData\Local\Energia15\packages\energia\hardware\msp430\1.0.7\libraries\SoftwareSerial\SoftwareSerial.cpp:81:2: error: #error This version of SoftwareSerial supports only 16MHz processors

C:\Users\Sony\AppData\Local\Energia15\packages\energia\hardware\msp430\1.0.7\libraries\SoftwareSerial\SoftwareSerial.cpp: In member function 'void SoftwareSerial::begin(long int)':

C:\Users\Sony\AppData\Local\Energia15\packages\energia\hardware\msp430\1.0.7\libraries\SoftwareSerial\SoftwareSerial.cpp:251:31: error: 'table' was not declared in this scope

C:\Users\Sony\AppData\Local\Energia15\packages\energia\hardware\msp430\1.0.7\libraries\SoftwareSerial\SoftwareSerial.cpp: In member function 'virtual size_t SoftwareSerial::write(uint8_t)':

C:\Users\Sony\AppData\Local\Energia15\packages\energia\hardware\msp430\1.0.7\libraries\SoftwareSerial\SoftwareSerial.cpp:319:26: error: 'XMIT_START_ADJUSTMENT' was not declared in this scope

Share this post


Link to post
Share on other sites

>energia also has in its software serial library error

Well, no. The 5529 has hardware serial.  Don't use software serial.  FWIW, it's not an error in Energia, but a limitation of the software serial library that it can't run with the faster clock.

11 hours ago, AwaisFarooqi said:

C:\Users\Sony\AppData\Local\Energia15\packages\energia\hardware\msp430\1.0.7\libraries\SoftwareSerial\SoftwareSerial.cpp:81:2: error: #error This version of SoftwareSerial supports only 16MHz processors

HTH

Share this post


Link to post
Share on other sites

The main issue when compiling this libraries is that it uses C99 standard where as the used compiler for the MSP430 Energia support is quite old not supporting this language version.

If you like, you can use a beta implementation using the latest released GCC compiler for the MSP430 and test it on this project.

Testing one of the demos did compile without issues

Just add this path in the file | Preferences | Additional Board manager section:

http://s3.amazonaws.com/energiaUS/packages/package_msp430_elf_GCC_index.json

open the board manager and install the latest version of the Energia MSP430 boards (elf-GCC)

 

Any feedback on this is welcome!

 

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...