Skip to main content
Visitor II
March 15, 2024
Question

How to generate a global initialization function in cubeMX

  • March 15, 2024
  • 1 reply
  • 1209 views

 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.

 

Siva_Bharadwaja_0-1710486415518.png

 

1 reply

Explorer
April 9, 2025

Same issues on my side, did you have any success?