cancel
Showing results for 
Search instead for 
Did you mean: 

How to generate a global initialization function in cubeMX

Siva_Bharadwaja
Associate

 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

 

0 REPLIES 0