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

flash_partitions: a flash_map alternative #71158

Closed
wants to merge 2 commits into from

Commits on Apr 6, 2024

  1. flash_partitions: a flash_map alternative

    Working with partitions on a flash device has been done using the
    flash_map subsystem. The flash_map subsystem has been limiting
    (e.g. zephyrproject-rtos#52395) and does not support support for flash devices that
    do not need an erase (non flash devices that are supported as if they
    are flash).
    
    The PR proposes an alternative for flash_map that supports classic flash
    devices, "no-erase" flash devices. Partitions can be read-only, and it
    is possible to provide an "override" erase-block-size.
    
    The support for "no-erase" flash devices is achieved by the definition
    of a "zephyr,flash-no-erase" compatible that is added to the flash
    device.
    
    Signed-off-by: Laczen JMS <laczenjms@gmail.com>
    Laczen committed Apr 6, 2024
    Configuration menu
    Copy the full SHA
    039d8ed View commit details
    Browse the repository at this point in the history
  2. flash_partitions: add tests

    Add tests for the flash_partitions subsystem
    
    Signed-off-by: Laczen JMS <laczenjms@gmail.com>
    Laczen committed Apr 6, 2024
    Configuration menu
    Copy the full SHA
    d56249a View commit details
    Browse the repository at this point in the history