X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;ds=sidebyside;f=boards%2Farduino%2Fexamples%2Farduino_aprs%2Fcfg%2Fcfg_md2.h;fp=boards%2Farduino%2Fexamples%2Farduino_aprs%2Fcfg%2Fcfg_md2.h;h=e937b900403d54301459bd1d0e6106dcdbe52d5e;hb=a594e47b7b2d646d20921f6444f9b6dcdae1083d;hp=0000000000000000000000000000000000000000;hpb=15646c02b1d1c7690176e197a66ee1380397fee7;p=bertos.git diff --git a/boards/arduino/examples/arduino_aprs/cfg/cfg_md2.h b/boards/arduino/examples/arduino_aprs/cfg/cfg_md2.h new file mode 100644 index 00000000..e937b900 --- /dev/null +++ b/boards/arduino/examples/arduino_aprs/cfg/cfg_md2.h @@ -0,0 +1,53 @@ +/** + * \file + * + * + * \brief Configuration file for MD2 module. + * + * + * \author Daniele Basile + */ + +#ifndef CFG_MD2_H +#define CFG_MD2_H + +/** + * Size of block for MD2 algorithm. + * $WIZ$ type = "int" + * $WIZ$ min = 2 + */ +#define CONFIG_MD2_BLOCK_LEN 16 + +/// Use standard permutation in MD2 algorithm. $WIZ$ type = "boolean" +#define CONFIG_MD2_STD_PERM 0 + +#endif /* CFG_MD2_H */ +