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

Last change on this file was 229, checked in by Sanahuja Guillaume, 4 years ago

m

File size: 1.6 KB
Line 
1// %flair:license{
2// This file is part of the Flair framework distributed under the
3// CECILL-C License, Version 1.0.
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
21// stack size of nrt threads, comment it to use default value
22// only used for user threads in udpsocket and ui_com, in case of the rt library
23#define NRT_STACK_SIZE 1024 * 1024 * 1
24
25// rt pipe size, comment it to use system heap
26#define RT_PIPE_SIZE 1024 * 1024
27
28// nrt pipe size
29#define NRT_PIPE_SIZE 1024 * 100*10
30
31// rt log heap size
32#define RT_LOG_HEAP 1024 * 100
33
34// rt xml heap size
35#define RT_XML_HEAP 5 * 1024 * 1024
36
37// nrt pipe path
38#define NRT_PIPE_PATH "/proc/xenomai/registry/native/pipes/"
39
40// min priority for Threads
41#define MIN_THREAD_PRIORITY 20
42
43// max priority for Threads
44#define MAX_THREAD_PRIORITY 99
45
46// priority of the FrameworkManager task (manages udt connection)
47#define FRAMEWORK_TASK_PRIORITY 1
48
49// timeout in ms for select
50#define SELECT_TIMEOUT_MS 200
51
52// type of xml root element
53#define XML_ROOT_TYPE "root"
54
55// name of xml root element
56//#define XML_ROOT_ELEMENT "Manager"
57
58// name of main tabwidget
59#define XML_MAIN_TABWIDGET "Main_TabWidget"
60
61// name of app tabwidget
62#define XML_APP_TABWIDGET "App_TabWidget"
63
64// use compression for messages with ground station
65#define COMPRESS_FRAMES
66
67// size of buffer chunk
68#define COMPRESS_CHUNK 1024
69
70#endif // CONFIG_H
Note: See TracBrowser for help on using the repository browser.