aboutsummaryrefslogtreecommitdiffstats
path: root/testhal/STM32F1xx/I2C/Makefile
diff options
context:
space:
mode:
authorbarthess <barthess@35acf78f-673a-0410-8e92-d51de3d6d3f4>2011-12-08 20:17:13 +0000
committerbarthess <barthess@35acf78f-673a-0410-8e92-d51de3d6d3f4>2011-12-08 20:17:13 +0000
commit4ca9e4ad312453e11c17746aaa01b4fb637eb83a (patch)
treeb8ad2a8049314384e30f414b146ee4a875fbc953 /testhal/STM32F1xx/I2C/Makefile
parent8a3ce5e27333e4dc6bd8047c440b84f3060d7d0e (diff)
parent8196de6aef7616f7df96d757dddc9cfa9eb661dc (diff)
downloadChibiOS-4ca9e4ad312453e11c17746aaa01b4fb637eb83a.tar.gz
ChibiOS-4ca9e4ad312453e11c17746aaa01b4fb637eb83a.tar.bz2
ChibiOS-4ca9e4ad312453e11c17746aaa01b4fb637eb83a.zip
RTC for F4x branch.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/rtc_dev@3585 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'testhal/STM32F1xx/I2C/Makefile')
-rw-r--r--testhal/STM32F1xx/I2C/Makefile20
1 files changed, 12 insertions, 8 deletions
diff --git a/testhal/STM32F1xx/I2C/Makefile b/testhal/STM32F1xx/I2C/Makefile
index b8b1b0741..829c472df 100644
--- a/testhal/STM32F1xx/I2C/Makefile
+++ b/testhal/STM32F1xx/I2C/Makefile
@@ -9,6 +9,11 @@ ifeq ($(USE_OPT),)
#USE_OPT = -O2 -ggdb -fomit-frame-pointer -falign-functions=16 -Wall -Wextra
endif
+# C specific options here (added to USE_OPT).
+ifeq ($(USE_COPT),)
+ USE_COPT =
+endif
+
# C++ specific options here (added to USE_OPT).
ifeq ($(USE_CPPOPT),)
USE_CPPOPT = -fno-rtti
@@ -24,9 +29,9 @@ ifeq ($(USE_THUMB),)
USE_THUMB = yes
endif
-# Enable register caching optimization (read documentation).
-ifeq ($(USE_CURRP_CACHING),)
- USE_CURRP_CACHING = no
+# Enable this if you want to see the full log while compiling.
+ifeq ($(USE_VERBOSE_COMPILE),)
+ USE_VERBOSE_COMPILE = no
endif
#
@@ -58,7 +63,7 @@ LDSCRIPT= $(PORTLD)/STM32F103xB.ld
# Imported source files
CHIBIOS = ../../..
-include $(CHIBIOS)/boards/OLIMEX_STM32_P103/board.mk
+include $(CHIBIOS)/boards/OLIMEX_STM32_103STK/board.mk
include $(CHIBIOS)/os/hal/platforms/STM32F1xx/platform.mk
include $(CHIBIOS)/os/hal/hal.mk
include $(CHIBIOS)/os/ports/GCC/ARMCMx/STM32F1xx/port.mk
@@ -77,9 +82,9 @@ CSRC = $(PORTSRC) \
$(CHIBIOS)/os/various/syscalls.c \
main.c \
i2c_pns.c \
- tmp75.c\
- max1236.c\
- lis3.c\
+ lis3.c \
+ tmp75.c \
+ fake.c
@@ -122,7 +127,6 @@ INCDIR = $(PORTINC) $(KERNINC) $(TESTINC) \
# Compiler settings
#
-# -lm добавлен именно здесь, потому что больше некуда
MCU = cortex-m3
#TRGT = arm-elf-