Skip to content

Add placeholders for all peripherals #1163

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 13 commits into from
Feb 7, 2025
Merged
Show file tree
Hide file tree
Changes from 1 commit
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
Next Next commit
C0+F0
  • Loading branch information
burrbull committed Feb 7, 2025
commit ab60f8a18e21f4250addd774b14907215528104c
45 changes: 0 additions & 45 deletions devices/patches/c0.yaml

This file was deleted.

41 changes: 37 additions & 4 deletions devices/stm32c011.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
_svd: ../svd/stm32c011.svd

_clear_fields: "*"

_modify:
name: STM32C011

Expand All @@ -9,11 +11,33 @@ ADC:
- fields/adc/c0_g0_wl.yaml
- collect/adc/c0_g0_wl.yaml

CRC:
_strip: CRC_

DBG:
_strip: DBG_

DMA:
_strip: DMA_

DMAMUX:
_strip: DMAMUX_
_include:
- collect/dma/dmamux.yaml

EXTI:
_strip: EXTI_
_modify:
_interrupts:
EXTI4_5:
name: EXTI4_15
description: EXTI line 4 to 15 interrupt

FLASH:
_strip: FLASH_

GPIO?:
_strip: GPIO?_
_include:
- fields/gpio/gpio_l5_u5.yaml
- collect/gpio/v2r.yaml
Expand All @@ -23,25 +47,34 @@ GPIO[A]:
GPIO[BCDF]:
_include: collect/gpio/v2r_derive.yaml

I2C?:
I2C1:
_strip: I2C_

IWDG:
_strip: IWDG_
_include: patches/16bit_with_mask.yaml

PWR:
_strip: PWR_

RCC:
_strip: RCC_

RTC:
_strip: RTC_
_include:
- patches/rtc/alarm.yaml
#- fields/rtc/v3.yaml
#- collect/rtc/alarm.yaml

SPI1:
_strip: SPI?_
_include:
- patches/16bit.yaml
- patches/spi/dr8.yaml

SPI?:
_strip: SPI?_
SYSCFG:
_strip: SYSCFG_

TIM1:
_strip: TIM1_
Expand Down Expand Up @@ -91,8 +124,8 @@ USART1:
- fields/usart/v4/B.yaml

WWDG:
_strip: WWDG_
_include: patches/16bit_with_mask.yaml

_include:
- patches/c0.yaml
- patches/nvic/2_prio_bits.yaml
51 changes: 43 additions & 8 deletions devices/stm32c031.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
_svd: ../svd/stm32c031.svd

_clear_fields: "*"

_modify:
name: STM32C031
SPI:
Expand All @@ -13,11 +15,33 @@ ADC:
- fields/adc/c0_g0_wl.yaml
- collect/adc/c0_g0_wl.yaml

CRC:
_strip: CRC_

DBG:
_strip: DBG_

DMA:
_strip: DMA_

DMAMUX:
_strip: DMAMUX_
_include:
- collect/dma/dmamux.yaml

EXTI:
_strip: EXTI_
_modify:
_interrupts:
EXTI4_5:
name: EXTI4_15
description: EXTI line 4 to 15 interrupt

FLASH:
_strip: FLASH_

GPIO?:
_strip: GPIO?_
_include:
- fields/gpio/gpio_l5_u5.yaml
- collect/gpio/v2r.yaml
Expand All @@ -27,18 +51,35 @@ GPIO[A]:
GPIO[BCDF]:
_include: collect/gpio/v2r_derive.yaml

I2C?:
I2C1:
_strip: I2C_

IWDG:
_strip: IWDG_
_include: patches/16bit_with_mask.yaml

PWR:
_strip: PWR_

RCC:
_strip: RCC_

RTC:
_strip: RTC_
_include:
- patches/rtc/alarm.yaml
#- fields/rtc/v3.yaml
#- collect/rtc/alarm.yaml

SPI1:
_strip: SPI_
_include:
- patches/16bit.yaml
- patches/spi/dr8.yaml

SYSCFG:
_strip: SYSCFG_

TIM1:
_strip: TIM1_
_include:
Expand Down Expand Up @@ -80,21 +121,15 @@ TIM1[67]:
- fields/tim/v2/tim16.yaml
- collect/tim/ccr.yaml

SPI1:
_include:
- patches/16bit.yaml
- patches/spi/dr8.yaml
_strip: SPI_

USART1:
_strip: USART_
_include:
- patches/usart/rename_CR1_ISR_enabled_disabled.yaml
- fields/usart/v4/B.yaml

WWDG:
_strip: WWDG_
_include: patches/16bit_with_mask.yaml

_include:
- patches/c0.yaml
- patches/nvic/2_prio_bits.yaml
47 changes: 43 additions & 4 deletions devices/stm32c071.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
_svd: ../svd/stm32c071.svd

_clear_fields: "*"

_modify:
name: STM32C071
TIM*:
Expand All @@ -19,14 +21,36 @@ ADC:
name: CHSELR1
alternateRegister: CHSELR0

CRC:
_strip: CRC_

CRS:
_strip: CRS_

DBG:
_strip: DBG_

DMA:
_strip: DMA_

DMAMUX:
_strip: DMAMUX_
_include:
- collect/dma/dmamux.yaml

EXTI:
_strip: EXTI_
_modify:
_interrupts:
EXTI4_5:
name: EXTI4_15
description: EXTI line 4 to 15 interrupt

FLASH:
_strip: FLASH_

GPIO?:
_strip: GPIO?_
_include:
- fields/gpio/gpio_l5_u5.yaml
- collect/gpio/v2r.yaml
Expand All @@ -36,22 +60,34 @@ GPIO[A]:
GPIO[BCDF]:
_include: collect/gpio/v2r_derive.yaml

I2C?:
I2C1:
_strip: I2C_

IWDG:
_strip: IWDG_
_include: patches/16bit_with_mask.yaml

PWR:
_strip: PWR_

RCC:
_strip: RCC_

RTC:
_strip: RTC_
_include:
- patches/rtc/alarm.yaml
#- fields/rtc/v3.yaml
#- collect/rtc/alarm.yaml

SPI1:
_strip: SPI?_
_include:
- patches/16bit.yaml
- patches/spi/dr8.yaml

SPI?:
_strip: SPI?_
SYSCFG:
_strip: SYSCFG_

TIM[123]:
_strip: TIM?_
Expand Down Expand Up @@ -131,6 +167,9 @@ USB:
_include:
- collect/usb/chepr.yaml

WWDG:
_strip: WWDG_
_include: patches/16bit_with_mask.yaml

_include:
- patches/c0.yaml
- patches/nvic/2_prio_bits.yaml
6 changes: 4 additions & 2 deletions devices/stm32f0x0.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,9 @@ CRC:
- fields/crc/crc_advanced.yaml
- fields/crc/crc_idr_8bit.yaml

DMA?:
DBGMCU: {}

DMA1:
_include:
- fields/dma/v1.yaml
- collect/dma/v1.yaml
Expand All @@ -49,7 +51,7 @@ GPIO[A]:
GPIO[F]:
_include: collect/gpio/v2_derive.yaml

I2C?:
I2C1:
_include:
- patches/i2c/merge_CR2_SADDx_fields.yaml
- patches/i2c/merge_OAR1_OA1x_fields.yaml
Expand Down
12 changes: 9 additions & 3 deletions devices/stm32f0x1.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ CEC:
- patches/cec/cfgr.yaml
- fields/hdmi_cec.yaml

COMP: {}

CRC:
_include:
- patches/crc/f0_init_addr_fix.yaml
Expand All @@ -32,13 +34,17 @@ CRC:
- fields/crc/crc_idr_8bit.yaml
- fields/crc/crc_pol.yaml

CRS: {}

DAC:
_include:
- fields/dac/dac_common_2ch.yaml
- fields/dac/dac_wavegen.yaml
- fields/dac/dac_dmaudr.yaml

DMA?:
DBGMCU: {}

DMA1:
_include:
- fields/dma/v1.yaml
- collect/dma/v1.yaml
Expand Down Expand Up @@ -66,7 +72,7 @@ GPIO[A]:
GPIO[F]:
_include: collect/gpio/v2_derive.yaml

I2C?:
I2C1:
_include:
- patches/i2c/merge_CR2_SADDx_fields.yaml
- patches/i2c/merge_OAR1_OA1x_fields.yaml
Expand Down Expand Up @@ -103,7 +109,7 @@ RTC:
#- collect/rtc/alarm.yaml
- collect/rtc/bkpr.yaml

SPI?:
SPI1:
_include:
- patches/16bit.yaml
- patches/spi/dr8.yaml
Expand Down
Loading
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy