bsp/lm3s69xx: Use shared timer stub driver

This commit is contained in:
Sebastian Huber
2012-03-24 20:57:21 +01:00
parent 1ed238ec43
commit 954393caec
2 changed files with 1 additions and 36 deletions

View File

@@ -103,7 +103,7 @@ libbsp_a_SOURCES += ../../shared/clockdrv_shell.h
libbsp_a_SOURCES += ../shared/armv7m/clock/armv7m-clock-config.c
# Timer
libbsp_a_SOURCES += timer/timer.c
libbsp_a_SOURCES += ../../shared/timerstub.c
# Cache
libbsp_a_SOURCES += ../../../libcpu/shared/src/cache_manager.c \

View File

@@ -1,35 +0,0 @@
/*
* Copyright (c) 2011 Sebastian Huber. All rights reserved.
*
* embedded brains GmbH
* Obere Lagerstr. 30
* 82178 Puchheim
* Germany
* <rtems@embedded-brains.de>
*
* The license and distribution terms for this file may be
* found in the file LICENSE in this distribution or at
* http://www.rtems.com/license/LICENSE.
*/
#include <rtems/btimer.h>
static bool benchmark_timer_find_average_overhead = false;
void benchmark_timer_initialize(void)
{
/* TODO */
}
uint32_t benchmark_timer_read(void)
{
/* TODO */
return 0;
}
void benchmark_timer_disable_subtracting_average_overhead(
bool find_average_overhead
)
{
benchmark_timer_find_average_overhead = find_average_overhead;
}