aboutsummaryrefslogtreecommitdiffstats
path: root/os/license/chcustomer.h
diff options
context:
space:
mode:
authorGiovanni Di Sirio <gdisirio@gmail.com>2016-04-16 10:14:41 +0000
committerGiovanni Di Sirio <gdisirio@gmail.com>2016-04-16 10:14:41 +0000
commit6abec945c2cc50d861f43e669b6e621367be0485 (patch)
treea640cf4570d50ed4da095278eb53feb241f025cd /os/license/chcustomer.h
parent0aabb7e5adc270fbfd31b331a8e3ee3397a24a6e (diff)
downloadChibiOS-6abec945c2cc50d861f43e669b6e621367be0485.tar.gz
ChibiOS-6abec945c2cc50d861f43e669b6e621367be0485.tar.bz2
ChibiOS-6abec945c2cc50d861f43e669b6e621367be0485.zip
New licensing headers.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@9286 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/license/chcustomer.h')
-rw-r--r--os/license/chcustomer.h99
1 files changed, 99 insertions, 0 deletions
diff --git a/os/license/chcustomer.h b/os/license/chcustomer.h
new file mode 100644
index 000000000..f51951169
--- /dev/null
+++ b/os/license/chcustomer.h
@@ -0,0 +1,99 @@
+/*
+ ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio.
+
+ This file is part of ChibiOS.
+
+ ChibiOS is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 3 of the License, or
+ (at your option) any later version.
+
+ ChibiOS is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
+
+/**
+ * @file chcustomer.h
+ * @brief Customer-related info.
+ *
+ * @addtogroup customer
+ * @{
+ */
+
+#ifndef CHCUSTOMER_H
+#define CHCUSTOMER_H
+
+/*===========================================================================*/
+/* Module constants. */
+/*===========================================================================*/
+
+/**
+ * @brief Customer readable identifier.
+ */
+#define CH_CUSTOMER_ID_STRING "Santa, North Pole"
+
+/**
+ * @brief Customer code.
+ */
+#define CH_CUSTOMER_ID_CODE "xxxx-yyyy"
+
+/**
+ * @brief Current license.
+ * @note This setting is reserved to the copyright owner.
+ * @note Changing this setting invalidates the license.
+ * @note The license statement in the source headers is valid, applicable
+ * and binding regardless this setting.
+ */
+#define CH_LICENSE CH_LICENSE_GPL
+
+/**
+ * @name Licensed Products
+ * @{
+ */
+#define CH_CUSTOMER_LICENSED_RT TRUE
+#define CH_CUSTOMER_LICENSED_NIL TRUE
+#define CH_CUSTOMER_LICENSED_HAL TRUE
+#define CH_CUSTOMER_LICENSED_EX TRUE
+#define CH_CUSTOMER_LICENSED_PORT_CM0 TRUE
+#define CH_CUSTOMER_LICENSED_PORT_CM3 TRUE
+#define CH_CUSTOMER_LICENSED_PORT_CM4 TRUE
+#define CH_CUSTOMER_LICENSED_PORT_CM7 TRUE
+#define CH_CUSTOMER_LICENSED_PORT_ARM79 TRUE
+#define CH_CUSTOMER_LICENSED_PORT_E200Z0 TRUE
+#define CH_CUSTOMER_LICENSED_PORT_E200Z2 TRUE
+#define CH_CUSTOMER_LICENSED_PORT_E200Z3 TRUE
+#define CH_CUSTOMER_LICENSED_PORT_E200Z4 TRUE
+/** @} */
+
+/*===========================================================================*/
+/* Module pre-compile time settings. */
+/*===========================================================================*/
+
+/*===========================================================================*/
+/* Derived constants and error checks. */
+/*===========================================================================*/
+
+/*===========================================================================*/
+/* Module data structures and types. */
+/*===========================================================================*/
+
+/*===========================================================================*/
+/* Module macros. */
+/*===========================================================================*/
+
+/*===========================================================================*/
+/* External declarations. */
+/*===========================================================================*/
+
+/*===========================================================================*/
+/* Module inline functions. */
+/*===========================================================================*/
+
+#endif /* CHCUSTOMER_H */
+
+/** @} */