File tree Expand file tree Collapse file tree 6 files changed +952
-0
lines changed Expand file tree Collapse file tree 6 files changed +952
-0
lines changed Original file line number Diff line number Diff line change 1+ # SPDX-License-Identifier: Apache-2.0
2+
3+ cmake_minimum_required (VERSION 3.20.0)
4+ find_package (Zephyr REQUIRED HINTS $ENV{ZEPHYR_BASE} )
5+ project (fs_zms)
6+
7+ FILE (GLOB app_sources src/*.c)
8+ target_sources (app PRIVATE ${app_sources} )
9+ target_include_directories (app PRIVATE ${ZEPHYR_BASE} /subsys/fs/zms)
Original file line number Diff line number Diff line change 1+ /*
2+ * Copyright (c) 2024 Nordic Semiconductor ASA
3+ *
4+ * SPDX-License-Identifier: Apache-2.0
5+ */
6+
7+ &flash0 {
8+ erase-block-size = <0x400>;
9+ };
Original file line number Diff line number Diff line change 1+ /*
2+ * Copyright (c) 2024 Nordic Semiconductor ASA
3+ *
4+ * SPDX-License-Identifier: Apache-2.0
5+ */
6+
7+ &sim_flash {
8+ erase-value = < 0x00 >;
9+ };
Original file line number Diff line number Diff line change 1+ CONFIG_ZTEST=y
2+ CONFIG_ZTEST_STACK_SIZE=4096
3+
4+ CONFIG_FLASH=y
5+ CONFIG_FLASH_MAP=y
6+
7+ CONFIG_ZMS=y
8+ CONFIG_LOG=y
9+ CONFIG_ZMS_LOG_LEVEL_DBG=y
You can’t perform that action at this time.
0 commit comments