Code::Blocks

Developer forums (C::B DEVELOPMENT STRICTLY!) => Plugins development => Topic started by: japina on August 06, 2016, 06:32:43 pm

Title: ARM based boards wizard
Post by: japina on August 06, 2016, 06:32:43 pm
I'm creating a wizard to program our STM32 based boards (released under MIT license) and it will be freely available from our site.
What are your suggestions to pack the plugin so users can seamlessly install it on codeblocks no matter which platform they are using?
My idea was to pack it in three different packs for the platofrms and install procedure would just copy the plugin to proper directories.
Any better suggestions?

Thanks.
Title: Re: ARM based boards plugin
Post by: stahta01 on August 06, 2016, 07:30:56 pm
What platforms are you going to support?

I am guessing Windows, Linux, whatever the Apple OS is called. Maybe OSX.

Are you going to use an version control repo?
If yes, will it be SVN or Git?
The CB Dev team uses SVN; but, a few also use Git.

On Linux, configure/make build system is used by the CB Dev team.
On Windows, CB Project build system is used by the CB Dev team.

Tim S.
Title: Re: ARM based boards plugin
Post by: japina on August 06, 2016, 08:41:45 pm
Sorry. I wasn't clear in a question.. yes: Windows, Linux and Mac OSX. I am using git and you reminded me I could use github to post whatever is already done.
I based my development heavily on the ARM plugin in version 13.12 since this is the last stable version for Mac OSX (yes, I'm a Mac user :)).

The question was more in line of: how the plugin should be released if it will not be included in the main distro. It can be (obviously), but I'm not sure if there will be interest :)
Title: Re: ARM based boards plugin
Post by: stahta01 on August 06, 2016, 09:21:14 pm
No Idea if the link to wxCrafterCB will help or not.

https://github.com/eranif/wxCrafterCB (https://github.com/eranif/wxCrafterCB)

But, I would start like that an do a source type install for Linux and Windows at first.

Then, I would suggest you do a binary for Mac OSX.

After, that I would suggest creating a downloaded zip or 7zip file for the last CB release 16.01.
If you need help on that; I can create the Windows binary as a zip or 7zip file.
Link to how to make a Windows binary plugin to work with an CB built by someone else.
http://wiki.codeblocks.org/index.php/Linking_the_plugin_to_a_Nightly_Build (http://wiki.codeblocks.org/index.php/Linking_the_plugin_to_a_Nightly_Build)

You are going to have to wait for an Linux person for advice on Linux Distros.

Tim S.
Title: Re: ARM based boards plugin
Post by: stahta01 on August 06, 2016, 09:22:39 pm
http://wiki.codeblocks.org/index.php/Announcement_for_plugins/patches (http://wiki.codeblocks.org/index.php/Announcement_for_plugins/patches)
Title: Re: ARM based boards plugin
Post by: japina on August 06, 2016, 09:32:42 pm
@stahta01 Yes, I will announce the plugin when it will be at least mildly useful for everybody else and not just me (currently I have hardcoded paths to arm gcc tools and it's not pretty :))
Thanks for the link.
Title: Re: ARM based boards plugin
Post by: oBFusCATed on August 06, 2016, 09:49:15 pm
Are you making a new wizard or are you making a c++ plugin?
Title: Re: ARM based boards wizard
Post by: japina on August 06, 2016, 09:54:38 pm
Are you making a new wizard or are you making a c++ plugin?

Wizard and not plugin  :(
I've corrected the title of the thread accordingly.
Title: Re: ARM based boards wizard
Post by: oBFusCATed on August 07, 2016, 07:37:53 am
You can take a look at my standalone arduino templates: https://github.com/obfuscated/cb_arduino_template