How to generate a global initialization function in cubeMX
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2024-03-15 12:09 AM
I am using Arduino GIGA R1 to build an deploy model from simulink. While building model I am getting
" Error:Peripherals in STM32CubeMX project are not configured to generate a global initialization function. To generate a global initialization function open STM32CubeMX project > Project Manager > Advanced Settings > Generated Function Calls and disable "Visibility(static)" option for all the peripherals.
Suggested Actions:
Click 'Open' to open project in STM32CubeMX." from simulink.
Although I followed the steps mentioned in the build summary I am still getting the same error. Please help.
- Labels:
-
STM32CubeMX
-
STM32H7 Series
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2025-04-09 5:53 AM
Same issues on my side, did you have any success?
