devices.data: stm32h7: fix fpu and mem offsets

Filed via: https://github.com/libopencm3/libopencm3/pull/1451

We've decided that the 1 based numbering is saner, and should be the new
norm going forwards, even though SAM3 and LPC both use zero based
numbering.

Reviewed-by: Karl Palsson <karlp@tweak.au>
This commit is contained in:
Sebastien Lorquet
2023-01-05 12:13:23 +01:00
committed by Karl Palsson
parent de96f0f4aa
commit 84a59d925d
2 changed files with 3 additions and 1 deletions

View File

@@ -41,6 +41,8 @@ ifeq ($(genlink_fpu),soft)
ARCH_FLAGS += -msoft-float
else ifeq ($(genlink_fpu),hard-fpv4-sp-d16)
ARCH_FLAGS += -mfloat-abi=hard -mfpu=fpv4-sp-d16
else ifeq ($(genlink_fpu),hard-fpv5-d16)
ARCH_FLAGS += -mfloat-abi=hard -mfpu=fpv5-d16
else ifeq ($(genlink_fpu),hard-fpv5-sp-d16)
ARCH_FLAGS += -mfloat-abi=hard -mfpu=fpv5-sp-d16
else