Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
R
RIOT
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
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
cm-projects
RIOT
Commits
86c102e8
Commit
86c102e8
authored
6 years ago
by
Alexandre Abadie
Committed by
Vincent Dupont
6 years ago
Browse files
Options
Downloads
Patches
Plain Diff
cpu/stm32_common: move dma attribute at end of config
parent
3a5c9cb9
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
cpu/stm32_common/include/periph_cpu_common.h
+4
-4
4 additions, 4 deletions
cpu/stm32_common/include/periph_cpu_common.h
with
4 additions
and
4 deletions
cpu/stm32_common/include/periph_cpu_common.h
+
4
−
4
View file @
86c102e8
...
@@ -384,10 +384,6 @@ typedef struct {
...
@@ -384,10 +384,6 @@ typedef struct {
#endif
#endif
uint8_t
bus
;
/**< APB bus */
uint8_t
bus
;
/**< APB bus */
uint8_t
irqn
;
/**< IRQ channel */
uint8_t
irqn
;
/**< IRQ channel */
#ifdef MODULE_PERIPH_DMA
dma_t
dma
;
/**< Logical DMA stream used for TX */
uint8_t
dma_chan
;
/**< DMA channel used for TX */
#endif
#ifdef MODULE_STM32_PERIPH_UART_HW_FC
#ifdef MODULE_STM32_PERIPH_UART_HW_FC
gpio_t
cts_pin
;
/**< CTS pin - set to GPIO_UNDEF when not using HW flow control */
gpio_t
cts_pin
;
/**< CTS pin - set to GPIO_UNDEF when not using HW flow control */
gpio_t
rts_pin
;
/**< RTS pin */
gpio_t
rts_pin
;
/**< RTS pin */
...
@@ -400,6 +396,10 @@ typedef struct {
...
@@ -400,6 +396,10 @@ typedef struct {
uart_type_t
type
;
/**< hardware module type (USART or LPUART) */
uart_type_t
type
;
/**< hardware module type (USART or LPUART) */
uint32_t
clk_src
;
/**< clock source used for UART */
uint32_t
clk_src
;
/**< clock source used for UART */
#endif
#endif
#ifdef MODULE_PERIPH_DMA
dma_t
dma
;
/**< Logical DMA stream used for TX */
uint8_t
dma_chan
;
/**< DMA channel used for TX */
#endif
}
uart_conf_t
;
}
uart_conf_t
;
/**
/**
...
...
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