aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2014-01-20 09:38:35 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2014-01-20 09:38:35 +0000
commit07297f0c1604422d427a417a60653abe60e1ca77 (patch)
tree7696572afd66b9c95c1e97d168e2a737f0b587b6
parent83ad77612c9ebc3df58aa85236350226da88cf31 (diff)
downloadChibiOS-07297f0c1604422d427a417a60653abe60e1ca77.tar.gz
ChibiOS-07297f0c1604422d427a417a60653abe60e1ca77.tar.bz2
ChibiOS-07297f0c1604422d427a417a60653abe60e1ca77.zip
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/kernel_3_dev@6632 35acf78f-673a-0410-8e92-d51de3d6d3f4
-rw-r--r--demos/rt/RT-SPC56EL-EVB/chconf.h7
-rw-r--r--demos/rt/RT-STM32F051-DISCOVERY/chconf.h9
-rw-r--r--demos/rt/RT-STM32F100-DISCOVERY/chconf.h7
-rw-r--r--demos/rt/RT-STM32F103-OLIMEX_STM32_P103/chconf.h7
-rw-r--r--demos/rt/RT-STM32F303-DISCOVERY/chconf.h7
-rw-r--r--demos/rt/RT-STM32F373-STM32373C_EVAL/chconf.h7
-rw-r--r--demos/rt/RT-STM32F407-DISCOVERY-MEMS/chconf.h7
-rw-r--r--demos/rt/RT-STM32F407-DISCOVERY/chconf.h7
-rw-r--r--demos/rt/RT-STM32F429-DISCOVERY/chconf.h7
-rw-r--r--demos/rt/RT-STM32L152-DISCOVERY/chconf.h7
-rw-r--r--os/rt/include/chsys.h31
-rw-r--r--os/rt/templates/chconf.h7
-rw-r--r--testhal/STM32F0xx/ADC/chconf.h9
-rw-r--r--testhal/STM32F0xx/EXT/chconf.h9
-rw-r--r--testhal/STM32F0xx/IRQ_STORM/chconf.h9
-rw-r--r--testhal/STM32F0xx/PWM-ICU/chconf.h9
-rw-r--r--testhal/STM32F0xx/SPI/chconf.h9
-rw-r--r--testhal/STM32F0xx/UART/chconf.h9
-rw-r--r--testhal/STM32F1xx/ADC/chconf.h7
-rw-r--r--testhal/STM32F1xx/CAN/chconf.h7
-rw-r--r--testhal/STM32F1xx/EXT/chconf.h7
-rw-r--r--testhal/STM32F1xx/IRQ_STORM/chconf.h7
-rw-r--r--testhal/STM32F1xx/PWM-ICU/chconf.h7
-rw-r--r--testhal/STM32F1xx/SPI/chconf.h7
-rw-r--r--testhal/STM32F1xx/UART/chconf.h7
-rw-r--r--testhal/STM32F1xx/USB_CDC/chconf.h7
-rw-r--r--testhal/STM32F30x/ADC/chconf.h7
-rw-r--r--testhal/STM32F30x/ADC_DUAL/chconf.h7
-rw-r--r--testhal/STM32F30x/CAN/chconf.h7
-rw-r--r--testhal/STM32F30x/EXT/chconf.h7
-rw-r--r--testhal/STM32F30x/IRQ_STORM/chconf.h7
-rw-r--r--testhal/STM32F30x/PWM-ICU/chconf.h7
-rw-r--r--testhal/STM32F30x/SPI/chconf.h7
-rw-r--r--testhal/STM32F30x/UART/chconf.h7
-rw-r--r--testhal/STM32F30x/USB_CDC/chconf.h7
-rw-r--r--testhal/STM32F37x/ADC/chconf.h7
-rw-r--r--testhal/STM32F37x/CAN/chconf.h7
-rw-r--r--testhal/STM32F37x/EXT/chconf.h7
-rw-r--r--testhal/STM32F37x/I2C/chconf.h7
-rw-r--r--testhal/STM32F37x/IRQ_STORM/chconf.h7
-rw-r--r--testhal/STM32F37x/PWM-ICU/chconf.h7
-rw-r--r--testhal/STM32F37x/SDADC/chconf.h7
-rw-r--r--testhal/STM32F37x/SPI/chconf.h7
-rw-r--r--testhal/STM32F37x/UART/chconf.h7
-rw-r--r--testhal/STM32F37x/USB_CDC/chconf.h7
-rw-r--r--testhal/STM32F4xx/ADC/chconf.h7
-rw-r--r--testhal/STM32F4xx/CAN/chconf.h7
-rw-r--r--testhal/STM32F4xx/DMA_STORM/chconf.h7
-rw-r--r--testhal/STM32F4xx/EXT/chconf.h7
-rw-r--r--testhal/STM32F4xx/GPT/chconf.h7
-rw-r--r--testhal/STM32F4xx/I2C/chconf.h7
-rw-r--r--testhal/STM32F4xx/IRQ_STORM/chconf.h7
-rw-r--r--testhal/STM32F4xx/IRQ_STORM_FPU/chconf.h7
-rw-r--r--testhal/STM32F4xx/PWM-ICU/chconf.h7
-rw-r--r--testhal/STM32F4xx/RTC/chconf.h7
-rw-r--r--testhal/STM32F4xx/SDC/chconf.h7
-rw-r--r--testhal/STM32F4xx/SPI/chconf.h7
-rw-r--r--testhal/STM32F4xx/UART/chconf.h7
-rw-r--r--testhal/STM32F4xx/USB_CDC/chconf.h7
-rw-r--r--testhal/STM32L1xx/ADC/chconf.h7
-rw-r--r--testhal/STM32L1xx/EXT/chconf.h7
-rw-r--r--testhal/STM32L1xx/IRQ_STORM/chconf.h7
-rw-r--r--testhal/STM32L1xx/PWM-ICU/chconf.h7
-rw-r--r--testhal/STM32L1xx/SPI/chconf.h7
-rw-r--r--testhal/STM32L1xx/UART/chconf.h7
65 files changed, 27 insertions, 466 deletions
diff --git a/demos/rt/RT-SPC56EL-EVB/chconf.h b/demos/rt/RT-SPC56EL-EVB/chconf.h
index f39b88d23..2896fef4e 100644
--- a/demos/rt/RT-SPC56EL-EVB/chconf.h
+++ b/demos/rt/RT-SPC56EL-EVB/chconf.h
@@ -58,13 +58,6 @@
*/
#define CH_CFG_ST_TIMEDELTA 0
-/**
- * @brief Realtime Counter frequency.
- * @details Frequency of the system counter used for realtime delays and
- * measurements.
- */
-#define CH_CFG_RTC_FREQUENCY 120000000
-
/** @} */
/*===========================================================================*/
diff --git a/demos/rt/RT-STM32F051-DISCOVERY/chconf.h b/demos/rt/RT-STM32F051-DISCOVERY/chconf.h
index a481e2b0c..dc01d6174 100644
--- a/demos/rt/RT-STM32F051-DISCOVERY/chconf.h
+++ b/demos/rt/RT-STM32F051-DISCOVERY/chconf.h
@@ -57,14 +57,7 @@
* this value.
*/
#define CH_CFG_ST_TIMEDELTA 2
-
-/**
- * @brief Realtime Counter frequency.
- * @details Frequency of the system counter used for realtime delays and
- * measurements.
- */
-#define CH_CFG_RTC_FREQUENCY 0
-
+ports/STM32/STM32
/** @} */
/*===========================================================================*/
diff --git a/demos/rt/RT-STM32F100-DISCOVERY/chconf.h b/demos/rt/RT-STM32F100-DISCOVERY/chconf.h
index 3f3a0acdb..832f82314 100644
--- a/demos/rt/RT-STM32F100-DISCOVERY/chconf.h
+++ b/demos/rt/RT-STM32F100-DISCOVERY/chconf.h
@@ -58,13 +58,6 @@
*/
#define CH_CFG_ST_TIMEDELTA 2
-/**
- * @brief Realtime Counter frequency.
- * @details Frequency of the system counter used for realtime delays and
- * measurements.
- */
-#define CH_CFG_RTC_FREQUENCY 72000000
-
/** @} */
/*===========================================================================*/
diff --git a/demos/rt/RT-STM32F103-OLIMEX_STM32_P103/chconf.h b/demos/rt/RT-STM32F103-OLIMEX_STM32_P103/chconf.h
index 137c85c31..f8afd504b 100644
--- a/demos/rt/RT-STM32F103-OLIMEX_STM32_P103/chconf.h
+++ b/demos/rt/RT-STM32F103-OLIMEX_STM32_P103/chconf.h
@@ -58,13 +58,6 @@
*/
#define CH_CFG_ST_TIMEDELTA 2
-/**
- * @brief Realtime Counter frequency.
- * @details Frequency of the system counter used for realtime delays and
- * measurements.
- */
-#define CH_CFG_RTC_FREQUENCY 72000000
-
/** @} */
/*===========================================================================*/
diff --git a/demos/rt/RT-STM32F303-DISCOVERY/chconf.h b/demos/rt/RT-STM32F303-DISCOVERY/chconf.h
index 12f5742ec..8a2d5efa1 100644
--- a/demos/rt/RT-STM32F303-DISCOVERY/chconf.h
+++ b/demos/rt/RT-STM32F303-DISCOVERY/chconf.h
@@ -58,13 +58,6 @@
*/
#define CH_CFG_ST_TIMEDELTA 2
-/**
- * @brief Realtime Counter frequency.
- * @details Frequency of the system counter used for realtime delays and
- * measurements.
- */
-#define CH_CFG_RTC_FREQUENCY 72000000
-
/** @} */
/*===========================================================================*/
diff --git a/demos/rt/RT-STM32F373-STM32373C_EVAL/chconf.h b/demos/rt/RT-STM32F373-STM32373C_EVAL/chconf.h
index 12f5742ec..8a2d5efa1 100644
--- a/demos/rt/RT-STM32F373-STM32373C_EVAL/chconf.h
+++ b/demos/rt/RT-STM32F373-STM32373C_EVAL/chconf.h
@@ -58,13 +58,6 @@
*/
#define CH_CFG_ST_TIMEDELTA 2
-/**
- * @brief Realtime Counter frequency.
- * @details Frequency of the system counter used for realtime delays and
- * measurements.
- */
-#define CH_CFG_RTC_FREQUENCY 72000000
-
/** @} */
/*===========================================================================*/
diff --git a/demos/rt/RT-STM32F407-DISCOVERY-MEMS/chconf.h b/demos/rt/RT-STM32F407-DISCOVERY-MEMS/chconf.h
index 70343b6f3..8a2d5efa1 100644
--- a/demos/rt/RT-STM32F407-DISCOVERY-MEMS/chconf.h
+++ b/demos/rt/RT-STM32F407-DISCOVERY-MEMS/chconf.h
@@ -58,13 +58,6 @@
*/
#define CH_CFG_ST_TIMEDELTA 2
-/**
- * @brief Realtime Counter frequency.
- * @details Frequency of the system counter used for realtime delays and
- * measurements.
- */
-#define CH_CFG_RTC_FREQUENCY 168000000
-
/** @} */
/*===========================================================================*/
diff --git a/demos/rt/RT-STM32F407-DISCOVERY/chconf.h b/demos/rt/RT-STM32F407-DISCOVERY/chconf.h
index 70343b6f3..8a2d5efa1 100644
--- a/demos/rt/RT-STM32F407-DISCOVERY/chconf.h
+++ b/demos/rt/RT-STM32F407-DISCOVERY/chconf.h
@@ -58,13 +58,6 @@
*/
#define CH_CFG_ST_TIMEDELTA 2
-/**
- * @brief Realtime Counter frequency.
- * @details Frequency of the system counter used for realtime delays and
- * measurements.
- */
-#define CH_CFG_RTC_FREQUENCY 168000000
-
/** @} */
/*===========================================================================*/
diff --git a/demos/rt/RT-STM32F429-DISCOVERY/chconf.h b/demos/rt/RT-STM32F429-DISCOVERY/chconf.h
index 70343b6f3..8a2d5efa1 100644
--- a/demos/rt/RT-STM32F429-DISCOVERY/chconf.h
+++ b/demos/rt/RT-STM32F429-DISCOVERY/chconf.h
@@ -58,13 +58,6 @@
*/
#define CH_CFG_ST_TIMEDELTA 2
-/**
- * @brief Realtime Counter frequency.
- * @details Frequency of the system counter used for realtime delays and
- * measurements.
- */
-#define CH_CFG_RTC_FREQUENCY 168000000
-
/** @} */
/*===========================================================================*/
diff --git a/demos/rt/RT-STM32L152-DISCOVERY/chconf.h b/demos/rt/RT-STM32L152-DISCOVERY/chconf.h
index 3f3a0acdb..832f82314 100644
--- a/demos/rt/RT-STM32L152-DISCOVERY/chconf.h
+++ b/demos/rt/RT-STM32L152-DISCOVERY/chconf.h
@@ -58,13 +58,6 @@
*/
#define CH_CFG_ST_TIMEDELTA 2
-/**
- * @brief Realtime Counter frequency.
- * @details Frequency of the system counter used for realtime delays and
- * measurements.
- */
-#define CH_CFG_RTC_FREQUENCY 72000000
-
/** @} */
/*===========================================================================*/
diff --git a/os/rt/include/chsys.h b/os/rt/include/chsys.h
index 1b80bba65..6c2d61684 100644
--- a/os/rt/include/chsys.h
+++ b/os/rt/include/chsys.h
@@ -107,76 +107,85 @@
/**
* @brief Seconds to realtime counter.
* @details Converts from seconds to realtime counter cycles.
- * @note The result is rounded upward to the next tick boundary.
+ * @note The macro assumes that @p freq >= @p 1.
*
+ * @param[in] freq clock frequency, in Hz, of the realtime counter
* @param[in] sec number of seconds
* @return The number of cycles.
*
* @api
*/
-#define S2RTC(sec) (CH_CFG_RTC_FREQUENCY * (sec))
+#define S2RTC(freq, sec) ((freq) * (sec))
/**
* @brief Milliseconds to realtime counter.
* @details Converts from milliseconds to realtime counter cycles.
- * @note The result is rounded upward to the next tick boundary.
+ * @note The result is rounded upward to the next millisecond boundary.
+ * @note The macro assumes that @p freq >= @p 1000.
*
+ * @param[in] freq clock frequency, in Hz, of the realtime counter
* @param[in] msec number of milliseconds
* @return The number of cycles.
*
* @api
*/
-#define MS2RTC(msec) (rtcnt_t)(((CH_CFG_RTC_FREQUENCY + 999UL) / \
- 1000UL) * (msec))
+#define MS2RTC(freq, msec) (rtcnt_t)((((freq) + 999UL) / 1000UL) * (msec))
/**
* @brief Microseconds to realtime counter.
* @details Converts from microseconds to realtime counter cycles.
- * @note The result is rounded upward to the next tick boundary.
+ * @note The result is rounded upward to the next microsecond boundary.
+ * @note The macro assumes that @p freq >= @p 1000000.
*
+ * @param[in] freq clock frequency, in Hz, of the realtime counter
* @param[in] usec number of microseconds
* @return The number of cycles.
*
* @api
*/
-#define US2RTC(usec) (rtcnt_t)(((CH_CFG_RTC_FREQUENCY + 999999UL) / \
- 1000000UL) * (usec))
+#define US2RTC(freq, usec) (rtcnt_t)((((freq) + 999999UL) / 1000000UL) * (usec))
/**
* @brief Realtime counter cycles to seconds.
* @details Converts from realtime counter cycles number to seconds.
* @note The result is rounded up to the next second boundary.
+ * @note The macro assumes that @p freq >= @p 1.
*
+ * @param[in] freq clock frequency, in Hz, of the realtime counter
* @param[in] n number of cycles
* @return The number of seconds.
*
* @api
*/
-#define RTC2S(n) ((((n) - 1UL) / CH_CFG_RTC_FREQUENCY) + 1UL)
+#define RTC2S(freq, n) ((((n) - 1UL) / (freq)) + 1UL)
/**
* @brief Realtime counter cycles to milliseconds.
* @details Converts from realtime counter cycles number to milliseconds.
* @note The result is rounded up to the next millisecond boundary.
+ * @note The macro assumes that @p freq >= @p 1000.
*
+ * @param[in] freq clock frequency, in Hz, of the realtime counter
* @param[in] n number of cycles
* @return The number of milliseconds.
*
* @api
*/
-#define RTC2MS(n) ((((n) - 1UL) / (CH_CFG_RTC_FREQUENCY / 1000UL)) + 1UL)
+#define RTC2MS(freq, n) ((((n) - 1UL) / ((freq) / 1000UL)) + 1UL)
/**
* @brief Realtime counter cycles to microseconds.
* @details Converts from realtime counter cycles number to microseconds.
* @note The result is rounded up to the next microsecond boundary.
+ * @note The macro assumes that @p freq >= @p 1000000.
*
+ * @param[in] freq clock frequency, in Hz, of the realtime counter
* @param[in] n number of cycles
* @return The number of microseconds.
*
* @api
*/
-#define RTC2US(n) ((((n) - 1UL) / (CH_CFG_RTC_FREQUENCY / 1000000UL)) + 1UL)
+#define RTC2US(freq, n) ((((n) - 1UL) / ((freq) / 1000000UL)) + 1UL)
/** @} */
/**
diff --git a/os/rt/templates/chconf.h b/os/rt/templates/chconf.h
index 12f5742ec..8a2d5efa1 100644
--- a/os/rt/templates/chconf.h
+++ b/os/rt/templates/chconf.h
@@ -58,13 +58,6 @@
*/
#define CH_CFG_ST_TIMEDELTA 2
-/**
- * @brief Realtime Counter frequency.
- * @details Frequency of the system counter used for realtime delays and
- * measurements.
- */
-#define CH_CFG_RTC_FREQUENCY 72000000
-
/** @} */
/*===========================================================================*/
diff --git a/testhal/STM32F0xx/ADC/chconf.h b/testhal/STM32F0xx/ADC/chconf.h
index 2fd41db35..feea94663 100644
--- a/testhal/STM32F0xx/ADC/chconf.h
+++ b/testhal/STM32F0xx/ADC/chconf.h
@@ -57,14 +57,7 @@
* this value.
*/
#define CH_CFG_ST_TIMEDELTA 2
-
-/**
- * @brief Realtime Counter frequency.
- * @details Frequency of the system counter used for realtime delays and
- * measurements.
- */
-#define CH_CFG_RTC_FREQUENCY 0
-
+ports/STM32/STM32
/** @} */
/*===========================================================================*/
diff --git a/testhal/STM32F0xx/EXT/chconf.h b/testhal/STM32F0xx/EXT/chconf.h
index 2fd41db35..feea94663 100644
--- a/testhal/STM32F0xx/EXT/chconf.h
+++ b/testhal/STM32F0xx/EXT/chconf.h
@@ -57,14 +57,7 @@
* this value.
*/
#define CH_CFG_ST_TIMEDELTA 2
-
-/**
- * @brief Realtime Counter frequency.
- * @details Frequency of the system counter used for realtime delays and
- * measurements.
- */
-#define CH_CFG_RTC_FREQUENCY 0
-
+ports/STM32/STM32
/** @} */
/*===========================================================================*/
diff --git a/testhal/STM32F0xx/IRQ_STORM/chconf.h b/testhal/STM32F0xx/IRQ_STORM/chconf.h
index adf4cb601..76b317c2b 100644
--- a/testhal/STM32F0xx/IRQ_STORM/chconf.h
+++ b/testhal/STM32F0xx/IRQ_STORM/chconf.h
@@ -57,14 +57,7 @@
* this value.
*/
#define CH_CFG_ST_TIMEDELTA 2
-
-/**
- * @brief Realtime Counter frequency.
- * @details Frequency of the system counter used for realtime delays and
- * measurements.
- */
-#define CH_CFG_RTC_FREQUENCY 0
-
+ports/STM32/STM32
/** @} */
/*===========================================================================*/
diff --git a/testhal/STM32F0xx/PWM-ICU/chconf.h b/testhal/STM32F0xx/PWM-ICU/chconf.h
index 2fd41db35..feea94663 100644
--- a/testhal/STM32F0xx/PWM-ICU/chconf.h
+++ b/testhal/STM32F0xx/PWM-ICU/chconf.h
@@ -57,14 +57,7 @@
* this value.
*/
#define CH_CFG_ST_TIMEDELTA 2
-
-/**
- * @brief Realtime Counter frequency.
- * @details Frequency of the system counter used for realtime delays and
- * measurements.
- */
-#define CH_CFG_RTC_FREQUENCY 0
-
+ports/STM32/STM32
/** @} */
/*===========================================================================*/
diff --git a/testhal/STM32F0xx/SPI/chconf.h b/testhal/STM32F0xx/SPI/chconf.h
index 2fd41db35..feea94663 100644
--- a/testhal/STM32F0xx/SPI/chconf.h
+++ b/testhal/STM32F0xx/SPI/chconf.h
@@ -57,14 +57,7 @@
* this value.
*/
#define CH_CFG_ST_TIMEDELTA 2
-
-/**
- * @brief Realtime Counter frequency.
- * @details Frequency of the system counter used for realtime delays and
- * measurements.
- */
-#define CH_CFG_RTC_FREQUENCY 0
-
+ports/STM32/STM32
/** @} */
/*===========================================================================*/
diff --git a/testhal/STM32F0xx/UART/chconf.h b/testhal/STM32F0xx/UART/chconf.h
index 2fd41db35..feea94663 100644
--- a/testhal/STM32F0xx/UART/chconf.h
+++ b/testhal/STM32F0xx/UART/chconf.h
@@ -57,14 +57,7 @@
* this value.
*/
#define CH_CFG_ST_TIMEDELTA 2
-
-/**
- * @brief Realtime Counter frequency.
- * @details Frequency of the system counter used for realtime delays and
- * measurements.
- */
-#define CH_CFG_RTC_FREQUENCY 0
-
+ports/STM32/STM32
/** @} */
/*===========================================================================*/
diff --git a/testhal/STM32F1xx/ADC/chconf.h b/testhal/STM32F1xx/ADC/chconf.h
index 55bf10794..a664346f7 100644
--- a/testhal/STM32F1xx/ADC/chconf.h
+++ b/testhal/STM32F1xx/ADC/chconf.h
@@ -58,13 +58,6 @@
*/
#define CH_CFG_ST_TIMEDELTA 2
-/**
- * @brief Realtime Counter frequency.
- * @details Frequency of the system counter used for realtime delays and
- * measurements.
- */
-#define CH_CFG_RTC_FREQUENCY 72000000
-
/** @} */
/*===========================================================================*/
diff --git a/testhal/STM32F1xx/CAN/chconf.h b/testhal/STM32F1xx/CAN/chconf.h
index 55bf10794..a664346f7 100644
--- a/testhal/STM32F1xx/CAN/chconf.h
+++ b/testhal/STM32F1xx/CAN/chconf.h
@@ -58,13 +58,6 @@
*/
#define CH_CFG_ST_TIMEDELTA 2
-/**
- * @brief Realtime Counter frequency.
- * @details Frequency of the system counter used for realtime delays and
- * measurements.
- */
-#define CH_CFG_RTC_FREQUENCY 72000000
-
/** @} */
/*===========================================================================*/
diff --git a/testhal/STM32F1xx/EXT/chconf.h b/testhal/STM32F1xx/EXT/chconf.h
index 55bf10794..a664346f7 100644
--- a/testhal/STM32F1xx/EXT/chconf.h
+++ b/testhal/STM32F1xx/EXT/chconf.h
@@ -58,13 +58,6 @@
*/
#define CH_CFG_ST_TIMEDELTA 2
-/**
- * @brief Realtime Counter frequency.
- * @details Frequency of the system counter used for realtime delays and
- * measurements.
- */
-#define CH_CFG_RTC_FREQUENCY 72000000
-
/** @} */
/*===========================================================================*/
diff --git a/testhal/STM32F1xx/IRQ_STORM/chconf.h b/testhal/STM32F1xx/IRQ_STORM/chconf.h
index 137c85c31..f8afd504b 100644
--- a/testhal/STM32F1xx/IRQ_STORM/chconf.h
+++ b/testhal/STM32F1xx/IRQ_STORM/chconf.h
@@ -58,13 +58,6 @@
*/
#define CH_CFG_ST_TIMEDELTA 2
-/**
- * @brief Realtime Counter frequency.
- * @details Frequency of the system counter used for realtime delays and
- * measurements.
- */
-#define CH_CFG_RTC_FREQUENCY 72000000
-
/** @} */
/*===========================================================================*/
diff --git a/testhal/STM32F1xx/PWM-ICU/chconf.h b/testhal/STM32F1xx/PWM-ICU/chconf.h
index 55bf10794..a664346f7 100644
--- a/testhal/STM32F1xx/PWM-ICU/chconf.h
+++ b/testhal/STM32F1xx/PWM-ICU/chconf.h
@@ -58,13 +58,6 @@
*/
#define CH_CFG_ST_TIMEDELTA 2
-/**
- * @brief Realtime Counter frequency.
- * @details Frequency of the system counter used for realtime delays and
- * measurements.
- */
-#define CH_CFG_RTC_FREQUENCY 72000000
-
/** @} */
/*===========================================================================*/
diff --git a/testhal/STM32F1xx/SPI/chconf.h b/testhal/STM32F1xx/SPI/chconf.h
index 55bf10794..a664346f7 100644
--- a/testhal/STM32F1xx/SPI/chconf.h
+++ b/testhal/STM32F1xx/SPI/chconf.h
@@ -58,13 +58,6 @@
*/
#define CH_CFG_ST_TIMEDELTA 2
-/**
- * @brief Realtime Counter frequency.
- * @details Frequency of the system counter used for realtime delays and
- * measurements.
- */
-#define CH_CFG_RTC_FREQUENCY 72000000
-
/** @} */
/*===========================================================================*/
diff --git a/testhal/STM32F1xx/UART/chconf.h b/testhal/STM32F1xx/UART/chconf.h
index 55bf10794..a664346f7 100644
--- a/testhal/STM32F1xx/UART/chconf.h
+++ b/testhal/STM32F1xx/UART/chconf.h
@@ -58,13 +58,6 @@
*/
#define CH_CFG_ST_TIMEDELTA 2
-/**
- * @brief Realtime Counter frequency.
- * @details Frequency of the system counter used for realtime delays and
- * measurements.
- */
-#define CH_CFG_RTC_FREQUENCY 72000000
-
/** @} */
/*===========================================================================*/
diff --git a/testhal/STM32F1xx/USB_CDC/chconf.h b/testhal/STM32F1xx/USB_CDC/chconf.h
index 55bf10794..a664346f7 100644
--- a/testhal/STM32F1xx/USB_CDC/chconf.h
+++ b/testhal/STM32F1xx/USB_CDC/chconf.h
@@ -58,13 +58,6 @@
*/
#define CH_CFG_ST_TIMEDELTA 2
-/**
- * @brief Realtime Counter frequency.
- * @details Frequency of the system counter used for realtime delays and
- * measurements.
- */
-#define CH_CFG_RTC_FREQUENCY 72000000
-
/** @} */
/*===========================================================================*/
diff --git a/testhal/STM32F30x/ADC/chconf.h b/testhal/STM32F30x/ADC/chconf.h
index ead2c1de8..4fa0bcf4e 100644
--- a/testhal/STM32F30x/ADC/chconf.h
+++ b/testhal/STM32F30x/ADC/chconf.h
@@ -58,13 +58,6 @@
*/
#define CH_CFG_ST_TIMEDELTA 2
-/**
- * @brief Realtime Counter frequency.
- * @details Frequency of the system counter used for realtime delays and
- * measurements.
- */
-#define CH_CFG_RTC_FREQUENCY 72000000
-
/** @} */
/*===========================================================================*/
diff --git a/testhal/STM32F30x/ADC_DUAL/chconf.h b/testhal/STM32F30x/ADC_DUAL/chconf.h
index ead2c1de8..4fa0bcf4e 100644
--- a/testhal/STM32F30x/ADC_DUAL/chconf.h
+++ b/testhal/STM32F30x/ADC_DUAL/chconf.h
@@ -58,13 +58,6 @@
*/
#define CH_CFG_ST_TIMEDELTA 2
-/**
- * @brief Realtime Counter frequency.
- * @details Frequency of the system counter used for realtime delays and
- * measurements.
- */
-#define CH_CFG_RTC_FREQUENCY 72000000
-
/** @} */
/*===========================================================================*/
diff --git a/testhal/STM32F30x/CAN/chconf.h b/testhal/STM32F30x/CAN/chconf.h
index ead2c1de8..4fa0bcf4e 100644
--- a/testhal/STM32F30x/CAN/chconf.h
+++ b/testhal/STM32F30x/CAN/chconf.h
@@ -58,13 +58,6 @@
*/
#define CH_CFG_ST_TIMEDELTA 2
-/**
- * @brief Realtime Counter frequency.
- * @details Frequency of the system counter used for realtime delays and
- * measurements.
- */
-#define CH_CFG_RTC_FREQUENCY 72000000
-
/** @} */
/*===========================================================================*/
diff --git a/testhal/STM32F30x/EXT/chconf.h b/testhal/STM32F30x/EXT/chconf.h
index ead2c1de8..4fa0bcf4e 100644
--- a/testhal/STM32F30x/EXT/chconf.h
+++ b/testhal/STM32F30x/EXT/chconf.h
@@ -58,13 +58,6 @@
*/
#define CH_CFG_ST_TIMEDELTA 2
-/**
- * @brief Realtime Counter frequency.
- * @details Frequency of the system counter used for realtime delays and
- * measurements.
- */
-#define CH_CFG_RTC_FREQUENCY 72000000
-
/** @} */
/*===========================================================================*/
diff --git a/testhal/STM32F30x/IRQ_STORM/chconf.h b/testhal/STM32F30x/IRQ_STORM/chconf.h
index 12f5742ec..8a2d5efa1 100644
--- a/testhal/STM32F30x/IRQ_STORM/chconf.h
+++ b/testhal/STM32F30x/IRQ_STORM/chconf.h
@@ -58,13 +58,6 @@
*/
#define CH_CFG_ST_TIMEDELTA 2
-/**
- * @brief Realtime Counter frequency.
- * @details Frequency of the system counter used for realtime delays and
- * measurements.
- */
-#define CH_CFG_RTC_FREQUENCY 72000000
-
/** @} */
/*===========================================================================*/
diff --git a/testhal/STM32F30x/PWM-ICU/chconf.h b/testhal/STM32F30x/PWM-ICU/chconf.h
index ead2c1de8..4fa0bcf4e 100644
--- a/testhal/STM32F30x/PWM-ICU/chconf.h
+++ b/testhal/STM32F30x/PWM-ICU/chconf.h
@@ -58,13 +58,6 @@
*/
#define CH_CFG_ST_TIMEDELTA 2
-/**
- * @brief Realtime Counter frequency.
- * @details Frequency of the system counter used for realtime delays and
- * measurements.
- */
-#define CH_CFG_RTC_FREQUENCY 72000000
-
/** @} */
/*===========================================================================*/
diff --git a/testhal/STM32F30x/SPI/chconf.h b/testhal/STM32F30x/SPI/chconf.h
index ead2c1de8..4fa0bcf4e 100644
--- a/testhal/STM32F30x/SPI/chconf.h
+++ b/testhal/STM32F30x/SPI/chconf.h
@@ -58,13 +58,6 @@
*/
#define CH_CFG_ST_TIMEDELTA 2
-/**
- * @brief Realtime Counter frequency.
- * @details Frequency of the system counter used for realtime delays and
- * measurements.
- */
-#define CH_CFG_RTC_FREQUENCY 72000000
-
/** @} */
/*===========================================================================*/
diff --git a/testhal/STM32F30x/UART/chconf.h b/testhal/STM32F30x/UART/chconf.h
index ead2c1de8..4fa0bcf4e 100644
--- a/testhal/STM32F30x/UART/chconf.h
+++ b/testhal/STM32F30x/UART/chconf.h
@@ -58,13 +58,6 @@
*/
#define CH_CFG_ST_TIMEDELTA 2
-/**
- * @brief Realtime Counter frequency.
- * @details Frequency of the system counter used for realtime delays and
- * measurements.
- */
-#define CH_CFG_RTC_FREQUENCY 72000000
-
/** @} */
/*===========================================================================*/
diff --git a/testhal/STM32F30x/USB_CDC/chconf.h b/testhal/STM32F30x/USB_CDC/chconf.h
index ead2c1de8..4fa0bcf4e 100644
--- a/testhal/STM32F30x/USB_CDC/chconf.h
+++ b/testhal/STM32F30x/USB_CDC/chconf.h
@@ -58,13 +58,6 @@
*/
#define CH_CFG_ST_TIMEDELTA 2
-/**
- * @brief Realtime Counter frequency.
- * @details Frequency of the system counter used for realtime delays and
- * measurements.
- */
-#define CH_CFG_RTC_FREQUENCY 72000000
-
/** @} */
/*===========================================================================*/
diff --git a/testhal/STM32F37x/ADC/chconf.h b/testhal/STM32F37x/ADC/chconf.h
index ead2c1de8..4fa0bcf4e 100644
--- a/testhal/STM32F37x/ADC/chconf.h
+++ b/testhal/STM32F37x/ADC/chconf.h
@@ -58,13 +58,6 @@
*/
#define CH_CFG_ST_TIMEDELTA 2
-/**
- * @brief Realtime Counter frequency.
- * @details Frequency of the system counter used for realtime delays and
- * measurements.
- */
-#define CH_CFG_RTC_FREQUENCY 72000000
-
/** @} */
/*===========================================================================*/
diff --git a/testhal/STM32F37x/CAN/chconf.h b/testhal/STM32F37x/CAN/chconf.h
index ead2c1de8..4fa0bcf4e 100644
--- a/testhal/STM32F37x/CAN/chconf.h
+++ b/testhal/STM32F37x/CAN/chconf.h
@@ -58,13 +58,6 @@
*/
#define CH_CFG_ST_TIMEDELTA 2
-/**
- * @brief Realtime Counter frequency.
- * @details Frequency of the system counter used for realtime delays and
- * measurements.
- */
-#define CH_CFG_RTC_FREQUENCY 72000000
-
/** @} */
/*===========================================================================*/
diff --git a/testhal/STM32F37x/EXT/chconf.h b/testhal/STM32F37x/EXT/chconf.h
index ead2c1de8..4fa0bcf4e 100644
--- a/testhal/STM32F37x/EXT/chconf.h
+++ b/testhal/STM32F37x/EXT/chconf.h
@@ -58,13 +58,6 @@
*/
#define CH_CFG_ST_TIMEDELTA 2
-/**
- * @brief Realtime Counter frequency.
- * @details Frequency of the system counter used for realtime delays and
- * measurements.
- */
-#define CH_CFG_RTC_FREQUENCY 72000000
-
/** @} */
/*===========================================================================*/
diff --git a/testhal/STM32F37x/I2C/chconf.h b/testhal/STM32F37x/I2C/chconf.h
index ead2c1de8..4fa0bcf4e 100644
--- a/testhal/STM32F37x/I2C/chconf.h
+++ b/testhal/STM32F37x/I2C/chconf.h
@@ -58,13 +58,6 @@
*/
#define CH_CFG_ST_TIMEDELTA 2
-/**
- * @brief Realtime Counter frequency.
- * @details Frequency of the system counter used for realtime delays and
- * measurements.
- */
-#define CH_CFG_RTC_FREQUENCY 72000000
-
/** @} */
/*===========================================================================*/
diff --git a/testhal/STM32F37x/IRQ_STORM/chconf.h b/testhal/STM32F37x/IRQ_STORM/chconf.h
index 12f5742ec..8a2d5efa1 100644
--- a/testhal/STM32F37x/IRQ_STORM/chconf.h
+++ b/testhal/STM32F37x/IRQ_STORM/chconf.h
@@ -58,13 +58,6 @@
*/
#define CH_CFG_ST_TIMEDELTA 2
-/**
- * @brief Realtime Counter frequency.
- * @details Frequency of the system counter used for realtime delays and
- * measurements.
- */
-#define CH_CFG_RTC_FREQUENCY 72000000
-
/** @} */
/*===========================================================================*/
diff --git a/testhal/STM32F37x/PWM-ICU/chconf.h b/testhal/STM32F37x/PWM-ICU/chconf.h
index ead2c1de8..4fa0bcf4e 100644
--- a/testhal/STM32F37x/PWM-ICU/chconf.h
+++ b/testhal/STM32F37x/PWM-ICU/chconf.h
@@ -58,13 +58,6 @@
*/
#define CH_CFG_ST_TIMEDELTA 2
-/**
- * @brief Realtime Counter frequency.
- * @details Frequency of the system counter used for realtime delays and
- * measurements.
- */
-#define CH_CFG_RTC_FREQUENCY 72000000
-
/** @} */
/*===========================================================================*/
diff --git a/testhal/STM32F37x/SDADC/chconf.h b/testhal/STM32F37x/SDADC/chconf.h
index ead2c1de8..4fa0bcf4e 100644
--- a/testhal/STM32F37x/SDADC/chconf.h
+++ b/testhal/STM32F37x/SDADC/chconf.h
@@ -58,13 +58,6 @@
*/
#define CH_CFG_ST_TIMEDELTA 2
-/**
- * @brief Realtime Counter frequency.
- * @details Frequency of the system counter used for realtime delays and
- * measurements.
- */
-#define CH_CFG_RTC_FREQUENCY 72000000
-
/** @} */
/*===========================================================================*/
diff --git a/testhal/STM32F37x/SPI/chconf.h b/testhal/STM32F37x/SPI/chconf.h
index ead2c1de8..4fa0bcf4e 100644
--- a/testhal/STM32F37x/SPI/chconf.h
+++ b/testhal/STM32F37x/SPI/chconf.h
@@ -58,13 +58,6 @@
*/
#define CH_CFG_ST_TIMEDELTA 2
-/**
- * @brief Realtime Counter frequency.
- * @details Frequency of the system counter used for realtime delays and
- * measurements.
- */
-#define CH_CFG_RTC_FREQUENCY 72000000
-
/** @} */
/*===========================================================================*/
diff --git a/testhal/STM32F37x/UART/chconf.h b/testhal/STM32F37x/UART/chconf.h
index ead2c1de8..4fa0bcf4e 100644
--- a/testhal/STM32F37x/UART/chconf.h
+++ b/testhal/STM32F37x/UART/chconf.h
@@ -58,13 +58,6 @@
*/
#define CH_CFG_ST_TIMEDELTA 2
-/**
- * @brief Realtime Counter frequency.
- * @details Frequency of the system counter used for realtime delays and
- * measurements.
- */
-#define CH_CFG_RTC_FREQUENCY 72000000
-
/** @} */
/*===========================================================================*/
diff --git a/testhal/STM32F37x/USB_CDC/chconf.h b/testhal/STM32F37x/USB_CDC/chconf.h
index ead2c1de8..4fa0bcf4e 100644
--- a/testhal/STM32F37x/USB_CDC/chconf.h
+++ b/testhal/STM32F37x/USB_CDC/chconf.h
@@ -58,13 +58,6 @@
*/
#define CH_CFG_ST_TIMEDELTA 2
-/**
- * @brief Realtime Counter frequency.
- * @details Frequency of the system counter used for realtime delays and
- * measurements.
- */
-#define CH_CFG_RTC_FREQUENCY 72000000
-
/** @} */
/*===========================================================================*/
diff --git a/testhal/STM32F4xx/ADC/chconf.h b/testhal/STM32F4xx/ADC/chconf.h
index a398a1ac0..4fa0bcf4e 100644
--- a/testhal/STM32F4xx/ADC/chconf.h
+++ b/testhal/STM32F4xx/ADC/chconf.h
@@ -58,13 +58,6 @@
*/
#define CH_CFG_ST_TIMEDELTA 2
-/**
- * @brief Realtime Counter frequency.
- * @details Frequency of the system counter used for realtime delays and
- * measurements.
- */
-#define CH_CFG_RTC_FREQUENCY 168000000
-
/** @} */
/*===========================================================================*/
diff --git a/testhal/STM32F4xx/CAN/chconf.h b/testhal/STM32F4xx/CAN/chconf.h
index a398a1ac0..4fa0bcf4e 100644
--- a/testhal/STM32F4xx/CAN/chconf.h
+++ b/testhal/STM32F4xx/CAN/chconf.h
@@ -58,13 +58,6 @@
*/
#define CH_CFG_ST_TIMEDELTA 2
-/**
- * @brief Realtime Counter frequency.
- * @details Frequency of the system counter used for realtime delays and
- * measurements.
- */
-#define CH_CFG_RTC_FREQUENCY 168000000
-
/** @} */
/*===========================================================================*/
diff --git a/testhal/STM32F4xx/DMA_STORM/chconf.h b/testhal/STM32F4xx/DMA_STORM/chconf.h
index a398a1ac0..4fa0bcf4e 100644
--- a/testhal/STM32F4xx/DMA_STORM/chconf.h
+++ b/testhal/STM32F4xx/DMA_STORM/chconf.h
@@ -58,13 +58,6 @@
*/
#define CH_CFG_ST_TIMEDELTA 2
-/**
- * @brief Realtime Counter frequency.
- * @details Frequency of the system counter used for realtime delays and
- * measurements.
- */
-#define CH_CFG_RTC_FREQUENCY 168000000
-
/** @} */
/*===========================================================================*/
diff --git a/testhal/STM32F4xx/EXT/chconf.h b/testhal/STM32F4xx/EXT/chconf.h
index a398a1ac0..4fa0bcf4e 100644
--- a/testhal/STM32F4xx/EXT/chconf.h
+++ b/testhal/STM32F4xx/EXT/chconf.h
@@ -58,13 +58,6 @@
*/
#define CH_CFG_ST_TIMEDELTA 2
-/**
- * @brief Realtime Counter frequency.
- * @details Frequency of the system counter used for realtime delays and
- * measurements.
- */
-#define CH_CFG_RTC_FREQUENCY 168000000
-
/** @} */
/*===========================================================================*/
diff --git a/testhal/STM32F4xx/GPT/chconf.h b/testhal/STM32F4xx/GPT/chconf.h
index a398a1ac0..4fa0bcf4e 100644
--- a/testhal/STM32F4xx/GPT/chconf.h
+++ b/testhal/STM32F4xx/GPT/chconf.h
@@ -58,13 +58,6 @@
*/
#define CH_CFG_ST_TIMEDELTA 2
-/**
- * @brief Realtime Counter frequency.
- * @details Frequency of the system counter used for realtime delays and
- * measurements.
- */
-#define CH_CFG_RTC_FREQUENCY 168000000
-
/** @} */
/*===========================================================================*/
diff --git a/testhal/STM32F4xx/I2C/chconf.h b/testhal/STM32F4xx/I2C/chconf.h
index a398a1ac0..4fa0bcf4e 100644
--- a/testhal/STM32F4xx/I2C/chconf.h
+++ b/testhal/STM32F4xx/I2C/chconf.h
@@ -58,13 +58,6 @@
*/
#define CH_CFG_ST_TIMEDELTA 2
-/**
- * @brief Realtime Counter frequency.
- * @details Frequency of the system counter used for realtime delays and
- * measurements.
- */
-#define CH_CFG_RTC_FREQUENCY 168000000
-
/** @} */
/*===========================================================================*/
diff --git a/testhal/STM32F4xx/IRQ_STORM/chconf.h b/testhal/STM32F4xx/IRQ_STORM/chconf.h
index 70343b6f3..8a2d5efa1 100644
--- a/testhal/STM32F4xx/IRQ_STORM/chconf.h
+++ b/testhal/STM32F4xx/IRQ_STORM/chconf.h
@@ -58,13 +58,6 @@
*/
#define CH_CFG_ST_TIMEDELTA 2
-/**
- * @brief Realtime Counter frequency.
- * @details Frequency of the system counter used for realtime delays and
- * measurements.
- */
-#define CH_CFG_RTC_FREQUENCY 168000000
-
/** @} */
/*===========================================================================*/
diff --git a/testhal/STM32F4xx/IRQ_STORM_FPU/chconf.h b/testhal/STM32F4xx/IRQ_STORM_FPU/chconf.h
index 70343b6f3..8a2d5efa1 100644
--- a/testhal/STM32F4xx/IRQ_STORM_FPU/chconf.h
+++ b/testhal/STM32F4xx/IRQ_STORM_FPU/chconf.h
@@ -58,13 +58,6 @@
*/
#define CH_CFG_ST_TIMEDELTA 2
-/**
- * @brief Realtime Counter frequency.
- * @details Frequency of the system counter used for realtime delays and
- * measurements.
- */
-#define CH_CFG_RTC_FREQUENCY 168000000
-
/** @} */
/*===========================================================================*/
diff --git a/testhal/STM32F4xx/PWM-ICU/chconf.h b/testhal/STM32F4xx/PWM-ICU/chconf.h
index a398a1ac0..4fa0bcf4e 100644
--- a/testhal/STM32F4xx/PWM-ICU/chconf.h
+++ b/testhal/STM32F4xx/PWM-ICU/chconf.h
@@ -58,13 +58,6 @@
*/
#define CH_CFG_ST_TIMEDELTA 2
-/**
- * @brief Realtime Counter frequency.
- * @details Frequency of the system counter used for realtime delays and
- * measurements.
- */
-#define CH_CFG_RTC_FREQUENCY 168000000
-
/** @} */
/*===========================================================================*/
diff --git a/testhal/STM32F4xx/RTC/chconf.h b/testhal/STM32F4xx/RTC/chconf.h
index a398a1ac0..4fa0bcf4e 100644
--- a/testhal/STM32F4xx/RTC/chconf.h
+++ b/testhal/STM32F4xx/RTC/chconf.h
@@ -58,13 +58,6 @@
*/
#define CH_CFG_ST_TIMEDELTA 2
-/**
- * @brief Realtime Counter frequency.
- * @details Frequency of the system counter used for realtime delays and
- * measurements.
- */
-#define CH_CFG_RTC_FREQUENCY 168000000
-
/** @} */
/*===========================================================================*/
diff --git a/testhal/STM32F4xx/SDC/chconf.h b/testhal/STM32F4xx/SDC/chconf.h
index a398a1ac0..4fa0bcf4e 100644
--- a/testhal/STM32F4xx/SDC/chconf.h
+++ b/testhal/STM32F4xx/SDC/chconf.h
@@ -58,13 +58,6 @@
*/
#define CH_CFG_ST_TIMEDELTA 2
-/**
- * @brief Realtime Counter frequency.
- * @details Frequency of the system counter used for realtime delays and
- * measurements.
- */
-#define CH_CFG_RTC_FREQUENCY 168000000
-
/** @} */
/*===========================================================================*/
diff --git a/testhal/STM32F4xx/SPI/chconf.h b/testhal/STM32F4xx/SPI/chconf.h
index a398a1ac0..4fa0bcf4e 100644
--- a/testhal/STM32F4xx/SPI/chconf.h
+++ b/testhal/STM32F4xx/SPI/chconf.h
@@ -58,13 +58,6 @@
*/
#define CH_CFG_ST_TIMEDELTA 2
-/**
- * @brief Realtime Counter frequency.
- * @details Frequency of the system counter used for realtime delays and
- * measurements.
- */
-#define CH_CFG_RTC_FREQUENCY 168000000
-
/** @} */
/*===========================================================================*/
diff --git a/testhal/STM32F4xx/UART/chconf.h b/testhal/STM32F4xx/UART/chconf.h
index a398a1ac0..4fa0bcf4e 100644
--- a/testhal/STM32F4xx/UART/chconf.h
+++ b/testhal/STM32F4xx/UART/chconf.h
@@ -58,13 +58,6 @@
*/
#define CH_CFG_ST_TIMEDELTA 2
-/**
- * @brief Realtime Counter frequency.
- * @details Frequency of the system counter used for realtime delays and
- * measurements.
- */
-#define CH_CFG_RTC_FREQUENCY 168000000
-
/** @} */
/*===========================================================================*/
diff --git a/testhal/STM32F4xx/USB_CDC/chconf.h b/testhal/STM32F4xx/USB_CDC/chconf.h
index a398a1ac0..4fa0bcf4e 100644
--- a/testhal/STM32F4xx/USB_CDC/chconf.h
+++ b/testhal/STM32F4xx/USB_CDC/chconf.h
@@ -58,13 +58,6 @@
*/
#define CH_CFG_ST_TIMEDELTA 2
-/**
- * @brief Realtime Counter frequency.
- * @details Frequency of the system counter used for realtime delays and
- * measurements.
- */
-#define CH_CFG_RTC_FREQUENCY 168000000
-
/** @} */
/*===========================================================================*/
diff --git a/testhal/STM32L1xx/ADC/chconf.h b/testhal/STM32L1xx/ADC/chconf.h
index 845429d8d..4afa78e34 100644
--- a/testhal/STM32L1xx/ADC/chconf.h
+++ b/testhal/STM32L1xx/ADC/chconf.h
@@ -58,13 +58,6 @@
*/
#define CH_CFG_ST_TIMEDELTA 2
-/**
- * @brief Realtime Counter frequency.
- * @details Frequency of the system counter used for realtime delays and
- * measurements.
- */
-#define CH_CFG_RTC_FREQUENCY 72000000
-
/** @} */
/*===========================================================================*/
diff --git a/testhal/STM32L1xx/EXT/chconf.h b/testhal/STM32L1xx/EXT/chconf.h
index 845429d8d..4afa78e34 100644
--- a/testhal/STM32L1xx/EXT/chconf.h
+++ b/testhal/STM32L1xx/EXT/chconf.h
@@ -58,13 +58,6 @@
*/
#define CH_CFG_ST_TIMEDELTA 2
-/**
- * @brief Realtime Counter frequency.
- * @details Frequency of the system counter used for realtime delays and
- * measurements.
- */
-#define CH_CFG_RTC_FREQUENCY 72000000
-
/** @} */
/*===========================================================================*/
diff --git a/testhal/STM32L1xx/IRQ_STORM/chconf.h b/testhal/STM32L1xx/IRQ_STORM/chconf.h
index 3f3a0acdb..832f82314 100644
--- a/testhal/STM32L1xx/IRQ_STORM/chconf.h
+++ b/testhal/STM32L1xx/IRQ_STORM/chconf.h
@@ -58,13 +58,6 @@
*/
#define CH_CFG_ST_TIMEDELTA 2
-/**
- * @brief Realtime Counter frequency.
- * @details Frequency of the system counter used for realtime delays and
- * measurements.
- */
-#define CH_CFG_RTC_FREQUENCY 72000000
-
/** @} */
/*===========================================================================*/
diff --git a/testhal/STM32L1xx/PWM-ICU/chconf.h b/testhal/STM32L1xx/PWM-ICU/chconf.h
index 845429d8d..4afa78e34 100644
--- a/testhal/STM32L1xx/PWM-ICU/chconf.h
+++ b/testhal/STM32L1xx/PWM-ICU/chconf.h
@@ -58,13 +58,6 @@
*/
#define CH_CFG_ST_TIMEDELTA 2
-/**
- * @brief Realtime Counter frequency.
- * @details Frequency of the system counter used for realtime delays and
- * measurements.
- */
-#define CH_CFG_RTC_FREQUENCY 72000000
-
/** @} */
/*===========================================================================*/
diff --git a/testhal/STM32L1xx/SPI/chconf.h b/testhal/STM32L1xx/SPI/chconf.h
index 845429d8d..4afa78e34 100644
--- a/testhal/STM32L1xx/SPI/chconf.h
+++ b/testhal/STM32L1xx/SPI/chconf.h
@@ -58,13 +58,6 @@
*/
#define CH_CFG_ST_TIMEDELTA 2
-/**
- * @brief Realtime Counter frequency.
- * @details Frequency of the system counter used for realtime delays and
- * measurements.
- */
-#define CH_CFG_RTC_FREQUENCY 72000000
-
/** @} */
/*===========================================================================*/
diff --git a/testhal/STM32L1xx/UART/chconf.h b/testhal/STM32L1xx/UART/chconf.h
index 845429d8d..4afa78e34 100644
--- a/testhal/STM32L1xx/UART/chconf.h
+++ b/testhal/STM32L1xx/UART/chconf.h
@@ -58,13 +58,6 @@
*/
#define CH_CFG_ST_TIMEDELTA 2
-/**
- * @brief Realtime Counter frequency.
- * @details Frequency of the system counter used for realtime delays and
- * measurements.
- */
-#define CH_CFG_RTC_FREQUENCY 72000000
-
/** @} */
/*===========================================================================*/