Skip to main content
CMilo.1
Associate
Jun 6, 2020 2:39 PM UTC
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.

..

This topic has been closed for replies.
Tesla DeLorean
Tesla DeLoreanBest answer
Guru
Jun 6, 2020 3:03 PM UTC

Select the Version 6 Compiler, it is much faster

Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..

4 replies

Tesla DeLorean
Tesla DeLoreanBest answer
Guru
Jun 6, 2020 3:03 PM UTC

Select the Version 6 Compiler, it is much faster

Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..
CMilo.1
CMilo.1Author
Associate
Jun 7, 2020 5:18 PM UTC

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
Jun 7, 2020 5:53 PM UTC

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 Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..
CMilo.1
CMilo.1Author
Associate
Jun 6, 2020 5:06 PM UTC

Thank you! It worked :)