mirror of
https://git.rwth-aachen.de/acs/public/villas/node/
synced 2025-03-30 00:00:11 +01:00
git-svn-id: https://zerberus.eonerc.rwth-aachen.de:8443/svn/s2ss/trunk@3 8ec27952-4edc-4aab-86aa-e87bb2611832
32 lines
872 B
C
32 lines
872 B
C
/**
|
|
* Configuration
|
|
*
|
|
* @author Steffen Vogel <stvogel@eonerc.rwth-aachen.de>
|
|
* @copyright 2014, Institute for Automation of Complex Power Systems, EONERC
|
|
*/
|
|
|
|
#ifndef _CONFIG_H_
|
|
#define _CONFIG_H_
|
|
|
|
/// The version number of the s2ss server
|
|
#define VERSION "0.01"
|
|
/// The Procotol version determines the format of a struct msg
|
|
#define PROTOCOL 0
|
|
/// The name of this node
|
|
#define NAME "acs"
|
|
|
|
#define PRIORITY sched_get_priority_max(SCHED_FIFO)
|
|
#define CORES ((1 << 6) | (1 << 7))
|
|
|
|
/// Maximum number of double values in a struct msg
|
|
#define MAX_VALUES 4
|
|
/// Maximum number of registrable hook functions per path
|
|
#define MAX_HOOKS 5
|
|
/// Maximum number of paths
|
|
#define MAX_PATHS 2
|
|
/// Maximum number of nodes
|
|
#define MAX_NODES 2
|
|
/// Size of the stack which gets prefaulted during initialization
|
|
#define MAX_SAFE_STACK (16*1024) /* 16 KiB */
|
|
|
|
#endif /* _CONFIG_H_ */
|