2017-10-23 07:11 PM
Running latest 4.1 STM32CubeMx on both *buntu and Windows 7 and the generated stm32f4xx_hal_msp.c is totally different. The HAL libraries in both cases areSTM32Cube_FW_F4_V1.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.
Note: this post was migrated and contained many threaded conversations, some content may be missing.2018-01-07 03:59 PM
Updated to 4.23.0 STM32CubeMX and this is still broken.
The HAL libraries have been updated to STM32Cube_FW_F4_V1.18.0.
I've also updated java to
version '1.8.0_151' in case it was the version 7 java run time causing the problem.
This really is a problem and over the Christmas period I've been unable to work efficiently as I've not had access to a Windows PC (manually patching the stm32f4xx_hal_msp.c file is not productive).
Can someone advise on when this will be fixed?
2018-01-07 05:28 PM
While waiting for more useful replies/solutions, can you install Cube in a clean virtual machine (Windows or Linux)?
The repository is huge (several GB) and you can try to copy it over from other machine where it is installed, but better to get a fresh install.
-- pa
2018-01-07 05:51 PM
I have implicitly done this already
No change. Windows version of 4.23 still OK, Linux 4.23 broken.
2018-01-07 06:07 PM
Sorry but update is just opposite to clean install.
-- pa
2018-01-07 08:02 PM
Tried a re-install from scratch - still no FSMC init code.
I also noticed that the code generation leaves a lot of .tmp files lying about.
2018-01-08 12:28 AM
While I cannot see any connection, have you tried the same as root ?
Several problems arise under *NIX when app developers (especiall Windows developers) ignore user rights.
2018-01-08 12:49 AM
I also don't see the relation. And I believe him that he has a correct setup for both operating systems. I reported a while ago a compilation error on Linux that was solved with a fast CubeMX subversion... that demonstrate that the Linux version has a lower priority regarding testing before releasing.
2018-01-08 02:26 AM
Can you try also the CubeMX plug-in for Eclipse?
2018-01-08 02:50 AM
I also don't see the relation.
I suspect a possible bug in the Cube software, which is a black box for me.
Trying as root would be quick and without much effort, and, if successful, put the blame on Cube - either setup/installation or application.