forked from Imagelibrary/rtems
bsp/lm3s69xx: Use shared timer stub driver
This commit is contained in:
@@ -103,7 +103,7 @@ libbsp_a_SOURCES += ../../shared/clockdrv_shell.h
|
|||||||
libbsp_a_SOURCES += ../shared/armv7m/clock/armv7m-clock-config.c
|
libbsp_a_SOURCES += ../shared/armv7m/clock/armv7m-clock-config.c
|
||||||
|
|
||||||
# Timer
|
# Timer
|
||||||
libbsp_a_SOURCES += timer/timer.c
|
libbsp_a_SOURCES += ../../shared/timerstub.c
|
||||||
|
|
||||||
# Cache
|
# Cache
|
||||||
libbsp_a_SOURCES += ../../../libcpu/shared/src/cache_manager.c \
|
libbsp_a_SOURCES += ../../../libcpu/shared/src/cache_manager.c \
|
||||||
|
|||||||
@@ -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;
|
|
||||||
}
|
|
||||||
Reference in New Issue
Block a user