amiro-lld / templates / alldconf.h @ ef5bc242
History | View | Annotate | Download (1.63 KB)
1 | d6728c5b | Thomas Schöpping | /*
|
---|---|---|---|
2 | AMiRo-LLD is a compilation of low-level hardware drivers for the Autonomous Mini Robot (AMiRo) platform.
|
||
3 | f125ae07 | Thomas Schöpping | Copyright (C) 2016..2019 Thomas Schöpping et al.
|
4 | d6728c5b | Thomas Schöpping | |
5 | This program is free software: you can redistribute it and/or modify
|
||
6 | f0ca400f | Thomas Schöpping | it under the terms of the GNU Lesser General Public License as published by
|
7 | d6728c5b | Thomas Schöpping | the Free Software Foundation, either version 3 of the License, or
|
8 | (at your option) any later version.
|
||
9 | |||
10 | This program is distributed in the hope that it will be useful,
|
||
11 | but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||
12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||
13 | f0ca400f | Thomas Schöpping | GNU Lesser General Public License for more details.
|
14 | d6728c5b | Thomas Schöpping | |
15 | f0ca400f | Thomas Schöpping | You should have received a copy of the GNU Lesser General Public License
|
16 | d6728c5b | Thomas Schöpping | along with this program. If not, see <http://www.gnu.org/licenses/>.
|
17 | */
|
||
18 | |||
19 | 8c47f14b | Thomas Schöpping | #ifndef ALLDCONF_H
|
20 | #define ALLDCONF_H
|
||
21 | d6728c5b | Thomas Schöpping | |
22 | /*
|
||
23 | * compatibility guards
|
||
24 | */
|
||
25 | #define _AMIRO_LLD_CFG_
|
||
26 | #define AMIRO_LLD_CFG_VERSION_MAJOR 1 |
||
27 | #define AMIRO_LLD_CFG_VERSION_MINOR 0 |
||
28 | |||
29 | cf1f756b | Thomas Schöpping | /**
|
30 | * @brief Width of the apalTime_t data type.
|
||
31 | *
|
||
32 | * @details Possible values are 8, 16, 32, and 64 bits.
|
||
33 | * By definition time is represented ot a microsecond precision.
|
||
34 | */
|
||
35 | #define AMIROLLD_CFG_TIME_SIZE 32 |
||
36 | |||
37 | d6728c5b | Thomas Schöpping | /**
|
38 | 1d5bcc82 | Thomas Schöpping | * @brief Enable flag for a driver <driver_name> version <version>.
|
39 | bb46c559 | Thomas Schöpping | * @details Use multiple such enable flags to activate drivers as required.
|
40 | 1d5bcc82 | Thomas Schöpping | * Replace <driver_name> accordingly and set its value to the desired
|
41 | * version of the driver (e.g. use '#define AMIROLLD_CFG_USE_A3906 2'
|
||
42 | * in order to enable the A3906 motor driver version 2).
|
||
43 | d6728c5b | Thomas Schöpping | */
|
44 | 1d5bcc82 | Thomas Schöpping | #define AMIROLLD_CFG_USE_<driver_name> <version>
|
45 | d6728c5b | Thomas Schöpping | |
46 | 8c47f14b | Thomas Schöpping | #endif /* ALLDCONF_H */ |