source: flair-src/trunk/lib/FlairCore/src/unexported/config.h@ 98

Last change on this file since 98 was 15, checked in by Bayard Gildas, 6 years ago

sources reformatted with flair-format-dir script

File size: 1.6 KB
RevLine 
[2]1// %flair:license{
[15]2// This file is part of the Flair framework distributed under the
3// CECILL-C License, Version 1.0.
[2]4// %flair:license}
5// created: 2013/04/21
6// filename: config.h
7//
8// author: Guillaume Sanahuja
9// Copyright Heudiasyc UMR UTC/CNRS 7253
10//
11// version: $Id: $
12//
13// purpose: configuration du framework
14//
15//
16/*********************************************************************/
17
18#ifndef CONFIG_H
19#define CONFIG_H
20
[15]21// stack size of nrt threads, comment it to use default value
22#define NRT_STACK_SIZE 1024 * 1024 * 1
[2]23
[15]24// stack size of rt threads, comment it to use default value
25#define RT_STACK_SIZE 1024 * 100
[2]26
[15]27// rt pipe size, comment it to use system heap
28#define RT_PIPE_SIZE 1024 * 1024
[2]29
[15]30// nrt pipe size
31#define NRT_PIPE_SIZE 1024 * 100
[2]32
[15]33// rt log heap size
34#define LOG_HEAP 1024 * 100
[2]35
[15]36// xml heap size
37#define XML_HEAP 5 * 1024 * 1024
[2]38
[15]39// nrt pipe path
[2]40#define NRT_PIPE_PATH "/proc/xenomai/registry/native/pipes/"
41
[15]42// min priority for Threads
[2]43#define MIN_THREAD_PRIORITY 20
44
[15]45// max priority for Threads
[2]46#define MAX_THREAD_PRIORITY 99
47
[15]48// priority of the FrameworkManager task (manages udt connection)
[2]49#define FRAMEWORK_TASK_PRIORITY 1
50
[15]51// timeout in ms for select
[2]52#define SELECT_TIMEOUT_MS 200
53
[15]54// type of xml root element
[2]55#define XML_ROOT_TYPE "root"
56
[15]57// name of xml root element
[2]58//#define XML_ROOT_ELEMENT "Manager"
59
[15]60// name of main tabwidget
[2]61#define XML_MAIN_TABWIDGET "Main_TabWidget"
62
[15]63// name of app tabwidget
[2]64#define XML_APP_TABWIDGET "App_TabWidget"
65
[15]66// use compression for messages with ground station
[2]67#define COMPRESS_FRAMES
68
[15]69// size of buffer shunck
[2]70#define COMPRESS_CHUNK 1024
71
72#endif // CONFIG_H
Note: See TracBrowser for help on using the repository browser.