Skip to content

tests: Add test scenario for DAPLink Flash driver. #38

@nedseb

Description

@nedseb

Description

Add a YAML test scenario file for the DAPLink Flash driver (daplink_flash).

The driver communicates via I2C with the STM32F103 (DAPLink) at address 0x3B, which bridges to the W25Q64JV SPI flash.

Expected file

tests/scenarios/daplink_flash.yaml

Tests to include

Mock tests

  • Verify WHO_AM_I register returns 0x4C
  • Read status register
  • Read error register
  • Check busy flag

Hardware tests

  • Verify device ID on real hardware
  • Set and get filename round-trip
  • Write data and verify via USB mass storage
  • Clear flash

Related

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions