X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=boards%2Farduino-mega%2Fexamples%2Farduino-mega_aprs%2Fcfg%2Fcfg_randpool.h;fp=boards%2Farduino-mega%2Fexamples%2Farduino-mega_aprs%2Fcfg%2Fcfg_randpool.h;h=832859842be5b83f13b57d96b3130c4833f51eef;hb=fb92ffd3a1318c75cf703770596a007ed72d4b13;hp=0000000000000000000000000000000000000000;hpb=6529fc32983cfbb209fb279e2a2832d9185f6ee8;p=bertos.git diff --git a/boards/arduino-mega/examples/arduino-mega_aprs/cfg/cfg_randpool.h b/boards/arduino-mega/examples/arduino-mega_aprs/cfg/cfg_randpool.h new file mode 100644 index 00000000..83285984 --- /dev/null +++ b/boards/arduino-mega/examples/arduino-mega_aprs/cfg/cfg_randpool.h @@ -0,0 +1,56 @@ +/** + * \file + * + * + * \brief Configuration file for randpool module. + * + * \version $Id$ + * + * \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 */ + +