Skip to main content
c_dev05
Associate II
January 10, 2025
Solved

Custom Board changes not considered during MC Workbench Project Generate

  • January 10, 2025
  • 1 reply
  • 375 views

Hello,

[VERSION]: 6.3.2
[TOOL]: Board Designer, MC WorkBench
[DETAILS]: I created a custom board, created a new project and generated the code. All fine.
I opened Board Designer and changed the crystal frequency on the board. I saved board Json file.
I opened my project in MC Workbench and generated the project again.

[EXPECTED BEHAVIOR]: 

New selected crystal frequency should be shown in STMCubeMX-Clock Configuration/.ico file, but is still the old one.

New selected crystal frequency should trigger source code change in SystemClock_Config(), but is still the old one.

Thanks,

 

Best answer by Gael A

Hello c_dev05,

When changing a board description, the stwb6 projects that you previously created using a former version of your board will not be updated. You need to create a new project using your new board description.

In general, you can keep in mind that once hardware is set in your Workbench, you become completely independent regarding your board descriptions. This allows you to export your stwb6 files anywhere, without having to keep your board descriptions. This is why changing a board description doesn't modify already existing projects.

1 reply

Gael A
Gael ABest answer
ST Employee
January 10, 2025

Hello c_dev05,

When changing a board description, the stwb6 projects that you previously created using a former version of your board will not be updated. You need to create a new project using your new board description.

In general, you can keep in mind that once hardware is set in your Workbench, you become completely independent regarding your board descriptions. This allows you to export your stwb6 files anywhere, without having to keep your board descriptions. This is why changing a board description doesn't modify already existing projects.

If you agree with my answer, please consider accepting it by clicking on 'Accept as solution'.Hope this will help,Gaël A.