Home
last modified time | relevance | path

Searched +full:disk +full:- +full:version (Results 1 – 25 of 46) sorted by relevance

12

/Zephyr-latest/include/zephyr/fs/
Dlittlefs.h4 * SPDX-License-Identifier: Apache-2.0
21 * @brief Get the major part of the littlefs disk version
23 * @param disk_version The disk version of littlefs partition
24 * @return The major part of the littlefs disk version.
29 * @brief Get the minor part of the littlefs disk version
31 * @param disk_version The disk version of littlefs partition
32 * @return The minor part of the littlefs disk version.
74 * @note If you use a non-default configuration for cache size, you
76 * the size constraints on per-file cache allocations.
Dfs.h3 * Copyright (c) 2020-2024 Nordic Semiconductor ASA
5 * SPDX-License-Identifier: Apache-2.0
24 * @version 1.0.0
42 * Zephyr supports in-tree file systems and external ones. Each
46 * in-tree file systems.
55 /** Identifier for in-tree FatFS file system. */
58 /** Identifier for in-tree LittleFS file system. */
61 /** Identifier for in-tree Ext2 file system. */
70 /** Flag makes mounted file system read-only */
72 /** Flag used in pre-defined mount structures that are to be mounted
[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:
45 and reducing the number of disk accesses. Must be a multiple of
53 lookahead-size:
68 block-cycles:
[all …]
/Zephyr-latest/samples/subsys/fs/format/
DREADME.rst1 .. zephyr:code-sample:: fs-format
3 :relevant-api: file_system_api
15 * FAT file system on RAM disk
23 The RAM disk scenario is supported on the mimxrt1064_evk board.
24 To build the RAM disk sample, the configuration :file:`prj_ram.conf` needs to be used by setting
29 .. zephyr-app-commands::
30 :zephyr-app: samples/subsys/fs/format
35 The RAM disk sample for the MIMXRT1064-EVK board can be built as follow:
37 .. zephyr-app-commands::
38 :zephyr-app: samples/subsys/fs/format
[all …]
/Zephyr-latest/subsys/fs/
DKconfig.littlefs4 # SPDX-License-Identifier: Apache-2.0
49 more data and reducing the number of disk accesses. Must be a
67 is moved to another block. Set to a non-positive value to
76 littlefs requires a per-file buffer to cache data.
84 per-allocation overhead that affects how much usable space is
87 If this option is set to a non-positive value the heap is sized to
94 int "Size of per-allocation overhead for littleFS heap in bytes"
101 NOTE: when your app fails to open pre-defined number of files, as set
122 bool "Support for selecting littlefs disk version"
123 default y if $(dt_compat_any_has_prop,$(DT_COMPAT_ZEPHYR_FSTAB_LITTLEFS),disk-version)
[all …]
Dlittlefs_fs.c5 * SPDX-License-Identifier: Apache-2.0
44 #define LFS_FILEP(fp) (&((struct lfs_file_data *)(fp->filep))->file)
61 #if (CONFIG_FS_LITTLEFS_FC_HEAP_SIZE - 0) <= 0
63 /* Auto-generate heap size from cache size and number of files */
93 k_mutex_lock(&fs->mutex, K_FOREVER); in fs_lock()
98 k_mutex_unlock(&fs->mutex); in fs_unlock()
110 return -EIO; in lfs_to_errno()
112 return -EFAULT; in lfs_to_errno()
114 return -ENOENT; in lfs_to_errno()
116 return -EEXIST; in lfs_to_errno()
[all …]
/Zephyr-latest/include/zephyr/drivers/
Ddisk.h5 * SPDX-License-Identifier: Apache-2.0
10 * @brief Disk Driver Interface
12 * This file contains interface for disk access. Apart from disks, various
22 * @brief Disk Driver Interface
23 * @defgroup disk_driver_interface Disk Driver Interface
25 * @version 1.0.0
42 /** Get the number of sectors in the disk */
44 /** Get the size of a disk SECTOR in bytes */
50 /** Commit any cached read/writes to disk */
52 /** Initialize the disk. This IOCTL must be issued before the disk can be
[all …]
/Zephyr-latest/include/zephyr/usb/class/
Dusbd_msc.h4 * SPDX-License-Identifier: Apache-2.0
20 const char *disk; member
31 * @version 0.1.0
38 * Use this macro to create Logical Unit mapping in USB MSC for selected disk.
43 * @param disk_name Disk name as used in @ref disk_access_interface
50 .disk = disk_name, \
/Zephyr-latest/samples/subsys/usb/mass/
DREADME.rst1 .. zephyr:code-sample:: usb-mass
3 :relevant-api: usbd_api usbd_msc_device _usb_device_core_api file_system_api
5 Expose board's RAM or FLASH as a USB disk using USB Mass Storage driver.
12 into an USB disk. This sample can be found under
25 The selection between a RAM-based or a FLASH-based disk and file system
26 can be chosen passing Kconfig configuration via the -D command-line switch.
28 RAM-disk Example without any file system
31 The default configurations selects RAM-based disk without any file system.
32 This example only needs additional 96KiB RAM for the RAM-disk and is intended
35 .. zephyr-app-commands::
[all …]
/Zephyr-latest/scripts/west_commands/zspdx/
Ddatatypes.py3 # SPDX-License-Identifier: Apache-2.0
20 # standardized DocumentRef- (including that prefix) that the other
32 # configuration - DocumentConfig
47 # dict of absolute path on disk => File
53 # set of LicenseRef- custom licenses to be declared
54 # may or may not include "LicenseRef-" license prefix
58 # written to disk, so that others can refer to it
71 # SPDX ID, including "SPDXRef-"
80 # package version
81 self.version = ""
[all …]
Dwriter.py3 # SPDX-License-Identifier: Apache-2.0
14 r'^cpe:2\.3:[aho\*\-](:(((\?*|\*?)([a-zA-Z0-9\-\._]|(\\[\\\*\?!"#$$%&\'\(\)\+,\/:;<=>@\[\]\^'
15 … r"`\{\|}~]))+(\?*|\*?))|[\*\-])){5}(:(([a-zA-Z]{2,3}(-([a-zA-Z]{2}|[0-9]{3}))?)|[\*\-]))(:(((\?*"
16 …r'|\*?)([a-zA-Z0-9\-\._]|(\\[\\\*\?!"#$$%&\'\(\)\+,\/:;<=>@\[\]\^`\{\|}~]))+(\?*|\*?))|[\*\-])){4}…
21 # Replace "_" by "-" since it's not allowed in spdx ID
22 return name.replace("_", "-")
24 # Output tag-value SPDX 2.3 content for the given Relationship object.
31 # Output tag-value SPDX 2.3 content for the given File object.
68 # Output tag-value SPDX 2.3 content for the given Package object.
95 if len(pkg.cfg.version) > 0:
[all …]
/Zephyr-latest/samples/subsys/fs/littlefs/
DREADME.rst1 .. zephyr:code-sample:: littlefs
3 :relevant-api: file_system_api flash_area_api
24 -------------------
31 [00:00:00.010,192] <inf> littlefs: LittleFS version 2.0, disk version 2.0
33 [00:00:00.010,559] <wrn> littlefs: can't mount (LFS -84); formatting
40 [00:00:00.867,034] <err> fs: failed get file or dir stat (-2)
46 ---------------------------
52 https://www.thevtool.com/mounting-littlefs-on-linux-machine/
54 .. code-block:: console
57 …lfs -d -s -f --read_size=512 --prog_size=512 --block_size=512 --cache_size=512 --lookahead_size=81…
[all …]
/Zephyr-latest/doc/releases/
Dmigration-guide-4.0.rst39 to define default flash and ram partitioning based on TF-M.
60 specify it using the west ``--runner`` or ``-r`` option. (:github:`75284`)
61 * ADC: Domain clock needs to be explicitly defined if property st,adc-clock-source = <ASYNC> is use…
85 Trusted Firmware-M
90 the image version. This has been changed as the implicit counter calculation is incompatible with
99 * Updated the zcbor library to version 0.9.0.
130 Chip variants with open-drain outputs (``mcp23x09``, ``mcp23x18``) now correctly reflect this in
134 * The ``power-domain`` property has been removed in favor of ``power-domains``.
136 ``power-domain-names`` is also available to optionally name each entry in
137 ``power-domains``. The number of cells in the ``power-domains`` property need
[all …]
Dmigration-guide-3.5.rst21 taking a ``void *mem`` pointer instead of a ``void **mem`` double-pointer.
37 * The default C library used on most targets has changed from the built-in
47 increase by 8-16 bytes.
68 * Picolibc removes the ``-ffreestanding`` compiler option. This allows
71 the Zephyr required type -- ``int main(void)``.
84 minimal C library version (this is necessary to conform with the C
100 * ``psa-arch-tests``
102 * ``tf-m-tests``
103 * ``tflite-micro``
107 To enable them again use the ``west config manifest.project-filter -- +<module
[all …]
Drelease-notes-3.7.rst8 We are pleased to announce the release of Zephyr version 3.7.0.
10 This release is the last non-maintenance 3.x release and, as such, will be the next
18 * A long-awaited :ref:`HTTP Server <http_server_interface>` library, and associated service API,
21 * :ref:`POSIX support <posix_support>` has been extended, with most Options of the IEEE 1003-2017
25 * Bluetooth Host has been extended with support for the Nordic UART Service (NUS), Hands-free Audio
29 :ref:`read-then-decode approach <sensor-read-and-decode>` that enables more types of sensors and
35 * Trusted Firmware-M (TF-M) 2.1.0 and Mbed TLS 3.6.0 have been integrated into Zephyr.
39 1588) allows to synchronize time across devices with sub-microsecond accuracy.
52 * 1-Wire
71 :ref:`pinctrl-guide` for more details.
[all …]
Drelease-notes-4.1.rst8 We are pleased to announce the release of Zephyr version 4.1.0.
48 * The upstream version of this library is no longer maintained.
69 * RISC-V
114 * :zephyr:board:`Adafruit QT Py ESP32-S3 <adafruit_qt_py_esp32s3>`: ``adafruit_qt_py_esp32s3``
130 * Space-separated lists support has been removed from Twister configuration
140 as well as for ``--sub-test`` command line parameters (:github:`80088`).
141 * The ``--no-detailed-test-id`` command line option also shortens Ztest Test Case names excluding
163 * Disk
170 * Added ``frame_incomplete`` handling to SDL display driver (:dtcompatible:`zephyr,sdl-dc`)
172 …* Added transparency support to SDL display driver (:dtcompatible:`zephyr,sdl-dc`) (:github:`81184…
[all …]
Drelease-notes-1.12.rst8 We are pleased to announce the release of Zephyr kernel version 1.12.0.
12 - Asymmetric multiprocessing (AMP) via integration of OpenAMP
13 - Persistent storage support for Bluetooth Low Energy including Mesh
14 - 802.1Q - Virtual Local Area Network (VLAN) traffic on an Ethernet network
15 - Support multiple concurrent filesystem devices, partitions, and FS types
16 - Ethernet network management interface
17 - Networking traffic prioritization on a per-connection basis
18 - Support for Ethernet statistical counters
19 - Support for TAP net device on the native POSIX port
20 - Command-line Zephyr meta-tool "west"
[all …]
Drelease-notes-4.0.rst8 We are pleased to announce the release of Zephyr version 4.0.0.
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`.
50 directory for :zephyr:code-sample-category:`code samples <samples>`.
70 * :cve:`2024-8798`: Under embargo until 2024-11-22
71 * :cve:`2024-10395`: Under embargo until 2025-01-23
[all …]
Drelease-notes-3.1.rst32 * Disk Subsystem: SPI mode SD cards now use the SD subsystem to communicate
33 with SD cards. See :ref:`the disk access api <disk_access_api>` for an
61 * Split CAN classic and CAN-FD APIs:
90 was moved from Kconfig to :ref:`devicetree <dt-guide>`.
91 See the :dtcompatible:`st,stm32f1-pinctrl` devicetree binding for more information.
182 * MIPI-DSI
184 * Added a :ref:`MIPI-DSI api <mipi_dsi_api>`. This is an experimental API,
196 * Added support for enabling/disabling CAN-FD mode at runtime using :c:macro:`CAN_MODE_FD`.
220 * Added support for Provisioners over PB-GATT
231 * Implemented ISO-AL TX unframed fragmentation
[all …]
Drelease-notes-3.4.rst8 We are pleased to announce the release of Zephyr version 3.4.0.
20 * Added Power Delivery Source Support to the USB-C Stack.
22 * Cache API functions are now fully in-lined by compilers.
23 * Added an API for real-time clocks (RTC).
29 - Introduction of 3 new test harnesses into twister supporting pyTest,
31 - Transitioning to new Ztest API was completed and legacy Ztest was deprecated.
46 * CVE-2023-1901: Under embargo until 2023-07-04
48 * CVE-2023-1902: Under embargo until 2023-07-04
67 +--------------------------------------------------+
69 +--------------------------------------------------+
[all …]
/Zephyr-latest/subsys/usb/device_next/class/
Dusbd_msc_scsi.c4 * SPDX-License-Identifier: Apache-2.0
21 /* Claim conformance to SPC-2 because this allows us to implement less commands
25 * version are also implemented.
49 /* SAM-6 5.2 Command descriptor block (CDB)
52 #define GET_CONTROL_NACA(cmd) (cmd->control & BIT(2))
54 /* SPC-5 4.3.3 Variable type data field requirements
63 /* SPC-5 F.3.1 Operation codes Table F.2 — Operation codes */
84 /* DESC bit was reserved in SPC-2 and is optional since SPC-3 */
85 #define GET_REQUEST_SENSE_DESC(cmd) (cmd->desc & BIT(0))
121 /* CMDDT in SPC-2, but obsolete since SPC-3 */
[all …]
/Zephyr-latest/samples/modules/tflite-micro/magic_wand/train/
Dtrain.py4 # Licensed under the Apache License, Version 2.0 (the "License");
8 # http://www.apache.org/licenses/LICENSE-2.0
16 # pylint: disable=g-bad-import-order
26 import os # pylint: disable=duplicate-code
29 import numpy as np # pylint: disable=duplicate-code
32 logdir = "logs/scalars/" + datetime.datetime.now().strftime("%Y%m%d-%H%M%S")
37 reshaped_data = tf.reshape(data, [-1, 3, 1])
112 model_path, # pylint: disable=unused-argument
113 train_len, # pylint: disable=unused-argument
134 for data, label in test_data: # pylint: disable=unused-variable
[all …]
/Zephyr-latest/doc/connectivity/usb/device/
Dusb_device.rst22 device requests in table 9-3 from the universal serial bus specification
41 version 1.00 (``bcdADC 0x0100``) and supports synchronous synchronisation type only.
42 See :zephyr:code-sample:`usb-audio-headphones-microphone` and
43 :zephyr:code-sample:`usb-audio-headset` samples for reference.
53 * HCI commands through control endpoint (host-to-device only)
67 See :zephyr:code-sample:`bluetooth_hci_usb` sample for reference.
86 ring buffer is full only if the hw-flow-control property is enabled and
87 called from a non-ISR context.
90 :dtcompatible:`zephyr,cdc-acm-uart`.
104 .. code-block:: devicetree
[all …]
/Zephyr-latest/doc/develop/west/
Dworkspaces.rst1 .. _west-workspaces:
7 :ref:`west-basics` in more detail.
9 .. _west-manifest-rev:
11 The ``manifest-rev`` branch
14 West creates and controls a Git branch named ``manifest-rev`` in each
16 specified for the project at the time :ref:`west-update` was last run.
17 Other workspace management commands may use ``manifest-rev`` as a reference
19 purposes, the ``manifest-rev`` branch allows the manifest file to use SHAs
22 Although ``manifest-rev`` is a normal Git branch, west will recreate and/or
27 rebase it on top of a new ``manifest-rev``, or merge ``manifest-rev`` into
[all …]
/Zephyr-latest/boards/intel/adsp/doc/
Dchromebooks_adsp.rst1 .. _zephyr-audio-dsp-development-on-chromebooks:
8 arbitrary user-developed firmware like Zephyr applications (of which
28 Hold Esc + Refresh (the arrow-in-a-circle "reload" key above "3") and
51 device ID (for example "DELBIN-XHVI D4B-H4D-G4G-Q9A-A9P" for the Asus
62 Linux's dm-verity feature) all access to the read-only root
64 for a custom kernel) requires that the dm-verity layer be turned off:
66 First open a terminal with Ctrl-Alt-T. Then at the "crosh> " prompt
68 user. Finally (in developer mode) a simple "sudo su -" will get you a
71 .. code-block:: console
74 chronos@localhost / $ sudo su -
[all …]

12