News:

When registered with our forums, feel free to send a "here I am" post here to differ human beings from SPAM bots.

Main Menu

MSP430 compiler did not listed

Started by martonmiklos, April 01, 2011, 09:04:52 PM

Previous topic - Next topic

martonmiklos

#15
Hey,

Sorry for forgotting to post the patch, but I get totally fed up with the squirrel, and wxwidgets, and gave up my goals.
I got totally lost when I was unable to create an associatible array. No examples nothing nowhere on the web, and it is almost impossible to find relevant information due the common name (squirrel oh yeah).

So I have attached a patch which adds support for the msp430-gcc on Linux.
I have also attached a tar.gz which should be uncompressed to src/plugins/scriptedwizard/resources

This adds a wizard to the C::B. Creating and compiling a project works. At least to MSP430F5438, what I have tried.

I have tried to add an option to be able to program after building, but my knowledge was not enough to do it.

The C::B's squirrel parser says to the toupper function that it does not exists (if user selects the programmer). I have stripped my code to be able to parsed with a standalone squirrel (removed _T macros, and project related stuff), and it worked.

If anyone has some kind of more advanced debugging techique to create/debug scripted wizards, please let me know.
Also generating some user feedback dialogs (messagebox, etc.) from the script would be helpful to improve the wizard, but I have not found any examples.

oBFusCATed

(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

doragasu

Thanks a lot for  help martonmiklos.

For me it's really nasty MSP430 support isn't enabled in Linux by default. Having to download, patch and compile C::B isn't the easiest and fastest way to start coding for this platform.

I will post my results if I finally compile it. (The other option I'm considering is using Eclipse).