2019-06-03 09:37 AM
Auto-genned code in v1.14 had USER CODE blocks in MX_CAN1_Init, but after upgrading to v1.15 they are no longer there.
Where should I put my ConfigFilter and ActivateNotification calls now?
Solved! Go to Solution.
2019-06-04 04:47 AM
Issue will be fixed in the next release @Community member .
For the moment you can uncheck the " Genearte peripheral initialization as a pair of ".c/.h" files per peripheral " under Project Manager-code Generator, you can find under main the MX_Can_Init function with the user code section ( this is a provisional solution for your case).
Best Regards,
Khouloud.
2019-06-04 12:09 AM
Hello @Community member
could you please share your ioc file ?
Best Regards,
Khouloud.
2019-06-04 02:12 AM
Using F7 with V1.15 firmware package version (I think this's your case) - there's no problem ! no difference between V1.14 and V1.15 concerning CAN User code section.
-CubeMX 5.2.1-
Best Regards,
Khouloud.
2019-06-04 04:11 AM
2019-06-04 04:47 AM
Issue will be fixed in the next release @Community member .
For the moment you can uncheck the " Genearte peripheral initialization as a pair of ".c/.h" files per peripheral " under Project Manager-code Generator, you can find under main the MX_Can_Init function with the user code section ( this is a provisional solution for your case).
Best Regards,
Khouloud.