I recieved an existing project made with MDK 4.x and I'd like to use a newer toolchain but CMSIS probably changed ina way that things are missing. Can anyone assist in this migration steps?
Hi Christopher, bobboys,
This question is old, but I think it could be beneficial for other members and search engines. (I moved it from STMicroelectronics partne space).
Do you have a recommended upgrade path on the MDK-ARM? Maybe an app note?
the central component of CMSIS, CMSIS-CORE, has not actually changed recently.
The major items you need to consider when migrating projects from MDK v4 to MDK v5 are the following:
MDK v5 introduced supports for modular software development in line with the CMSIS-Pack specification.
The MDK-Professional Middleware now uses CMSIS-Drivers to support specific hardware.
Keil RTX now uses the CMSIS-RTOS API, which is not backwards compatible with older releases of RTX.
Required changes are addressed in Application Note 264.
A very good starting point is the MDK v5 Getting Started Guide.
Hope this helps,Johannes
Dear Sir Bauer,
Sorry to post here, I am suffering same problem regarding CMSIS at MDK v5 .
I am trying to migrate my project from Coocox to Keil MDK.
My device is STM32F070RBTx that has no example code in KEIL directly. It suggest STM32F072-Discovery, that is not the STM32F070 group.
As usually I am adding HAL library and other driver and required state files in my project, but build error shows error.
C:\Keil_v5\ARM\PACK\Keil\STM32F0xx_DFP\1.5.0\Device\Include\stm32f070xb.h(130): error: #5: cannot open source input file "core_cm0.h": No such file or directory
Its a typical error I know, but if you look my project tree, looks KEIL not supporting CMSIS.
I know its a question of Overview of the Keil Discussion Forum , I posted there also.
there is no response.
from what I can see here, you have not selected the device startup in MDK 5. Please select CMSIS:CORE and Device:Startup as shown here:
Dear Sir Christopher,
Many thanks returns to you !
You have figure out the exact solution what I need. Let me introduce me as a newcomer.
Now my project tree looks like this image.
System works fine, but build errors exists as I am compiling a complex project.
Now let me know in which forum is suitable to ask the questions regarding , pre-processor setting, Options for target, macros in this community?
I am asking questions in Keil Discussion Forum , very few people respond here!
Beside these, I am along with STe2ecommunities,http://www.openstm32.org/my , www.eclipse.org/forums.
ST works fine compared to others.
I have a similar problem, so that I got a project folder for STM30F3 (I dont know in which IDE was written), and now I want to import this project into uvision v5.
The project folder contains the following folders: CMSIS, FreeRTOS, Inc, Src, STM32F30x_StdPeriph_Driver.
I can compile the project in uvision v5 but I get an error during linking stating:
error: L6236E: No section matches selector - no section to be FIRST/LAST.
and I think this is related to a missing startup file.
MY question, is it possible to take any startup file and include it in the new project? because with the startup file of the old project I get more than 50 errors (maybe because of version incompatibiltiy).
Thanks in advance
View all questions in Keil forum