etisserant@145: /* etisserant@145: This file is part of CanFestival, a library implementing CanOpen Stack. etisserant@145: etisserant@145: Copyright (C): Edouard TISSERANT and Francis DUPIN etisserant@145: See COPYING file for copyrights details. etisserant@145: etisserant@145: This library is free software; you can redistribute it and/or etisserant@145: modify it under the terms of the GNU Lesser General Public etisserant@145: License as published by the Free Software Foundation; either etisserant@145: version 2.1 of the License, or (at your option) any later version. etisserant@145: etisserant@145: This library is distributed in the hope that it will be useful, etisserant@145: but WITHOUT ANY WARRANTY; without even the implied warranty of etisserant@145: MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU etisserant@145: Lesser General Public License for more details. etisserant@145: etisserant@145: You should have received a copy of the GNU Lesser General Public etisserant@145: License along with this library; if not, write to the Free Software etisserant@145: Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA etisserant@145: */ etisserant@145: etisserant@145: #ifndef _CONFIG_H_ etisserant@145: #define _CONFIG_H_ etisserant@145: etisserant@145: #define MAX_CAN_BUS_ID 1 etisserant@145: #define SDO_MAX_LENGTH_TRANSFERT 32 etisserant@145: #define SDO_MAX_SIMULTANEOUS_TRANSFERTS 4 etisserant@145: #define NMT_MAX_NODE_ID 128 etisserant@145: #define SDO_TIMEOUT_MS 3000 etisserant@145: #define MAX_NB_TIMER 32 etisserant@145: // CANOPEN_BIG_ENDIAN is not defined etisserant@145: etisserant@145: #define US_TO_TIMEVAL_FACTOR 1 etisserant@145: etisserant@145: #define REPEAT_SDO_MAX_SIMULTANEOUS_TRANSFERTS_TIMES(repeat)\ etisserant@145: repeat repeat repeat repeat etisserant@145: #define REPEAT_NMT_MAX_NODE_ID_TIMES(repeat)\ etisserant@145: repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat etisserant@145: etisserant@145: #endif /* _CONFIG_H_ */