How do I generate code for a specific ARM Cortex M Processor?
8 views (last 30 days)
Show older comments
MathWorks Support Team
on 2 Dec 2022
Edited: MathWorks Support Team
on 24 Dec 2023
I tried to export my Simulink model to C code for a Microchip SAM E54 eval board which uses an ARM Cortex M4 processor. I am using the "Embedded Coder Support Package for ARM Cortex-M Processors" version 22.1.2.
In the "Hardware Implementation" section in the Configuration Parameters, the only "Hardware Board" option I can choose is "ARM Cortex-M3 (QEMU)" which is an emulator on windows.
How can I choose the M4 processor as my target hardware? Do I need to install some other extension or do I need to set up the support package manually?
Accepted Answer
MathWorks Support Team
on 23 Dec 2023
Edited: MathWorks Support Team
on 24 Dec 2023
The Embedded Coder Support Package for ARM Cortex-M Processors is a base target that allows you to create your own target for your boards that are based on ARM Cortex-M Processors. You can follow the workflow on our "Develop a Target" documentation page to create a target for your specific board.
Develop a Target:
0 Comments
More Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!