amiro-os / modules / DiWheelDrive_1-1 / chconf.h @ 83ca1b95
History | View | Annotate | Download (3.952 KB)
1 | 0128be0f | Marc Rothmann | /*
|
---|---|---|---|
2 | * AMiRo-OS is an operating system designed for the Autonomous Mini Robot (AMiRo) platform.
|
||
3 | 84f0ce9e | Thomas Schöpping | * Copyright (C) 2016..2019 Thomas Schöpping et al.
|
4 | 0128be0f | Marc Rothmann | *
|
5 | * This program is free software: you can redistribute it and/or modify
|
||
6 | * it under the terms of the GNU General Public License as published by
|
||
7 | * 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 | * GNU General Public License for more details.
|
||
14 | *
|
||
15 | * You should have received a copy of the GNU General Public License
|
||
16 | * along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||
17 | */
|
||
18 | |||
19 | /**
|
||
20 | 53710ca3 | Marc Rothmann | * @file
|
21 | 0128be0f | Marc Rothmann | * @brief ChibiOS Configuration file for the DiWheelDrive v1.1 module.
|
22 | * @details Contains the application specific kernel settings.
|
||
23 | *
|
||
24 | 53710ca3 | Marc Rothmann | * @addtogroup diwheeldrive_ch_config
|
25 | 0128be0f | Marc Rothmann | * @details Kernel related settings and hooks.
|
26 | * @{
|
||
27 | */
|
||
28 | |||
29 | #ifndef CHCONF_H
|
||
30 | #define CHCONF_H
|
||
31 | |||
32 | #define _CHIBIOS_RT_CONF_
|
||
33 | #define _CHIBIOS_RT_CONF_VER_5_1_
|
||
34 | |||
35 | 1e5f7648 | Thomas Schöpping | #include <aosconf.h> |
36 | |||
37 | 0128be0f | Marc Rothmann | /*===========================================================================*/
|
38 | /**
|
||
39 | * @name System timers settings
|
||
40 | * @{
|
||
41 | */
|
||
42 | /*===========================================================================*/
|
||
43 | |||
44 | /**
|
||
45 | * @brief System time counter resolution.
|
||
46 | * @note Allowed values are 16 or 32 bits.
|
||
47 | */
|
||
48 | #if !defined(CH_CFG_ST_RESOLUTION)
|
||
49 | #define CH_CFG_ST_RESOLUTION 16 |
||
50 | #endif
|
||
51 | |||
52 | 1e5f7648 | Thomas Schöpping | // more common definition in aos_chconf.h
|
53 | 0128be0f | Marc Rothmann | |
54 | /** @} */
|
||
55 | |||
56 | /*===========================================================================*/
|
||
57 | /**
|
||
58 | * @name Kernel parameters and options
|
||
59 | * @{
|
||
60 | */
|
||
61 | /*===========================================================================*/
|
||
62 | |||
63 | 1e5f7648 | Thomas Schöpping | // common definitions in aos_chconf.h
|
64 | 0128be0f | Marc Rothmann | |
65 | /** @} */
|
||
66 | |||
67 | /*===========================================================================*/
|
||
68 | /**
|
||
69 | * @name Performance options
|
||
70 | * @{
|
||
71 | */
|
||
72 | /*===========================================================================*/
|
||
73 | |||
74 | 1e5f7648 | Thomas Schöpping | // common definitions in aos_chconf.h
|
75 | 0128be0f | Marc Rothmann | |
76 | /** @} */
|
||
77 | |||
78 | /*===========================================================================*/
|
||
79 | /**
|
||
80 | * @name Subsystem options
|
||
81 | * @{
|
||
82 | */
|
||
83 | /*===========================================================================*/
|
||
84 | |||
85 | 1e5f7648 | Thomas Schöpping | // common definitions in aos_chconf.h
|
86 | 0128be0f | Marc Rothmann | |
87 | /** @} */
|
||
88 | |||
89 | /*===========================================================================*/
|
||
90 | /**
|
||
91 | * @name Objects factory options
|
||
92 | * @{
|
||
93 | */
|
||
94 | /*===========================================================================*/
|
||
95 | |||
96 | 1e5f7648 | Thomas Schöpping | // common definitions in aos_chconf.h
|
97 | 0128be0f | Marc Rothmann | |
98 | /** @} */
|
||
99 | |||
100 | /*===========================================================================*/
|
||
101 | /**
|
||
102 | * @name Debug options
|
||
103 | * @{
|
||
104 | */
|
||
105 | /*===========================================================================*/
|
||
106 | |||
107 | 1e5f7648 | Thomas Schöpping | // common definitions in aos_chconf.h
|
108 | 0128be0f | Marc Rothmann | |
109 | /** @} */
|
||
110 | |||
111 | /*===========================================================================*/
|
||
112 | /**
|
||
113 | * @name Kernel hooks
|
||
114 | * @{
|
||
115 | */
|
||
116 | /*===========================================================================*/
|
||
117 | |||
118 | 1e5f7648 | Thomas Schöpping | // common definitions in aos_chconf.h
|
119 | 0128be0f | Marc Rothmann | |
120 | 1e5f7648 | Thomas Schöpping | /** @} */
|
121 | 0128be0f | Marc Rothmann | |
122 | 1e5f7648 | Thomas Schöpping | /*===========================================================================*/
|
123 | 0128be0f | Marc Rothmann | /**
|
124 | 1e5f7648 | Thomas Schöpping | * @name Port-specific settings (override port settings defaulted in chcore.h).
|
125 | * @{
|
||
126 | 0128be0f | Marc Rothmann | */
|
127 | 1e5f7648 | Thomas Schöpping | /*===========================================================================*/
|
128 | 0128be0f | Marc Rothmann | |
129 | /**
|
||
130 | 1e5f7648 | Thomas Schöpping | * @brief NVIC VTOR initialization offset.
|
131 | * @details On initialization, the code at this address in the flash memory will be executed.
|
||
132 | 0128be0f | Marc Rothmann | */
|
133 | 1e5f7648 | Thomas Schöpping | #define CORTEX_VTOR_INIT 0x00006000U |
134 | 0128be0f | Marc Rothmann | |
135 | 1e5f7648 | Thomas Schöpping | /** @} */
|
136 | 0128be0f | Marc Rothmann | |
137 | 1e5f7648 | Thomas Schöpping | /*===========================================================================*/
|
138 | 0128be0f | Marc Rothmann | /**
|
139 | 1e5f7648 | Thomas Schöpping | * @name other
|
140 | * @{
|
||
141 | 0128be0f | Marc Rothmann | */
|
142 | 1e5f7648 | Thomas Schöpping | /*===========================================================================*/
|
143 | 0128be0f | Marc Rothmann | |
144 | 1e5f7648 | Thomas Schöpping | // common definitions in aos_chconf.h
|
145 | 0128be0f | Marc Rothmann | |
146 | /** @} */
|
||
147 | |||
148 | 1e5f7648 | Thomas Schöpping | #include <aos_chconf.h> |
149 | 0128be0f | Marc Rothmann | |
150 | #endif /* CHCONF_H */ |
||
151 | |||
152 | /** @} */
|