Skip to main content
Associate III
February 22, 2024
Question

Providing MDK-ARM V6 support

  • February 22, 2024
  • 5 replies
  • 6784 views

Dear @Khouloud ZEMMELI , @Imen.D , @TDK ,

Please help add support for MDK-ARM version 6. Currently highest selectable Min Version is V5.32

RajeevAroraCrcEvans_0-1708606301867.png

Also help add GCC folder instead of RVDS folder when MDK-ARM version 6 is selected.

Currently I need to execute below steps manually. The downside is that whenever I regenerate the code, I loose the GCC folder and compiler setting.

Steps:
I first have to generate a MDK-ARM V5.32 project, then open it in Keil IDE, then change the compiler to be used from Version 5 to Version 6 (via the Options for Target... -> Target -> Code Generator: Arm Compiler)

Then I need to save and close project.
I then go inside ../Middlewares/Third_Party/FreeRTOS/Source/portable/ and delete RVDS folder and instead copy the GCC (folder which the IOC file generates for STM32CubeIDE).

Finally I open up the UVPROJX file in Notepad++ and change RVDS in strings/paths to GCC, so that the new strings look similar to below:
../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM4F

../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM4F/port.c

I am unaware of whether I also need to update below, but the code compiles without issue:

<RvdsVP>3</RvdsVP>
<RvdsMve>0</RvdsMve>
<RvdsCdeCp>0</RvdsCdeCp>

Please share your inputs.

Thanks!

Rajeev

This topic has been closed for replies.

5 replies

TDK
Super User
February 22, 2024

Interesting, apparently MDK-ARM v6 is a free "community edition" that uses GCC.

Unlikely ST is going to support other free compilers apart from STM32CubeIDE besides maybe a token effort. No real support for VSCode despite its popularity. Could be wrong.

"If you feel a post has answered your question, please click ""Accept as Solution""."
Associate III
February 23, 2024

Hi @TDK , @Pavel A. ,

We are using the paid (MDK-PLUS) version of Keil Compiler version (MDK539.EXE). We get a paid license yearly from ARM.

 

TDK
Super User
February 23, 2024

Ah, okay, so "community edition" is a parallel product. Wasn't immediately clear when I searched.

"If you feel a post has answered your question, please click ""Accept as Solution""."
Pavel A.
Super User
February 22, 2024

Free MDK with compiler v6 and RTX on vscode? Very interesting.

 

Associate III
February 23, 2024

We are using the paid (MDK-PLUS) version of Keil Compiler version (MDK539.EXE). We get a paid license yearly from ARM.

TLin.5
Associate III
February 23, 2024

Isn't the free MDK 6 basically VSCode + extensions? 

I use MDK5.39 myself for now as that is the commercial offering. 

It's not perfect, but the VSCode+extensions variant I feel is not very useful yet from a commercial perspective. Had they focused on integrating with Visual Studio instead, it would have been more interesting.

Pavel A.
Super User
February 23, 2024

@TLin.5 The big Visual Studio does not run on Linux and MAC (MAC version is retiring). Being Windows-only is not modern these days.

TLin.5
Associate III
February 25, 2024

It's not about what is modern. It's about what's actually usable from my perspective as professional developer.

VSCode is a glorified editor at best in that regard. Not an IDE focused on productivity even with the keil studio pack added.

Even the Eclipse based STM32CubeIDE is easier to work with, imo.

Associate III
February 26, 2024

Hi @Khouloud ZEMMELI , @Imen.D ,

Please share you inputs on the shared concern.

Thanks!

Rajeev

Technical Moderator
March 1, 2024

Hi @RajeevAroraCrcEvans,

I escalated your request internally to CubeMX team for analysis and further investigation (through Internal ticket number: 175038)

(PS: Internal ticket number 175038 is only for reference, not available outside of ST)

"When your question is answered, please close this topic by clicking ""Accept as Solution"".ThanksImen"
Associate III
March 1, 2024

Thanks @Imen.D