diff options
author | Rocco Marco Guglielmi <roccomarco.guglielmi@gmail.com> | 2018-02-27 20:41:45 +0000 |
---|---|---|
committer | Rocco Marco Guglielmi <roccomarco.guglielmi@gmail.com> | 2018-02-27 20:41:45 +0000 |
commit | e9f249bc21d5f5711464a53d0183f97a2e601180 (patch) | |
tree | 2829a06f90cf4cb827638074634e05989ca3709c /testex/STM32/STM32F3xx/I2C-LSM303DLHC/Makefile | |
parent | 8ac0bdb4c892eb7d228059778712dc816f566327 (diff) | |
download | ChibiOS-e9f249bc21d5f5711464a53d0183f97a2e601180.tar.gz ChibiOS-e9f249bc21d5f5711464a53d0183f97a2e601180.tar.bz2 ChibiOS-e9f249bc21d5f5711464a53d0183f97a2e601180.zip |
Improved LSM303DLHC driver. Modified base demo
git-svn-id: https://svn.code.sf.net/p/chibios/svn2/trunk@11589 110e8d01-0319-4d1e-a829-52ad28d1bb01
Diffstat (limited to 'testex/STM32/STM32F3xx/I2C-LSM303DLHC/Makefile')
-rw-r--r-- | testex/STM32/STM32F3xx/I2C-LSM303DLHC/Makefile | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/testex/STM32/STM32F3xx/I2C-LSM303DLHC/Makefile b/testex/STM32/STM32F3xx/I2C-LSM303DLHC/Makefile index 00d84bee6..248abd281 100644 --- a/testex/STM32/STM32F3xx/I2C-LSM303DLHC/Makefile +++ b/testex/STM32/STM32F3xx/I2C-LSM303DLHC/Makefile @@ -5,7 +5,7 @@ # Compiler options here.
ifeq ($(USE_OPT),)
- USE_OPT = -O2 -ggdb -fomit-frame-pointer -falign-functions=16
+ USE_OPT = -O0 -ggdb -fomit-frame-pointer -falign-functions=16
endif
# C specific options here (added to USE_OPT).
@@ -92,7 +92,7 @@ include $(CHIBIOS)/os/common/startup/ARMCMx/compilers/GCC/mk/startup_stm32f3xx.m # HAL-OSAL files (optional).
include $(CHIBIOS)/os/hal/hal.mk
include $(CHIBIOS)/os/hal/ports/STM32/STM32F3xx/platform.mk
-include $(CHIBIOS)/os/hal/boards/ST_STM32F3_DISCOVERY/board.mk
+include $(CHIBIOS)/os/hal/boards/ST_STM32F3_DISCOVERY_REVC/board.mk
include $(CHIBIOS)/os/hal/osal/rt/osal.mk
# RTOS files (optional).
include $(CHIBIOS)/os/rt/rt.mk
@@ -100,7 +100,6 @@ include $(CHIBIOS)/os/common/ports/ARMCMx/compilers/GCC/mk/port_v7m.mk # Other files (optional).
include $(CHIBIOS)/os/ex/ST/lsm303dlhc.mk
include $(CHIBIOS)/os/hal/lib/streams/streams.mk
-include $(CHIBIOS)/os/various/shell/shell.mk
# Define linker script file here
LDSCRIPT= $(STARTUPLD)/STM32F303xC.ld
@@ -116,8 +115,7 @@ CSRC = $(STARTUPSRC) \ $(BOARDSRC) \
$(LSM303DLHCSRC) \
$(STREAMSSRC) \
- $(SHELLSRC) \
- usbcfg.c main.c
+ main.c
# C++ sources that can be compiled in ARM or THUMB mode depending on the global
# setting.
|