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

Modified the Makefile to avoid compiling the EEPROM module.

parent 34d4e318
No related branches found
No related tags found
No related merge requests found
......@@ -2,7 +2,7 @@
# modified by zerom for WinARM 8/2010
COMPILE_OPTS = -mlittle-endian -mthumb -mthumb-interwork
#COMPILE_OPTS += -Wall -O2 -fno-common
#COMPILE_OPTS += -Wall -O2 -fno-common
COMPILE_OPTS += -Wall -g -fno-common
COMPILE_OPTS += -ffreestanding -nostdlib
......@@ -11,7 +11,7 @@ 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
INCLUDE_DIRS = -I./include/
INCLUDE_DIRS = -I./include/
TCHAIN_PREFIX=arm-none-eabi-
......@@ -27,7 +27,9 @@ MEMORY_OUT_M0plus = ./lib/memory_m0plus.a
MEMORY_OUT_M3 = ./lib/memory_m3.a
SRC_DIR=./src/
SRC=$(wildcard $(SRC_DIR)*.c)
SRC=$(SRC_DIR)/ram.c
SRC+=$(SRC_DIR)/memory.c
SRC+=$(SRC_DIR)/mem_module.c
MEMORY_M4_FPU_OBJ_DIR=build/m4_fpu/
MEMORY_M4_FPU_OBJS_TMP = $(notdir $(SRC:.c=.o))
......
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