Other Parts Discussed in Thread: ENERGIA, CC3100, MSP430WARE
Hi! I'm a student at UT Austin working on my senior design project, and our team is trying to use the MSP432 + CC3100. I have seen in Energia the MQTT examples sending packets up to the IBM Bluemix Node-RED cloud, and I would like to do something similar. I would like to use Keil, though, since we would like to have the line-by-line debugging capability and the ability to flash our custom PCB through JTAG.
Does anyone have any advice/experience on how to do this? I tried looking at the MQTT libraries from Energia and copying files/folders over to my Keil project, but it's getting really messy. Currently looking at 200+ errors, caused by a variety of things. Example of some of the stuff that appears when I build the project:
SPI.h(29): error: #20: identifier "class" is undefined
class SPIClass {
SPI.h(29): error: #65: expected a ";"
class SPIClass {
SPI.h(44): warning: #12-D: parsing restarts here after previous syntax error
};
SPI.h(46): error: #757: variable "SPIClass" is not a type name
extern SPIClass SPI;
SPI.h(48): error: #65: expected a ";"
uint8_t SPIClass::transfer(uint8_t _data) {
new.h(10): error: #65: expected a ";"
void * operator new(size_t size);
new.h(11): error: #147: declaration is incompatible with "void *operator" (declared at line 10)
void operator delete(void * ptr);
new.h(11): error: #65: expected a ";"
void operator delete(void * ptr);
new.h(13): error: #77-D: this declaration has no storage class or type specifier
__extension__ typedef int __guard __attribute__((mode (__DI__)));
new.h(13): error: #65: expected a ";"
__extension__ typedef int __guard __attribute__((mode (__DI__)));
new.h(15): error: #40: expected an identifier
extern "C" int __cxa_guard_acquire(__guard *);
I understand that it's because Energia has a lot of things nested in different folders and structures, etc. Does anyone have any ideas for better ways I can do this?