Skip to content

SPI for L4 series #535

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 11, 2021
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
14 changes: 14 additions & 0 deletions devices/common_patches/l4_spi.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# Rename SPI fields
# CR1.CRCL field is documented, but in SVD as DFF.
# SR.FRE field is documented, but in SVD as TIFRFE.
"SPI*":
CR1:
_modify:
DFF:
name: CRCL
description: CRC length
SR:
_modify:
TIFRFE:
name: FRE
description: Frame format error
2 changes: 2 additions & 0 deletions devices/stm32l4x1.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -98,3 +98,5 @@ _include:
- ./common_patches/l4_adc_common.yaml
- ./common_patches/l4_adc_smpr.yaml
- ./common_patches/l4_adc_sqr1.yaml
- ./common_patches/l4_spi.yaml
- ../peripherals/spi/spi_l4.yaml
2 changes: 2 additions & 0 deletions devices/stm32l4x2.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -130,3 +130,5 @@ _include:
- ./common_patches/l4_adc_common.yaml
- ./common_patches/l4_adc_smpr.yaml
- ./common_patches/l4_adc_sqr1.yaml
- ./common_patches/l4_spi.yaml
- ../peripherals/spi/spi_l4.yaml
2 changes: 2 additions & 0 deletions devices/stm32l4x3.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -99,3 +99,5 @@ _include:
- ./common_patches/l4_adc_common.yaml
- ./common_patches/l4_adc_smpr.yaml
- ./common_patches/l4_adc_sqr1.yaml
- ./common_patches/l4_spi.yaml
- ../peripherals/spi/spi_l4.yaml
2 changes: 2 additions & 0 deletions devices/stm32l4x5.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -159,3 +159,5 @@ _include:
- common_patches/dma_interrupt_names.yaml
- ./common_patches/l4_adc_smpr.yaml
- ./common_patches/l4_adc_sqr1.yaml
- ./common_patches/l4_spi.yaml
- ../peripherals/spi/spi_l4.yaml
2 changes: 2 additions & 0 deletions devices/stm32l4x6.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -72,3 +72,5 @@ _include:
- ../peripherals/tim/tim_ccm_v2.yaml
- ../peripherals/sai/sai.yaml
- ../peripherals/dma/dma2d_v1.yaml
- ./common_patches/l4_spi.yaml
- ../peripherals/spi/spi_l4.yaml
4 changes: 4 additions & 0 deletions peripherals/spi/spi_l4.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# SPI for L4

_include:
- "spi_common.yaml"