3c9774a173
1. Выделение разделяемой памяти учитывает количество требуемой памяти 2. Выложил собранные библиотеки pnet и osal 3. Добавил общее описание в readme.md
34 lines
981 B
C
34 lines
981 B
C
/*********************************************************************
|
|
* _ _ _
|
|
* _ __ | |_ _ | | __ _ | |__ ___
|
|
* | '__|| __|(_)| | / _` || '_ \ / __|
|
|
* | | | |_ _ | || (_| || |_) |\__ \
|
|
* |_| \__|(_)|_| \__,_||_.__/ |___/
|
|
*
|
|
* www.rt-labs.com
|
|
* Copyright 2018 rt-labs AB, Sweden.
|
|
*
|
|
* This software is dual-licensed under GPLv3 and a commercial
|
|
* license. See the file LICENSE.md distributed with this software for
|
|
* full license information.
|
|
********************************************************************/
|
|
|
|
#ifndef PNET_OPTIONS_H
|
|
#define PNET_OPTIONS_H
|
|
|
|
#if !defined (PNET_MAX_PHYSICAL_PORTS)
|
|
/** Max number of physical ports */
|
|
#define PNET_MAX_PHYSICAL_PORTS 1
|
|
#endif
|
|
|
|
#if !defined (PNET_MAX_DIRECTORYPATH_SIZE)
|
|
/** Max directory path size, including termination */
|
|
#define PNET_MAX_DIRECTORYPATH_SIZE 240
|
|
#endif
|
|
|
|
#if !defined (PNET_OPTION_DRIVER_ENABLE)
|
|
#define PNET_OPTION_DRIVER_ENABLE 0
|
|
#endif
|
|
|
|
#endif /* PNET_OPTIONS_H */
|