Skip to content

Commit

Permalink
Merge #723
Browse files Browse the repository at this point in the history
723: Fix L4 `ADC?.DR.RDATA` field name and description. r=richardeoin a=reitermarkus



Co-authored-by: Markus Reiter <me@reitermark.us>
  • Loading branch information
bors[bot] and reitermarkus committed May 15, 2022
2 parents 064db43 + b5cf26e commit c4d20d6
Show file tree
Hide file tree
Showing 8 changed files with 19 additions and 5 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Expand Up @@ -27,6 +27,9 @@ Family-specific:
* Add SDMMC2EN and SDMMC2RST to F765, F7x7, F7x9 (#662)
* Fix incorrect bit position for Ethernet MMCTIMR TGFM (#689)

* L4:
* Fix ADC RDATA field name and description. (#723)

## [v0.14.0] 2021-10-02

Family-specific:
Expand Down
6 changes: 6 additions & 0 deletions devices/common_patches/adc_dr_rdata.yaml
@@ -0,0 +1,6 @@
"ADC?":
DR:
_modify:
regularDATA:
name: RDATA
description: Regular data
7 changes: 3 additions & 4 deletions devices/common_patches/f3_adc.yaml
@@ -1,3 +1,6 @@
_include:
- adc_dr_rdata.yaml

"ADC?":
SQR1:
_modify:
Expand All @@ -18,7 +21,3 @@
_modify:
ADVREGEN:
bitWidth: 2
DR:
_modify:
regularDATA:
name: RDATA
2 changes: 2 additions & 0 deletions devices/common_patches/l4_adc.yaml
@@ -0,0 +1,2 @@
_include:
- adc_dr_rdata.yaml
1 change: 1 addition & 0 deletions devices/common_patches/stm32l4x2_l412.yaml
Expand Up @@ -151,6 +151,7 @@ _include:
- ../../peripherals/usb/usb_with_LPM.yaml
- flash/flash_boot0s.yaml
- ../../peripherals/sai/sai.yaml
- l4_adc.yaml
- l4_adc_common.yaml
- l4_adc_smpr.yaml
- l4_adc_sqr1.yaml
Expand Down
1 change: 1 addition & 0 deletions devices/stm32l4x1.yaml
Expand Up @@ -127,6 +127,7 @@ _include:
- ./common_patches/flash/flash_boot0s.yaml
- ../peripherals/fw/fw_l0_l4.yaml
- ../peripherals/sai/sai.yaml
- ./common_patches/l4_adc.yaml
- ./common_patches/l4_adc_common.yaml
- ./common_patches/l4_adc_smpr.yaml
- ./common_patches/l4_adc_sqr1.yaml
Expand Down
3 changes: 2 additions & 1 deletion devices/stm32l4x3.yaml
Expand Up @@ -10,7 +10,7 @@ RCC:
USBF:
name: USBFSEN
description: USB FS clock enable

# SVD incorrectly shifts CRCEN/CRCRST/CRCSMEN 11 bits instead of 12
AHB1ENR:
_modify:
Expand Down Expand Up @@ -158,6 +158,7 @@ _include:
- ../peripherals/fw/fw_l0_l4.yaml
- ../peripherals/sai/sai.yaml
- common_patches/dma_interrupt_names.yaml
- ./common_patches/l4_adc.yaml
- ./common_patches/l4_adc_common.yaml
- ./common_patches/l4_adc_smpr.yaml
- ./common_patches/l4_adc_sqr1.yaml
Expand Down
1 change: 1 addition & 0 deletions devices/stm32l4x5.yaml
Expand Up @@ -186,6 +186,7 @@ _include:
- ../peripherals/fw/fw_l0_l4.yaml
- ../peripherals/sai/sai.yaml
- common_patches/dma_interrupt_names.yaml
- ./common_patches/l4_adc.yaml
- ./common_patches/l4_adc_smpr.yaml
- ./common_patches/l4_adc_sqr1.yaml
- ./common_patches/l4_spi.yaml
Expand Down

0 comments on commit c4d20d6

Please sign in to comment.