I may be reinventing the wheel. Some of you may have already done this
successfully. But just in case, I will share this with you.
My porting has consisted of the following steps.
1. Since I can't link to the bluerobin library from SMPgcc and I do
not have access to the bluerobin source, I eliminated all
references to it in several files.
2. Accommodated MSPgcc style of defining interrupts in several files.
3. Converted smpl_nwk_config.dat and smpl_config.dat to header files
(.h) replacing -D with #define and removing double quotes from the
THIS_DEVICE_ADDRESS definition.
4. Added a section similar to the following to several files.
#elif defined CC__MSPGCC //pfs: changed this from #else and added the
first line below, // CC__MSPGCC is defined in makefile
#ifdef __MSP430_6137__
#include <cc430x613x.h>
#else
#include <msp430.h>
#endif
I have a make file that works. Of course, I won't know if I've done everything
so far correctly or if there is more to to until I get past the __intrinsic
functions, but the only errors I am getting now relate to intrinsics.h
I've kept this post short, but the details are available for the asking.
I'm also open to a partner to work with to help complete this port.
Thanks,
Paul