Arm Community
Site
Search
User
Site
Search
User
Support forums
Arm Development Studio forum
ARM Cortex M4
Jump...
Cancel
Locked
Locked
Replies
3 replies
Subscribers
119 subscribers
Views
3234 views
Users
0 members are here
Options
Share
More actions
Cancel
Related
How was your experience today?
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion
ARM Cortex M4
Sarvesh Ranade
over 12 years ago
Note: This was originally posted on 27th May 2010 at
http://forums.arm.com
Hello,
I just wanted to know if the "*.o" file generated by armcc / RVDS giving the option of processor as Cortex M3 is similar if the Cortex M4 were available. I have some code to be run and I was wondering if the Cortex M3 generated files could work with Cortex M4.
If not then in that case is ARMv7 the closest to Cortex M4 (since Cortex documents point to ARMv7 for reference) ?
In that case can I use RVDS to generate the ".o" files for ARMv7 ?
Or do I have to wait till RVDS for Cortex M4 is available ? Is there any GNU compiler which I can use ?
I am exploring the possibility re-using the existing ARM Compiler license for the Cortex M4 to which we plan to upgrade. Any advise / guidance or tips would be helpful.
Regards,
Sarvesh
Parents
Joseph Yiu
over 12 years ago
Note: This was originally posted on 28th May 2010 at
http://forums.arm.com
Hi Sarvesh,
Programs compiled for Cortex-M3 work directly in Cortex-M4.
(instruction set of Cortex-M4 is a superset of the Cortex-M3).
So you can use RVDS to compile programs for Cortex-M3, and run it on Cortex-M4.
Keil MDK-ARM (Microcontroller Development Kit, see www.keil.com/arm/)
already have Cortex-M4 support. For the moment I suggest you to use Keil MDK-ARM to develop your application.
CodeSourcery g++ also support Cortex-M4. Please use
-march=armv7e-m -mthumb
and optionally (if you want to use floating point)
-mfloat-abi=softfp -mfpu=vfpv3xd
Hope this help.
regards,
Joseph
Cancel
Vote up
0
Vote down
Cancel
Reply
Joseph Yiu
over 12 years ago
Note: This was originally posted on 28th May 2010 at
http://forums.arm.com
Hi Sarvesh,
Programs compiled for Cortex-M3 work directly in Cortex-M4.
(instruction set of Cortex-M4 is a superset of the Cortex-M3).
So you can use RVDS to compile programs for Cortex-M3, and run it on Cortex-M4.
Keil MDK-ARM (Microcontroller Development Kit, see www.keil.com/arm/)
already have Cortex-M4 support. For the moment I suggest you to use Keil MDK-ARM to develop your application.
CodeSourcery g++ also support Cortex-M4. Please use
-march=armv7e-m -mthumb
and optionally (if you want to use floating point)
-mfloat-abi=softfp -mfpu=vfpv3xd
Hope this help.
regards,
Joseph
Cancel
Vote up
0
Vote down
Cancel
Children
No data