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