Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
stm32_libraries
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD 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
humanoides
tools
stm32_libraries
Commits
59c30a4e
Commit
59c30a4e
authored
7 years ago
by
Sergi Hernandez
Browse files
Options
Downloads
Patches
Plain Diff
Changed the pins of the non-rempad serial port for the F1 family.
parent
f6c9528e
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
f1/usart/src/usart1.c
+6
-6
6 additions, 6 deletions
f1/usart/src/usart1.c
with
6 additions
and
6 deletions
f1/usart/src/usart1.c
+
6
−
6
View file @
59c30a4e
...
...
@@ -5,13 +5,13 @@
#define USART_IRQn USART1_IRQn
#define USART_IRQHandler USART1_IRQHandler
#define USART_TX_PIN GPIO_PIN_
6
#define USART_TX_GPIO_PORT GPIO
B
#define USART_ENABLE_TX_GPIO_CLK __HAL_RCC_GPIO
B
_CLK_ENABLE()
#define USART_TX_PIN GPIO_PIN_
9
#define USART_TX_GPIO_PORT GPIO
A
#define USART_ENABLE_TX_GPIO_CLK __HAL_RCC_GPIO
A
_CLK_ENABLE()
#define USART_RX_PIN GPIO_PIN_
7
#define USART_RX_GPIO_PORT GPIO
B
#define USART_ENABLE_RX_GPIO_CLK __HAL_RCC_GPIO
B
_CLK_ENABLE()
#define USART_RX_PIN GPIO_PIN_
10
#define USART_RX_GPIO_PORT GPIO
A
#define USART_ENABLE_RX_GPIO_CLK __HAL_RCC_GPIO
A
_CLK_ENABLE()
/* DMA configuration */
#define USART_DMA DMA1
...
...
This diff is collapsed.
Click to expand it.
Sergi Hernandez
@shernand
mentioned in commit
7f522d76
·
7 years ago
mentioned in commit
7f522d76
mentioned in commit 7f522d76503ae776490ea171004b5e108642ff66
Toggle commit list
Sergi Hernandez
@shernand
mentioned in merge request
!4 (merged)
·
7 years ago
mentioned in merge request
!4 (merged)
mentioned in merge request !4
Toggle commit list
Sergi Hernandez
@shernand
mentioned in commit
03461129
·
7 years ago
mentioned in commit
03461129
mentioned in commit 0346112904fb8afef58744bbaff257ea01a1d9ed
Toggle commit list
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