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-08 02:50 PM
Last time I tried the plugin it made a total mess of my project. I'll give it a go but I don't hold out much hope...
2018-01-08 03:23 PM
OK - tried that, (Eclipse Version: Oxygen.2 Release (4.7.2), Build id: 20171218-0600) and the plugin crashes Eclipse totally after STILL getting the code generation wrong.
The following files are left behind after the crash
dma_GV.tmp
dma.tmp
fatfs_ext_vars.tmp
fatfs_HalInit.tmp
fatfs_inc.tmp
fatfs_vars.tmp
gpio.tmp
license.tmp
mx_fsmc_GV.tmp
mx_fsmc_HC.tmp
mx_
fsmc_MSP.tmp
system.tmp
Interesting that 'mx_fsmc_MSP.tmp' appears to have all the information required by the MSP generation but it is not used.
2018-01-08 06:29 PM
Thank you for trying that! The plug-in does not need root rights. It doesn't mess my Eclipse (the most recent version for the linux 64bit) but is good to know that is the same code as the standalone edition.
Edit: It messed mine too! Eclipse flickering like crazy!
2018-01-08 10:42 PM
It will make a difference if you uncheck the 'Generate peripheral initialization as a pair of .c/.h ...'?
2018-01-09 02:36 PM
It was already unchecked on both Windows and Linux installs. I've checked that all other switches are the same between the installs.
On the Linux install, with it checked, no initialisation code is generated anywhere (no new files, most of MSP file is empty).
2018-01-09 03:24 PM
Clearly, the linux code is not on par with the one for windows... and there are more problems in some other parts. Can't wait to see the next version and which direction they choose for further development. I'll make my remarks then...
2018-01-23 02:49 PM
According to
this has not been addressed.2018-01-23 06:07 PM
Yeah, and overwrites old versions of the driver. By example, I had 1.8.0 version of the driver for STM32L1 installed, and checked 1.8.1, the next version for installation. It first downloaded an 1.8.0 version from their server and unarchived it over my version, and only after that it downloaded the new one and installed it. But no problem, I have a backup...
2018-02-21 02:37 PM
Upgraded to 4.24.0 and HAL 1.19.0 and Linux version of CubeMX is STILL not fit for purpose.
I propose that ST pay for a Windows license for me so that I can continue my project or admit that they don't really support Linux.
2018-03-15 05:55 PM
Upgraded to 4.25.0 and HAL 1.21.0 and Linux version of CubeMX is STILL not fit for purpose.
I'm still waiting for that Windows license.
So much for the portability of Java apps.