energia / cc3200-core

6 stars 10 forks source link

CC3200 EMT — Specific Compilation Procedure? #14

Closed rei-vilo closed 7 years ago

rei-vilo commented 7 years ago

When compiling the MultiBlink.ino against the CC1310 EMT and MSP432 EMT, compilation generates two files, MultiBlink_CC3200.ino.cpp and main.cpp.

The former concatenate all the different task into one file and the latter declares the tasks to the RTOS.

However, compiling the MultiBlink.ino against the CC3200 EMT does not generate the main.cpp.

Has the compilation procedure changed?

/* magic insertion point 769d20fcd7a0eedaf64270f591438b01 */
extern void setupBlueLed();
extern void loopBlueLed();
extern void setupGreenLed();
extern void loopGreenLed();
extern void setupRedLed();
extern void loopRedLed();
extern void setupMultiBlink_CC3200();
extern void loopMultiBlink_CC3200();

#define NUM_SKETCHES 4
void (*func_ptr[NUM_SKETCHES][2])(void) = {
    {setupBlueLed, loopBlueLed},
    {setupGreenLed, loopGreenLed},
    {setupRedLed, loopRedLed},
    {setupMultiBlink_CC3200, loopMultiBlink_CC3200}
};
const char *taskNames[] = {
    "loopBlueLed",
    "loopGreenLed",
    "loopRedLed",
    "loopMultiBlink_CC3200"
};
rei-vilo commented 7 years ago

Similarly, the global.h is provided for the CC1310 EMT and the MSP432 EMT, but not for the CC3200 EMT.

$ find ~/Library/Energia15/packages/energia/hardware -name global.h
/Users/ReiVilo/Library/Energia15/packages/energia/hardware/cc13xx/3.7.2/cores/cc13xx/xdc/cfg/global.h
/Users/ReiVilo/Library/Energia15/packages/energia/hardware/msp432/1.3.3/cores/msp432/xdc/cfg/global.h
robertinant commented 7 years ago

This issue was moved to energia/cc3200emt-core#7