X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=boards%2Fstm32-p103%2Fbenchmark%2Fkernel_footprint%2Fcfg%2Fcfg_ax25.h;fp=boards%2Fstm32-p103%2Fbenchmark%2Fkernel_footprint%2Fcfg%2Fcfg_ax25.h;h=64f862f1eb8a935505b72ddf3cbda150ce258e5f;hb=09bc15f21ff2875f1cb44aabfba8c8e9cc39b586;hp=0000000000000000000000000000000000000000;hpb=febbff6f3b8e3e825aad6b33519380de1462114a;p=bertos.git diff --git a/boards/stm32-p103/benchmark/kernel_footprint/cfg/cfg_ax25.h b/boards/stm32-p103/benchmark/kernel_footprint/cfg/cfg_ax25.h new file mode 100644 index 00000000..64f862f1 --- /dev/null +++ b/boards/stm32-p103/benchmark/kernel_footprint/cfg/cfg_ax25.h @@ -0,0 +1,76 @@ +/** + * \file + * + * + * \brief Configuration file for the AX25 protocol module. + * + * \version $Id$ + * \author Francesco Sacchi + */ + +#ifndef CFG_AX25_H +#define CFG_AX25_H + +/** + * Module logging level. + * + * $WIZ$ type = "enum" + * $WIZ$ value_list = "log_level" + */ +#define AX25_LOG_LEVEL LOG_LVL_WARN + +/** + * Module logging format. + * + * $WIZ$ type = "enum" + * $WIZ$ value_list = "log_format" + */ +#define AX25_LOG_FORMAT LOG_FMT_TERSE + +/** + * AX25 frame buffer lenght. + * + * $WIZ$ type = "int" + * $WIZ$ min = 18 + */ +#define CONFIG_AX25_FRAME_BUF_LEN 330 + + +/** + * Enable repeaters listing in AX25 frames. + * If enabled use 56 addtional bytes of RAM + * for each message received. + * + * $WIZ$ type = "boolean" + */ +#define CONFIG_AX25_RPT_LST 1 + +#endif /* CFG_AX25_H */