Running on other drives?

Discussions and support about ChibiStudio, the free development environment for ARM.
steved
Posts: 834
Joined: Fri Nov 09, 2012 2:22 pm
Has thanked: 12 times
Been thanked: 138 times

Re: Running on other drives?

Post by steved »

Done two trials so far:
a) Clean install of ChibiStudio17 on a 32-bit XP machine with an oldish version of Java - around 1.7. This is the machine I used to use for most of my Chibi-related development, and everything 'just worked' . It also runs an older version of Eclipse (for another development platform) without problems.
b) Updated both 32-bit and 64-bit Java on the 64-bit W7 machine to the latest.

In neither case am I able to generate board files.

Worth checking that I'm doing things right:
1. Load board.chcfg into the editor. (Any file, not necessarily part of open project)
2. Select 'Design' view and edit as necessary, save.
3. Usually its necessary to select 'source' view so that the 'Configuration' menu option and button appear.
4. Click on the 'Generate Files from Configuration Data' button or menu option.


Scanning the relevant Java code, it looked as if maybe the functionality only worked for 32F4 processors (although not for me). Should it cover the whole ST range?


I'll try on another machine over the weekend.
User avatar
Giovanni
Site Admin
Posts: 14891
Joined: Wed May 27, 2009 8:48 am
Has thanked: 1202 times
Been thanked: 996 times

Re: Running on other drives?

Post by Giovanni »

It should work for all STM32s except F1. I will make some tests during weekend.

Giovanni
steved
Posts: 834
Joined: Fri Nov 09, 2012 2:22 pm
Has thanked: 12 times
Been thanked: 138 times

Re: Running on other drives?

Post by steved »

Have now tried to generate board files on a ChibiStudio 17 installation in the default "C:\ChibiStudio" location on W7, with the same results. Also tried renaming the existing board files so that they would be created from scratch, to no effect.

I have noticed that in http://www.chibios.com/forum/viewtopic.php?f=13&t=3481 Mathias implies that there are some *.ftl files under the eclipse/configuration directory. There are none anywhere in my eclipse directory and subdirectories, although I did find what look to be the relevant files in a *.jar file in the plugins directory. Do they need extracting somehow?
There are some *.ftl files within the 'os/hal/ports' directory, but only for SPC5 processors.
User avatar
Giovanni
Site Admin
Posts: 14891
Joined: Wed May 27, 2009 8:48 am
Has thanked: 1202 times
Been thanked: 996 times

Re: Running on other drives?

Post by Giovanni »

Hi,

FTL files are inside plugins, there is no need to extract them. The board generator works on normal installations, I have no idea about what is preventing it to work on your side.

Giovanni
steved
Posts: 834
Joined: Fri Nov 09, 2012 2:22 pm
Has thanked: 12 times
Been thanked: 138 times

Re: Running on other drives?

Post by steved »

Got this working - its a matter of procedure - to me, non-intuitive.

Its not enough to have the configuration file loaded and in the active window.

The configuration file must be specifically selected in the project explorer (it doesn't need to be open at all).

The generated files are overwritten on a re-run.

A nice touch would be to bring up the 'Generate files' option when right-clicking on the configuration file; no idea how easy this would be.
User avatar
Giovanni
Site Admin
Posts: 14891
Joined: Wed May 27, 2009 8:48 am
Has thanked: 1202 times
Been thanked: 996 times

Re: Running on other drives?

Post by Giovanni »

Yes, that would be ideal, I am not very expert of Eclipse but I will make another pass on that tool.

Giovanni
Post Reply