Home
last modified time | relevance | path

Searched +full:include +full:- +full:dirs (Results 1 – 19 of 19) sorted by relevance

/Zephyr-latest/cmake/modules/
Duser_cache.cmake1 # SPDX-License-Identifier: Apache-2.0
11 # Only data that can be safely re-generated should be placed in this cache.
15 # See https://github.com/zephyrproject-rtos/zephyr/pull/7102 for details.
20 # - USER_CACHE_DIR: User cache directory in use.
26 # use only and may be removed, renamed, or re-purposed without prior notice.
30 include(python)
44 set(dirs HOME) variable
46 set(dirs LOCALAPPDATA) variable
52 set(dirs variable
58 foreach(env_var ${dirs})
[all …]
Ddts.cmake1 # SPDX-License-Identifier: Apache-2.0
5 include(extensions)
6 include(python)
7 include(boards)
8 include(pre_dt)
15 # - To Zephyr and application source code files, as a C macro API
18 # - To other arbitrary Python scripts (like twister) using a
22 # - To users as a final devicetree source (DTS) file which can
25 # - To CMake files, after this module has finished running, using
28 # - To Kconfig files, both using some Kconfig symbols we generate
[all …]
/Zephyr-latest/tests/subsys/fs/littlefs/src/
Dtest_lfs_basic.c4 * SPDX-License-Identifier: Apache-2.0
19 #include <string.h>
20 #include <zephyr/ztest.h>
21 #include "testfs_tests.h"
22 #include "testfs_lfs.h"
23 #include <lfs.h>
25 #include <zephyr/fs/littlefs.h>
29 TC_PRINT("mounting %s\n", mp->mnt_point); in mount()
39 TC_PRINT("clearing partition %s\n", mp->mnt_point); in clear_partition()
52 TC_PRINT("checking clean statvfs of %s\n", mp->mnt_point); in clean_statvfs()
[all …]
/Zephyr-latest/scripts/schemas/
Dbuild-schema.yml1 # SPDX-License-Identifier: Apache-2.0
18 source-dir:
20 configuration-dir:
35 - type: str
42 - type: str
43 user-files:
46 - type: str
47 extra-user-files:
50 - type: str
51 include-dirs:
[all …]
/Zephyr-latest/dts/bindings/fs/
Dzephyr,fstab,littlefs.yaml2 # SPDX-License-Identifier: Apache-2.0
5 Description of pre-defined file systems.
9 include: "zephyr,fstab-common.yaml"
12 # num-files and num-dirs are not filesystem-specific.
14 read-size:
25 prog-size:
36 cache-size:
53 lookahead-size:
68 block-cycles:
75 is moved to another block. Set to a non-positive value to disable
[all …]
/Zephyr-latest/scripts/build/
Dparse_syscalls.py5 # SPDX-License-Identifier: Apache-2.0
8 Script to scan Zephyr include directories and emit system call and subsystem metadata
12 auto-generating this code by doing a text scan of directories containing
71 with open(file_list, "r", encoding="utf-8") as fp:
95 for root, dirs, files in os.walk(base_path, topdown=True):
96 dirs.sort()
118 with open(one_file, "r", encoding="utf-8") as fp:
163 "-i", "--include", required=False, action="append",
164 help="Include directories recursively scanned for .h files "
166 "Can be specified multiple times: -i topdir1 -i topdir2 ...")
[all …]
/Zephyr-latest/tests/subsys/fs/fs_api/src/
Dtest_fs_mount_flags.c4 * SPDX-License-Identifier: Apache-2.0
7 #include <zephyr/ztest.h>
8 #include "test_fs.h"
25 /* Format volume and add some files/dirs to check read-only flag */ in test_mount_flags()
44 TC_PRINT("Mount as read-only\n"); in test_mount_flags()
50 zassert_equal(ret, -EROFS, "Expected EROFS got %d", ret); in test_mount_flags()
52 zassert_equal(ret, -EROFS, "Expected EROFS got %d", ret); in test_mount_flags()
54 zassert_equal(ret, -EROFS, "Expected EROFS got %d", ret); in test_mount_flags()
56 zassert_equal(ret, -EROFS, "Expected EROFS got %d", ret); in test_mount_flags()
58 zassert_equal(ret, -EROFS, "Expected EROFS got %d", ret); in test_mount_flags()
[all …]
/Zephyr-latest/tests/subsys/fs/common/
Dtest_fs_mount_flags.c5 * SPDX-License-Identifier: Apache-2.0
8 #include <zephyr/kernel.h>
9 #include <zephyr/ztest.h>
10 #include <zephyr/fs/fs.h>
25 mp->flags |= FS_MOUNT_FLAG_NO_FORMAT; in test_fs_mount_flags()
30 /* Test FS_MOUNT_FLAG_READ_ONLY on non-formatted volume*/ in test_fs_mount_flags()
31 mp->flags = FS_MOUNT_FLAG_READ_ONLY; in test_fs_mount_flags()
36 /* Format volume and add some files/dirs to check read-only flag */ in test_fs_mount_flags()
37 mp->flags = 0; in test_fs_mount_flags()
53 mp->flags = FS_MOUNT_FLAG_READ_ONLY; in test_fs_mount_flags()
[all …]
Dtest_fs_mkfs.c4 * SPDX-License-Identifier: Apache-2.0
7 #include <zephyr/kernel.h>
8 #include <zephyr/ztest.h>
9 #include <zephyr/fs/fs.h>
25 fs_mkfs_mp->flags = FS_MOUNT_FLAG_NO_FORMAT; in test_fs_mkfs_simple()
28 if (fs_mkfs_mp->type == FS_LITTLEFS) { in test_fs_mkfs_simple()
29 zassert_equal(ret, -EFAULT, "Expected EFAULT got %d", ret); in test_fs_mkfs_simple()
30 } else if (fs_mkfs_mp->type == FS_FATFS) { in test_fs_mkfs_simple()
31 zassert_equal(ret, -ENODEV, "Expected ENODEV got %d", ret); in test_fs_mkfs_simple()
39 fs_mkfs_mp->flags = FS_MOUNT_FLAG_NO_FORMAT; in test_fs_mkfs_simple()
[all …]
/Zephyr-latest/cmake/compiler/clang/
Dcompiler_flags.cmake2 include(${ZEPHYR_BASE}/cmake/compiler/gcc/compiler_flags.cmake)
10 # No printf-return-value optimizations in clang
14 # But clang has problems compiling these with -fno-freestanding.
19 set_compiler_property(PROPERTY coverage -fprofile-instr-generate -fcoverage-mapping)
21 set_compiler_property(PROPERTY coverage --coverage -fno-inline)
25 set_compiler_property(PROPERTY diagnostic -fcolor-diagnostics)
28 set_compiler_property(PROPERTY save_temps -save-temps)
30 # clang doesn't handle the -T flag
31 set_compiler_property(PROPERTY linker_script -Wl,-T)
39 -Wall
[all …]
/Zephyr-latest/tests/subsys/fs/ext2/src/
Dtestfs_mount.c4 * SPDX-License-Identifier: Apache-2.0
7 #include <zephyr/ztest.h>
8 #include <zephyr/fs/fs.h>
9 #include <zephyr/fs/ext2.h>
10 #include "utils.h"
18 mp->flags |= FS_MOUNT_FLAG_NO_FORMAT; in ZTEST()
23 /* Test FS_MOUNT_FLAG_READ_ONLY on non-formatted volume*/ in ZTEST()
24 mp->flags = FS_MOUNT_FLAG_READ_ONLY; in ZTEST()
29 /* Format volume and add some files/dirs to check read-only flag */ in ZTEST()
30 mp->flags = 0; in ZTEST()
[all …]
/Zephyr-latest/cmake/compiler/
Dcompiler_flags_template.cmake25 # GCC options for warning levels 1, 2, 3, when using `-DW=[1|2|3]`
26 # Property for warning levels 1, 2, 3 in Zephyr when using `-DW=[1|2|3]`
47 # For example, gcc specifies this as: set_compiler_property(PROPERTY cstd -std=)
50 # Compiler flags for disabling C standard include and instead specify include
51 # dirs in nostdinc_include to use.
55 # Compiler flags for disabling C++ standard include.
56 set_property(TARGET compiler-cpp PROPERTY nostdincxx)
59 set_property(TARGET compiler-cpp PROPERTY required)
62 set_property(TARGET compiler-cpp PROPERTY dialect_cpp98)
63 set_property(TARGET compiler-cpp PROPERTY dialect_cpp11)
[all …]
/Zephyr-latest/cmake/compiler/arcmwdt/
Dcompiler_flags.cmake3 -Werror=implicit-int
4 -Wold-style-definition
14 set_compiler_property(PROPERTY no_optimization -O0)
15 set_compiler_property(PROPERTY optimization_debug -O0)
16 set_compiler_property(PROPERTY optimization_speed -O2)
17 set_compiler_property(PROPERTY optimization_size -Os)
26 -Wformat
27 -Wformat-security
28 -Wno-format-zero-length
29 -Wno-unaligned-pointer-conversion
[all …]
/Zephyr-latest/subsys/fs/ext2/
Dext2_format.c4 * SPDX-License-Identifier: Apache-2.0
7 #include <zephyr/logging/log.h>
8 #include <zephyr/random/random.h>
9 #include <zephyr/fs/ext2.h>
10 #include <zephyr/sys/byteorder.h>
12 #include "ext2.h"
13 #include "ext2_impl.h"
14 #include "ext2_struct.h"
15 #include "ext2_diskops.h"
23 if (cfg->block_size == 0) { in validate_config()
[all …]
/Zephyr-latest/subsys/fs/
Dlittlefs_fs.c5 * SPDX-License-Identifier: Apache-2.0
8 #include <stdio.h>
9 #include <string.h>
10 #include <zephyr/kernel.h>
11 #include <errno.h>
12 #include <zephyr/init.h>
13 #include <zephyr/fs/fs.h>
14 #include <zephyr/fs/fs_sys.h>
17 #include <lfs_util.h>
19 #include <lfs.h>
[all …]
/Zephyr-latest/doc/develop/flash_debug/
Dhost-tools.rst1 .. _flash-debug-host-tools:
9 Zephyr's west tool has built-in support for all of these in its ``flash``,
12 file declares that support properly. See :ref:`west-build-flash-debug` for
17 SAM Boot Assistant (SAM-BA)
20 Atmel SAM Boot Assistant (Atmel SAM-BA) allows In-System Programming (ISP)
22 allows users to develop and program boards with SAM-BA support using
23 :ref:`west <west-flashing>`. Zephyr supports devices with/without ROM
29 .. code-block:: console
31 west flash [ -r bossac ] [ -p /dev/ttyX ] [ --erase ]
37 erase the entire flash of the target when flashing, pass the ``--erase``
[all …]
/Zephyr-latest/
DCMakeLists.txt1 # SPDX-License-Identifier: Apache-2.0
5 # Note that this is *NOT* the top-level CMakeLists.txt. That's in the
26 # and https://cmake.org/pipermail/cmake/2019-May/thread.html#69496
36 # -fmacro-prefix-map=${ZEPHYR_BASE}=
57 # - device dependencies structs must be generated (CONFIG_DEVICE_DEPS=y)
58 # - ISR tables must be generated (CONFIG_GEN_ISR_TABLES=y)
59 # - Kernel objects hash tables (CONFIG_USERSPACE=y)
60 # - Application memory partitions (CONFIG_USERSPACE=y)
66 # - zephyr_pre0: linker sections may resize / addresses may relocate
67 # - zephyr_pre1: All linker section sizes are fixed, addresses cannot change
[all …]
/Zephyr-latest/doc/releases/
Drelease-notes-4.0.rst10 Major enhancements with this release include:
15 is now the standard way to provide device-specific protection to data at rest. (:github:`76222`)
18 :ref:`ZMS <zms_api>` is a new key-value storage subsystem compatible with all non-volatile storage
25 runtime configuration through vendor specific APIs. Initially the :dtcompatible:`nordic,nrf-comp`,
26 :dtcompatible:`nordic,nrf-lpcomp` and :dtcompatible:`nxp,kinetis-acmp` are supported.
31 Initially implemented drivers include a simple :dtcompatible:`zephyr,gpio-steppers` and a complex
32 sensor-less stall-detection capable with integrated ramp-controller :dtcompatible:`adi,tmc5041`.
49 navigation. These include a new :ref:`interactive board catalog <boards>` and an interactive
50 directory for :zephyr:code-sample-category:`code samples <samples>`.
70 * :cve:`2024-8798`: Under embargo until 2024-11-22
[all …]
/Zephyr-latest/scripts/ci/
Dcheck_compliance.py5 # SPDX-License-Identifier: Apache-2.0
57 f"{cp.stdout.decode('utf-8')}\n"
59 f"{cp.stderr.decode('utf-8')}\n")
61 return cp.stdout.decode("utf-8").rstrip()
70 return git('rev-list',
71 f'--max-count={-1 if "." in refspec else 1}', refspec).split()
74 filter_arg = (f'--diff-filter={filter}',) if filter else ()
75 paths_arg = ('--', *paths) if paths else ()
76 out = git('diff', '--name-only', *filter_arg, COMMIT_RANGE, *paths_arg)
128 - The magic string "<zephyr-base>" can be used to refer to the
[all …]