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
Prev Previous commit
Next Next commit
G0
  • Loading branch information
burrbull committed Feb 7, 2025
commit 27b4a490bc001b63f976df50c1c3ffbe4006caac
15 changes: 3 additions & 12 deletions devices/patches/dma/g0_5ch.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,20 +3,11 @@

ISR:
_delete:
- "GIF[67]"
- "TCIF[67]"
- "HTIF[67]"
- "TEIF[67]"
- "*[67]"
IFCR:
_delete:
- "CGIF[67]"
- "CTCIF[67]"
- "CHTIF[67]"
- "CTEIF[67]"
- "*[67]"

_delete:
_registers:
- "CCR[67]"
- "CNDTR[67]"
- "CPAR[67]"
- "CMAR[67]"
- "*[67]"
29 changes: 0 additions & 29 deletions devices/patches/g0_strip.yaml

This file was deleted.

17 changes: 0 additions & 17 deletions devices/patches/g0x1_strip.yaml

This file was deleted.

28 changes: 18 additions & 10 deletions devices/stm32g030.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ _modify:
_clear_fields: "*"

ADC:
_strip: ADC_
_include:
- fields/adc/c0_g0_wl.yaml
- collect/adc/c0_g0_wl.yaml
Expand All @@ -22,23 +23,23 @@ ADC:
name: CHSELR1
alternateRegister: CHSELR0

CRC:
_strip: CRC_

DBG:
_strip: DBG_
APB_FZ1:
_delete: DBG_TIM2_STOP

DMA*:
_strip: DMA_

DMA1:
_strip: DMA_
_include:
- patches/dma/g0_5ch.yaml

DMA?:
_include:
- fields/dma/v1.yaml
- collect/dma/v1.yaml

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

Expand All @@ -51,7 +52,7 @@ FLASH:
_include:
- patches/flash/g0.yaml

GPIO?:
GPIO[AB]:
_include:
- fields/gpio/gpio_g0_l0.yaml
- collect/gpio/v2.yaml
Expand All @@ -61,16 +62,20 @@ GPIO[A]:
GPIO[B]:
_include: collect/gpio/v2_derive.yaml

I2C?:
I2C1:
_strip: I2C_
_include:
- patches/i2c/g0.yaml
- fields/i2c/v2.yaml

IWDG:
_strip: IWDG_
_include:
- patches/16bit.yaml
- fields/iwdg/iwdg_with_WINR.yaml

PWR: {}

RCC:
_include:
- patches/rcc/g0x0_delete.yaml
Expand Down Expand Up @@ -103,12 +108,13 @@ RCC:
- USART3SEL

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

SPI?:
SPI1:
_strip: SPI_
_include:
- patches/16bit.yaml
Expand All @@ -132,10 +138,12 @@ SYSCFG:
_delete: SPI3

TAMP:
_strip: TAMP_
_include:
- collect/rtc/tamp_bkpr.yaml

TIM1:
_strip: TIM1_
_include:
- patches/tim/v2/g0_tim1_ccmr_input.yaml
- patches/tim/v2/oc5m_bit3.yaml
Expand Down Expand Up @@ -174,12 +182,12 @@ VREFBUF:
_strip: VREFBUF_

WWDG:
_strip: WWDG_
_include:
- patches/16bit.yaml
- fields/wwdg/wwdg_v2.yaml

_include:
- patches/g0_strip.yaml
- patches/nvic/2_prio_bits.yaml
- patches/dma/g0_dma1_5ch_only.yaml
- patches/tim/group.yaml
30 changes: 20 additions & 10 deletions devices/stm32g031.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ _delete:
- SYSCFG_ITLINE

ADC:
_strip: ADC_
SMPR:
_split:
- SMPSEL
Expand All @@ -33,19 +34,21 @@ ADC:
- fields/adc/c0_g0_wl.yaml
- collect/adc/c0_g0_wl.yaml

DMA*:
_strip: DMA_
CRC:
_strip: CRC_

DBG:
_strip: DBG_

DMA1:
_strip: DMA_
_include:
- patches/dma/g0_5ch.yaml

DMA?:
_include:
- fields/dma/v1.yaml
- collect/dma/v1.yaml

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

Expand All @@ -63,7 +66,7 @@ FLASH:
_include:
- patches/flash/g0.yaml

GPIO?:
GPIO[AB]:
_include:
- fields/gpio/gpio_g0_l0.yaml
- collect/gpio/v2.yaml
Expand All @@ -73,17 +76,19 @@ GPIO[A]:
GPIO[B]:
_include: collect/gpio/v2_derive.yaml

I2C?:
I2C1:
_strip: I2C_
_include:
- patches/i2c/g0.yaml
- fields/i2c/v2.yaml

IWDG:
_strip: IWDG_
_include:
- patches/16bit.yaml
- fields/iwdg/iwdg_with_WINR.yaml

LPTIM*:
LPTIM1:
_strip: LPTIM_

LPUART:
Expand All @@ -94,6 +99,8 @@ LPUART:
- patches/usart/rename_CR2_DATAINV_field.yaml
- fields/usart/v4/lp_wl.yaml

PWR: {}

RCC:
_include:
- patches/rcc/g0.yaml
Expand All @@ -102,12 +109,13 @@ RCC:
- fields/rcc/rcc_g0x1.yaml

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

SPI?:
SPI1:
_strip: SPI_
_include:
- patches/16bit.yaml
Expand All @@ -119,10 +127,12 @@ SYSCFG:
_include: fields/syscfg/syscfg_g0_usart2.yaml

TAMP:
_strip: TAMP_
_include:
- collect/rtc/tamp_bkpr.yaml

TIM1:
_strip: TIM1_
_include:
- patches/tim/v2/g0_tim1_ccmr_input.yaml
- patches/tim/v2/oc5m_bit3.yaml
Expand Down Expand Up @@ -165,12 +175,12 @@ VREFBUF:
_strip: VREFBUF_

WWDG:
_strip: WWDG_
_include:
- patches/16bit.yaml
- fields/wwdg/wwdg_v2.yaml

_include:
- patches/g0_strip.yaml
- patches/nvic/2_prio_bits.yaml
- patches/dma/g0_dma1_5ch_only.yaml
- patches/tim/group.yaml
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