aboutsummaryrefslogtreecommitdiffstats
path: root/testhal/STM32F4xx/RTC/main.c
diff options
context:
space:
mode:
authorbarthess <barthess@35acf78f-673a-0410-8e92-d51de3d6d3f4>2013-09-29 17:44:23 +0000
committerbarthess <barthess@35acf78f-673a-0410-8e92-d51de3d6d3f4>2013-09-29 17:44:23 +0000
commit71095fd300a131b65dfbe2bd7dc3d8fc40818f32 (patch)
tree361d73d22d92956fbb9fbde29e935da67c1d7343 /testhal/STM32F4xx/RTC/main.c
parent3ffadedd4f8b3b38e9066c1970ec48515124cc30 (diff)
downloadChibiOS-71095fd300a131b65dfbe2bd7dc3d8fc40818f32.tar.gz
ChibiOS-71095fd300a131b65dfbe2bd7dc3d8fc40818f32.tar.bz2
ChibiOS-71095fd300a131b65dfbe2bd7dc3d8fc40818f32.zip
RTCv2. Add support for STM32F0xx.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@6331 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'testhal/STM32F4xx/RTC/main.c')
-rw-r--r--testhal/STM32F4xx/RTC/main.c16
1 files changed, 0 insertions, 16 deletions
diff --git a/testhal/STM32F4xx/RTC/main.c b/testhal/STM32F4xx/RTC/main.c
index 6b25d371a..ce5fdcae1 100644
--- a/testhal/STM32F4xx/RTC/main.c
+++ b/testhal/STM32F4xx/RTC/main.c
@@ -47,22 +47,6 @@ static RTCWakeup wakeupspec;
static RTCAlarm alarmspec;
static time_t unix_time;
-/* libc stub */
-int _getpid(void) {return 1;}
-/* libc stub */
-void _exit(int i) {(void)i;}
-/* libc stub */
-#include <errno.h>
-#undef errno
-extern int errno;
-int _kill(int pid, int sig) {
- (void)pid;
- (void)sig;
- errno = EINVAL;
- return -1;
-}
-
-
/* sleep indicator thread */
static WORKING_AREA(blinkWA, 128);
static msg_t blink_thd(void *arg){