Skip to content
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

Refactor STM32F0xx dtsi #54978

Merged
merged 18 commits into from
Mar 7, 2023

Commits on Feb 23, 2023

  1. dts: arm: st: f0: Refactor stm32f0xx inclusion tree

    Modify the successive dtsi include to better reflect the underlying
    structure of the F0 family.
    There are two main subfamilies: STM32F0x0 on one side, and STM32F0x1, x2
    and x8 on the other
    
    Signed-off-by: Guillaume Gautier <guillaume.gautier-ext@st.com>
    gautierg-st committed Feb 23, 2023
    Configuration menu
    Copy the full SHA
    7f40d1b View commit details
    Browse the repository at this point in the history
  2. dts: arm: st: f0: refactor stm32f0 usart2 driver

    Remove USART2 from base dtsi, and add it to F030x8, F070 & F051
    
    Signed-off-by: Guillaume Gautier <guillaume.gautier-ext@st.com>
    gautierg-st committed Feb 23, 2023
    Configuration menu
    Copy the full SHA
    f71677f View commit details
    Browse the repository at this point in the history
  3. dts: arm: st: f0: refactor stm32f0 i2c2 driver

    Remove I2C2 from base dtsi, and add it to F030x8, F070xB & F051
    
    Signed-off-by: Guillaume Gautier <guillaume.gautier-ext@st.com>
    gautierg-st committed Feb 23, 2023
    Configuration menu
    Copy the full SHA
    2549407 View commit details
    Browse the repository at this point in the history
  4. dts: arm: st: f0: refactor stm32f0 timer drivers

    Remove TIM6, 7 & 15 from base dtsi, and add TIM6 & 15 to F030x8, TIM7 for
    F030xC, TIM15 for F070, TIM6 & 7 for F070xC, TIM6 & 15 to F051, and TIM7
    for F071.
    Remove TIM2 from F072 and F091 dtsi since it is already included in F031.
    
    Signed-off-by: Guillaume Gautier <guillaume.gautier-ext@st.com>
    gautierg-st committed Feb 23, 2023
    Configuration menu
    Copy the full SHA
    048589a View commit details
    Browse the repository at this point in the history
  5. dts: arm: st: f0: refactor stm32f0 dma1 interrupt channels

    Fix DMA1 interrupt channels. There are 7 for STM32F071 and higher, and 5
    for all others, default value for the series.
    
    Signed-off-by: Guillaume Gautier <guillaume.gautier-ext@st.com>
    gautierg-st committed Feb 23, 2023
    Configuration menu
    Copy the full SHA
    3ab471d View commit details
    Browse the repository at this point in the history
  6. dts: arm: st: f0: refactor stm32f0 temperature driver

    Remove calibrated temperature measure from base dtsi since it does not
    exist for STM32F0x0, and add it only for the other STM32F0.
    
    Signed-off-by: Guillaume Gautier <guillaume.gautier-ext@st.com>
    gautierg-st committed Feb 23, 2023
    Configuration menu
    Copy the full SHA
    9144a44 View commit details
    Browse the repository at this point in the history
  7. dts: arm: st: f0: refactor stm32f0 flash erase-block-size

    Flash erase-block-size is 2048 for F030xC, F070xB, and F071 and higher.
    For all others, it is 1024, default value in base dtsi.
    
    Signed-off-by: Guillaume Gautier <guillaume.gautier-ext@st.com>
    gautierg-st committed Feb 23, 2023
    Configuration menu
    Copy the full SHA
    9ec8605 View commit details
    Browse the repository at this point in the history
  8. dts: arm: st: f0: refactor stm32f0 spi2 driver

    Remove SPI2 from F070 (not present on F070x6) and add it to F070xB.
    Add it to F051 and remove it from F091 (since it is already defined).
    
    Signed-off-by: Guillaume Gautier <guillaume.gautier-ext@st.com>
    gautierg-st committed Feb 23, 2023
    Configuration menu
    Copy the full SHA
    dd34108 View commit details
    Browse the repository at this point in the history
  9. dts: arm: st: f0: remove duplicate of rtc backup registers

    RTC backup registers are already defined in F031, so no need to include
    them again.
    
    Signed-off-by: Guillaume Gautier <guillaume.gautier-ext@st.com>
    gautierg-st committed Feb 23, 2023
    Configuration menu
    Copy the full SHA
    cdb08b4 View commit details
    Browse the repository at this point in the history
  10. dts: arm: st: f0: refactor stm32f0 hsi48 driver

    Add HSI48 to F071, and remove it from F072 and F091.
    
    Signed-off-by: Guillaume Gautier <guillaume.gautier-ext@st.com>
    gautierg-st committed Feb 23, 2023
    Configuration menu
    Copy the full SHA
    9a03bef View commit details
    Browse the repository at this point in the history
  11. dts: arm: st: f0: refactor stm32f0 gpioe driver

    Add GPIOE to F071, and remove it from F072 and F091.
    
    Signed-off-by: Guillaume Gautier <guillaume.gautier-ext@st.com>
    gautierg-st committed Feb 23, 2023
    Configuration menu
    Copy the full SHA
    4e075e9 View commit details
    Browse the repository at this point in the history
  12. dts: arm: st: f0: refactor stm32f0 dac1 driver

    Remove DAC1 from F072 and F091 since it alfready defined in F051.
    
    Signed-off-by: Guillaume Gautier <guillaume.gautier-ext@st.com>
    gautierg-st committed Feb 23, 2023
    Configuration menu
    Copy the full SHA
    fcbb7a3 View commit details
    Browse the repository at this point in the history
  13. dts: arm: st: f0: add usb to stm32f072

    Add USB to STM32F072 dtsi.
    
    Signed-off-by: Guillaume Gautier <guillaume.gautier-ext@st.com>
    gautierg-st committed Feb 23, 2023
    Configuration menu
    Copy the full SHA
    09cd5a5 View commit details
    Browse the repository at this point in the history
  14. dts: arm: st: f0: add can1 to stm32f091

    Add CAN1 to STM32F091 dtsi.
    
    Signed-off-by: Guillaume Gautier <guillaume.gautier-ext@st.com>
    gautierg-st committed Feb 23, 2023
    Configuration menu
    Copy the full SHA
    ffaeb25 View commit details
    Browse the repository at this point in the history
  15. dts: arm: st: f0: add supplementary usart for stm32f0

    Add some more USART for F070xB, F071 and F091.
    
    Signed-off-by: Guillaume Gautier <guillaume.gautier-ext@st.com>
    gautierg-st committed Feb 23, 2023
    Configuration menu
    Copy the full SHA
    ad657f0 View commit details
    Browse the repository at this point in the history
  16. dts: arm: st: f0: add stm32f042 dtsi

    Add a dtsi for STM32F042 for the support of Nucleo F042K6
    
    Signed-off-by: Guillaume Gautier <guillaume.gautier-ext@st.com>
    gautierg-st committed Feb 23, 2023
    Configuration menu
    Copy the full SHA
    2998b0e View commit details
    Browse the repository at this point in the history
  17. soc: arm: st_stm32: stm32f0: add kconfig for stm32f042x6

    Add Kconfig for STMF042x6 to support the Nucleo F042K6.
    
    Signed-off-by: Guillaume Gautier <guillaume.gautier-ext@st.com>
    gautierg-st committed Feb 23, 2023
    Configuration menu
    Copy the full SHA
    de1b6b6 View commit details
    Browse the repository at this point in the history

Commits on Mar 7, 2023

  1. boards: arm: nucleo_f042k6: add support for nucleo_f042k6

    Add support for Nucleo F042K6
    
    Signed-off-by: Guillaume Gautier <guillaume.gautier-ext@st.com>
    gautierg-st committed Mar 7, 2023
    Configuration menu
    Copy the full SHA
    19af043 View commit details
    Browse the repository at this point in the history