2025-01-10 01:34 AM
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,
Solved! Go to Solution.
2025-01-10 02:30 AM
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.
2025-01-10 02:30 AM
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.