This is an automated email from the ASF dual-hosted git repository.

linguini pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx.git


The following commit(s) were added to refs/heads/master by this push:
     new 6928384019a arch/stm32{f7|h7|l4|l5|u5}: remove references to 
CONFIG_STM32_TIMx_QECLKOUT
6928384019a is described below

commit 6928384019a0284dc20bbfe64e6a372852157167
Author: raiden00pl <[email protected]>
AuthorDate: Sun Apr 12 10:22:27 2026 +0200

    arch/stm32{f7|h7|l4|l5|u5}: remove references to CONFIG_STM32_TIMx_QECLKOUT
    
    Remove useless references to CONFIG_STM32_TIMx_QECLKOUT
    
    Signed-off-by: raiden00pl <[email protected]>
---
 .../arm/stm32f1/boards/stm32f103-minimum/index.rst |  1 -
 .../arm/stm32f4/boards/stm32f4discovery/index.rst  |  1 -
 arch/arm/src/stm32/stm32_qencoder.h                | 28 ----------------------
 arch/arm/src/stm32f7/stm32_qencoder.h              | 28 ----------------------
 arch/arm/src/stm32h7/stm32_qencoder.h              | 28 ----------------------
 arch/arm/src/stm32l4/Kconfig                       |  6 -----
 arch/arm/src/stm32l4/stm32l4_qencoder.h            | 28 ----------------------
 arch/arm/src/stm32l5/Kconfig                       |  6 -----
 arch/arm/src/stm32u5/Kconfig                       |  6 -----
 9 files changed, 132 deletions(-)

diff --git 
a/Documentation/platforms/arm/stm32f1/boards/stm32f103-minimum/index.rst 
b/Documentation/platforms/arm/stm32f1/boards/stm32f103-minimum/index.rst
index f6ef07571be..cd760af867d 100644
--- a/Documentation/platforms/arm/stm32f1/boards/stm32f103-minimum/index.rst
+++ b/Documentation/platforms/arm/stm32f1/boards/stm32f103-minimum/index.rst
@@ -299,7 +299,6 @@ file:
 
     CONFIG_STM32_TIM4_CAP=y
     CONFIG_STM32_TIM4_QE=y
-    CONFIG_STM32_TIM4_QECLKOUT=2800000
     CONFIG_STM32_QENCODER_FILTER=y
     CONFIG_STM32_QENCODER_SAMPLE_EVENT_6=y
     CONFIG_STM32_QENCODER_SAMPLE_FDTS_4=y
diff --git 
a/Documentation/platforms/arm/stm32f4/boards/stm32f4discovery/index.rst 
b/Documentation/platforms/arm/stm32f4/boards/stm32f4discovery/index.rst
index 65955445826..699b2105c65 100644
--- a/Documentation/platforms/arm/stm32f4/boards/stm32f4discovery/index.rst
+++ b/Documentation/platforms/arm/stm32f4/boards/stm32f4discovery/index.rst
@@ -323,7 +323,6 @@ file:
 - These settings enable the STM32 Quadrature encoder on timer 2::
 
     CONFIG_STM32_TIM2_QE=y
-    CONFIG_STM32_TIM4_QECLKOUT=2800000
     CONFIG_STM32_QENCODER_FILTER=y
     CONFIG_STM32_QENCODER_SAMPLE_EVENT_6=y
     CONFIG_STM32_QENCODER_SAMPLE_FDTS_4=y
diff --git a/arch/arm/src/stm32/stm32_qencoder.h 
b/arch/arm/src/stm32/stm32_qencoder.h
index c1be0f04a12..a8c9ff66e00 100644
--- a/arch/arm/src/stm32/stm32_qencoder.h
+++ b/arch/arm/src/stm32/stm32_qencoder.h
@@ -75,34 +75,6 @@
 #undef CONFIG_STM32_TIM13_QE
 #undef CONFIG_STM32_TIM14_QE
 
-/* Clock out frequency.  This value is used to calculation the timer CLKIN in
- * prescaler value.
- */
-
-#ifndef CONFIG_STM32_TIM1_QECLKOUT
-#  define CONFIG_STM32_TIM1_QECLKOUT 28000000
-#endif
-
-#ifndef CONFIG_STM32_TIM2_QECLKOUT
-#  define CONFIG_STM32_TIM2_QECLKOUT 28000000
-#endif
-
-#ifndef CONFIG_STM32_TIM3_QECLKOUT
-#  define CONFIG_STM32_TIM3_QECLKOUT 28000000
-#endif
-
-#ifndef CONFIG_STM32_TIM4_QECLKOUT
-#  define CONFIG_STM32_TIM4_QECLKOUT 28000000
-#endif
-
-#ifndef CONFIG_STM32_TIM5_QECLKOUT
-#  define CONFIG_STM32_TIM5_QECLKOUT 28000000
-#endif
-
-#ifndef CONFIG_STM32_TIM8_QECLKOUT
-#  define CONFIG_STM32_TIM8_QECLKOUT 28000000
-#endif
-
 /****************************************************************************
  * Included Files
  ****************************************************************************/
diff --git a/arch/arm/src/stm32f7/stm32_qencoder.h 
b/arch/arm/src/stm32f7/stm32_qencoder.h
index 8c95b056e23..3531846389c 100644
--- a/arch/arm/src/stm32f7/stm32_qencoder.h
+++ b/arch/arm/src/stm32f7/stm32_qencoder.h
@@ -75,34 +75,6 @@
 #undef CONFIG_STM32F7_TIM13_QE
 #undef CONFIG_STM32F7_TIM14_QE
 
-/* Clock out frequency.
- * This value is used to calculation the timer CLKIN in prescaler value.
- */
-
-#ifndef CONFIG_STM32F7_TIM1_QECLKOUT
-#  define CONFIG_STM32F7_TIM1_QECLKOUT 28000000
-#endif
-
-#ifndef CONFIG_STM32F7_TIM2_QECLKOUT
-#  define CONFIG_STM32F7_TIM2_QECLKOUT 28000000
-#endif
-
-#ifndef CONFIG_STM32F7_TIM3_QECLKOUT
-#  define CONFIG_STM32F7_TIM3_QECLKOUT 28000000
-#endif
-
-#ifndef CONFIG_STM32F7_TIM4_QECLKOUT
-#  define CONFIG_STM32F7_TIM4_QECLKOUT 28000000
-#endif
-
-#ifndef CONFIG_STM32F7_TIM5_QECLKOUT
-#  define CONFIG_STM32F7_TIM5_QECLKOUT 28000000
-#endif
-
-#ifndef CONFIG_STM32F7_TIM8_QECLKOUT
-#  define CONFIG_STM32F7_TIM8_QECLKOUT 28000000
-#endif
-
 /****************************************************************************
  * Included Files
  ****************************************************************************/
diff --git a/arch/arm/src/stm32h7/stm32_qencoder.h 
b/arch/arm/src/stm32h7/stm32_qencoder.h
index 66b9d23d71f..a8b93505d59 100644
--- a/arch/arm/src/stm32h7/stm32_qencoder.h
+++ b/arch/arm/src/stm32h7/stm32_qencoder.h
@@ -75,34 +75,6 @@
 #undef CONFIG_STM32H7_TIM13_QE
 #undef CONFIG_STM32H7_TIM14_QE
 
-/* Clock out frequency.  This value is used to calculation the timer CLKIN in
- * prescaler value.
- */
-
-#ifndef CONFIG_STM32H7_TIM1_QECLKOUT
-#  define CONFIG_STM32H7_TIM1_QECLKOUT 28000000
-#endif
-
-#ifndef CONFIG_STM32H7_TIM2_QECLKOUT
-#  define CONFIG_STM32H7_TIM2_QECLKOUT 28000000
-#endif
-
-#ifndef CONFIG_STM32H7_TIM3_QECLKOUT
-#  define CONFIG_STM32H7_TIM3_QECLKOUT 28000000
-#endif
-
-#ifndef CONFIG_STM32H7_TIM4_QECLKOUT
-#  define CONFIG_STM32H7_TIM4_QECLKOUT 28000000
-#endif
-
-#ifndef CONFIG_STM32H7_TIM5_QECLKOUT
-#  define CONFIG_STM32H7_TIM5_QECLKOUT 28000000
-#endif
-
-#ifndef CONFIG_STM32H7_TIM8_QECLKOUT
-#  define CONFIG_STM32H7_TIM8_QECLKOUT 28000000
-#endif
-
 /****************************************************************************
  * Included Files
  ****************************************************************************/
diff --git a/arch/arm/src/stm32l4/Kconfig b/arch/arm/src/stm32l4/Kconfig
index 4abb37d79b5..23c4d0f4214 100644
--- a/arch/arm/src/stm32l4/Kconfig
+++ b/arch/arm/src/stm32l4/Kconfig
@@ -6212,7 +6212,6 @@ config STM32L4_TIM1_QEPSC
        default 1
        ---help---
                This prescaler divides the number of recorded encoder pulses, 
limiting the count rate at the expense of resolution.
-               Replaces the obscure "output clock of TIM1." 
(CONFIG_TIM1_QECLKOUT).
 
 endif
 
@@ -6230,7 +6229,6 @@ config STM32L4_TIM2_QEPSC
        default 1
        ---help---
                This prescaler divides the number of recorded encoder pulses, 
limiting the count rate at the expense of resolution.
-               Replaces the obscure "output clock of TIM2." 
(CONFIG_TIM2_QECLKOUT).
 
 endif
 
@@ -6248,7 +6246,6 @@ config STM32L4_TIM3_QEPSC
        default 1
        ---help---
                This prescaler divides the number of recorded encoder pulses, 
limiting the count rate at the expense of resolution.
-               Replaces the obscure "output clock of TIM3." 
(CONFIG_TIM3_QECLKOUT).
 
 endif
 
@@ -6266,7 +6263,6 @@ config STM32L4_TIM4_QEPSC
        default 1
        ---help---
                This prescaler divides the number of recorded encoder pulses, 
limiting the count rate at the expense of resolution.
-               Replaces the obscure "output clock of TIM4." 
(CONFIG_TIM4_QECLKOUT).
 
 endif
 
@@ -6284,7 +6280,6 @@ config STM32L4_TIM5_QEPSC
        default 1
        ---help---
                This prescaler divides the number of recorded encoder pulses, 
limiting the count rate at the expense of resolution.
-               Replaces the obscure "output clock of TIM5." 
(CONFIG_TIM5_QECLKOUT).
 
 endif
 
@@ -6302,7 +6297,6 @@ config STM32L4_TIM8_QEPSC
        default 1
        ---help---
                This prescaler divides the number of recorded encoder pulses, 
limiting the count rate at the expense of resolution.
-               Replaces the obscure "output clock of TIM8." 
(CONFIG_TIM8_QECLKOUT).
 
 endif
 
diff --git a/arch/arm/src/stm32l4/stm32l4_qencoder.h 
b/arch/arm/src/stm32l4/stm32l4_qencoder.h
index 34d4d7c618d..9d88bdb8323 100644
--- a/arch/arm/src/stm32l4/stm32l4_qencoder.h
+++ b/arch/arm/src/stm32l4/stm32l4_qencoder.h
@@ -74,34 +74,6 @@
 #undef CONFIG_STM32L4_TIM13_QE
 #undef CONFIG_STM32L4_TIM14_QE
 
-/* Clock out frequency.
- * This value is used to calculation the timer CLKIN in prescaler value.
- */
-
-#ifndef CONFIG_STM32L4_TIM1_QECLKOUT
-#  define CONFIG_STM32L4_TIM1_QECLKOUT 28000000
-#endif
-
-#ifndef CONFIG_STM32L4_TIM2_QECLKOUT
-#  define CONFIG_STM32L4_TIM2_QECLKOUT 28000000
-#endif
-
-#ifndef CONFIG_STM32L4_TIM3_QECLKOUT
-#  define CONFIG_STM32L4_TIM3_QECLKOUT 28000000
-#endif
-
-#ifndef CONFIG_STM32L4_TIM4_QECLKOUT
-#  define CONFIG_STM32L4_TIM4_QECLKOUT 28000000
-#endif
-
-#ifndef CONFIG_STM32L4_TIM5_QECLKOUT
-#  define CONFIG_STM32L4_TIM5_QECLKOUT 28000000
-#endif
-
-#ifndef CONFIG_STM32L4_TIM8_QECLKOUT
-#  define CONFIG_STM32L4_TIM8_QECLKOUT 28000000
-#endif
-
 /****************************************************************************
  * Included Files
  ****************************************************************************/
diff --git a/arch/arm/src/stm32l5/Kconfig b/arch/arm/src/stm32l5/Kconfig
index dbfe28e653c..07beba5f9ed 100644
--- a/arch/arm/src/stm32l5/Kconfig
+++ b/arch/arm/src/stm32l5/Kconfig
@@ -3081,7 +3081,6 @@ config STM32L5_TIM1_QEPSC
        default 1
        ---help---
                This prescaler divides the number of recorded encoder pulses, 
limiting the count rate at the expense of resolution.
-               Replaces the obscure "output clock of TIM1." 
(CONFIG_TIM1_QECLKOUT).
 
 endif
 
@@ -3099,7 +3098,6 @@ config STM32L5_TIM2_QEPSC
        default 1
        ---help---
                This prescaler divides the number of recorded encoder pulses, 
limiting the count rate at the expense of resolution.
-               Replaces the obscure "output clock of TIM2." 
(CONFIG_TIM2_QECLKOUT).
 
 endif
 
@@ -3117,7 +3115,6 @@ config STM32L5_TIM3_QEPSC
        default 1
        ---help---
                This prescaler divides the number of recorded encoder pulses, 
limiting the count rate at the expense of resolution.
-               Replaces the obscure "output clock of TIM3." 
(CONFIG_TIM3_QECLKOUT).
 
 endif
 
@@ -3135,7 +3132,6 @@ config STM32L5_TIM4_QEPSC
        default 1
        ---help---
                This prescaler divides the number of recorded encoder pulses, 
limiting the count rate at the expense of resolution.
-               Replaces the obscure "output clock of TIM4." 
(CONFIG_TIM4_QECLKOUT).
 
 endif
 
@@ -3153,7 +3149,6 @@ config STM32L5_TIM5_QEPSC
        default 1
        ---help---
                This prescaler divides the number of recorded encoder pulses, 
limiting the count rate at the expense of resolution.
-               Replaces the obscure "output clock of TIM5." 
(CONFIG_TIM5_QECLKOUT).
 
 endif
 
@@ -3171,7 +3166,6 @@ config STM32L5_TIM8_QEPSC
        default 1
        ---help---
                This prescaler divides the number of recorded encoder pulses, 
limiting the count rate at the expense of resolution.
-               Replaces the obscure "output clock of TIM8." 
(CONFIG_TIM8_QECLKOUT).
 
 endif
 
diff --git a/arch/arm/src/stm32u5/Kconfig b/arch/arm/src/stm32u5/Kconfig
index ee81feb849f..6f7992fe695 100644
--- a/arch/arm/src/stm32u5/Kconfig
+++ b/arch/arm/src/stm32u5/Kconfig
@@ -3363,7 +3363,6 @@ config STM32U5_TIM1_QEPSC
        default 1
        ---help---
                This prescaler divides the number of recorded encoder pulses, 
limiting the count rate at the expense of resolution.
-               Replaces the obscure "output clock of TIM1." 
(CONFIG_TIM1_QECLKOUT).
 
 endif
 
@@ -3381,7 +3380,6 @@ config STM32U5_TIM2_QEPSC
        default 1
        ---help---
                This prescaler divides the number of recorded encoder pulses, 
limiting the count rate at the expense of resolution.
-               Replaces the obscure "output clock of TIM2." 
(CONFIG_TIM2_QECLKOUT).
 
 endif
 
@@ -3399,7 +3397,6 @@ config STM32U5_TIM3_QEPSC
        default 1
        ---help---
                This prescaler divides the number of recorded encoder pulses, 
limiting the count rate at the expense of resolution.
-               Replaces the obscure "output clock of TIM3." 
(CONFIG_TIM3_QECLKOUT).
 
 endif
 
@@ -3417,7 +3414,6 @@ config STM32U5_TIM4_QEPSC
        default 1
        ---help---
                This prescaler divides the number of recorded encoder pulses, 
limiting the count rate at the expense of resolution.
-               Replaces the obscure "output clock of TIM4." 
(CONFIG_TIM4_QECLKOUT).
 
 endif
 
@@ -3435,7 +3431,6 @@ config STM32U5_TIM5_QEPSC
        default 1
        ---help---
                This prescaler divides the number of recorded encoder pulses, 
limiting the count rate at the expense of resolution.
-               Replaces the obscure "output clock of TIM5." 
(CONFIG_TIM5_QECLKOUT).
 
 endif
 
@@ -3453,7 +3448,6 @@ config STM32U5_TIM8_QEPSC
        default 1
        ---help---
                This prescaler divides the number of recorded encoder pulses, 
limiting the count rate at the expense of resolution.
-               Replaces the obscure "output clock of TIM8." 
(CONFIG_TIM8_QECLKOUT).
 
 endif
 

Reply via email to