In Generic CMSIS project in ReadMe.txt Supported hardware is: "The sample project for CMSIS should run on any Cortex M3 core."
Can the project be used with M4? What is limitation or required changes to use it with Cortex M4?
[SOLVED] Can CMSIS Generic project be used for Cortex M4?
-
-
Hello,
Thank you for your inquiry.
Which project are you referring to exactly?Best regards,
Nino -
Hello,
In Generic CMSIS project in ReadMe.txt Supported hardware is: "The sample project for CMSIS should run on any Cortex M3 core."
Can the project be used with M4? What is limitation or required changes to use it with Cortex M4?Are you, by any chance, referring to the Generic CMSIS project contained in embOS for Cortex-M and IAR?
In that case, the project may also be used with Cortex-M4, of course.From an RTOS perspective, M3 and M4 don't differ much except for the additional FPU with Cortex-M4.
Hence, as long as the FPU is kept disabled, the project may be used with Cortex-M4 devices without further modifications.
If the M4's FPU shall be used, however, the embOS libraries need to be exchanged for appropriate libraries that include FPU support (refer to "Naming conventions for prebuilt libraries" inside the manual UM010014)
Furthermore, the device support files contained in the project would need to be exchanged as well in order to utilize an FPU. Since you're probably intending to use the project in real hardware, it should be sufficient to simply replace the shipped generic files with the appropriate device support files provided by your device vendor (the latter also is suggested if using the project on a M3 hardware).Please let me know if I can be of any further help.
Best regards,
Martin
Participate now!
Don’t have an account yet? Register yourself now and be a part of our community!