Adds a disk driver test, intended for the NXP USDHC driver but valid for any disk device. The test performs multiple reads and writes to the disk, and verifies that the driver does not write out of bounds to the provided buffer. Signed-off-by: Daniel DeGrasse <daniel.degrasse@nxp.com>
9 lines
233 B
CMake
9 lines
233 B
CMake
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
cmake_minimum_required(VERSION 3.20.0)
|
|
find_package(Zephyr REQUIRED HINTS $ENV{ZEPHYR_BASE})
|
|
project(disk_driver_test)
|
|
|
|
FILE(GLOB app_sources src/*.c)
|
|
target_sources(app PRIVATE ${app_sources})
|