EmbDev.net

Forum: ARM programming with GCC/GNU tools yagarto with ARM9


von Test U. (csosza77)


Rate this post
useful
not useful
Hi,

Im using the yagarto tools with command line on windows. I successfully 
compile projects on ARM7. Now I want to use it on ARM9.

In the makfile there is a line for ARM7 (probably)
MCU = arm7tdmi

What should this line is for ARM9? Is this documented somewhere?

Thanks

von Martin T. (mthomas) (Moderator)


Rate this post
useful
not useful
The MCU variable in the makefile is passed to compiler/linker by -mcpu= 
(search the makefile for $(MCU) ). For supported devices:
1
C:\>arm-none-eabi-gcc --target-help
2
The following options are target specific:
3
[...]
4
  Known ARM CPUs (for use with the -mcpu= and -mtune= options):
5
    cortex-m0, cortex-m1, cortex-m3, cortex-m4, cortex-r4f, cortex-r4,
6
    cortex-a9, cortex-a8, cortex-a5, arm1156t2-s, mpcore, mpcorenovfp,
7
    arm1176jzf-s, arm1176jz-s, arm1136jf-s, arm1136j-s, arm1026ej-s, arm926ej-s,
8
    marvell-f, iwmmxt2, iwmmxt, xscale, arm1022e, arm1020e, arm10e, arm968e-s,
9
    arm966e-s, arm946e-s, arm9e, arm1020t, arm10tdmi, ep9312, arm940t, arm922t,
10
    arm920t, arm920, arm9tdmi, arm9, arm740t, arm720t, arm710t, arm7tdmi-s,
11
    arm7tdmi, strongarm1110, strongarm1100, strongarm110, strongarm, arm810,
12
    arm8, arm7dmi, arm7dm, arm7m, arm7500fe, arm7500, arm7100, arm710c, arm720,
13
    arm710, arm700i, arm700, arm70, arm7di, arm7d, arm7, arm620, arm610, arm600,
14
    arm60, arm6, arm3, arm250, arm2
15
16
  Known ARM architectures (for use with the -march= option):
17
    marvell-f, iwmmxt2, iwmmxt, ep9312, armv7e-m, armv7-m, armv7-r, armv7-a,
18
    armv7, armv6-m, armv6t2, armv6zk, armv6z, armv6k, armv6j, armv6, armv5te,
19
    armv5e, armv5t, armv5, armv4t, armv4, armv3m, armv3, armv2a, armv2
20
[...]

For further information read the GNU gcc and GNU binutils manuals.

Please log in before posting. Registration is free and takes only a minute.
Existing account
Do you have a Google/GoogleMail account? No registration required!
Log in with Google account
No account? Register here.