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

stm32 flash read out protection rdp in a common file #81876

Draft
wants to merge 6 commits into
base: main
Choose a base branch
from

Commits on Nov 20, 2024

  1. drivers: flash: stm32 driver move sem functions for multithread

    Place the flash_stm32_sem_take and flash_stm32_sem_give
    function to header file for common to use in any flash driver
    
    Signed-off-by: Francois Ramu <[email protected]>
    FRASTM committed Nov 20, 2024
    Configuration menu
    Copy the full SHA
    9defe43 View commit details
    Browse the repository at this point in the history
  2. drivers: flash: stm32 flash ex op functions are common

    Move the stm32 flash driver ex_op functions to common
    flash_stm32_ex_op.c file.
    
    Signed-off-by: Francois Ramu <[email protected]>
    FRASTM committed Nov 20, 2024
    Configuration menu
    Copy the full SHA
    ddd273c View commit details
    Browse the repository at this point in the history
  3. drivers: flash: stm32h7 with RDP protection

    Implement the readout protection for the STM32H7 series.
    Define the specific functions used by the flash_stm32h7.
    Remove reference to the stm32H7 from the flash_stm32.c
    
    Signed-off-by: Francois Ramu <[email protected]>
    FRASTM committed Nov 20, 2024
    Configuration menu
    Copy the full SHA
    764c456 View commit details
    Browse the repository at this point in the history
  4. drivers: flash: stm32h7 flash has a write_optb function to set rdp level

    Move the stm32h7 flash register manipulation in a write_optb()
    to be called by the flash_stm32_set_rdp_level
    
    Signed-off-by: Francois Ramu <[email protected]>
    FRASTM committed Nov 20, 2024
    Configuration menu
    Copy the full SHA
    c706441 View commit details
    Browse the repository at this point in the history
  5. tests: drivers: flash RDP testing on stm32h7

    Add the configuration to run the testcase
    with READOUT_PROTECTION (RDP) on stm32h7 disco kits
    
    Signed-off-by: Francois Ramu <[email protected]>
    FRASTM committed Nov 20, 2024
    Configuration menu
    Copy the full SHA
    8fb0cef View commit details
    Browse the repository at this point in the history

Commits on Nov 25, 2024

  1. drivers: flash: stm32 flash driver common functions

    Move the flash_stm32_write_protection and
    flash_stm32_option_bytes_lock functions to a common
    file for stm32 devices including stm32h7
    
    Signed-off-by: Francois Ramu <[email protected]>
    FRASTM committed Nov 25, 2024
    Configuration menu
    Copy the full SHA
    ab996d4 View commit details
    Browse the repository at this point in the history