diff options
author | barthess <barthess@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2012-03-09 18:33:26 +0000 |
---|---|---|
committer | barthess <barthess@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2012-03-09 18:33:26 +0000 |
commit | 3c311dfe589b6a6b1fd46af2e3138512fe2135fa (patch) | |
tree | cda6528f0bfc9523d6c72ce4f43934feaf023bd1 /testhal/STM32F1xx | |
parent | 2b35b5a2a5a9484332edebaca861a87910cf6715 (diff) | |
download | ChibiOS-3c311dfe589b6a6b1fd46af2e3138512fe2135fa.tar.gz ChibiOS-3c311dfe589b6a6b1fd46af2e3138512fe2135fa.tar.bz2 ChibiOS-3c311dfe589b6a6b1fd46af2e3138512fe2135fa.zip |
RTC. High level staff moved to chrtclib.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/sdc_dev2@4032 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'testhal/STM32F1xx')
-rw-r--r-- | testhal/STM32F1xx/RTC/Makefile | 1 | ||||
-rw-r--r-- | testhal/STM32F1xx/RTC/main.c | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/testhal/STM32F1xx/RTC/Makefile b/testhal/STM32F1xx/RTC/Makefile index 9fc777248..3d28124f2 100644 --- a/testhal/STM32F1xx/RTC/Makefile +++ b/testhal/STM32F1xx/RTC/Makefile @@ -79,6 +79,7 @@ CSRC = $(PORTSRC) \ $(BOARDSRC) \
$(CHIBIOS)/os/various/evtimer.c \
$(CHIBIOS)/os/various/syscalls.c \
+ $(CHIBIOS)/os/various/chrtclib.c \
main.c \
# C++ sources that can be compiled in ARM or THUMB mode depending on the global
diff --git a/testhal/STM32F1xx/RTC/main.c b/testhal/STM32F1xx/RTC/main.c index bd3faa493..380afdad3 100644 --- a/testhal/STM32F1xx/RTC/main.c +++ b/testhal/STM32F1xx/RTC/main.c @@ -21,6 +21,8 @@ #include "ch.h"
#include "hal.h"
+#include "chrtclib.h"
+
RTCTime timespec;
RTCAlarm alarmspec;
|