Skip to content

scratch section define in zephyr sysflash.h inappropriate #1010

@Cherish-forever

Description

@Cherish-forever

In file zephyr/include/sysflash.h line 42:

#if !defined(CONFIG_BOOT_SWAP_USING_MOVE) #define FLASH_AREA_IMAGE_SCRATCH FLASH_AREA_ID(image_scratch) #endif

that means:
CONFIG_BOOT_DIRECT_XIP=y or CONFIG_BOOT_UPGRADE_ONLY=y or CONFIG_BOOT_BOOTSTRAP=y
all those config must have scratch, I think CONFIG_BOOT_UPGRADE_ONLY and CONFIG_BOOT_DIRECT_XIP no need scratch section.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area: simAffects the simulatorbugsomedayTasks we'd like to do some day

    Type

    No type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions