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
Anyone else encountered the dead button under linux?
Generate files from configuration data does nothing.
- Giovanni
- Site Admin
- Posts: 14457
- Joined: Wed May 27, 2009 8:48 am
- Location: Salerno, Italy
- Has thanked: 1076 times
- Been thanked: 922 times
- Contact:
Re: Generate files from configuration data does nothing.
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:
You need to select the file before pressing the button.
Giovanni
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
Re: Generate files from configuration data does nothing.
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
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
Re: Generate files from configuration data does nothing.
In the main ChibiOS Svn repository, I found the following files:
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.
./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.
- Giovanni
- Site Admin
- Posts: 14457
- Joined: Wed May 27, 2009 8:48 am
- Location: Salerno, Italy
- Has thanked: 1076 times
- Been thanked: 922 times
- Contact:
Re: Generate files from configuration data does nothing.
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
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
Re: Generate files from configuration data does nothing.
Hello Giovanni,
Yes, as far as I can tell, I have JRE 1.8.0_131 x86 (32-bit) installed.
Best regards
Yes, as far as I can tell, I have JRE 1.8.0_131 x86 (32-bit) installed.
Best regards
- Giovanni
- Site Admin
- Posts: 14457
- Joined: Wed May 27, 2009 8:48 am
- Location: Salerno, Italy
- Has thanked: 1076 times
- Been thanked: 922 times
- Contact:
Re: Generate files from configuration data does nothing.
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
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
Re: Generate files from configuration data does nothing.
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
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
- Giovanni
- Site Admin
- Posts: 14457
- Joined: Wed May 27, 2009 8:48 am
- Location: Salerno, Italy
- Has thanked: 1076 times
- Been thanked: 922 times
- Contact:
Re: Generate files from configuration data does nothing.
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
Giovanni
Re: Generate files from configuration data does nothing.
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
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
Who is online
Users browsing this forum: No registered users and 22 guests