[FINALLY] SPC5Studio and STM32

This forum is dedicated to feedback, discussions about ongoing or future developments, ideas and suggestions regarding the ChibiOS projects are welcome. This forum is NOT for support.
mr_michael_s
Posts: 13
Joined: Sat Jul 07, 2012 1:08 pm

Re: [FINALLY] SPC5Studio and STM32

Post by mr_michael_s »

Ah one step further. The green PLUS sign ......
User avatar
Giovanni
Site Admin
Posts: 14891
Joined: Wed May 27, 2009 8:48 am
Has thanked: 1202 times
Been thanked: 996 times

Re: [FINALLY] SPC5Studio and STM32

Post by Giovanni »

Hi,

You don't need to add "features" but components, select the application root and press the + button in the wizard toolbar, a dialog will appear with the available "platform components", select the STM32F4 one then add the chibios components under the platform component you just added.

You should read the help into "SPC5Studio Users Guide->Common Tasks->Assembling your Application".

Giovanni
mr_michael_s
Posts: 13
Joined: Sat Jul 07, 2012 1:08 pm

Re: [FINALLY] SPC5Studio and STM32

Post by mr_michael_s »

Ok, I finally built my first working )(demo)-project in SPC5 Studio. The wizard creates a Generic STM32f4 board. Is there already a feature to select a predefined board ? I have a stm32f4discovery and an Olimex STM32-E407.

Thanks

Michael
User avatar
Giovanni
Site Admin
Posts: 14891
Joined: Wed May 27, 2009 8:48 am
Has thanked: 1202 times
Been thanked: 996 times

Re: [FINALLY] SPC5Studio and STM32

Post by Giovanni »

Hi,

The idea is to have presets under the board component directory ./lib/boards, there is one only for the discovery so far but you can create your own and save it in an XML file.

Giovanni
mr_michael_s
Posts: 13
Joined: Sat Jul 07, 2012 1:08 pm

Re: [FINALLY] SPC5Studio and STM32

Post by mr_michael_s »

I can see that STM32F4-Discovery.xml. When I generate a project it is copied to my workspace directory. However when I look under ChiboOS_RT STM32f4xx Board Component in the wizard i can read the following:

Board Identifier: GENERIC_STM32F4XX
Board name: Generic STM32F4xx

When I try to load the STM32F4-Discovery.xml in the wizard there is an error:

Error: Content not supported! Version mismatch, found 1.0.0.201301091145. Required Version is: 1.0.0.201302011027
User avatar
Giovanni
Site Admin
Posts: 14891
Joined: Wed May 27, 2009 8:48 am
Has thanked: 1202 times
Been thanked: 996 times

Re: [FINALLY] SPC5Studio and STM32

Post by Giovanni »

I see.

Apparently the configuration tool has two distinct problems in this case:

1) It is unable to load files saved with previous versions (you can manually change the version number inside the XML file, it will work).
2) It does not refresh the view after loading the file (save the configuration.xml then close it and reopen, the new data should show).

I will have the above fixed in next version, thanks.

Giovanni
mr_michael_s
Posts: 13
Joined: Sat Jul 07, 2012 1:08 pm

Re: [FINALLY] SPC5Studio and STM32

Post by mr_michael_s »

Ok, this worked. Thanks. Next will be debugging ;)

By the way. Is this the roadmap or are You still going on with ChibiStudio as well ?
User avatar
Giovanni
Site Admin
Posts: 14891
Joined: Wed May 27, 2009 8:48 am
Has thanked: 1202 times
Been thanked: 996 times

Re: [FINALLY] SPC5Studio and STM32

Post by Giovanni »

Hi,

Supporting ChibiStudio does not take much time, if there is demand I will continue to integrate and offer it.

BTW, you can add to ChibiStudio the SPC5Studio configuration feature by just copying one plugin, I use ChibiStudio as development base for SPC5Studio.

Giovanni
jscott
Posts: 129
Joined: Tue Jul 03, 2012 3:50 pm

Re: [FINALLY] SPC5Studio and STM32

Post by jscott »

Supporting ChibiStudio does not take much time, if there is demand I will continue to integrate and offer it.

BTW, you can add to ChibiStudio the SPC5Studio configuration feature by just copying one plugin, I use ChibiStudio as development base for SPC5Studio.



Giovanni,

I for one would like to see the continuation of ChibiStudio. I find the advantages of having
a development environment that I don't have to install and do a lot of configuration is a
great benefit.

In your abundant free time :o :o , could you provide some instructions, or point us to some instructions to copy the configuration plugin? I am not a experianced eclipse developer.

Thanks for all your hard work!!

-John Scott
skench
Posts: 5
Joined: Wed Apr 03, 2013 2:45 pm

Re: [FINALLY] SPC5Studio and STM32

Post by skench »

I would second that.

My particular interest would be in the continuation of an eclipse plugin for Linux.

Thanks

Stephen Kench
Post Reply