CubeMX generates a wrong case init in void SystemClock_Config(void) (main.c). I changed this line manually, is there workaround or an automation for this ?
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-10-27 1:28 AM
/** Initializes the CPU, AHB and APB buses clocks
*/
//RCC_ClkInitStruct.ClockType = ClockTypeHCLK|ClockTypeSysClk
// |ClockTypePCLK1|ClockTypePCLK2;
//Has to be:
RCC_ClkInitStruct.ClockType = RCC_CLOCKTYPE_SYSCLK| RCC_CLOCKTYPE_HCLK | RCC_CLOCKTYPE_PCLK1 | RCC_CLOCKTYPE_PCLK2;
Labels:
- Labels:
-
Bug-report
-
RCC
-
STM32CubeMX
This discussion is locked. Please start a new topic to ask your question.
2 REPLIES 2
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-10-27 6:58 AM
It looks like a bug.
Perhaps include steps to reproduce so that someone can look at it if they wanted.
If you feel a post has answered your question, please click "Accept as Solution".
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-11-01 9:42 AM
Hello @Brieuc​ ,
Can you please describe precisely the steps and what configuration you made ?
If possible please share the ioc file, this will help to reproduce exactly the same scenario.
Imen
When your question is answered, please close this topic by clicking "Accept as Solution".
Thanks
Imen
Thanks
Imen
