Skip to main content
CMilo.1
Associate
June 6, 2020
Solved

Hello! I've got problem with compiler. I use Keil and CubeMx. When I press 'Build' or 'Rebuild' and there are no errors, program compiles about 4 minutes, is there any way to make this faster? Thanks.

  • June 6, 2020
  • 2 replies
  • 1349 views

..

This topic has been closed for replies.
Best answer by Tesla DeLorean

Select the Version 6 Compiler, it is much faster

2 replies

Tesla DeLorean
Tesla DeLoreanBest answer
Guru
June 6, 2020

Select the Version 6 Compiler, it is much faster

Tips, Buy me a coffee, or three.. PayPal VenmoUp vote any posts that you find helpful, it shows what's working..
CMilo.1
CMilo.1Author
Associate
June 7, 2020

Now I have a problem. When I select version 6 compiler, it doesn't create .axf file, but version 5 creates normally. Do you know what is problem here? Sorry for questioning..

Tesla DeLorean
Guru
June 7, 2020

If you don't get a .AXF file you'll need to look at what part of the compile failed.

Version 6 doesn't like one of the -c99 command line options as I recall.

Remove the command line option, and use the check-box item instead.

Tips, Buy me a coffee, or three.. PayPal VenmoUp vote any posts that you find helpful, it shows what's working..
CMilo.1
CMilo.1Author
Associate
June 6, 2020

Thank you! It worked :)