2020-11-22 09:02 AM
Despite of unchecking the visibility (static) box of "MX_GPIO_Init" in MxCube 6.1.0, the function is generated as static. Strange enough, the prototype at the top of the file is not. Clicking the column box, all boxes are updated, except the "MX_GPIO_Init".
Seems a bug to me....
Your reaction is appreciated!
Martin
Solved! Go to Solution.
2020-11-23 06:09 AM
Hi @martin wijk ,
Your ioc file was created with 5.3.0 version, you need to migrate your project to 6.1.0 version.
Otherwise, using your ioc file, the MX_GPIO_Init function is not generated as static.
Best Regards,
Khouloud
2020-11-22 11:20 PM
Hello @martin wijk
Which version of CubeMX are you using ?
Could you please check with the latest version (6.1.0) ? Issue seems fixed with the latest version.
If you still have problem, please share with me more details about MCU used or your ioc file.
Thanks
Khouloud
2020-11-23 02:18 AM
2020-11-23 06:09 AM
Hi @martin wijk ,
Your ioc file was created with 5.3.0 version, you need to migrate your project to 6.1.0 version.
Otherwise, using your ioc file, the MX_GPIO_Init function is not generated as static.
Best Regards,
Khouloud
2020-11-23 10:30 AM
Hi @Khouloud ZEMMELI ,
This was it! Thanks.
With the project migration, also the latest BSP was downloaded and installed. This is not always desired though.
But thanks for the support!
BR, Martin