cancel
Showing results for 
Search instead for 
Did you mean: 

Custom Board changes not considered during MC Workbench Project Generate

c_dev05
Associate III

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,

 

1 ACCEPTED SOLUTION

Accepted Solutions
Gael A
ST Employee

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.

View solution in original post

1 REPLY 1
Gael A
ST Employee

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.