Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CC3200 EMT — Specific Compilation Procedure? #7

Closed
robertinant opened this issue Dec 23, 2016 · 2 comments
Closed

CC3200 EMT — Specific Compilation Procedure? #7

robertinant opened this issue Dec 23, 2016 · 2 comments

Comments

@robertinant
Copy link
Member

From @rei-vilo on December 21, 2016 15:38

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"
};

Copied from original issue: energia/cc3200-core#14

@robertinant
Copy link
Member Author

From @rei-vilo on December 21, 2016 15:45

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

@rei-vilo
Copy link
Member

This issue was caused by the package provided by the link for the beta, which pointed to the wrong package, actually the CC3200 standard boards.

This issue is solved with the right cc3200emt-core package.

This issue can be closed now. I don't have the credentials on this repository for closing it myself. Thank you.

@rei-vilo rei-vilo closed this as completed Jan 6, 2017
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants