aboutsummaryrefslogtreecommitdiffstats
path: root/testhal/STM32F1xx/RTC
diff options
context:
space:
mode:
authorbarthess <barthess@35acf78f-673a-0410-8e92-d51de3d6d3f4>2011-12-15 20:49:24 +0000
committerbarthess <barthess@35acf78f-673a-0410-8e92-d51de3d6d3f4>2011-12-15 20:49:24 +0000
commit9a98744b28ecfda0d78d5983e3a2d264c36bcec7 (patch)
treefe7dd0f7dad67a0d18c5693786f4c32594c8a962 /testhal/STM32F1xx/RTC
parent124a432b0ed05568381f2bf6930a86a767f85ea6 (diff)
downloadChibiOS-9a98744b28ecfda0d78d5983e3a2d264c36bcec7.tar.gz
ChibiOS-9a98744b28ecfda0d78d5983e3a2d264c36bcec7.tar.bz2
ChibiOS-9a98744b28ecfda0d78d5983e3a2d264c36bcec7.zip
RTC. Testhal works on F4x, compiles (but not deeply tested) on F1x.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3615 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'testhal/STM32F1xx/RTC')
-rw-r--r--testhal/STM32F1xx/RTC/Makefile11
-rw-r--r--testhal/STM32F1xx/RTC/mcuconf.h2
2 files changed, 3 insertions, 10 deletions
diff --git a/testhal/STM32F1xx/RTC/Makefile b/testhal/STM32F1xx/RTC/Makefile
index e0c032c91..d11c0f579 100644
--- a/testhal/STM32F1xx/RTC/Makefile
+++ b/testhal/STM32F1xx/RTC/Makefile
@@ -5,14 +5,7 @@
# Compiler options here.
ifeq ($(USE_OPT),)
-#-fno-inline
-# Don't pay attention to the inline keyword. Normally this option is used to keep the compiler from expanding any functions inline. Note that if you are not optimizing, no functions can be expanded inline.
-#-finline-functions
-# Integrate all simple functions into their callers. The compiler heuristically decides which functions are simple enough to be worth integrating in this way.
-# If all calls to a given function are integrated, and the function is declared static, then the function is normally not output as assembler code in its own right.
-# Enabled at level '-O3'.
-
- USE_OPT = -O2 -ggdb -fomit-frame-pointer -falign-functions=16
+ USE_OPT = -O0 -ggdb -fomit-frame-pointer -falign-functions=16
#USE_OPT = -O1 -ggdb -fomit-frame-pointer -falign-functions=16 -fno-inline
#USE_OPT = -O2 -ggdb -fomit-frame-pointer -falign-functions=16 -fno-strict-aliasing
#USE_OPT = -O3 -ggdb -fomit-frame-pointer -falign-functions=16
@@ -41,7 +34,7 @@ endif
# Enable this if you want to see the full log while compiling.
ifeq ($(USE_VERBOSE_COMPILE),)
- USE_VERBOSE_COMPILE = no
+ USE_VERBOSE_COMPILE = yes
endif
#
diff --git a/testhal/STM32F1xx/RTC/mcuconf.h b/testhal/STM32F1xx/RTC/mcuconf.h
index 8413e2421..0ac17c3fd 100644
--- a/testhal/STM32F1xx/RTC/mcuconf.h
+++ b/testhal/STM32F1xx/RTC/mcuconf.h
@@ -30,7 +30,7 @@
* DMA priorities:
* 0...3 Lowest...Highest.
*/
-#include "main.h"
+
/*
* HAL driver system settings.
*/