diff --git a/Makefile b/Makefile index 8ee5fde0b..68d8f4a96 100644 --- a/Makefile +++ b/Makefile @@ -241,7 +241,8 @@ CC_NO_OPTIMISATION := # TEMPORARY_FLAGS := -Wno-attributes \ -Wno-cast-function-type \ - -Wno-address-of-packed-member + -Wno-address-of-packed-member \ + -Wno-absolute-value CFLAGS += $(ARCH_FLAGS) \ $(addprefix -D,$(OPTIONS)) \ diff --git a/src/link/stm32_flash_h750_exst.ld b/src/link/stm32_flash_h750_exst.ld index bdae4c5a1..d968b1a63 100644 --- a/src/link/stm32_flash_h750_exst.ld +++ b/src/link/stm32_flash_h750_exst.ld @@ -61,10 +61,7 @@ MEMORY DTCM_RAM (rwx) : ORIGIN = 0x20000000, LENGTH = 128K RAM (rwx) : ORIGIN = 0x24000000, LENGTH = 64K CODE_RAM (rx) : ORIGIN = 0x24010000, LENGTH = 448K - _exst_hash_size /* hard coded start address, as required by SPRACINGH7 boot loader, don't change! */ - /*EXST_HASH (rx) : ORIGIN = 0x24010000 + LENGTH(CODE_RAM), LENGTH = _exst_hash_size*/ -/* Workaround for https://sourceware.org/bugzilla/show_bug.cgi?id=24289, - * revert after this has been fixed in the ARM gcc. */ - EXST_HASH (rx) : ORIGIN = 0x2407FFC0, LENGTH = _exst_hash_size + EXST_HASH (rx) : ORIGIN = 0x24010000 + LENGTH(CODE_RAM), LENGTH = _exst_hash_size D2_RAM (rwx) : ORIGIN = 0x30000000, LENGTH = 256K /* SRAM1 + SRAM2 */