Author Topic: MSP430 support in Linux...  (Read 16462 times)

Offline twgray

  • Multiple posting newcomer
  • *
  • Posts: 30
MSP430 support in Linux...
« on: March 30, 2013, 12:02:58 am »
When are you guys going to implement the MSP430 patch for Linux support to the daily builds?  I am, even 2 years later, still having to do patch every upgrade.  What is the holdup?

Online oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 12126
    • Travis build status
Re: MSP430 support in Linux...
« Reply #1 on: March 30, 2013, 11:43:15 am »
What patch?
(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!]

Offline twgray

  • Multiple posting newcomer
  • *
  • Posts: 30
Re: MSP430 support in Linux...
« Reply #2 on: March 30, 2013, 05:43:21 pm »
There was a patch posted here on the forum 2 years ago that adds the same support for the MSP430 to the Linux build as the Windoze build already has.  Aren't there any Linux Codeblocks users out there?

Online oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 12126
    • Travis build status
Re: MSP430 support in Linux...
« Reply #3 on: March 30, 2013, 07:51:45 pm »
I suppose you have the patch just post it and we can talk about it.
The chance of finding another linux msp430 user here is small.
(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!]

extraterrestrial

  • Guest
Re: MSP430 support in Linux...
« Reply #4 on: March 31, 2013, 07:59:34 pm »
There was a patch posted here on the forum 2 years ago that adds the same support for the MSP430 to the Linux build as the Windoze build already has.  Aren't there any Linux Codeblocks users out there?
if you need it, say me
i have it for 12.11

Offline richarddsmith

  • Single posting newcomer
  • *
  • Posts: 4
Re: MSP430 support in Linux...
« Reply #5 on: April 05, 2013, 10:10:31 pm »
I am also an MSP430 user of CodeBlocks so the chance of finding another linux msp430 user are NOT so small afterall.

Online oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 12126
    • Travis build status
Re: MSP430 support in Linux...
« Reply #6 on: April 05, 2013, 11:09:54 pm »
Okay, but I don't see any patch posted...
(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!]

Offline twgray

  • Multiple posting newcomer
  • *
  • Posts: 30
Re: MSP430 support in Linux...
« Reply #7 on: April 15, 2013, 11:36:52 pm »
I could post a 3 year old patch, or the maintainers could just synchronize the Linux and Mac ports to the Winblows.  Are you saying you don't believe the userbase for Linux and Mac are large enough to warrant this effort?  I find that hard to believe.

Offline Alpha

  • Developer
  • Lives here!
  • *****
  • Posts: 1513
Re: MSP430 support in Linux...
« Reply #8 on: April 15, 2013, 11:59:50 pm »
The compiler plugin has received many changes between 12.11 and now.  Just looking at the drop down, I see an entry for 'GNU GCC Compiler for MSP430'... are there further changes necessary?  (Try the nightly, if you have not yet.)

Online oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 12126
    • Travis build status
Re: MSP430 support in Linux...
« Reply #9 on: April 16, 2013, 12:57:03 am »
I could post a 3 year old patch, or the maintainers could just synchronize the Linux and Mac ports to the Winblows.  Are you saying you don't believe the userbase for Linux and Mac are large enough to warrant this effort?  I find that hard to believe.
I find it hard to believe that you don't want to post a working patch and let us review it, fix it and then commit it.
But you want us start from scratch to integrate a compiler/wizard we don't use or care much about?

Sorry, but this is not the way open source works.

And I'm not sure what is the problem and what needs to be done. Really!
You're talking about some patch, but I haven't seen it. You're not saying what we have to fix or add.

Please help us help you. It is that simple.
(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!]

Offline stahta01

  • Lives here!
  • ****
  • Posts: 6677
    • My Best Post
Re: MSP430 support in Linux...
« Reply #10 on: April 16, 2013, 01:19:58 am »
I could post a 3 year old patch, or the maintainers could just synchronize the Linux and Mac ports to the Winblows.  Are you saying you don't believe the userbase for Linux and Mac are large enough to warrant this effort?  I find that hard to believe.

You are acting like a troll; post the patch or describe the issue, or I will consider you to a complete and total troll.

Tim S.
C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 32 bit.
On Debian Stretch, compiling CB Trunk against wxWidgets 3.0.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

Offline twgray

  • Multiple posting newcomer
  • *
  • Posts: 30
Re: MSP430 support in Linux...
« Reply #11 on: April 16, 2013, 02:03:48 am »
No trolling here.  Attached is the patch and the wizard for MSP430.  As I said, it is about 2 or 3 years old, and I have just been manually patching.

I have tried the nightly builds, but there is still no MSP430 support for Linux or Mac.

Offline stahta01

  • Lives here!
  • ****
  • Posts: 6677
    • My Best Post
Re: MSP430 support in Linux...
« Reply #12 on: April 16, 2013, 02:16:50 am »
FYI:

I will work on Cleaning up the patch; the patch was very poorly done.
No reason everyone waste time on it.

I am going to fix the tab/space issue and apply to patch to SVN version 7447.

After, I reduce the not needed changes I will re-post the patch.

Tim S.
C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 32 bit.
On Debian Stretch, compiling CB Trunk against wxWidgets 3.0.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

Offline stahta01

  • Lives here!
  • ****
  • Posts: 6677
    • My Best Post
Re: MSP430 support in Linux...
« Reply #13 on: April 16, 2013, 04:16:47 am »
Updated patches so they apply on without extra stuff on CB SVN Version 7447.

NOTE: CB SVN  7447 fails to compile on Windows; will try later apply patches to CB 12.11.

codeblocks_svn_7447_compilerGNUMSP430_options.patch contains the compiler options for other MCUs.
(This part required the most changes; and I might have missed something.) NOTE: This patch is NOT likely valid for trunk.

codeblocks_svn_7447_Enable_msp430_under_Linux.patch enables msp430 under Linux; likely already done in trunk.

codeblocks_svn_7447_Wizard_for_msp430.patch contains the Wizard for msp430.

msp430_png.7z contains the png files needed by the msp430 Wizard.
(src/plugins/scriptedwizard/resources/msp430)


EDIT: I did NOT really check over the MSP430 Wizard code enough to say its safe or valid.

EDIT2: Created patch that applies to trunk for the wizard codeblocks_svn_trunk_Wizard_for_msp430.patch
Removed codeblocks_svn_7447_Wizard_for_msp430.patch


Tim S.
« Last Edit: April 16, 2013, 05:30:12 am by stahta01 »
C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 32 bit.
On Debian Stretch, compiling CB Trunk against wxWidgets 3.0.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

Offline stahta01

  • Lives here!
  • ****
  • Posts: 6677
    • My Best Post
Re: MSP430 support in Linux...
« Reply #14 on: April 16, 2013, 05:31:02 am »
Attached file codeblocks_svn_trunk_Wizard_for_msp430.patch.

msp430_png.7z contains the png files needed by the msp430 Wizard.
(src/plugins/scriptedwizard/resources/msp430)


NOTE: I did NOT really check over the MSP430 Wizard code enough to say its safe or valid.

Tim S.
C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 32 bit.
On Debian Stretch, compiling CB Trunk against wxWidgets 3.0.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org