Generate files from configuration data does nothing.

Discussions and support about ChibiStudio, the free development environment for ARM.
Xela
Posts: 7
Joined: Thu Sep 07, 2017 12:05 pm
Has thanked: 1 time

Generate files from configuration data does nothing.

Postby Xela » Fri Sep 22, 2017 3:46 pm

I have recently setup Eclipse Mars under linux (Ubuntu 14.04) and have installed the chibiStudio plugin, XML editor, CDT.

I have been tinkering with the STM32F407 discovery board. Everything seems to go smoothly now, I can modify code, upload it to the board, debug etc.

Now it is time to move to my development board. I am beginning by following the guides here and there.... copying existing demo work and modifying it.

I am starting with the board config, I have edited the board.chcfg under a linked directory that points to my board (a renamed duplicate of the discovery board).

When I press the "Generate files from configuration data" button nothing happens.

Console shows no output, not any error, just nothing.

I should also add this is the only button under the Configuration menu as one of the 3 google results for this problem led me to a config_wizard/plugin.xml file on github (here). Reading through suggest there should be more buttons available ("Check Configuration Data")?


Anyway, button = nothing :lol:

Anyone else encountered the dead button under linux?

User avatar
Giovanni
Site Admin
Posts: 10213
Joined: Wed May 27, 2009 8:48 am
Location: Salerno, Italy
Has thanked: 212 times
Been thanked: 197 times
Contact:

Re: Generate files from configuration data does nothing.

Postby Giovanni » Fri Sep 22, 2017 5:33 pm

Hi,

I use MARS.2 under Linux Mint for development and it seems to work correctly (there is a bug affecting F0...).

What you should see in console is:

Code: Select all

Starting session

> Processing board.h.ftl
> Processing board.c.ftl
> Processing board.mk.ftl

Finished


You need to select the file before pressing the button.

Giovanni

villains
Posts: 5
Joined: Mon Nov 20, 2017 1:38 am

Re: Generate files from configuration data does nothing.

Postby villains » Mon Nov 20, 2017 1:46 am

I am experiencing the same problem with ChibiStudio Preview 19 on Windows 10 64-bit. I am trying to create a custom board config with an MCU from the STM32F7xx family.

I am following the instructions found here: http://cxkg.net/chibios-board-generator/

With the .chcfg file selected, I open the menu "Configuration" and pick the item "Generate Files from Configuration Data". Nothing happens, and the console in ChibiStudio remains empty.

https://usercontent.irccloud-cdn.com/fi ... /image.png

Additionally, I searched for all files named "*.ftl" in my C:\ChibiStudio folder. There do not exist any "*.ftl" files for any STM32Fxxxx processor, and no files named "board.h.ftl" or "board.c.ftl" anywhere. It seems like I am missing some key components for the ChibiOS board config wizard to work?

Any suggestions on how to proceed would be most welcome :)

villains
Posts: 5
Joined: Mon Nov 20, 2017 1:38 am

Re: Generate files from configuration data does nothing.

Postby villains » Mon Nov 20, 2017 2:09 am

In the main ChibiOS Svn repository, I found the following files:

./branches/chibistudio_trunk/tools/chibios_config_wizard/resources/gencfg/lib/libcode.ftl
./branches/chibistudio_trunk/tools/chibios_config_wizard/resources/gencfg/lib/liblicense.ftl
./branches/chibistudio_trunk/tools/chibios_config_wizard/resources/gencfg/lib/libsnippets.ftl
./branches/chibistudio_trunk/tools/chibios_config_wizard/resources/gencfg/lib/libstm32f4xx.ftl
./branches/chibistudio_trunk/tools/chibios_config_wizard/resources/gencfg/lib/libutils.ftl
./branches/chibistudio_trunk/tools/chibios_config_wizard/resources/gencfg/processors/boards/stm32f0xx/templates/board.c.ftl
./branches/chibistudio_trunk/tools/chibios_config_wizard/resources/gencfg/processors/boards/stm32f0xx/templates/board.h.ftl
./branches/chibistudio_trunk/tools/chibios_config_wizard/resources/gencfg/processors/boards/stm32f0xx/templates/board.mk.ftl
./branches/chibistudio_trunk/tools/chibios_config_wizard/resources/gencfg/processors/boards/stm32f3xx/templates/board.c.ftl
./branches/chibistudio_trunk/tools/chibios_config_wizard/resources/gencfg/processors/boards/stm32f3xx/templates/board.h.ftl
./branches/chibistudio_trunk/tools/chibios_config_wizard/resources/gencfg/processors/boards/stm32f3xx/templates/board.mk.ftl
./branches/chibistudio_trunk/tools/chibios_config_wizard/resources/gencfg/processors/boards/stm32f4xx/templates/board.c.ftl
./branches/chibistudio_trunk/tools/chibios_config_wizard/resources/gencfg/processors/boards/stm32f4xx/templates/board.h.ftl
./branches/chibistudio_trunk/tools/chibios_config_wizard/resources/gencfg/processors/boards/stm32f4xx/templates/board.mk.ftl
./branches/chibistudio_trunk/tools/chibios_config_wizard/resources/gencfg/processors/boards/stm32f7xx/templates/board.c.ftl
./branches/chibistudio_trunk/tools/chibios_config_wizard/resources/gencfg/processors/boards/stm32f7xx/templates/board.h.ftl
./branches/chibistudio_trunk/tools/chibios_config_wizard/resources/gencfg/processors/boards/stm32f7xx/templates/board.mk.ftl
./branches/chibistudio_trunk/tools/chibios_config_wizard/resources/gencfg/processors/boards/stm32l0xx/templates/board.c.ftl
./branches/chibistudio_trunk/tools/chibios_config_wizard/resources/gencfg/processors/boards/stm32l0xx/templates/board.h.ftl
./branches/chibistudio_trunk/tools/chibios_config_wizard/resources/gencfg/processors/boards/stm32l0xx/templates/board.mk.ftl
./branches/chibistudio_trunk/tools/chibios_config_wizard/resources/gencfg/processors/boards/stm32l1xx/templates/board.c.ftl
./branches/chibistudio_trunk/tools/chibios_config_wizard/resources/gencfg/processors/boards/stm32l1xx/templates/board.h.ftl
./branches/chibistudio_trunk/tools/chibios_config_wizard/resources/gencfg/processors/boards/stm32l1xx/templates/board.mk.ftl
./branches/chibistudio_trunk/tools/chibios_config_wizard/resources/gencfg/processors/boards/stm32l4xx/templates/board.c.ftl
./branches/chibistudio_trunk/tools/chibios_config_wizard/resources/gencfg/processors/boards/stm32l4xx/templates/board.h.ftl
./branches/chibistudio_trunk/tools/chibios_config_wizard/resources/gencfg/processors/boards/stm32l4xx/templates/board.mk.ftl


I tried copying the resources directory to various places inside the ChibiStudio install directory, but the board config wizard does not recognize any of them. As far as I can tell the board config wizard is broken. :(

User avatar
Giovanni
Site Admin
Posts: 10213
Joined: Wed May 27, 2009 8:48 am
Location: Salerno, Italy
Has thanked: 212 times
Been thanked: 197 times
Contact:

Re: Generate files from configuration data does nothing.

Postby Giovanni » Mon Nov 20, 2017 8:22 am

Hi,

All those files are inside a .jar archive, you will not find them as separate files. Do you have a 32 bits JRE installed?

Giovanni

villains
Posts: 5
Joined: Mon Nov 20, 2017 1:38 am

Re: Generate files from configuration data does nothing.

Postby villains » Mon Nov 20, 2017 4:17 pm

Hello Giovanni,

Yes, as far as I can tell, I have JRE 1.8.0_131 x86 (32-bit) installed.

Best regards

User avatar
Giovanni
Site Admin
Posts: 10213
Joined: Wed May 27, 2009 8:48 am
Location: Salerno, Italy
Has thanked: 212 times
Been thanked: 197 times
Contact:

Re: Generate files from configuration data does nothing.

Postby Giovanni » Mon Nov 20, 2017 4:35 pm

Hi,

There is a single button now, the other one was in an old version, this is not a problem. After selecting a .chcfg file and pressing the button you should see an operation log in console, errors are shown there too.

I have no ideas, it is just working here on both windows and Linux. Try reinstalling ChibiStudio and make sure it is installed under C:\. You may try a test installation on another PC and verify if it works.

Giovanni

villains
Posts: 5
Joined: Mon Nov 20, 2017 1:38 am

Re: Generate files from configuration data does nothing.

Postby villains » Mon Nov 20, 2017 5:00 pm

Hi Giovanni,

I tried re-installing ChibiStudio twice, with the same result. Nothing appears in the console when I click the "Generate Files from Configuration Data" button or menu option. I will try on another PC later today.

Best regards

User avatar
Giovanni
Site Admin
Posts: 10213
Joined: Wed May 27, 2009 8:48 am
Location: Salerno, Italy
Has thanked: 212 times
Been thanked: 197 times
Contact:

Re: Generate files from configuration data does nothing.

Postby Giovanni » Mon Nov 20, 2017 5:09 pm

It happened in the past that anti-virus SW caused a corrupted installation, try to disable it before unzipping the package, then re-enable it.

Giovanni

villains
Posts: 5
Joined: Mon Nov 20, 2017 1:38 am

Re: Generate files from configuration data does nothing.

Postby villains » Mon Nov 20, 2017 5:31 pm

Hi Giovanni,

Thank you for your support so far.

I just tried the following on a different PC:
- Disabled Windows Defender (the only anti-virus type software on this machine)
- Installed ChibiStudio twice
- Several times attempted to create a new board config (using File -> New -> Other -> ChibiOS -> ChibiOS Configuration Wizard)

Each attempt, there was no activity in the ChibiStudio console, and no board.h/.c/.mk files were produced.

Best regards


Return to “ChibiStudio”

Who is online

Users browsing this forum: No registered users and 2 guests