amiro-os / modules / NUCLEO-L476RG / chconf.h @ 98949060
History | View | Annotate | Download (3.839 KB)
1 | 27d0378b | Simon Welzel | /*
|
---|---|---|---|
2 | 8543d0d9 | Thomas Schöpping | * AMiRo-OS is an operating system designed for the Autonomous Mini Robot (AMiRo) platform.
|
3 | * Copyright (C) 2016..2019 Thomas Schöpping et al.
|
||
4 | *
|
||
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 | 27d0378b | Simon Welzel | |
19 | /**
|
||
20 | 4d8d8663 | Thomas Schöpping | * @file
|
21 | 8543d0d9 | Thomas Schöpping | * @brief ChibiOS Configuration file for the STM32L476RG-NUCLEO64 board.
|
22 | * @details Contains the application specific kernel settings.
|
||
23 | 27d0378b | Simon Welzel | *
|
24 | 8543d0d9 | Thomas Schöpping | * @addtogroup STM32L476RG-NUCLEO64
|
25 | 27d0378b | Simon Welzel | * @details Kernel related settings and hooks.
|
26 | * @{
|
||
27 | */
|
||
28 | |||
29 | #ifndef CHCONF_H
|
||
30 | #define CHCONF_H
|
||
31 | |||
32 | #include <aosconf.h> |
||
33 | |||
34 | /*===========================================================================*/
|
||
35 | /**
|
||
36 | * @name System timers settings
|
||
37 | * @{
|
||
38 | */
|
||
39 | /*===========================================================================*/
|
||
40 | |||
41 | /**
|
||
42 | * @brief System time counter resolution.
|
||
43 | * @note Allowed values are 16 or 32 bits.
|
||
44 | */
|
||
45 | #if !defined(CH_CFG_ST_RESOLUTION)
|
||
46 | fa64dbd6 | Thomas Schöpping | #define CH_CFG_ST_RESOLUTION 32 |
47 | 27d0378b | Simon Welzel | #endif
|
48 | |||
49 | 91bdafd4 | Thomas Schöpping | // more common definitions in aos_chconf.h
|
50 | 27d0378b | Simon Welzel | |
51 | /** @} */
|
||
52 | |||
53 | /*===========================================================================*/
|
||
54 | /**
|
||
55 | * @name Kernel parameters and options
|
||
56 | * @{
|
||
57 | */
|
||
58 | /*===========================================================================*/
|
||
59 | |||
60 | 8543d0d9 | Thomas Schöpping | // common definitions in aos_chconf.h
|
61 | 27d0378b | Simon Welzel | |
62 | /** @} */
|
||
63 | |||
64 | /*===========================================================================*/
|
||
65 | /**
|
||
66 | * @name Performance options
|
||
67 | * @{
|
||
68 | */
|
||
69 | /*===========================================================================*/
|
||
70 | |||
71 | 8543d0d9 | Thomas Schöpping | // common definitions in aos_chconf.h
|
72 | 27d0378b | Simon Welzel | |
73 | /** @} */
|
||
74 | |||
75 | /*===========================================================================*/
|
||
76 | /**
|
||
77 | * @name Subsystem options
|
||
78 | * @{
|
||
79 | */
|
||
80 | /*===========================================================================*/
|
||
81 | |||
82 | 8543d0d9 | Thomas Schöpping | // common definitions in aos_chconf.h
|
83 | 27d0378b | Simon Welzel | |
84 | /** @} */
|
||
85 | |||
86 | /*===========================================================================*/
|
||
87 | /**
|
||
88 | * @name Objects factory options
|
||
89 | * @{
|
||
90 | */
|
||
91 | /*===========================================================================*/
|
||
92 | |||
93 | 8543d0d9 | Thomas Schöpping | // common definitions in aos_chconf.h
|
94 | 27d0378b | Simon Welzel | |
95 | /** @} */
|
||
96 | |||
97 | /*===========================================================================*/
|
||
98 | /**
|
||
99 | * @name Debug options
|
||
100 | * @{
|
||
101 | */
|
||
102 | /*===========================================================================*/
|
||
103 | |||
104 | 8543d0d9 | Thomas Schöpping | // common definitions in aos_chconf.h
|
105 | 27d0378b | Simon Welzel | |
106 | /** @} */
|
||
107 | |||
108 | /*===========================================================================*/
|
||
109 | /**
|
||
110 | * @name Kernel hooks
|
||
111 | * @{
|
||
112 | */
|
||
113 | /*===========================================================================*/
|
||
114 | |||
115 | 8543d0d9 | Thomas Schöpping | // common definitions in aos_chconf.h
|
116 | 27d0378b | Simon Welzel | |
117 | 8543d0d9 | Thomas Schöpping | /** @} */
|
118 | 27d0378b | Simon Welzel | |
119 | 8543d0d9 | Thomas Schöpping | /*===========================================================================*/
|
120 | 27d0378b | Simon Welzel | /**
|
121 | 8543d0d9 | Thomas Schöpping | * @name Port-specific settings (override port settings defaulted in chcore.h).
|
122 | * @{
|
||
123 | 27d0378b | Simon Welzel | */
|
124 | 8543d0d9 | Thomas Schöpping | /*===========================================================================*/
|
125 | 27d0378b | Simon Welzel | |
126 | 732a4657 | Thomas Schöpping | /**
|
127 | * @brief Flag to enable/disable sleep mode when the system is idle.
|
||
128 | */
|
||
129 | #define CORTEX_ENABLE_WFI_IDLE TRUE
|
||
130 | |||
131 | 8543d0d9 | Thomas Schöpping | /** @} */
|
132 | 27d0378b | Simon Welzel | |
133 | 8543d0d9 | Thomas Schöpping | /*===========================================================================*/
|
134 | 27d0378b | Simon Welzel | /**
|
135 | 8543d0d9 | Thomas Schöpping | * @name other
|
136 | * @{
|
||
137 | 27d0378b | Simon Welzel | */
|
138 | 8543d0d9 | Thomas Schöpping | /*===========================================================================*/
|
139 | 27d0378b | Simon Welzel | |
140 | 8543d0d9 | Thomas Schöpping | // common definitions in aos_chconf.h
|
141 | 27d0378b | Simon Welzel | |
142 | /** @} */
|
||
143 | |||
144 | 8543d0d9 | Thomas Schöpping | #include <aos_chconf.h> |
145 | 27d0378b | Simon Welzel | |
146 | #endif /* CHCONF_H */ |
||
147 | |||
148 | /** @} */
|