X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=boards%2Fstm32-p103%2Fbenchmark%2Fstm32-p103_context_switch%2Fcfg%2Fcfg_randpool.h;fp=boards%2Fstm32-p103%2Fbenchmark%2Fstm32-p103_context_switch%2Fcfg%2Fcfg_randpool.h;h=3038363eea76e3c63e0d34fdebc068856290e4cf;hb=1ebcf9b89595826a5c158ae6a68d4c2407b1dd52;hp=0000000000000000000000000000000000000000;hpb=0c2a292f95d10af7c39b2b3df0c1ce0c16a791ed;p=bertos.git diff --git a/boards/stm32-p103/benchmark/stm32-p103_context_switch/cfg/cfg_randpool.h b/boards/stm32-p103/benchmark/stm32-p103_context_switch/cfg/cfg_randpool.h new file mode 100644 index 00000000..3038363e --- /dev/null +++ b/boards/stm32-p103/benchmark/stm32-p103_context_switch/cfg/cfg_randpool.h @@ -0,0 +1,55 @@ +/** + * \file + * + * + * \brief Configuration file for randpool module. + * + * + * \author Daniele Basile + */ + +#ifndef CFG_RANDPOOL_H +#define CFG_RANDPOOL_H + + +/** + * Define a size, in byte, of entropy pool. + * $WIZ$ type = "int" + * $WIZ$ min = 1 + */ +#define CONFIG_SIZE_ENTROPY_POOL 64 + +/// Enable timer in randpool algo. $WIZ$ type = "boolean" +#define CONFIG_RANDPOOL_TIMER 1 + +#endif /* CFG_RANDPOOL_H */ + +