Running latest 4.22.1 STM32CubeMx on both *buntu and Windows 7 and the generated stm32f4xx_hal_msp.c is totally different. The HAL libraries in both cases are STM32Cube_FW_F4_V1.16.0.
With the Linux version, the following functions are missing:
which results (not surprisingly) a totally useless build.
This needs to be fixed urgently as I only have part-time access to a single windows machine to create the code if I change any pinouts etc.