Skip to content
Snippets Groups Projects
Commit 9e1aa128 authored by Sergi Hernandez's avatar Sergi Hernandez
Browse files

Added specific compilation flags for each of thr processor types.

parent bdfa898f
No related branches found
No related tags found
No related merge requests found
...@@ -5,8 +5,10 @@ COMPILE_OPTS = -mlittle-endian -mthumb -mthumb-interwork ...@@ -5,8 +5,10 @@ COMPILE_OPTS = -mlittle-endian -mthumb -mthumb-interwork
COMPILE_OPTS += -Wall -O2 -fno-common COMPILE_OPTS += -Wall -O2 -fno-common
COMPILE_OPTS += -ffreestanding -nostdlib COMPILE_OPTS += -ffreestanding -nostdlib
COMPILE_OPTS_HARD = -mfloat-abi=hard -mfpu=fpv4-sp-d16 -mcpu=cortex-m4 COMPILE_OPTS_M4_FPU = -mfloat-abi=hard -mfpu=fpv4-sp-d16 -mcpu=cortex-m4
COMPILE_OPTS_SOFT = -mfloat-abi=softfp -mcpu=cortex-m3 COMPILE_OPTS_M0 = -mfloat-abi=softfp -mcpu=cortex-m0
COMPILE_OPTS_M0plus = -mfloat-abi=softfp -mcpu=cortex-m0plus
COMPILE_OPTS_M3 = -mfloat-abi=softfp -mcpu=cortex-m3
COMM_PATH = ../comm COMM_PATH = ../comm
UTILS_PATH = ../utils UTILS_PATH = ../utils
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment