2015-03-30 08:42 AM
2015-03-30 09:32 AM
I'm not seeing this on an XP virtual machine running under VMWare on a MacBook Pro using 4.7.0 under CubeMX 1.0 standalone.
For a reasonably complex project on a 32F407, with FatFS, CAN, ADC, DAC, RTC, SPI, SD, 8 timers, 3 UARTS, random number generator, etc. I'm getting about 80 seconds.2015-03-30 09:50 AM
Using your project, the time is less than 30 seconds.
2015-03-30 10:00 AM
This bug reproduced on 2 PC's with Windows 8.1. This bug not exists in previous versions of cubemx.
2015-03-30 10:11 AM
I found possible root of this problem. After every code generation .project file size increases. After first code generation size=13k, after second size=23k, etc.
Fast hotfix - remove .project file before code generation Here you can see difference in file creation time (and file size after some regenerations).C:\Work\aic_stm32f4\stm32f407\TrueSTUDIO\stm32f407 Configuration>dir
Volume in drive C is Windows8_OS Volume Serial Number is B25F-EA56 Directory of C:\Work\aic_stm32f4\stm32f407\TrueSTUDIO\stm32f407 Configuration 02.03.2015 10:59 <DIR> . 02.03.2015 10:59 <DIR> .. 30.03.201518:10
24 085 .cproject 30.03.201518:36
288 685 .project 02.03.2015 10:59 <DIR> .settings 30.03.2015 18:10 5 393 stm32f407 Configuration.elf.launch 30.03.2015 18:10 4 855 STM32F407ZE_FLASH.ld 4 File(s) 323 018 bytes 3 Dir(s) 776 892 870 656 bytes free2015-04-07 08:20 AM
Hello,
Can you please provide additional details: is windows 8 the 32 or 64 bit version, which version of java are you using. Thank you2015-04-07 01:41 PM
Hello!
How to reproduce: 1) Create new project 2) Select TrueStudio as IDE 3) Press Generate Code. Make backup copy .project file 4) Press Generate Code again. Compare size of .project file with backup copy 5) Repeat step 5. On every code generation file size increases. This is lenovo t540p with preinstalled Windows 8.1 x64. C:\Users\Vladimir\STM32Cube\Repository>java -version java version ''1.8.0_25'' Java(TM) SE Runtime Environment (build 1.8.0_25-b18) Java HotSpot(TM) Client VM (build 25.25-b02, mixed mode)2015-07-01 02:48 AM
Issue fixed with STM32CubeMX 4.8.