aboutsummaryrefslogtreecommitdiffstats
path: root/testex/STM32/STM32F4xx
diff options
context:
space:
mode:
authorGiovanni Di Sirio <gdisirio@gmail.com>2017-11-24 07:59:12 +0000
committerGiovanni Di Sirio <gdisirio@gmail.com>2017-11-24 07:59:12 +0000
commitd447fd6ceeda74abded59704247d259e0f710fff (patch)
treef79ba4c58ef8675980151b15698a7ee937dac612 /testex/STM32/STM32F4xx
parent972c282b7fc8b1458326616180d414c708ae3691 (diff)
downloadChibiOS-d447fd6ceeda74abded59704247d259e0f710fff.tar.gz
ChibiOS-d447fd6ceeda74abded59704247d259e0f710fff.tar.bz2
ChibiOS-d447fd6ceeda74abded59704247d259e0f710fff.zip
New hooks added to RT, stronger checks on RT chconf.h files.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@11071 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'testex/STM32/STM32F4xx')
-rw-r--r--testex/STM32/STM32F4xx/I2C-BMP085/chconf.h16
-rw-r--r--testex/STM32/STM32F4xx/I2C-HTS221/chconf.h16
-rw-r--r--testex/STM32/STM32F4xx/I2C-LIS3MLD/chconf.h16
-rw-r--r--testex/STM32/STM32F4xx/I2C-LPS25H/chconf.h16
-rw-r--r--testex/STM32/STM32F4xx/I2C-LSM303DLHC/chconf.h16
-rw-r--r--testex/STM32/STM32F4xx/I2C-LSM6DS0/chconf.h16
-rw-r--r--testex/STM32/STM32F4xx/SPI-L3GD20/chconf.h16
-rw-r--r--testex/STM32/STM32F4xx/SPI-LIS302DL/chconf.h16
-rw-r--r--testex/STM32/STM32F4xx/SPI-LIS3DSH/chconf.h16
9 files changed, 144 insertions, 0 deletions
diff --git a/testex/STM32/STM32F4xx/I2C-BMP085/chconf.h b/testex/STM32/STM32F4xx/I2C-BMP085/chconf.h
index 20ef40a11..814f73584 100644
--- a/testex/STM32/STM32F4xx/I2C-BMP085/chconf.h
+++ b/testex/STM32/STM32F4xx/I2C-BMP085/chconf.h
@@ -479,6 +479,22 @@
/*===========================================================================*/
/**
+ * @brief System structure extension.
+ * @details User fields added to the end of the @p ch_system_t structure.
+ */
+#define CH_CFG_SYSTEM_EXTRA_FIELDS \
+ /* Add threads custom fields here.*/
+
+/**
+ * @brief System initialization hook.
+ * @details User initialization code added to the @p chSysInit() function
+ * just before interrupts are enabled globally.
+ */
+#define CH_CFG_SYSTEM_INIT_HOOK(tp) { \
+ /* Add threads initialization code here.*/ \
+}
+
+/**
* @brief Threads descriptor structure extension.
* @details User fields added to the end of the @p thread_t structure.
*/
diff --git a/testex/STM32/STM32F4xx/I2C-HTS221/chconf.h b/testex/STM32/STM32F4xx/I2C-HTS221/chconf.h
index 20ef40a11..814f73584 100644
--- a/testex/STM32/STM32F4xx/I2C-HTS221/chconf.h
+++ b/testex/STM32/STM32F4xx/I2C-HTS221/chconf.h
@@ -479,6 +479,22 @@
/*===========================================================================*/
/**
+ * @brief System structure extension.
+ * @details User fields added to the end of the @p ch_system_t structure.
+ */
+#define CH_CFG_SYSTEM_EXTRA_FIELDS \
+ /* Add threads custom fields here.*/
+
+/**
+ * @brief System initialization hook.
+ * @details User initialization code added to the @p chSysInit() function
+ * just before interrupts are enabled globally.
+ */
+#define CH_CFG_SYSTEM_INIT_HOOK(tp) { \
+ /* Add threads initialization code here.*/ \
+}
+
+/**
* @brief Threads descriptor structure extension.
* @details User fields added to the end of the @p thread_t structure.
*/
diff --git a/testex/STM32/STM32F4xx/I2C-LIS3MLD/chconf.h b/testex/STM32/STM32F4xx/I2C-LIS3MLD/chconf.h
index 20ef40a11..814f73584 100644
--- a/testex/STM32/STM32F4xx/I2C-LIS3MLD/chconf.h
+++ b/testex/STM32/STM32F4xx/I2C-LIS3MLD/chconf.h
@@ -479,6 +479,22 @@
/*===========================================================================*/
/**
+ * @brief System structure extension.
+ * @details User fields added to the end of the @p ch_system_t structure.
+ */
+#define CH_CFG_SYSTEM_EXTRA_FIELDS \
+ /* Add threads custom fields here.*/
+
+/**
+ * @brief System initialization hook.
+ * @details User initialization code added to the @p chSysInit() function
+ * just before interrupts are enabled globally.
+ */
+#define CH_CFG_SYSTEM_INIT_HOOK(tp) { \
+ /* Add threads initialization code here.*/ \
+}
+
+/**
* @brief Threads descriptor structure extension.
* @details User fields added to the end of the @p thread_t structure.
*/
diff --git a/testex/STM32/STM32F4xx/I2C-LPS25H/chconf.h b/testex/STM32/STM32F4xx/I2C-LPS25H/chconf.h
index 20ef40a11..814f73584 100644
--- a/testex/STM32/STM32F4xx/I2C-LPS25H/chconf.h
+++ b/testex/STM32/STM32F4xx/I2C-LPS25H/chconf.h
@@ -479,6 +479,22 @@
/*===========================================================================*/
/**
+ * @brief System structure extension.
+ * @details User fields added to the end of the @p ch_system_t structure.
+ */
+#define CH_CFG_SYSTEM_EXTRA_FIELDS \
+ /* Add threads custom fields here.*/
+
+/**
+ * @brief System initialization hook.
+ * @details User initialization code added to the @p chSysInit() function
+ * just before interrupts are enabled globally.
+ */
+#define CH_CFG_SYSTEM_INIT_HOOK(tp) { \
+ /* Add threads initialization code here.*/ \
+}
+
+/**
* @brief Threads descriptor structure extension.
* @details User fields added to the end of the @p thread_t structure.
*/
diff --git a/testex/STM32/STM32F4xx/I2C-LSM303DLHC/chconf.h b/testex/STM32/STM32F4xx/I2C-LSM303DLHC/chconf.h
index 20ef40a11..814f73584 100644
--- a/testex/STM32/STM32F4xx/I2C-LSM303DLHC/chconf.h
+++ b/testex/STM32/STM32F4xx/I2C-LSM303DLHC/chconf.h
@@ -479,6 +479,22 @@
/*===========================================================================*/
/**
+ * @brief System structure extension.
+ * @details User fields added to the end of the @p ch_system_t structure.
+ */
+#define CH_CFG_SYSTEM_EXTRA_FIELDS \
+ /* Add threads custom fields here.*/
+
+/**
+ * @brief System initialization hook.
+ * @details User initialization code added to the @p chSysInit() function
+ * just before interrupts are enabled globally.
+ */
+#define CH_CFG_SYSTEM_INIT_HOOK(tp) { \
+ /* Add threads initialization code here.*/ \
+}
+
+/**
* @brief Threads descriptor structure extension.
* @details User fields added to the end of the @p thread_t structure.
*/
diff --git a/testex/STM32/STM32F4xx/I2C-LSM6DS0/chconf.h b/testex/STM32/STM32F4xx/I2C-LSM6DS0/chconf.h
index 20ef40a11..814f73584 100644
--- a/testex/STM32/STM32F4xx/I2C-LSM6DS0/chconf.h
+++ b/testex/STM32/STM32F4xx/I2C-LSM6DS0/chconf.h
@@ -479,6 +479,22 @@
/*===========================================================================*/
/**
+ * @brief System structure extension.
+ * @details User fields added to the end of the @p ch_system_t structure.
+ */
+#define CH_CFG_SYSTEM_EXTRA_FIELDS \
+ /* Add threads custom fields here.*/
+
+/**
+ * @brief System initialization hook.
+ * @details User initialization code added to the @p chSysInit() function
+ * just before interrupts are enabled globally.
+ */
+#define CH_CFG_SYSTEM_INIT_HOOK(tp) { \
+ /* Add threads initialization code here.*/ \
+}
+
+/**
* @brief Threads descriptor structure extension.
* @details User fields added to the end of the @p thread_t structure.
*/
diff --git a/testex/STM32/STM32F4xx/SPI-L3GD20/chconf.h b/testex/STM32/STM32F4xx/SPI-L3GD20/chconf.h
index 20ef40a11..814f73584 100644
--- a/testex/STM32/STM32F4xx/SPI-L3GD20/chconf.h
+++ b/testex/STM32/STM32F4xx/SPI-L3GD20/chconf.h
@@ -479,6 +479,22 @@
/*===========================================================================*/
/**
+ * @brief System structure extension.
+ * @details User fields added to the end of the @p ch_system_t structure.
+ */
+#define CH_CFG_SYSTEM_EXTRA_FIELDS \
+ /* Add threads custom fields here.*/
+
+/**
+ * @brief System initialization hook.
+ * @details User initialization code added to the @p chSysInit() function
+ * just before interrupts are enabled globally.
+ */
+#define CH_CFG_SYSTEM_INIT_HOOK(tp) { \
+ /* Add threads initialization code here.*/ \
+}
+
+/**
* @brief Threads descriptor structure extension.
* @details User fields added to the end of the @p thread_t structure.
*/
diff --git a/testex/STM32/STM32F4xx/SPI-LIS302DL/chconf.h b/testex/STM32/STM32F4xx/SPI-LIS302DL/chconf.h
index d90c5519f..a2e8b5632 100644
--- a/testex/STM32/STM32F4xx/SPI-LIS302DL/chconf.h
+++ b/testex/STM32/STM32F4xx/SPI-LIS302DL/chconf.h
@@ -479,6 +479,22 @@
/*===========================================================================*/
/**
+ * @brief System structure extension.
+ * @details User fields added to the end of the @p ch_system_t structure.
+ */
+#define CH_CFG_SYSTEM_EXTRA_FIELDS \
+ /* Add threads custom fields here.*/
+
+/**
+ * @brief System initialization hook.
+ * @details User initialization code added to the @p chSysInit() function
+ * just before interrupts are enabled globally.
+ */
+#define CH_CFG_SYSTEM_INIT_HOOK(tp) { \
+ /* Add threads initialization code here.*/ \
+}
+
+/**
* @brief Threads descriptor structure extension.
* @details User fields added to the end of the @p thread_t structure.
*/
diff --git a/testex/STM32/STM32F4xx/SPI-LIS3DSH/chconf.h b/testex/STM32/STM32F4xx/SPI-LIS3DSH/chconf.h
index d90c5519f..a2e8b5632 100644
--- a/testex/STM32/STM32F4xx/SPI-LIS3DSH/chconf.h
+++ b/testex/STM32/STM32F4xx/SPI-LIS3DSH/chconf.h
@@ -479,6 +479,22 @@
/*===========================================================================*/
/**
+ * @brief System structure extension.
+ * @details User fields added to the end of the @p ch_system_t structure.
+ */
+#define CH_CFG_SYSTEM_EXTRA_FIELDS \
+ /* Add threads custom fields here.*/
+
+/**
+ * @brief System initialization hook.
+ * @details User initialization code added to the @p chSysInit() function
+ * just before interrupts are enabled globally.
+ */
+#define CH_CFG_SYSTEM_INIT_HOOK(tp) { \
+ /* Add threads initialization code here.*/ \
+}
+
+/**
* @brief Threads descriptor structure extension.
* @details User fields added to the end of the @p thread_t structure.
*/