Statistics
| Branch: | Tag: | Revision:

amiro-os / modules / PowerManagement_1-1 / chconf.h @ 2685de93

History | View | Annotate | Download (3.958 KB)

1
/*
2
 * 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

    
19
/**
20
 * @file    
21
 * @brief   ChibiOS Configuration file for the PowerManagement v1.1 module.
22
 * @details Contains the application specific kernel settings.
23
 *
24
 * @addtogroup powermanagement_ch_config
25
 * @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
#include <aosconf.h>
36

    
37
/*===========================================================================*/
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                32
50
#endif
51

    
52
// more common definition in aos_chconf.h
53

    
54
/** @} */
55

    
56
/*===========================================================================*/
57
/**
58
 * @name Kernel parameters and options
59
 * @{
60
 */
61
/*===========================================================================*/
62

    
63
// common definitions in aos_chconf.h
64

    
65
/** @} */
66

    
67
/*===========================================================================*/
68
/**
69
 * @name Performance options
70
 * @{
71
 */
72
/*===========================================================================*/
73

    
74
// common definitions in aos_chconf.h
75

    
76
/** @} */
77

    
78
/*===========================================================================*/
79
/**
80
 * @name Subsystem options
81
 * @{
82
 */
83
/*===========================================================================*/
84

    
85
// common definitions in aos_chconf.h
86

    
87
/** @} */
88

    
89
/*===========================================================================*/
90
/**
91
 * @name Objects factory options
92
 * @{
93
 */
94
/*===========================================================================*/
95

    
96
// common definitions in aos_chconf.h
97

    
98
/** @} */
99

    
100
/*===========================================================================*/
101
/**
102
 * @name Debug options
103
 * @{
104
 */
105
/*===========================================================================*/
106

    
107
// common definitions in aos_chconf.h
108

    
109
/** @} */
110

    
111
/*===========================================================================*/
112
/**
113
 * @name Kernel hooks
114
 * @{
115
 */
116
/*===========================================================================*/
117

    
118
// common definitions in aos_chconf.h
119

    
120
/** @} */
121

    
122
/*===========================================================================*/
123
/**
124
 * @name Port-specific settings (override port settings defaulted in chcore.h).
125
 * @{
126
 */
127
/*===========================================================================*/
128

    
129
/**
130
 * @brief   NVIC VTOR initialization offset.
131
 * @details On initialization, the code at this address in the flash memory will be executed.
132
 */
133
#define CORTEX_VTOR_INIT 0x00008000U
134

    
135
/** @} */
136

    
137
/*===========================================================================*/
138
/**
139
 * @name other
140
 * @{
141
 */
142
/*===========================================================================*/
143

    
144
// common definitions in aos_chconf.h
145

    
146
/** @} */
147

    
148
#include <aos_chconf.h>
149

    
150
#endif  /* CHCONF_H */
151

    
152
/** @} */