Skip to content

Commit fce8b9c

Browse files
committed
Build at O2 except for DDR RAM
1 parent 77edf38 commit fce8b9c

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Makefile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@ BINARYNAME = fsbl
22

33
SERIES ?= stm32mp15x
44

5-
OPTFLAG = -O0
5+
OPTFLAG = -O2
6+
build/obj/obj/third-party/STM32MP13x_HAL_Driver/Src/stm32mp13xx_hal_ddr.o: OPTFLAG = -O0
67

78
SRCDIR = src
89
EXTLIBDIR = third-party
@@ -58,6 +59,7 @@ else
5859
endif
5960

6061

62+
6163
MCU = -mcpu=cortex-a7 -march=armv7ve -mfpu=neon-vfpv4 -mlittle-endian -mfloat-abi=hard
6264

6365

0 commit comments

Comments
 (0)