aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGiovanni Di Sirio <gdisirio@gmail.com>2018-05-03 11:54:03 +0000
committerGiovanni Di Sirio <gdisirio@gmail.com>2018-05-03 11:54:03 +0000
commit9e7ae25e49648f92a7ef092b9ec39cec8db121ac (patch)
tree56508e69a09577b9eba1392da23edd70540b48eb
parent380a8d3808c38b2e3f2d97a3c2bf5094e0f0386a (diff)
downloadChibiOS-9e7ae25e49648f92a7ef092b9ec39cec8db121ac.tar.gz
ChibiOS-9e7ae25e49648f92a7ef092b9ec39cec8db121ac.tar.bz2
ChibiOS-9e7ae25e49648f92a7ef092b9ec39cec8db121ac.zip
Documentation-related improvements.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@11989 110e8d01-0319-4d1e-a829-52ad28d1bb01
-rw-r--r--doc/rt/Doxyfile_chm1
-rw-r--r--doc/rt/Doxyfile_html1
-rw-r--r--os/license/chcustomer.h5
-rw-r--r--os/license/chlicense.h4
-rw-r--r--os/license/chversion.h4
-rw-r--r--os/license/license.dox37
-rw-r--r--os/rt/dox/rt.dox5
-rw-r--r--os/rt/include/chrestrictions.h7
8 files changed, 59 insertions, 5 deletions
diff --git a/doc/rt/Doxyfile_chm b/doc/rt/Doxyfile_chm
index 24d899e11..413f3b19e 100644
--- a/doc/rt/Doxyfile_chm
+++ b/doc/rt/Doxyfile_chm
@@ -787,6 +787,7 @@ WARN_LOGFILE =
# Note: If this tag is empty the current directory is searched.
INPUT = ./src \
+ ../../os/license \
../../os/rt/dox \
../../os/rt/src \
../../os/rt/include \
diff --git a/doc/rt/Doxyfile_html b/doc/rt/Doxyfile_html
index fd5608212..409c03be0 100644
--- a/doc/rt/Doxyfile_html
+++ b/doc/rt/Doxyfile_html
@@ -787,6 +787,7 @@ WARN_LOGFILE =
# Note: If this tag is empty the current directory is searched.
INPUT = ./src \
+ ../../os/license \
../../os/rt/dox \
../../os/rt/src \
../../os/rt/include \
diff --git a/os/license/chcustomer.h b/os/license/chcustomer.h
index 433d26db2..61aed864e 100644
--- a/os/license/chcustomer.h
+++ b/os/license/chcustomer.h
@@ -21,7 +21,10 @@
* @file chcustomer.h
* @brief Customer-related info.
*
- * @addtogroup customer
+ * @addtogroup chibios_customer
+ * @details This module incapsulates licensee information, this is only
+ * meaningful for commercial licenses. It is a stub for public
+ * releases.
* @{
*/
diff --git a/os/license/chlicense.h b/os/license/chlicense.h
index 7d1c345ac..9a956de3d 100644
--- a/os/license/chlicense.h
+++ b/os/license/chlicense.h
@@ -21,7 +21,9 @@
* @file chlicense.h
* @brief License Module macros and structures.
*
- * @addtogroup license
+ * @addtogroup chibios_license
+ * @details This module contains all the definitions required for defining
+ * a licensing scheme for customers or public releases.
* @{
*/
diff --git a/os/license/chversion.h b/os/license/chversion.h
index 5766f3162..91c7d59b1 100644
--- a/os/license/chversion.h
+++ b/os/license/chversion.h
@@ -21,7 +21,9 @@
* @file chversion.h
* @brief Version Module macros and structures.
*
- * @addtogroup version
+ * @addtogroup chibios_version
+ * @details This module contains information about the ChibiOS release, it
+ * is common to all subsystems.
* @{
*/
diff --git a/os/license/license.dox b/os/license/license.dox
new file mode 100644
index 000000000..b240e1544
--- /dev/null
+++ b/os/license/license.dox
@@ -0,0 +1,37 @@
+/*
+ ChibiOS - Copyright (C) 2006..2018 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/>.
+*/
+
+/**
+ * @defgroup licensing Release and Licensing
+ */
+
+/**
+ * @defgroup chibios_version Release Information
+ * @ingroup licensing
+ */
+
+/**
+ * @defgroup chibios_customer Customer Information
+ * @ingroup licensing
+ */
+
+/**
+ * @defgroup chibios_license License Settings
+ * @ingroup licensing
+ */
diff --git a/os/rt/dox/rt.dox b/os/rt/dox/rt.dox
index bd19984ba..5664e57a2 100644
--- a/os/rt/dox/rt.dox
+++ b/os/rt/dox/rt.dox
@@ -22,6 +22,7 @@
* @details The kernel is the portable part of ChibiOS/RT, this section
* documents the various kernel subsystems.
*/
+ */
/**
* @defgroup kernel_info Version Numbers and Identification
@@ -44,8 +45,8 @@
*/
/**
- * @defgroup checks License Checks
- * @ingroup kernel
+ * @defgroup rt_restrictions Restrictions
+ * @ingroup config_category
*/
/**
diff --git a/os/rt/include/chrestrictions.h b/os/rt/include/chrestrictions.h
index 3871b3c59..5981aa319 100644
--- a/os/rt/include/chrestrictions.h
+++ b/os/rt/include/chrestrictions.h
@@ -20,6 +20,11 @@
/**
* @file chrestrictions.h
* @brief Licensing restrictions header.
+ *
+ * @addtogroup rt_restrictions
+ * @details This module is responsible for applying license-related
+ * restrictions to the configuration options.
+ * @{
*/
#ifndef CHRESTRICTIONS_H
@@ -109,3 +114,5 @@
/*===========================================================================*/
#endif /* CHRESTRICTIONS_H */
+
+/** @} */