2019-10-16 11:39 AM
Just updated STM32CubeMx from 5.3.0 to 5.4.0 and discovered the new files sys.h / sys.c after code generation.
What's the purpose of this file ? Obviously the containing function MX_SYS_Init() is never called ...
Solved! Go to Solution.
2019-10-17 06:49 AM
Hello all,
@Katzenberger.Michael MX_SYS_Init(); should not be called , this's a CuebMX regression , and for this reason you @SStor find many errors when building code.
Thanks for your feedback, issue will be fixed in the next release.
Best regards,
Khouloud.
2019-10-16 12:23 PM
This new file also causes problems on IAR compilers because a file with the same name "sys.c" exists already in LwIP package (IAR error: multiple tools write to the same file). I've excluded this unnecessary file "sys.c" for successful compiling.
2019-10-17 06:49 AM
Hello all,
@Katzenberger.Michael MX_SYS_Init(); should not be called , this's a CuebMX regression , and for this reason you @SStor find many errors when building code.
Thanks for your feedback, issue will be fixed in the next release.
Best regards,
Khouloud.
2024-10-10 04:53 AM
Hi, These two files and the empty MX_SYS_Init() function are back again when using STMCubeMX 6.10.0. Another regression?
Regards,
Tony