2024-02-22 05:06 AM
Dear @Khouloud ZEMMELI , @Imen.D , @TDK ,
Please help add support for MDK-ARM version 6. Currently highest selectable Min Version is V5.32
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
2024-03-01 01:18 AM - edited 2024-03-01 01:18 AM
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)
2024-03-01 01:19 AM
Thanks @Imen.D