Home
last modified time | relevance | path

Searched +full:pre +full:- +full:declared (Results 1 – 25 of 27) sorted by relevance

12

/Zephyr-latest/dts/bindings/pinctrl/
Despressif,esp32-pinctrl.yaml2 # SPDX-License-Identifier: Apache-2.0
7 states are composed by groups of pre-defined pin muxing definitions and user
10 Each Zephyr-based application has its own set of pin muxing/pin configuration
11 requirements. The next steps use ESP-WROVER-KIT's I2C_0 to illustrate how one
15 Suppose an application running on top of the ESP-WROVER-KIT board, for some
18 you'll notice that the I2C_0 node is already assigned to a pre-defined state.
22 #include "esp_wrover_kit-pinctrl.dtsi"
26 pinctrl-0 = <&i2c0_default>;
27 pinctrl-names = "default";
31 From the above excerpt, the pincrl-0 property is assigned the 'i2c0_default'
[all …]
/Zephyr-latest/doc/connectivity/networking/api/
Dnet_l2.rst13 The L2 stack is designed to hide the whole networking link-layer part
15 through a :c:struct:`net_if` declared in
27 :ref:`IEEE 802.15.4 Soft-MAC <ieee802154_interface>`, :ref:`CANBUS <can_api>`,
28 :ref:`OpenThread <thread_protocol_interface>`, Wi-Fi, and a dummy layer example
40 - ``recv()``: All device drivers, once they receive a packet which they put
46 the link layer header, or handling link-layer only packets. The ``recv()``
51 - ``send()``: Similar to receive function, the network stack will call this
52 function to actually send a network packet. All relevant link-layer content
57 - ``enable()``: This function is used to enable/disable traffic over a network
60 - ``get_flags()``: This function will return the capabilities of an L2 driver,
[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
53 # set of LicenseRef- custom licenses to be declared
54 # may or may not include "LicenseRef-" license prefix
71 # SPDX ID, including "SPDXRef-"
89 # the Package's declared license
111 # configuration - PackageConfig
151 # RelationshipData contains the pre-analysis data about a relationship between
189 # Relationship contains the post-analysis, processed data about a relationship
[all …]
/Zephyr-latest/arch/xtensa/core/
Dgen_vectors.py3 # SPDX-License-Identifier: Apache-2.0
9 # Takes a pre-processed (gcc -dM) core-isa.h file as its first
12 # code is declared using standard conventions (see below).
20 # lacks VECBASE, but the core-isa.h interface is inexplicably
40 # (of a platform-dependent level), but the code for them is emitted
46 # can only back-reference immediates for MOVI/L32R instructions) as
57 # Translation for the core-isa.h vs. linker section naming conventions
108 print("/* Automatically Generated Code - Do Not Edit */")
/Zephyr-latest/doc/develop/west/
Dzephyr-cmds.rst1 .. _west-zephyr-ext-cmds:
6 This page documents miscellaneous :ref:`west-zephyr-extensions`.
8 .. _west-boards:
21 specify the display format yourself you can use the ``--format`` (or ``-f``)
24 west boards -f "{arch}:{name}"
28 west boards -h
30 .. _west-completion:
40 - bash
41 - zsh
42 - fish
[all …]
/Zephyr-latest/doc/connectivity/bluetooth/
Dbluetooth-ctlr-arch.rst1 .. _bluetooth-ctlr-arch:
27 * Software-based Link Layer implementation
107 Pre-emption of Active Event
133 - Event handle (0, 1) < Event preparation (2, 3) < Event/Rx done (4) < Tx
136 - LLL is vendor ISR, ULL is Mayfly ISR concept, Host is kernel thread.
147 - HCI/LLCP API
152 - lll_prepare context to drive ull_cp_run()
156 - rx_demux context to drive ull_cp_tx_ack() and ull_cp_rx()
164 - struct llcp_struct
166 * Defined in ull_conn_types.h and declared as part of struct ll_conn
[all …]
/Zephyr-latest/doc/kernel/memory_management/
Dsys_mem_blocks.rst14 This is useful for operations such as scatter-gather DMA transfers.
43 The buffer must be aligned to an N-byte boundary, where N is a power of 2
49 each memory blocks allocator must be declared and defined at compile time.
54 Each buffer associated with an allocator is an array of fixed-size blocks,
109 to a 4-byte boundary:
111 .. code-block:: c
117 .. code-block:: c
121 A pre-defined buffer can also be provided to the allocator where
125 .. code-block:: c
135 .. code-block:: c
[all …]
/Zephyr-latest/doc/connectivity/networking/conn_mgr/
Dimplementation.rst11 Connectivity implementations are technology-specific modules that allow specific Zephyr ifaces to s…
12 …ric :ref:`connectivity control API <conn_mgr_control_api>` calls into hardware-specific operations.
35 …he connectivity implementation it is bound to, as well as a pointer to a per-iface :ref:`context p…
48 :figclass: align-center
60 …eference to that container, which implementations can then use to access per-iface state informati…
71 .. code-block:: c
105 .. code-block:: c
122 .. code-block:: c
130 .. code-block:: c
139 .. code-block:: c
[all …]
/Zephyr-latest/tests/kernel/common/src/
Dbitarray.c4 * SPDX-License-Identifier: Apache-2.0
17 #define BIT_INDEX(bit) ((3 - ((bit >> 3) & 0x3)) + 4*(bit >> 5))
61 zassert_equal(ba->num_bits, num_bits, in validate_bitarray_define()
63 num_bits, ba->num_bits); in validate_bitarray_define()
65 zassert_equal(ba->num_bundles, num_bundles, in validate_bitarray_define()
67 num_bundles, ba->num_bundles); in validate_bitarray_define()
70 zassert_equal(ba->bundles[i], FREE, in validate_bitarray_define()
92 * in the declared array are set as free to represent the number of bits in ZTEST()
109 for (i = 0; i < ba->num_bundles; i++) { in bitarray_bundles_is_zero()
110 if (ba->bundles[i] != 0) { in bitarray_bundles_is_zero()
[all …]
/Zephyr-latest/doc/releases/
Dmigration-guide-3.7.rst22 out-of-tree SoCs and boards to be ported to the new model. See the
25 * The following build-time generated headers:
27 .. list-table::
28 :header-rows: 1
30 * - Affected header files
31 * - ``app_version.h``
32 * - ``autoconf.h``
33 * - ``cmake_intdef.h``
34 * - ``core-isa-dM.h``
35 * - ``devicetree_generated.h``
[all …]
Drelease-notes-1.6.rst7 release introduces the unified Kernel replacing the separate nano- and
8 micro-kernels and simplifying the overall Zephyr architecture and programming
10 Support for the ARM Cortex-M0/M0+ family was added and board support for
11 Cortex-M was expanded.
22 * Added support for several ARM Cortex-M boards
34 * Added DLIST to operate in all elements of a doubly-linked list.
52 * ARM: Added support for ARM Cortex-M0/M0+.
54 * x86: Declared internal API for interrupt controllers.
55 * x86: Changed IRQ controller to return -1 if cannot determine source vector.
99 * Added raw HCI API to enable physical HCI transport for a Controller-only build.
[all …]
Drelease-notes-2.1.rst13 * Expanded support for ARMv6-M architecture.
50 hardware-based stack overflow detection) in ARMv6-M architecture
51 * Added QEMU support for ARMv6-M architecture
52 * Extended test coverage for ARM-specific kernel features in ARMv6-M
54 * Enhanced runtime MPU programming in ARMv8-M architecture, making
55 the full partitioning of kernel SRAM memory a user-configurable
57 * Added CMSIS support for Cortex-R architectures.
59 * Added missing Cortex-R CPU device tree bindings.
60 * Fixed incorrect Cortex-R device tree specification.
68 * RISC-V:
[all …]
Drelease-notes-2.3.rst18 with future support for features like 64-bit and absolute timeouts in mind
21 * Zephyr now integrates with the TF-M (Trusted Firmware M) PSA-compliant
24 * The CMSIS-DSP library is now included and integrated
33 * CVE-2020-10022: UpdateHub Module Copies a Variable-Sized Hash String
34 into a fixed-size array.
35 * CVE-2020-10059: UpdateHub Module Explicitly Disables TLS
37 * CVE-2020-10061: Improper handling of the full-buffer case in the
39 * CVE-2020-10062: Packet length decoding error in MQTT
40 * CVE-2020-10063: Remote Denial of Service in CoAP Option Parsing Due
42 * CVE-2020-10068: In the Zephyr project Bluetooth subsystem, certain
[all …]
Drelease-notes-2.5.rst27 * CVE-2021-3323: Under embargo until 2021-04-14
28 * CVE-2021-3321: Under embargo until 2021-04-14
29 * CVE-2021-3320: Under embargo until 2021-04-14
39 <https://github.com/zephyrproject-rtos/zephyr/issues?q=is%3Aissue+is%3Aopen+label%3Abug>`_.
56 * Changed vcnl4040 dts binding default for property 'proximity-trigger'.
63 * The :c:func:`mqtt_keepalive_time_left` function now returns -1 if keep alive
67 timeout usage must use the new-style k_timeout_t type and not the
87 GPIO-only regulators a devicetree property ``supply-gpios`` is defined as a
101 * ARM Musca-A board and SoC support deprecated and planned to be removed in 2.6.0.
146 sys_heap/k_heaps. Note that the new-style heap is a general
[all …]
Drelease-notes-2.0.rst12 * The kernel now supports both 32- and 64-bit architectures.
17 * We added support for :ref:`Point-to-Point Protocol (PPP) <ppp>`. PPP is a
20 * We added support for UpdateHub, an end-to-end solution for large scale
21 over-the-air device updates.
22 * We added support for ARM Cortex-R Architecture (Experimental).
32 * Fixes CVE-2019-9506: The Bluetooth BR/EDR specification up to and
35 negotiation. This allows practical brute-force attacks (aka "KNOB")
42 * New kernel API for per-thread disabling of Floating Point Services for
43 ARC, ARM Cortex-M, and x86 architectures.
45 * Additional support for compatibility with 64-bit architectures.
[all …]
Drelease-notes-3.1.rst61 * 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
232 * Added support for back-to-back receiving of PDUs on nRF5x platforms
249 newly created informational-only callback struct :c:struct:`bt_conn_auth_info_cb`.
[all …]
/Zephyr-latest/doc/kernel/drivers/
Dindex.rst57 should support an interrupt-based implementation, rather than polling, unless
60 High-level calls accessed through device-specific APIs, such as
75 up for boot-time initialization.
98 split into read-only and runtime-mutable parts. At a high level we have:
100 .. code-block:: C
109 The ``config`` member is for read-only configuration data set at build time. For
115 per-instance runtime housekeeping. For example, it may contain reference counts,
118 The ``api`` struct maps generic subsystem APIs to the device-specific
119 implementations in the driver. It is typically read-only and populated at
126 Most drivers will be implementing a device-independent subsystem API.
[all …]
/Zephyr-latest/doc/develop/test/
Dztest.rst1 .. _test-framework:
19 * ``suite_name`` - The name of the suite. This name must be unique within a single binary.
20 * :c:type:`ztest_suite_predicate_t` - An optional predicate function to allow choosing when the
23 * :c:type:`ztest_suite_setup_t` - An optional setup function which returns a test fixture. This
25 * :c:type:`ztest_suite_before_t` - An optional before function which will run before every single
27 * :c:type:`ztest_suite_after_t` - An optional after function which will run after every single
29 * :c:type:`ztest_suite_teardown_t` - An optional teardown function which will run at the end of
34 .. code-block:: C
41 return ((const struct test_state*)global_state)->x == 5;
51 * :c:macro:`ZTEST` ``(suite_name, test_name)`` - Which can be used to add a test by ``test_name`` t…
[all …]
/Zephyr-latest/kernel/
Duserspace.c4 * SPDX-License-Identifier: Apache-2.0
21 #include <zephyr/sys/libc-hooks.h>
25 #include <zephyr/linker/linker-defs.h>
44 * non-recursive. Rather than try to redesign as part of
55 /* On ARM & ARC MPU & RISC-V PMP we may have two different alignment requirement
86 /* -fdata-sections doesn't work right except in very recent in otype_to_str()
92 /* otype-to-str.h is generated automatically during build by in otype_to_str()
98 #include <zephyr/otype-to-str.h> in otype_to_str()
126 __ASSERT(obj->type == K_OBJ_THREAD_STACK_ELEMENT, in z_priv_stack_find()
129 return obj->data.stack_data->priv; in z_priv_stack_find()
[all …]
/Zephyr-latest/include/zephyr/kernel/
Dthread_stack.h4 * SPDX-License-Identifier: Apache-2.0
36 * declared symbol for a stack (of type k_thread_stack_t) and the underlying
79 * all the data members that are pre-populated in arch_new_thread().
89 (type *)((ptr) - sizeof(type))
169 * fixed-size stack overflow guards.
209 * fixed-size stack overflow guards.
282 #define K_KERNEL_STACK_SIZEOF(sym) (sizeof(sym) - K_KERNEL_STACK_RESERVED)
307 * areas, supervisor mode stacks, or platform-specific data. This macro
362 * - Reserved memory for platform data
363 * - Alignment of stack buffer bounds to CPU/ABI constraints
[all …]
/Zephyr-latest/tests/bluetooth/tester/src/
Dbtp_gatt.c1 /* gatt.c - Bluetooth GATT Server Tester */
4 * Copyright (c) 2015-2016 Intel Corporation
6 * SPDX-License-Identifier: Apache-2.0
60 /* bt_gatt_attr_next cannot be used on non-registered services */
62 #define LAST_DB_ATTR (server_db + (attr_count - 1))
78 * gatt_buf - cache used by a gatt client (to cache data read/discovered)
103 if ((ccc_values[i].attr != NULL) && (handle == ccc_values[i].attr->handle)) { in ccc_find_by_attr()
108 return -ENOENT; in ccc_find_by_attr()
119 return -ENOENT; in ccc_find_by_ccc()
163 const union uuid *u = CONTAINER_OF(pattern->uuid, union uuid, uuid); in gatt_db_add()
[all …]
/Zephyr-latest/include/zephyr/net/
Dlwm2m.h3 * Copyright (c) 2017-2019 Foundries.io
5 * SPDX-License-Identifier: Apache-2.0
10 * @brief LwM2M high-level API
13 * LwM2M high-level interface is defined in this header.
18 * OMA-TS-LightweightM2M_Core-V1_1_1-20190617-A
20 * @defgroup lwm2m_api LwM2M high-level API
46 /* clang-format off */
61 /* clang-format on */
73 /* clang-format off */
88 /* clang-format on */
[all …]
Dieee802154_radio.h5 * SPDX-License-Identifier: Apache-2.0
12 * @note All references to the standard in this file cite IEEE 802.15.4-2020.
38 * @details This API provides a common representation of vendor-specific
44 * - a basic, mostly PHY-level driver API to be implemented by all drivers,
45 * - several optional MAC-level extension points to offload performance
51 * offloading to vendor-specific hardware or firmware features may be required
56 * Whether or not MAC-level offloading extension points need to be implemented
60 * @note All section, table and figure references are to the IEEE 802.15.4-2020
67 * @name IEEE 802.15.4-2020, Section 6: MAC functional description
90 * @name IEEE 802.15.4-2020, Section 8: MAC services
[all …]
/Zephyr-latest/include/zephyr/
Ddevice.h4 * SPDX-License-Identifier: Apache-2.0
157 * Otherwise, the node's full name in `node-name@unit-address` form.
181 * The device is declared with extern visibility, so a pointer to a global
277 * If this returns non-NULL, the device must be checked for readiness
280 * @param compat lowercase-and-underscores devicetree compatible
298 * If this returns non-NULL, the device must be checked for readiness before
301 * @param compat lowercase-and-underscores devicetree compatible
338 * This macro can be used at the top-level to declare a device, such
343 * device's init or per-instance config function, as the init function
374 * Fields in this are expected to be default-initialized to zero. The
[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 …]

12