Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
NuttX RTOS
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container Registry
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
f4grx
NuttX RTOS
Commits
79e5d2b7
Commit
79e5d2b7
authored
7 years ago
by
Gregory Nutt
Browse files
Options
Downloads
Patches
Plain Diff
STM32 TIM3/4 are always 16-bits; never 32-bits. Noted by Eetu Nevalainen.
parent
8924bccd
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
arch/arm/src/stm32/stm32_tim_lowerhalf.c
+2
-7
2 additions, 7 deletions
arch/arm/src/stm32/stm32_tim_lowerhalf.c
with
2 additions
and
7 deletions
arch/arm/src/stm32/stm32_tim_lowerhalf.c
+
2
−
7
View file @
79e5d2b7
...
...
@@ -73,13 +73,8 @@
#else
# define STM32_TIM2_RES 32
#endif
#if defined(CONFIG_STM32_STM32L20XX) || defined(CONFIG_STM32_STM32F4XXX)
# define STM32_TIM3_RES 32
# define STM32_TIM4_RES 32
#else
# define STM32_TIM3_RES 16
# define STM32_TIM4_RES 16
#endif
#define STM32_TIM3_RES 16
#define STM32_TIM4_RES 16
#if defined(CONFIG_STM32_STM32F10XX) || defined(CONFIG_STM32_STM32F30XX)
# define STM32_TIM5_RES 16
#else
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment