Home
last modified time | relevance | path

Searched +full:- +full:m (Results 1 – 25 of 1044) sorted by relevance

12345678910>>...42

/Zephyr-latest/doc/services/input/
Ddiodes-rc.svg1 <?xml version="1.0" encoding="UTF-8" standalone="no"?>
13 …id="title2">SVG Image created as keyboard-matrix-testboard-diodes-rc.svg date 2023/12/18 09:58:32 …
15 id="desc4">Image generated by Eeschema-SVG </desc>
17 …style="fill:#000000;fill-opacity:1;stroke:#000000;stroke-linecap:round;stroke-linejoin:round;strok…
19 transform="translate(-105.3338,-64.181)" />
21 …style="fill:#000000;fill-opacity:0;stroke:#000000;stroke-width:0.1524;stroke-linecap:round;stroke-
23 transform="translate(-105.3338,-64.181)" />
25 …style="fill:#000000;fill-opacity:0;stroke:#000000;stroke-width:0.1588;stroke-linecap:round;stroke-
27 transform="translate(-105.3338,-64.181)" />
29 …style="fill:#000000;fill-opacity:0;stroke:#000000;stroke-width:0.1524;stroke-linecap:round;stroke-
[all …]
Ddiodes-cr.svg1 <?xml version="1.0" encoding="UTF-8" standalone="no"?>
13 …id="title2">SVG Image created as keyboard-matrix-testboard-diodes-cr.svg date 2023/12/18 09:58:32 …
15 id="desc4">Image generated by Eeschema-SVG </desc>
17 …style="fill:#000000;fill-opacity:1;stroke:#000000;stroke-linecap:round;stroke-linejoin:round;strok…
19 transform="translate(-98.9838,-67.2338)" />
21 …style="fill:#000000;fill-opacity:0;stroke:#000000;stroke-width:0.1524;stroke-linecap:round;stroke-
23 transform="translate(-98.9838,-67.2338)" />
25 …style="fill:#000000;fill-opacity:0;stroke:#000000;stroke-width:0.1588;stroke-linecap:round;stroke-
27 transform="translate(-98.9838,-67.2338)" />
29 …style="fill:#000000;fill-opacity:0;stroke:#000000;stroke-width:0.1524;stroke-linecap:round;stroke-
[all …]
Dno-diodes.svg1 <?xml version="1.0" encoding="UTF-8" standalone="no"?>
13 …id="title2">SVG Image created as keyboard-matrix-testboard-no-diodes.svg date 2023/12/18 09:58:32 …
15 id="desc4">Image generated by Eeschema-SVG </desc>
17 …style="fill:#000000;fill-opacity:1;stroke:#000000;stroke-linecap:round;stroke-linejoin:round;strok…
19 transform="translate(-104.0638,-71.801)" />
21 …style="fill:#000000;fill-opacity:0;stroke:#000000;stroke-width:0.1524;stroke-linecap:round;stroke-
23 transform="translate(-104.0638,-71.801)" />
25 …style="fill:#000000;fill-opacity:0;stroke:#000000;stroke-width:0.1588;stroke-linecap:round;stroke-
27 transform="translate(-104.0638,-71.801)" />
29 …style="fill:#000000;fill-opacity:0;stroke:#000000;stroke-width:0.1524;stroke-linecap:round;stroke-
[all …]
Dno-sw4.svg1 <?xml version="1.0" encoding="UTF-8" standalone="no"?>
13 …id="title2">SVG Image created as keyboard-matrix-testboard-no-sw4.svg date 2023/12/18 09:58:32 </t…
15 id="desc4">Image generated by Eeschema-SVG </desc>
17 …style="fill:#000000;fill-opacity:1;stroke:#000000;stroke-linecap:round;stroke-linejoin:round;strok…
19 transform="translate(-102.7938,-75.611)" />
21 …style="fill:#000000;fill-opacity:0;stroke:#000000;stroke-width:0.1524;stroke-linecap:round;stroke-
23 transform="translate(-102.7938,-75.611)" />
25 …style="fill:#000000;fill-opacity:0;stroke:#000000;stroke-width:0.1588;stroke-linecap:round;stroke-
27 transform="translate(-102.7938,-75.611)" />
29 …style="fill:#000000;fill-opacity:0;stroke:#000000;stroke-width:0.1524;stroke-linecap:round;stroke-
[all …]
/Zephyr-latest/samples/subsys/rtio/sensor_batch_processing/src/
Dmain.c4 * SPDX-License-Identifier: Apache-2.0
14 #define M (N/2) macro
21 #define PROCESS_TIME ((M - 1) * SAMPLE_PERIOD)
28 struct rtio_iodev *iodev = vnd_sensor->data; in main()
38 int m = 0; in main() local
39 uint8_t *userdata[M] = {0}; in main()
40 uint32_t data_len[M] = {0}; in main()
42 LOG_INF("Submitting %d read requests", M); in main()
43 rtio_submit(&ez_io, M); in main()
49 while (m < M) { in main()
[all …]
/Zephyr-latest/modules/trusted-firmware-m/
DKconfig.tfm.partitions1 # Configuration for the partitions in the TF-M Module
4 # SPDX-License-Identifier: Apache-2.0
15 Setting this option will cause '-DTFM_PARTITION_PROTECTED_STORAGE'
16 to be passed to the TF-M build system. Look at 'config_default.cmake'
17 in the trusted-firmware-m repository for details regarding this
19 options are handled by the build system in the trusted-firmware-m
26 Setting this option will cause '-DTFM_PARTITION_INTERNAL_TRUSTED_STORAGE'
27 to be passed to the TF-M build system. Look at 'config_default.cmake'
28 in the trusted-firmware-m repository for details regarding this
30 options are handled by the build system in the trusted-firmware-m
[all …]
DKconfig.tfm1 # Configuration for the TF-M Module
5 # Copyright 2024 Arm Limited and/or its affiliates <open-source-office@arm.com>
6 # SPDX-License-Identifier: Apache-2.0
25 default "${ZEPHYR_BASE}/modules/trusted-firmware-m/nordic/nrf9160" if SOC_NRF9160
26 default "${ZEPHYR_BASE}/modules/trusted-firmware-m/nordic/nrf9120" if SOC_NRF9120
27 default "${ZEPHYR_BASE}/modules/trusted-firmware-m/nordic/nrf5340_cpuapp" if SOC_NRF5340_CPUAPP
33 bool "Build with TF-M as the Secure Execution Environment"
44 additionally generate a TF-M image for the Secure Execution
46 itself is to be executed in the Non-Secure Processing Environment.
48 ensures that the Zephyr image is built as a Non-Secure image. Both
[all …]
/Zephyr-latest/samples/tfm_integration/
Dtfm_integration.rst1 .. zephyr:code-sample-category:: tfm_integration
2 :name: TF-M Integration
3 :show-listing:
5 These TF-M integration examples can be used with a supported Armv8-M board, and demonstrate how
6 the TF-M APIs can be used with Zephyr.
12 secure processing environment (S), with Zephyr running in the non-secure
16 built, in addition to the TF-M S and Zephyr NS binary images. The S and NS
23 What is Trusted Firmware-M (TF-M)?
26 Trusted Firmware-M (TF-M) is the reference implementation of `Platform Security
27 Architecture (PSA) <https://pages.arm.com/psa-resources.html>`_.
[all …]
/Zephyr-latest/doc/hardware/pinctrl/images/
Dhw-dist-control.svg1 <?xml version="1.0" encoding="UTF-8"?>
2 <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
3 …x="0 0 18000 8500" preserveAspectRatio="xMidYMid" fill-rule="evenodd" stroke-width="28.222" stroke
13 <font id="EmbeddedFont_1" horiz-adv-x="2048">
14 …<font-face font-family="LM Roman 12 embedded" units-per-em="2048" font-weight="normal" font-style=…
15 <missing-glyph horiz-adv-x="2048" d="M 0,0 L 2047,0 2047,2047 0,2047 0,0 Z"/>
16-adv-x="663" d="M 668,254 L 668,371 623,371 623,258 C 623,111 563,25 483,25 344,25 344,215 344,250…
17 …<glyph unicode="r" horiz-adv-x="689" d="M 723,784 C 723,846 668,903 580,903 406,903 346,715 334,67…
18 …code="o" horiz-adv-x="901" d="M 940,438 C 940,702 739,913 502,913 256,913 61,696 61,438 61,176 266…
19 …<glyph unicode="n" horiz-adv-x="1033" d="M 1067,0 L 1067,59 C 965,59 913,59 911,121 L 911,498 C 91…
[all …]
Dhw-cent-control.svg1 <?xml version="1.0" encoding="UTF-8"?>
2 <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
3 …x="0 0 15000 8000" preserveAspectRatio="xMidYMid" fill-rule="evenodd" stroke-width="28.222" stroke
13 <font id="EmbeddedFont_1" horiz-adv-x="2048">
14 …<font-face font-family="LM Roman 12 embedded" units-per-em="2048" font-weight="normal" font-style=…
15 <missing-glyph horiz-adv-x="2048" d="M 0,0 L 2047,0 2047,2047 0,2047 0,0 Z"/>
16-adv-x="1033" d="M 1067,0 L 1067,59 C 928,59 911,74 911,174 L 911,903 623,881 623,821 C 762,821 77…
17-adv-x="663" d="M 668,254 L 668,371 623,371 623,258 C 623,111 563,25 483,25 344,25 344,215 344,250…
18 …<glyph unicode="r" horiz-adv-x="689" d="M 723,784 C 723,846 668,903 580,903 406,903 346,715 334,67…
19 …code="o" horiz-adv-x="901" d="M 940,438 C 940,702 739,913 502,913 256,913 61,696 61,438 61,176 266…
[all …]
/Zephyr-latest/subsys/bluetooth/controller/ll_sw/
Dlll_chan.c2 * Copyright (c) 2018-2021 Nordic Semiconductor ASA
4 * SPDX-License-Identifier: Apache-2.0
138 /* Sub-expression to get natural number (N - 2d + 1) to be used in the in lll_chan_iso_subevent()
142 x = (chan_count + 1) - (d << 1); in lll_chan_iso_subevent()
166 while (byte_count--) { in chan_sel_remap()
172 while (bit_count--) { in chan_sel_remap()
177 chan_index--; in chan_sel_remap()
258 while (octet_count--) { in chan_sel_remap_index()
264 while (bit_count--) { in chan_sel_remap_index()
268 chan_index--; in chan_sel_remap_index()
[all …]
/Zephyr-latest/include/zephyr/dsp/
Dutils.h4 * SPDX-License-Identifier: Apache-2.0
35 * There are separate functions for floating-point, Q7, Q15, and Q31 data types.
40 * @brief Convert a Q7 fixed-point value to a floating-point (float32_t) value with a left shift.
42 * @param src The input Q7 fixed-point value.
43 * @param m The number of bits to left shift the input value (0 to 7).
44 * @return The converted floating-point (float32_t) value.
46 #define Z_SHIFT_Q7_TO_F32(src, m) ((float32_t)(((src << m)) / (float32_t)(1U << 7))) argument
49 * @brief Convert a Q15 fixed-point value to a floating-point (float32_t) value with a left shift.
51 * @param src The input Q15 fixed-point value.
52 * @param m The number of bits to left shift the input value (0 to 15).
[all …]
/Zephyr-latest/arch/arm/core/cortex_m/
DKconfig1 # ARM Cortex-M platform configuration options
3 # Copyright (c) 2014-2015 Wind River Systems, Inc.
4 # SPDX-License-Identifier: Apache-2.0
10 # if one select a different ARM Cortex Family (Cortex-A or Cortex-R)
17 This option signifies the use of a Cortex-M0 CPU
24 This option signifies the use of a Cortex-M0+ CPU
31 This option signifies the use of a Cortex-M1 CPU
38 This option signifies the use of a Cortex-M3 CPU
46 This option signifies the use of a Cortex-M4 CPU
54 This option signifies the use of a Cortex-M23 CPU
[all …]
/Zephyr-latest/doc/services/tfm/
Dintegration.rst1 Trusted Firmware-M Integration
4 The Trusted Firmware-M (TF-M) section contains information about the
5 integration between TF-M and Zephyr RTOS. Use this information to help
6 understand how to integrate TF-M with Zephyr for Cortex-M platforms and make
7 use of its secure run-time services in Zephyr applications.
12 TF-M will be built for the secure processing environment along with Zephyr if
16 and all config flags required for TF-M should be set in a board variant with
22 `modules/trusted-firmware-m/Kconfig.tfm <https://github.com/zephyrproject-rtos/zephyr/blob/main/mod…
23 to the board name that TF-M expects for this target, so that it knows which
29 The ``mps2/an521/cpu0`` board target is a dual-core Arm Cortex-M33 evaluation board that generates
[all …]
Dtestsuites.rst4 TF-M includes two sets of test suites:
6 * tf-m-tests - Standard TF-M specific regression tests
7 * psa-arch-tests - Test suites for specific PSA APIs (secure storage, etc.)
12 TF-M Regression Tests
20 application (TF-M).
27 being followed by the secure application, TF-M being an implementation of
37 your specific board, RTOS (Zephyr here), and PSA implementation (TF-M in this
41 changes to TF-M, such as enabling a new TF-M board target, or making changes
42 to the core TF-M module(s). They should generally be run as a coherence check
Dbuild.rst3 TF-M Build System
6 When building a valid ``_ns`` board target, TF-M will be built in the
7 background, and linked with the Zephyr non-secure application. No knowledge
8 of TF-M's build system is required in most cases, and the following will
9 build a TF-M and Zephyr image pair, and run it in qemu with no additional
12 .. code-block:: bash
14 … $ west build -p auto -b mps2/an521/cpu0/ns samples/tfm_integration/psa_protected_storage/ -t run
18 deal with signing the secure and non-secure images before deploying them.
20 Images Created by the TF-M Build
23 The TF-M build system creates the following executable files:
[all …]
/Zephyr-latest/tests/subsys/lorawan/frag_decoder/src/
Dfrag_encoder.c5 * SPDX-License-Identifier: Apache-2.0
9 * Implementation of the fragment encoding algorithm described in the LoRaWAN TS004-1.0.0.
10 * https://lora-alliance.org/wp-content/uploads/2020/11/fragmented_data_block_transport_v1.0.0.pdf
12 * Note: This algorithm is not compatible with TS004-2.0.0, which has some subtle differences
17 * M: Number of uncoded fragments (original data)
19 * CR: Coding ratio M/N
47 * @param m Total number of uncoded fragments (M)
49 * @param vec Output vector (buffer size must be greater than m)
51 void lorawan_fec_parity_matrix_vector(int m, int n, uint8_t *vec) in lorawan_fec_parity_matrix_vector() argument
55 memset(vec, 0, m); in lorawan_fec_parity_matrix_vector()
[all …]
/Zephyr-latest/lib/posix/options/
Dmutex.c5 * SPDX-License-Identifier: Apache-2.0
44 static inline size_t posix_mutex_to_offset(struct k_mutex *m) in posix_mutex_to_offset() argument
46 return m - posix_mutex_pool; in posix_mutex_to_offset()
84 struct k_mutex *m; in to_posix_mutex() local
100 m = &posix_mutex_pool[bit]; in to_posix_mutex()
102 err = k_mutex_init(m); in to_posix_mutex()
105 return m; in to_posix_mutex()
110 int type = -1; in acquire_mutex()
111 size_t bit = -1; in acquire_mutex()
113 size_t lock_count = -1; in acquire_mutex()
[all …]
/Zephyr-latest/subsys/bluetooth/controller/ll_sw/nordic/hal/nrf5/
Dticker.c2 * Copyright (c) 2016-2018 Nordic Semiconductor ASA
5 * SPDX-License-Identifier: Apache-2.0
62 static struct mayfly m = {0, 0, &link, NULL, in hal_ticker_instance0_sched() local
65 m.param = instance; in hal_ticker_instance0_sched()
71 &m); in hal_ticker_instance0_sched()
86 static struct mayfly m = {0, 0, &link, NULL, in hal_ticker_instance0_sched() local
89 m.param = instance; in hal_ticker_instance0_sched()
94 &m); in hal_ticker_instance0_sched()
109 static struct mayfly m = {0, 0, &link, NULL, in hal_ticker_instance0_sched() local
112 m.param = instance; in hal_ticker_instance0_sched()
[all …]
/Zephyr-latest/subsys/bluetooth/controller/ll_sw/openisa/hal/RV32M1/
Dticker.c2 * Copyright (c) 2016-2018 Nordic Semiconductor ASA
5 * SPDX-License-Identifier: Apache-2.0
63 static struct mayfly m = {0, 0, &link, NULL, in hal_ticker_instance0_sched() local
66 m.param = instance; in hal_ticker_instance0_sched()
72 &m); in hal_ticker_instance0_sched()
88 static struct mayfly m = {0, 0, &link, NULL, in hal_ticker_instance0_sched() local
91 m.param = instance; in hal_ticker_instance0_sched()
96 &m); in hal_ticker_instance0_sched()
111 static struct mayfly m = {0, 0, &link, NULL, in hal_ticker_instance0_sched() local
114 m.param = instance; in hal_ticker_instance0_sched()
[all …]
/Zephyr-latest/include/zephyr/sys/
Dutil_internal.h2 * Copyright (c) 2011-2014, Wind River Systems, Inc.
5 * SPDX-License-Identifier: Apache-2.0
32 * two-argument tuple to the preprocessor only in the case where the
34 * ENABLED: _YYYY, <--- note comma!
75 /* reference: https://gustedt.wordpress.com/2010/06/08/detect-empty-macro-arguments/ */
145 #define MACRO_MC_1(m, a, ...) m(a) argument
146 #define MACRO_MC_2(m, a, ...) UTIL_CAT(m(a), MACRO_MC_1(m, __VA_ARGS__,)) argument
147 #define MACRO_MC_3(m, a, ...) UTIL_CAT(m(a), MACRO_MC_2(m, __VA_ARGS__,)) argument
148 #define MACRO_MC_4(m, a, ...) UTIL_CAT(m(a), MACRO_MC_3(m, __VA_ARGS__,)) argument
149 #define MACRO_MC_5(m, a, ...) UTIL_CAT(m(a), MACRO_MC_4(m, __VA_ARGS__,)) argument
[all …]
/Zephyr-latest/samples/sensor/accel_trig/
DREADME.rst1 .. zephyr:code-sample:: accel_trig
9 This sample application demonstrates how to use 3-Axis accelerometers with triggers.
14 .. code-block:: devicetree
24 .. zephyr-app-commands::
25 :zephyr-app: samples/sensor/accel_trig
33 .. code-block:: console
35 fxos8700@1d [m/s^2]: ( -0.153229, -0.057461, 9.931148)
36 fxos8700@1d [m/s^2]: ( -0.153229, -0.057461, 9.931148)
37 fxos8700@1d [m/s^2]: ( -0.143653, -0.057461, 9.921571)
38 fxos8700@1d [m/s^2]: ( -0.153229, -0.067038, 9.931148)
[all …]
/Zephyr-latest/subsys/bluetooth/crypto/
Dbt_crypto.c2 * SPDX-License-Identifier: Apache-2.0
22 uint8_t m[65]; in bt_crypto_f4() local
30 * U, V and Z are concatenated and used as input m to the function in bt_crypto_f4()
31 * AES-CMAC and X is used as the key k. in bt_crypto_f4()
38 sys_memcpy_swap(m, u, 32); in bt_crypto_f4()
39 sys_memcpy_swap(m + 32, v, 32); in bt_crypto_f4()
40 m[64] = z; in bt_crypto_f4()
44 err = bt_crypto_aes_cmac(xs, m, sizeof(m), res); in bt_crypto_f4()
61 uint8_t m[53] = {0x00, /* counter */ in bt_crypto_f5() local
86 sys_memcpy_swap(m + 5, n1, 16); in bt_crypto_f5()
[all …]
/Zephyr-latest/scripts/utils/
Dmigrate_sys_init.py11 -p path/to/zephyr-based-project
14 SPDX-License-Identifier: Apache-2.0
32 m = re.match(r"^SYS_INIT\(([A-Za-z0-9_]+),.*", line)
33 if m:
34 sys_inits.append(m.group(1))
37 m = re.match(r"^SYS_INIT_NAMED\([A-Za-z0-9_]+,\s?([A-Za-z0-9_]+).*", line)
38 if m:
39 sys_inits.append(m.group(1))
50 m = re.match(
56 if m:
[all …]
/Zephyr-latest/cmake/toolchain/llvm/
Dtarget.cmake1 # SPDX-License-Identifier: Apache-2.0
11 # ARMv8-M mainline is ARMv7-M with additional features from ARMv8-M.
12 set(triple armv8m.main-none-eabi)
14 # ARMv8-M baseline is ARMv6-M with additional features from ARMv8-M.
15 set(triple armv8m.base-none-eabi)
17 # ARMV7_M_ARMV8_M_MAINLINE means that ARMv7-M or backward compatible ARMv8-M
19 set(triple armv7m-none-eabi)
21 # ARMV6_M_ARMV8_M_BASELINE means that ARMv6-M or ARMv8-M supporting the
23 set(triple armv6m-none-eabi)
26 set(triple arm-none-eabi)
[all …]

12345678910>>...42