aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--os/common/ports/ARMCMx/compilers/GCC/ld/STM32F302x8.ld2
-rw-r--r--testhal/STM32/STM32F4xx/IRQ_STORM_FPU/Makefile2
2 files changed, 2 insertions, 2 deletions
diff --git a/os/common/ports/ARMCMx/compilers/GCC/ld/STM32F302x8.ld b/os/common/ports/ARMCMx/compilers/GCC/ld/STM32F302x8.ld
index 7e9b46c06..2d5461957 100644
--- a/os/common/ports/ARMCMx/compilers/GCC/ld/STM32F302x8.ld
+++ b/os/common/ports/ARMCMx/compilers/GCC/ld/STM32F302x8.ld
@@ -23,7 +23,7 @@
MEMORY
{
flash : org = 0x08000000, len = 64k
- ram0 : org = 0x20000000, len = 12k
+ ram0 : org = 0x20000000, len = 16k
ram1 : org = 0x00000000, len = 0
ram2 : org = 0x00000000, len = 0
ram3 : org = 0x00000000, len = 0
diff --git a/testhal/STM32/STM32F4xx/IRQ_STORM_FPU/Makefile b/testhal/STM32/STM32F4xx/IRQ_STORM_FPU/Makefile
index 4198e3c85..94c488700 100644
--- a/testhal/STM32/STM32F4xx/IRQ_STORM_FPU/Makefile
+++ b/testhal/STM32/STM32F4xx/IRQ_STORM_FPU/Makefile
@@ -5,7 +5,7 @@
# Compiler options here.
ifeq ($(USE_OPT),)
- USE_OPT = -O0 -ggdb -fomit-frame-pointer -falign-functions=16
+ USE_OPT = -O2 -ggdb -fomit-frame-pointer -falign-functions=16
endif
# C specific options here (added to USE_OPT).