diff options
Diffstat (limited to 'lib/chibios/os/license/chcustomer.h')
-rw-r--r-- | lib/chibios/os/license/chcustomer.h | 103 |
1 files changed, 103 insertions, 0 deletions
diff --git a/lib/chibios/os/license/chcustomer.h b/lib/chibios/os/license/chcustomer.h new file mode 100644 index 000000000..8d1b950e0 --- /dev/null +++ b/lib/chibios/os/license/chcustomer.h | |||
@@ -0,0 +1,103 @@ | |||
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 chcustomer.h | ||
22 | * @brief Customer-related info. | ||
23 | * | ||
24 | * @addtogroup chibios_customer | ||
25 | * @details This module incapsulates licensee information, this is only | ||
26 | * meaningful for commercial licenses. It is a stub for public | ||
27 | * releases. | ||
28 | * @{ | ||
29 | */ | ||
30 | |||
31 | #ifndef CHCUSTOMER_H | ||
32 | #define CHCUSTOMER_H | ||
33 | |||
34 | /*===========================================================================*/ | ||
35 | /* Module constants. */ | ||
36 | /*===========================================================================*/ | ||
37 | |||
38 | /** | ||
39 | * @brief Customer readable identifier. | ||
40 | */ | ||
41 | #define CH_CUSTOMER_ID_STRING "Santa, North Pole" | ||
42 | |||
43 | /** | ||
44 | * @brief Customer code. | ||
45 | */ | ||
46 | #define CH_CUSTOMER_ID_CODE "xxxx-yyyy" | ||
47 | |||
48 | /** | ||
49 | * @brief Current license. | ||
50 | * @note This setting is reserved to the copyright owner. | ||
51 | * @note Changing this setting invalidates the license. | ||
52 | * @note The license statement in the source headers is valid, applicable | ||
53 | * and binding regardless this setting. | ||
54 | */ | ||
55 | #define CH_LICENSE CH_LICENSE_GPL | ||
56 | |||
57 | /** | ||
58 | * @name Licensed Products | ||
59 | * @{ | ||
60 | */ | ||
61 | #define CH_CUSTOMER_LIC_RT TRUE | ||
62 | #define CH_CUSTOMER_LIC_NIL TRUE | ||
63 | #define CH_CUSTOMER_LIC_OSLIB TRUE | ||
64 | #define CH_CUSTOMER_LIC_EX TRUE | ||
65 | #define CH_CUSTOMER_LIC_SB TRUE | ||
66 | #define CH_CUSTOMER_LIC_PORT_CM0 TRUE | ||
67 | #define CH_CUSTOMER_LIC_PORT_CM3 TRUE | ||
68 | #define CH_CUSTOMER_LIC_PORT_CM4 TRUE | ||
69 | #define CH_CUSTOMER_LIC_PORT_CM7 TRUE | ||
70 | #define CH_CUSTOMER_LIC_PORT_ARM79 TRUE | ||
71 | #define CH_CUSTOMER_LIC_PORT_E200Z0 TRUE | ||
72 | #define CH_CUSTOMER_LIC_PORT_E200Z2 TRUE | ||
73 | #define CH_CUSTOMER_LIC_PORT_E200Z3 TRUE | ||
74 | #define CH_CUSTOMER_LIC_PORT_E200Z4 TRUE | ||
75 | /** @} */ | ||
76 | |||
77 | /*===========================================================================*/ | ||
78 | /* Module pre-compile time settings. */ | ||
79 | /*===========================================================================*/ | ||
80 | |||
81 | /*===========================================================================*/ | ||
82 | /* Derived constants and error checks. */ | ||
83 | /*===========================================================================*/ | ||
84 | |||
85 | /*===========================================================================*/ | ||
86 | /* Module data structures and types. */ | ||
87 | /*===========================================================================*/ | ||
88 | |||
89 | /*===========================================================================*/ | ||
90 | /* Module macros. */ | ||
91 | /*===========================================================================*/ | ||
92 | |||
93 | /*===========================================================================*/ | ||
94 | /* External declarations. */ | ||
95 | /*===========================================================================*/ | ||
96 | |||
97 | /*===========================================================================*/ | ||
98 | /* Module inline functions. */ | ||
99 | /*===========================================================================*/ | ||
100 | |||
101 | #endif /* CHCUSTOMER_H */ | ||
102 | |||
103 | /** @} */ | ||