nico@207: nico@207:
nico@207:00001 /* nico@207: 00002 This file is part of CanFestival, a library implementing CanOpen Stack. nico@207: 00003 nico@207: 00004 Copyright (C): Edouard TISSERANT and Francis DUPIN nico@207: 00005 See COPYING file for copyrights details. nico@207: 00006 nico@207: 00007 This library is free software; you can redistribute it and/or nico@207: 00008 modify it under the terms of the GNU Lesser General Public nico@207: 00009 License as published by the Free Software Foundation; either nico@207: 00010 version 2.1 of the License, or (at your option) any later version. nico@207: 00011 nico@207: 00012 This library is distributed in the hope that it will be useful, nico@207: 00013 but WITHOUT ANY WARRANTY; without even the implied warranty of nico@207: 00014 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU nico@207: 00015 Lesser General Public License for more details. nico@207: 00016 nico@207: 00017 You should have received a copy of the GNU Lesser General Public nico@207: 00018 License along with this library; if not, write to the Free Software nico@207: 00019 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA nico@207: 00020 */ nico@207: 00021 nico@207: 00022 #ifndef _CONFIG_H_ nico@207: 00023 #define _CONFIG_H_ nico@207: 00024 nico@207: 00025 #define MAX_CAN_BUS_ID 1 nico@207: 00026 #define SDO_MAX_LENGTH_TRANSFERT 32 nico@207: 00027 #define SDO_MAX_SIMULTANEOUS_TRANSFERTS 4 nico@207: 00028 #define NMT_MAX_NODE_ID 128 nico@207: 00029 #define SDO_TIMEOUT_MS 3000 nico@207: 00030 #define MAX_NB_TIMER 32 nico@207: 00031 // CANOPEN_BIG_ENDIAN is not defined nico@207: 00032 nico@207: 00033 #define US_TO_TIMEVAL_FACTOR 1 nico@207: 00034 nico@207: 00035 #define REPEAT_SDO_MAX_SIMULTANEOUS_TRANSFERTS_TIMES(repeat)\ nico@207: 00036 repeat repeat repeat repeat nico@207: 00037 #define REPEAT_NMT_MAX_NODE_ID_TIMES(repeat)\ nico@207: 00038 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 nico@207: 00039 nico@207: 00040 #endif /* _CONFIG_H_ */ nico@207: