OK, if you MUST use both SMAC and MAC....
1) I do not recommend that you do this
2) Create your solution in BeeKit with the MAC codebase, with 2 projects, one for the coordinator and one for the device.
3) Export as XML files, and import into CodeWarrior. Here, call the coordinator project MAC_SRB_PAN1.mcp and the end device MAC_SRB_ED1,mcp
4) Now, back in Beekit, create a new solution with the SMAC codebase, with 2 projects, one for the coordinator and one for the device.
5) Export as XML files, and import into CodeWarrior. Now, call the coordinator project SMAC_SRB_PAN1.mcp and the end device SMAC_SRB_ED1.mcp.
6) Now you will begin to recognise your mistake, and you have 4 corewarrior projects. You are going to have to merge the coordinator projects into one main application. Choose how you will switch from one sub-application (MAC) to the other application (SMAC).
7) Let's assume that it is on a button-press. In the interrupt service routine for the button press, you're going to have to set a flag, and back in the main loop, test that flag and basically re-initialise the whole app.
8) This is a completely crazy thing to try and do. Problems that I can for-see are related to the amount of flash memory in something like the MC13213 (60kbytes) and the whole time that it will take to switch, particularly back to the MAC application.
9) I do not recommend that you do this.
Maybe it would help the forum i f you explain what you are trying to achieve, and we will come up with a more simple method to achieve this.
Mark