Generate files from configuration data does nothing.

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

Re: Generate files from configuration data does nothing.

Postby steved » Tue Nov 21, 2017 9:17 am

villains wrote: Nothing appears in the console when I click the "Generate Files from Configuration Data" button or menu option.

The critical thing here is to have the board configuration file highlighted (selected) in the Project Explorer window when you click on "Generate Files from Configuration Data"

villains
Posts: 8
Joined: Mon Nov 20, 2017 1:38 am
Has thanked: 1 time

Re: Generate files from configuration data does nothing.

Postby villains » Tue Nov 21, 2017 6:49 pm

Hi steved,

That worked!!
Thank you.

When the instructions said to "select" the .chcfg file, I understood that to mean to have the file active in the editor. Confusingly, the "Generate Files from Configuration Data" button and menu item do appear when this is done, leading me to believe it was the correct action.

For the benefit of future victims users, is there any way to update the board config wizard plugin to run with the .chcfg file active in the editor as well? If not, then at least it would be nice to have a screenshot explaining exactly what "select" means in this context, in any documents or guides for the board config wizard.

Thank you again, steved and Giovanni, for the support.

Best regards

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

Re: Generate files from configuration data does nothing.

Postby Giovanni » Tue Nov 21, 2017 7:15 pm

Strange, I wasn't aware that the menu shows up by just opening the file.

Giovanni

villains
Posts: 8
Joined: Mon Nov 20, 2017 1:38 am
Has thanked: 1 time

Re: Generate files from configuration data does nothing.

Postby villains » Tue Nov 21, 2017 7:34 pm

Another possibility is to move the "Generate Files from Configuration Data" menu item to the right-click menu for .chcfg files. I don't know if that is possible in Eclipse. But this way, there would be only one direct way to activate this feature. There would be no ambiguity as to what is the correct way to select a file.

Best regards

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

Re: Generate files from configuration data does nothing.

Postby Giovanni » Tue Nov 21, 2017 10:28 pm

Eclipse is hard to work with, documentation is had to find and navigate.

Patches are welcome, the source code is on repository :)

Giovanni

villains
Posts: 8
Joined: Mon Nov 20, 2017 1:38 am
Has thanked: 1 time

Re: Generate files from configuration data does nothing.

Postby villains » Wed Nov 22, 2017 1:06 am

Hi Giovanni,

Message received :)

Best regards

Theopoint
Posts: 2
Joined: Sun Sep 29, 2024 2:20 am
Has thanked: 2 times

Re: Generate files from configuration data does nothing.

Postby Theopoint » Sun Sep 29, 2024 2:35 am

Hi,

I have the exact same issue except that when I select (highlight) the board.chcfg file and click on "Generate files from Configuration Data" it still does nothing except popping up the console. I'm running the latest Win 11 version. I'm trying to configure a stm32f042k6 board.

What i tried:
- Disable Windows Defender
- Install JRE
- Reinstall Chibistudio (Under C:\ with 7zip)
- Generate a new board.chcfg file under New > Other > ChibiOS configuration wizzard for an STM32f4xx

Nothing worked and each time I checked if the board.h was edited but it wasn't.

Selecting the file and clicking on "Generate files from Configuration Data" pop up the console put nothing prints. If i don't select the file and I click on "Generate files from Configuration Data" while editing the file (so doing it the wrong way) it doesn't pop up the console, so it's seems that it's trying to do something but is blocked ?

Do you have any idea from where that could come from ?

Best regards

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

Re: Generate files from configuration data does nothing.

Postby Giovanni » Sun Sep 29, 2024 5:39 am

Hi,

The alternate ways is to use the generator directly from command line:

os/hal/boards/genboard.sh

Usage: bash genboard <board_directory>

Note that it is a simple script running FMPP, you need to have the FMPP tool in your system path. You may also launch FMPP directly.

About ChibiStudio, I need to download and try it in a VM, using the Linux version here.

Giovanni

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

Re: Generate files from configuration data does nothing.

Postby Giovanni » Sun Sep 29, 2024 7:34 am

Hi,

Updating Eclipse fixed this problem for me: Help->Check for Updates (accept also unsigned updates when it prompts).

Giovanni

Theopoint
Posts: 2
Joined: Sun Sep 29, 2024 2:20 am
Has thanked: 2 times

Re: Generate files from configuration data does nothing.

Postby Theopoint » Sun Sep 29, 2024 2:34 pm

Hi,

Thanks for your quick answer ! It solved the problem ! I assumed that Eclipse came pre-updated but that was my bad, sorry for wasting your time on a small issue.
The board gen script could be useful in case someone run into some other issues.
Thanks for the great software :D

Best regards


Return to “ChibiStudio”

Who is online

Users browsing this forum: No registered users and 2 guests