Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
28 changes: 0 additions & 28 deletions arch/arm/src/stm32/stm32_qencoder.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
****************************************************************************/
Expand Down
28 changes: 0 additions & 28 deletions arch/arm/src/stm32f7/stm32_qencoder.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
****************************************************************************/
Expand Down
28 changes: 0 additions & 28 deletions arch/arm/src/stm32h7/stm32_qencoder.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
****************************************************************************/
Expand Down
6 changes: 0 additions & 6 deletions arch/arm/src/stm32l4/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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

Expand All @@ -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

Expand All @@ -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

Expand All @@ -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

Expand All @@ -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

Expand Down
28 changes: 0 additions & 28 deletions arch/arm/src/stm32l4/stm32l4_qencoder.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
****************************************************************************/
Expand Down
6 changes: 0 additions & 6 deletions arch/arm/src/stm32l5/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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

Expand All @@ -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

Expand All @@ -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

Expand All @@ -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

Expand All @@ -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

Expand Down
6 changes: 0 additions & 6 deletions arch/arm/src/stm32u5/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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

Expand All @@ -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

Expand All @@ -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

Expand All @@ -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

Expand All @@ -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

Expand Down
Loading