X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=boards%2Fstm32-p103%2Fbenchmark%2Fcontext_switch%2Fcfg%2Fcfg_ax25.h;fp=boards%2Fstm32-p103%2Fbenchmark%2Fcontext_switch%2Fcfg%2Fcfg_ax25.h;h=64f862f1eb8a935505b72ddf3cbda150ce258e5f;hb=a256e501c16b63a423267f8621d6bdcda20d3f3a;hp=0000000000000000000000000000000000000000;hpb=316505254b7c56603441d01182c5e71470f1a3ff;p=bertos.git diff --git a/boards/stm32-p103/benchmark/context_switch/cfg/cfg_ax25.h b/boards/stm32-p103/benchmark/context_switch/cfg/cfg_ax25.h new file mode 100644 index 00000000..64f862f1 --- /dev/null +++ b/boards/stm32-p103/benchmark/context_switch/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 */