X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;ds=sidebyside;f=boards%2Fsam3n-ek%2Fbenchmark%2Fkernel_footprint%2Fcfg%2Fcfg_timer.h;fp=boards%2Fsam3n-ek%2Fbenchmark%2Fkernel_footprint%2Fcfg%2Fcfg_timer.h;h=b6d43b38b6d3295299aca5e5009f1cbe65f90535;hb=cf02bef1e97d5c7c7b62986a5d47120de46c05db;hp=0000000000000000000000000000000000000000;hpb=d4b8d2d1e33c3ce82ed5c525395836d75df0e8a9;p=bertos.git diff --git a/boards/sam3n-ek/benchmark/kernel_footprint/cfg/cfg_timer.h b/boards/sam3n-ek/benchmark/kernel_footprint/cfg/cfg_timer.h new file mode 100644 index 00000000..b6d43b38 --- /dev/null +++ b/boards/sam3n-ek/benchmark/kernel_footprint/cfg/cfg_timer.h @@ -0,0 +1,67 @@ +/** + * \file + * + * + * \brief Configuration file for timer module. + * + * + * \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 */