2020-05-12 03:43 AM
All code paths depending on USE_SPI_CRC thus stay disabled and CRC checking is silently deactivated. There seems to be no place where USE_SPI_CRC can be defined without being deleted by the next automatic code generation. Is there a workaround or did I miss something?
2020-05-12 08:51 PM
It should be defined in stm32h7xx_hal_conf.h file, but it's not. It's there for the F4 family.
Workaround: Add USE_SPI_CRC=1 to the preprocessor definitions for your project.
Properties -> C/C++ Build -> Setttings -> Tool Settings -> MCU GCC Compiler -> Preprocessor
2020-05-14 01:49 AM
Hello @MNagl.1 ,
Thanks for the feedback, this will be internally checked.
Regards,
Khouloud
2020-05-22 06:07 AM
@MNagl.1 @TDK
Issue fixed, the fix will be available for the next CubeMX release
Best Regards,
Khouloud