comp.lang.ada
 help / color / mirror / Atom feed
* support for Cortex-M7 in GNAT-GPL?
@ 2015-07-16 14:22 0x00080000
  2015-07-16 16:18 ` Luke A. Guest
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: 0x00080000 @ 2015-07-16 14:22 UTC (permalink / raw)


Dear all,

a) I have the following GNAT-GPL version for ARM installed: GNAT GPL 2015 (20150428-49)

b) Before purchasing a 32F746GDISCOVERY board containing a Cortex-M7 core, I tried to figure out if this version of gnat would support this board/micro-controller.

=>

A) different files in the runtime do seem to hint that this is indeed the case as they execute different branches depending on the value 'hard-wired' in the 'MCU device ID code' register located at address 16#E004_2000#

One of the values that this registers content is compared to is defined in the file s-stm32f.ads as:

DEV_ID_STM32F7xxxx : constant := 16#449#; 

B) However, this version of the gnat compiler does not seem to support the compiler switch -mcpu=cortex-m7

=>

As such, I'm still puzzled whether this version of gnat does indeed has support for the Cortex-M7 or not. Did anybody on this forum already tried this out?
 
Side thought:
both the Cortex-M4 and Cortex-M7 are based on the ARMv7-M ISA.
As such, specifying -mcpu=cortex-m4 just might work out fine
Despite this observation, recent versions of gcc do seem to insist on using -mcpu=cortex-m7 (?)

Kind regards,
Stijn


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2015-07-17 10:25 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-07-16 14:22 support for Cortex-M7 in GNAT-GPL? 0x00080000
2015-07-16 16:18 ` Luke A. Guest
2015-07-16 17:19 ` Jerry Petrey
2015-07-16 19:12 ` Simon Wright
2015-07-17 10:25 ` 0x00080000

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox