forked from zephyrproject-rtos/zephyr
-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
samples: boards: npcm400_evb: add spip flash test
add spip flash test. clone from mec172xevb_assy6906-qmspi_ldma Signed-off-by: James Chiang <[email protected]>
- Loading branch information
James Chiang
committed
Sep 4, 2024
1 parent
7d00739
commit e66e311
Showing
4 changed files
with
650 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
# Copyright (c) 2024 Nuvoton Technology Corporation. | ||
# | ||
# SPDX-License-Identifier: Apache-2.0 | ||
# | ||
cmake_minimum_required(VERSION 3.20.0) | ||
|
||
find_package(Zephyr REQUIRED HINTS $ENV{ZEPHYR_BASE}) | ||
project(npcm400_evb) | ||
|
||
FILE(GLOB app_sources src/*.c) | ||
target_sources(app PRIVATE ${app_sources}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# Enable config log | ||
CONFIG_SPI=y | ||
CONFIG_SPI_EXTENDED_MODES=y |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
sample: | ||
description: npcm400_evb SPIP flash testing | ||
name: npcm400_evb spip flash test | ||
tests: | ||
sample.board.npcm400_evb.spip_flash: | ||
harness: spi | ||
platform_allow: npcm400_evb | ||
tags: spi | ||
depends_on: | ||
- spi | ||
- gpio |
Oops, something went wrong.