2023-05-15 01:28 AM
while I upload a code through KEIL MDK software into STM32F401RE board, it has some error occurs like -missing compiler version 5 in stm32 Keil uvision 5, also when clicking to the flash download - pop up window occurs and say error to download into flash.
please provide me the proper procedure.
2023-05-31 03:01 AM
Hello @pcetp.1 and welcome to the Community :) ,
Please make sure that the STM32F401RE package is well installed into KEIL MDK.
Could you please share what errors did you found?
Thank you.
Kaouthar
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
2023-05-31 03:20 AM
New releases of the MDK don't come with the 5.xx compilers, you either have to install them as some sort of legacy pack, or simply bring up the Project Options, and in the Target Tab change the "ARM Compiler" setting to "Use default compiler version 6"
It can be more fussy with the syntax checking / warnings, and might need the command line options cleaned up,but by and large should compile HAL code, and do so much faster.