...
The sensor fusion frequency constant could be defined in a better location for organization.
Interchip Safety side:
CubeMX config is done wrong. For whatever reason, an SPI_INIT function is being called from somewhere other than main.cpp. THat means hitting “generate code” will actually break the build.