X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;ds=sidebyside;f=boards%2Fek-lm3s1968%2Fbenchmark%2Fkernel_footprint%2Fcfg%2Fcfg_timer.h;fp=boards%2Fek-lm3s1968%2Fbenchmark%2Fkernel_footprint%2Fcfg%2Fcfg_timer.h;h=1cff78b89426a8b68c68f2b03495498f788502d7;hb=5c610c526235fef906506165ef069d88fd0ca210;hp=0000000000000000000000000000000000000000;hpb=b3275d403a59f8c2b042abcb7a6b168e50105061;p=bertos.git diff --git a/boards/ek-lm3s1968/benchmark/kernel_footprint/cfg/cfg_timer.h b/boards/ek-lm3s1968/benchmark/kernel_footprint/cfg/cfg_timer.h new file mode 100644 index 00000000..1cff78b8 --- /dev/null +++ b/boards/ek-lm3s1968/benchmark/kernel_footprint/cfg/cfg_timer.h @@ -0,0 +1,68 @@ +/** + * \file + * + * + * \brief Configuration file for timer module. + * + * \version $Id$ + * + * \author Daniele Basile + */ + +#ifndef CFG_TIMER_H +#define CFG_TIMER_H + +/** + * Hardware timer selection for drv/timer.c. + * $WIZ$ type = "enum" + * $WIZ$ value_list = "timer_select" + */ +#define CONFIG_TIMER TIMER_DEFAULT + +/** + * Debug timer interrupt using a strobe pin. + * $WIZ$ type = "boolean" + */ +#define CONFIG_TIMER_STROBE 0 + +/** + * Enable asynchronous timers. + * $WIZ$ type = "boolean" + */ +#define CONFIG_TIMER_EVENTS 1 + +/** + * Support hi-res timer_usleep(). + * $WIZ$ type = "boolean" + */ +#define CONFIG_TIMER_UDELAY 1 + +#endif /* CFG_TIMER_H */