zephyr,semihost-disk

Description

Semihost file-backed disk

Properties

Properties not inherited from the base binding file.

Name

Type

Details

filename

string

Host-side file path for the disk backing store. Defaults to "disk.bin"
in the working directory of the application providing semihosting
services (typically the build folder). The file is created upon device
initialization if it does not already exist, and extended with zeros
to the disk size.

Default value: disk.bin

disk-name

string

Disk name.

This property is required.

sector-size

int

Disk sector size in bytes.

This property is required.

Legal values: 512, 1024, 2048, 4096, 8192, 16384, 32768, 65536

sector-count

int

Number of sectors.

This property is required.