Author Topic: ARM based boards wizard  (Read 8461 times)

Offline japina

  • Multiple posting newcomer
  • *
  • Posts: 11
ARM based boards wizard
« 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.
« Last Edit: August 06, 2016, 09:52:19 pm by japina »

Offline stahta01

  • Lives here!
  • ****
  • Posts: 7582
    • My Best Post
Re: ARM based boards plugin
« Reply #1 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.
C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 64 bit.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

Offline japina

  • Multiple posting newcomer
  • *
  • Posts: 11
Re: ARM based boards plugin
« Reply #2 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 :)

Offline stahta01

  • Lives here!
  • ****
  • Posts: 7582
    • My Best Post
Re: ARM based boards plugin
« Reply #3 on: August 06, 2016, 09:21:14 pm »
No Idea if the link to wxCrafterCB will help or not.

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

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

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

Offline stahta01

  • Lives here!
  • ****
  • Posts: 7582
    • My Best Post
C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 64 bit.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

Offline japina

  • Multiple posting newcomer
  • *
  • Posts: 11
Re: ARM based boards plugin
« Reply #5 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.

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
Re: ARM based boards plugin
« Reply #6 on: August 06, 2016, 09:49:15 pm »
Are you making a new wizard or are you making a c++ plugin?
(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 japina

  • Multiple posting newcomer
  • *
  • Posts: 11
Re: ARM based boards wizard
« Reply #7 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.

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
Re: ARM based boards wizard
« Reply #8 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
(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!]