aboutsummaryrefslogtreecommitdiff
path: root/lib/chibios/os/rt/templates/meta/module.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/chibios/os/rt/templates/meta/module.c')
-rw-r--r--lib/chibios/os/rt/templates/meta/module.c80
1 files changed, 80 insertions, 0 deletions
diff --git a/lib/chibios/os/rt/templates/meta/module.c b/lib/chibios/os/rt/templates/meta/module.c
new file mode 100644
index 000000000..47283c33a
--- /dev/null
+++ b/lib/chibios/os/rt/templates/meta/module.c
@@ -0,0 +1,80 @@
1/*
2 ChibiOS - Copyright (C) 2006,2007,2008,2009,2010,2011,2012,2013,2014,
3 2015,2016,2017,2018,2019,2020,2021 Giovanni Di Sirio.
4
5 This file is part of ChibiOS.
6
7 ChibiOS is free software; you can redistribute it and/or modify
8 it under the terms of the GNU General Public License as published by
9 the Free Software Foundation version 3 of the License.
10
11 ChibiOS is distributed in the hope that it will be useful,
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 GNU General Public License for more details.
15
16 You should have received a copy of the GNU General Public License
17 along with this program. If not, see <http://www.gnu.org/licenses/>.
18*/
19
20/**
21 * @file chXxx.c
22 * @brief XXX module code.
23 *
24 * @addtogroup XXX
25 * @{
26 */
27
28#include "ch.h"
29
30#if CH_CFG_USE_XXX || defined(__DOXYGEN__)
31
32/*===========================================================================*/
33/* Module local definitions. */
34/*===========================================================================*/
35
36/*===========================================================================*/
37/* Module exported variables. */
38/*===========================================================================*/
39
40/*===========================================================================*/
41/* Module local types. */
42/*===========================================================================*/
43
44/*===========================================================================*/
45/* Module local variables. */
46/*===========================================================================*/
47
48/*===========================================================================*/
49/* Module local functions. */
50/*===========================================================================*/
51
52/*===========================================================================*/
53/* Module exported functions. */
54/*===========================================================================*/
55
56/**
57 * @brief XXX Module initialization.
58 * @note This function is implicitly invoked on system initialization,
59 * there is no need to explicitly initialize the module.
60 *
61 * @notapi
62 */
63void _xxx_init(void) {
64
65}
66
67/**
68 * @brief Initializes a @p xxx_t object.
69 *
70 * @param[out] xxxp pointer to the @p xxx_t object
71 *
72 * @init
73 */
74void chXxxObjectInit(xxx_t *xxxp) {
75
76}
77
78#endif /* CH_CFG_USE_XXX */
79
80/** @} */