/Zephyr-latest/samples/subsys/nvs/ |
D | sample.yaml | 19 - "Id: 5, Longarray: 0 1 2 3 4 5 6 7 8 9 a b c d e f 10 11 12 13 14 15 16 17 18 19 1a 1b \ 20 1c 1d 1e 1f 20 21 22 23 24 25 26 27 28 29 2a 2b 2c 2d 2e 2f 30 31 32 33 34 35 36 37 38 \ 21 39 3a 3b 3c 3d 3e 3f 40 41 42 43 44 45 46 47 48 49 4a 4b 4c 4d 4e 4f 50 51 52 53 54 55 \ 22 56 57 58 59 5a 5b 5c 5d 5e 5f 60 61 62 63 64 65 66 67 68 69 6a 6b 6c 6d 6e 6f 70 71 72 \ 23 73 74 75 76 77 78 79 7a 7b 7c 7d 7e 7f"
|
/Zephyr-latest/samples/subsys/fs/zms/ |
D | README.rst | 14 #. A string representing an IP address: stored at id=1, data="192.168.1.1" 15 #. A binary blob representing a key/value pair: stored at id=0xbeefdead, 17 #. A variable (32bit): stored at id=2, data=cnt 18 #. A long set of data (128 bytes) 20 A loop is executed where we mount the storage system, and then write all set 30 * A board with flash support or native_sim target 45 After running the generated image on a native_sim target, the output on the console shows the 72 …5 6 7 8 9 a b c d e f 10 11 12 13 14 15 16 17 18 19 1a 1b 1c 1d 1e 1f 20 21 22 23 24 25 26 27 28 2… 73 …4 55 56 57 58 59 5a 5b 5c 5d 5e 5f 60 61 62 63 64 65 66 67 68 69 6a 6b 6c 6d 6e 6f 70 71 72 73 74 … 91 …5 6 7 8 9 a b c d e f 10 11 12 13 14 15 16 17 18 19 1a 1b 1c 1d 1e 1f 20 21 22 23 24 25 26 27 28 2… [all …]
|
/Zephyr-latest/tests/bluetooth/addr/src/ |
D | test_bt_addr_le_eq.c | 12 bt_addr_le_t a = {.type = 0, .a = {{0, 0, 0, 0, 0, 0}}}; in ZTEST() local 13 bt_addr_le_t b = a; in ZTEST() 15 zassert_true(bt_addr_le_eq(&a, &b)); in ZTEST() 20 bt_addr_le_t a = {.type = 1, .a = {{1, 2, 3, 4, 5, 6}}}; in ZTEST() local 21 bt_addr_le_t b = a; in ZTEST() 23 zassert_true(bt_addr_le_eq(&a, &b)); in ZTEST() 28 bt_addr_le_t a = {.type = 0, .a = {{1, 2, 3, 4, 5, 6}}}; in ZTEST() local 29 bt_addr_le_t b = a; in ZTEST() 31 zassume_true(bt_addr_le_eq(&a, &b)); in ZTEST() 32 a.type = 1; in ZTEST() [all …]
|
/Zephyr-latest/include/zephyr/dt-bindings/gpio/ |
D | digilent-pmod.h | 38 * @brief IO[n] signal on a Pmod GPIO nexus node following 39 * Pmod Interface Type 1 or 1A (GPIO or expanded GPIO) 48 * @brief SPI CS signal index on a Pmod GPIO nexus node. 54 * @brief SPI MOSI signal index on a Pmod GPIO nexus node. 60 * @brief SPI MISO signal index on a Pmod GPIO nexus node. 66 * @brief SPI SCK signal index on a Pmod GPIO nexus node. 74 * @brief SPI CS signal index on a Pmod GPIO nexus node. 75 * Used with Pmod Interface Type 2A (expanded SPI) peripherals. 80 * @brief SPI MOSI signal index on a Pmod GPIO nexus node. 81 * Used with Pmod Interface Type 2A (expanded SPI) peripherals. [all …]
|
/Zephyr-latest/tests/ztest/zexpect/src/ |
D | main.c | 19 uint32_t val = 5; in ZTEST() 22 zexpect_not_equal(val, 5); in ZTEST() 59 zexpect_ok(5); in ZTEST() 103 zexpect_equal(5, 5); in ZTEST() 109 zexpect_equal(5, 1); in ZTEST() 114 zexpect_not_equal(5, 1); in ZTEST() 120 zexpect_not_equal(5, 5); in ZTEST() 126 int *a = &v; in ZTEST() local 129 zexpect_equal_ptr(a, b); in ZTEST() 136 int *a = &v; in ZTEST() local [all …]
|
/Zephyr-latest/tests/bsim/bluetooth/ll/edtt/gatt_test_app/src/gatt/ |
D | service_a_1.c | 2 * Copyright (c) 2019 Oticon A/S 7 * @brief Service A 22 * @brief UUID for the Service A 44 '3', '3', '4', '4', '4', '4', '4', '5', '5', '5', '5', '5', '6', 48 '4', '4', '4', '4', '4', '5', '5', '5', '5', '5', '6', '6', '6', 52 '4', '4', '4', '5', '5', '5', '5', '5', '6', '6', '6', '6', '6', 56 '4', '5', '5', '5', '5', '5', '6', '6', '6', '6', '6', '7', '7', 59 '2', '2', '3', '3', '3', '3', '3', '4', '4', '4', '4', '4', '5', 60 '5', '5', '5', '5', '6', '6', '6', '6', '6', '7', '7', '7', '7', 63 '3', '3', '3', '3', '3', '4', '4', '4', '4', '4', '5', '5', '5', [all …]
|
D | service_c_2_2.c | 2 * Copyright (c) 2019 Oticon A/S 39 '3', '3', '4', '4', '4', '4', '4', '5', '\0' 43 '4', '4', '5', '5', '5', '5', '5', '6', '6', '\0' 46 '3', '3', '3', '3', '3', '4', '4', '4', '4', '4', '5', '5', '5', 47 '5', '5', '6', '6', '6', '6', '6', '7', '7', '7', '\0' 51 '3', '3', '4', '4', '4', '4', '4', '5', '5', '5', '5', '5', '6', 57 '4', '4', '5', '5', '5', '5', '5', '6', '6', '6', '6', '6', '7', 62 '3', '3', '3', '3', '3', '4', '4', '4', '4', '4', '5', '5', '5', 63 '5', '5', '6', '6', '6', '6', '6', '7', '7', '7', '7', '7', '8', 78 * with a specific ATT error code. [all …]
|
D | service_c_2_3.c | 2 * Copyright (c) 2019 Oticon A/S 39 '3', '3', '4', '4', '4', '4', '4', '5', '\0' 43 '4', '4', '5', '5', '5', '5', '5', '6', '6', '\0' 46 '3', '3', '3', '3', '3', '4', '4', '4', '4', '4', '5', '5', '5', 47 '5', '5', '6', '6', '6', '6', '6', '7', '7', '7', '\0' 51 '3', '3', '4', '4', '4', '4', '4', '5', '5', '5', '5', '5', '6', 57 '4', '4', '5', '5', '5', '5', '5', '6', '6', '6', '6', '6', '7', 62 '3', '3', '3', '3', '3', '4', '4', '4', '4', '4', '5', '5', '5', 63 '5', '5', '6', '6', '6', '6', '6', '7', '7', '7', '7', '7', '8', 78 * with a specific ATT error code. [all …]
|
/Zephyr-latest/include/zephyr/net/ |
D | wifi_utils.h | 38 * @brief Convert a band specification string to a bitmap representing the bands. 40 * @details The function will parse a string which specifies Wi-Fi frequency band 41 * values as a comma separated string and convert it to a bitmap. The string can 45 * - 5: 5 GHz 51 * E.g. a string "2,5,6" will be converted to a bitmap value of 0x7 63 * @brief Append a string containing an SSID to an array of SSID strings. 78 * @brief Convert a string containing a specification of scan channels to an array. 80 * @details The function will parse a string which specifies channels to be scanned 81 * as a string and convert it to an array. 85 * - A colon identifies the value preceding it as a band. A band value [all …]
|
/Zephyr-latest/samples/subsys/zbus/priority_boost/ |
D | README.rst | 5 Illustrates zbus priority boost feature with a priority inversion scenario. 9 This sample implements a simple application that illustrates the priority boost feature. The 11 execution sequence presents a priority inversion problem, which may not affect much of the 32 The developer must use the :c:func:`zbus_obs_attach_to_thread` function to ensure a proper 62 I: 0 -> T1: prio before 5 63 I: 0 ---> L1: T1 prio 5 64 I: 0 -> MS1: T1 prio 5 65 I: 0 -> MS2: T1 prio 5 66 I: 0 ---> L2: T1 prio 5 67 I: 0 -> T1: prio after 5 [all …]
|
/Zephyr-latest/tests/lib/cmsis_dsp/filtering/src/ |
D | misc_f16.c | 52 #define DEFINE_CORRELATE_TEST(a, b) \ argument 54 arm_correlate_f16, a##_##b, a, b, \ 55 ref_correlate_##a##_##b, ARRAY_SIZE(ref_correlate_##a##_##b)) 62 DEFINE_CORRELATE_TEST(5, 1); 63 DEFINE_CORRELATE_TEST(5, 2); 64 DEFINE_CORRELATE_TEST(5, 3); 65 DEFINE_CORRELATE_TEST(5, 8); 66 DEFINE_CORRELATE_TEST(5, 11); 132 #define DEFINE_CONV_TEST(a, b) \ 134 arm_conv_f16, a##_##b, a, b, \ [all …]
|
D | misc_f32.c | 18 #define ABS_ERROR_THRESH (1.0e-5) 29 * the output buffer is offset by a few elements to prevent the in test_arm_correlate_f32() 60 #define DEFINE_CORRELATE_TEST(a, b) \ argument 62 arm_correlate_f32, a##_##b, a, b, \ 63 ref_correlate_##a##_##b, ARRAY_SIZE(ref_correlate_##a##_##b)) 70 DEFINE_CORRELATE_TEST(5, 1); 71 DEFINE_CORRELATE_TEST(5, 2); 72 DEFINE_CORRELATE_TEST(5, 3); 73 DEFINE_CORRELATE_TEST(5, 8); 74 DEFINE_CORRELATE_TEST(5, 11); [all …]
|
D | misc_q31.c | 28 * the output buffer is offset by a few elements to prevent the in test_arm_correlate_q31() 56 #define DEFINE_CORRELATE_TEST(a, b) \ argument 58 arm_correlate_q31, a##_##b, a, b, \ 59 ref_correlate_##a##_##b, ARRAY_SIZE(ref_correlate_##a##_##b)) 66 DEFINE_CORRELATE_TEST(5, 1); 67 DEFINE_CORRELATE_TEST(5, 2); 68 DEFINE_CORRELATE_TEST(5, 3); 69 DEFINE_CORRELATE_TEST(5, 8); 70 DEFINE_CORRELATE_TEST(5, 11); 128 #define DEFINE_CONV_TEST(a, b) \ argument [all …]
|
/Zephyr-latest/samples/tfm_integration/psa_crypto/ |
D | README.rst | 11 of the RTOS vendor requirements for a `PSA Certified Level 1`_ product, such 22 The sample prints test info to the console either as a single-thread or 36 - Generate/import a persistent key: secp256r1 (usage: ecdsa-with-SHA256) 38 - Calculate the SHA256 hash of a payload 45 - Generate/import a persistent key: secp256r1 (usage: ecdsa-with-SHA256) 68 This sample will only build on a Linux or macOS development system 88 1. Build Zephyr with a non-secure configuration 142 Build Zephyr with a non-secure configuration (``-DBOARD=mps2/an521/cpu0/ns``) 175 Build Zephyr with a non-secure configuration: 184 Next we need to manually flash the resulting image (``tfm_merged.bin``) with a [all …]
|
/Zephyr-latest/soc/nordic/common/ |
D | soc_nrf_common.h | 19 * @brief Get a PSEL value out of a foo-gpios or foo-pin devicetree property 21 * Many Nordic bindings have 'foo-pin' properties to specify a pin 22 * configuration as a PSEL value directly instead of using a 'foo-gpios' 28 * To allow for a smooth migration from 'foo-pin' to 'foo-gpios', this 29 * helper macro can be used to get a PSEL value out of the devicetree 35 * - NRF_DT_GPIOS_TO_PSEL() if you only have a 'foo-gpios' 43 * to a PSEL register value first. 56 * 'node_id' has both a legacy psel-style property and a gpios 95 * @brief Convert a devicetree GPIO phandle+specifier to PSEL value 101 * Bit number 5 4 3 2 1 0 [all …]
|
/Zephyr-latest/samples/drivers/led/xec/ |
D | README.rst | 5 Control a BBLED (Breathing-Blinking LED) using Microchip XEC driver. 20 MEC172x has a fourth instance of BBLED: 41 - Connect GPIO 0156 to board LED4 by placing a wire from JP71-11 to J47-3. 42 - Make sure there are no jumpers on JP54 1-2 and JP21 4-5 45 - Connect GPIO 0156 to board LED5 by placing a wire from JP71-12 to J48-3. 49 - Connect GPIO 0153 to board LED7 by placing a wire from JP71-5 to JP146-5. 51 JP146-5 is connected to MEC172x VCI_OUT1 without a jumper. Force VCI_OUT1 53 to the VBAT rail via a 100K pull-up. Requires VBAT power rail is connected 57 - Connect GPIO 0035 to board LED7 by placing a wire from JP67-19 to JP146-1. 60 JP146-1 is connected to MEC172x VCI_OUT2 without a jumper. Force VCI_OUT2 [all …]
|
/Zephyr-latest/boards/raspberrypi/rpi_5/doc/ |
D | index.rst | 6 `Raspberry Pi 5 product-brief`_ 11 …rm Cortex-A76 CPU, with cryptography extensions, 512KB per-core L2 caches and a 2MB shared L3 cache 19 - 2 x USB 3.0 ports, supporting simultaneous 5Gbps operation 24 - 5V/5A DC power via USB-C, with Power Delivery support 32 The Raspberry Pi 5 board configuration supports the following hardware features: 41 - N/A 69 * `bcm2712-rpi-5.dtb`_ 70 3. Insert the Micro SD card and power on the Raspberry Pi 5. 72 then, You will see the Raspberry Pi 5 running the :file:`zephyr.bin`. 96 Insert the Micro SD card and power on the Raspberry Pi 5. And then, the STAT LED will start to blin… [all …]
|
/Zephyr-latest/samples/bluetooth/extended_adv/ |
D | README.rst | 13 - Demo how to gracefully restart the functionality, after a disconnect. 15 The sample consists of the advertiser initiating a connectable advertisement set, 17 Once the connection is established, the advertiser waits for 5 seconds to disconnect. 19 while the scanner cools-down for 5 seconds to restart its process. 21 This sample handles all actions in a separate thread, to promote good design 23 strongly recommended (e.g. using a work item), as re-starting an advertiser or 56 Initiating disconnect within 5 seconds... 63 Initiating disconnect within 5 seconds... 81 Disconnected, cooldown for 5 seconds! 89 Disconnected, cooldown for 5 seconds! [all …]
|
/Zephyr-latest/include/zephyr/display/ |
D | mb_display.h | 32 * @brief Representation of a BBC micro:bit display image. 45 } r[5]; 46 uint8_t row[5]; 59 /** Display images sequentially, one at a time. */ 73 * @brief Generate an image object from a given array rows/columns. 75 * This helper takes an array of 5 rows, each consisting of 5 0/1 values which 77 * disabled whereas a 1 means the pixel is enabled. 81 * and bottom-right corner is the last value of the last (5th) row. As an 82 * example, the following would create a smiley face image: 92 * @param _rows Each of the 5 rows represented as a 5-value column array. [all …]
|
/Zephyr-latest/dts/bindings/display/ |
D | led-strip-matrix.yaml | 5 Generic LED strip matrix (LED strip arranged in a grid pattern) 15 Use a circulative layout that returns to the left edge of the next row 17 If not set, turn around and go left in a serpentine layout when it reaches 22 [ 4][ 5][ 6][ 7] 28 [ 7][ 6][ 5][ 4] 37 * Start from the right with a serpentine layout 39 [ 4][ 5][ 6][ 7] 43 * Start from the right with a circulative layout 45 [ 7][ 6][ 5][ 4] 54 * Start from the bottom with a circulative layout [all …]
|
/Zephyr-latest/tests/kernel/pipe/pipe_api/src/ |
D | test_pipe_avail.c | 38 * A distinction can be made between buffered and bufferless pipes in that 40 * simultaneously return 0 for a buffered pipe, but they will both return 0 70 * |a|b|c|d|e|f|g|h| 71 * |0|1|2|3|4|5|6|7| 74 * and write 5 bytes without blocking. 78 * would read: a b c d 80 * w_avail = N - (w - r) = 5 96 zassert_equal(w_avail, 5, "write: expected: 5 actual: %u", w_avail); in ZTEST() 108 * |a|b|c|d|e|f|g|h| 109 * |0|1|2|3|4|5|6|7| [all …]
|
/Zephyr-latest/include/zephyr/bluetooth/ |
D | addr.h | 40 /** Length in bytes of a standard Bluetooth address */ 55 bt_addr_t a; member 64 /** Bluetooth device "any" address, not a valid address */ 66 /** Bluetooth device "none" address, not a valid address */ 68 /** Bluetooth LE device "any" address, not a valid address */ 70 /** Bluetooth LE device "none" address, not a valid address */ 75 * @param a First Bluetooth device address to compare 78 * @return negative value if @a a < @a b, 0 if @a a == @a b, else positive 80 static inline int bt_addr_cmp(const bt_addr_t *a, const bt_addr_t *b) in bt_addr_cmp() argument 82 return memcmp(a, b, sizeof(*a)); in bt_addr_cmp() [all …]
|
/Zephyr-latest/tests/bluetooth/qualification/ |
D | ICS_Zephyr_Bluetooth_Host.bqw | 14 <Feature>GAP 27a/6</Feature> 15 <Feature>GAP 14a/1</Feature> 16 <Feature>GAP 14a/13</Feature> 17 <Feature>GAP 8a/19</Feature> 21 <Feature>GAP 30a/3</Feature> 22 <Feature>GAP 14a/18</Feature> 27 <Feature>GAP 8/5</Feature> 29 <Feature>GAP 30a/1</Feature> 36 <Feature>GAP 20A/15</Feature> 37 <Feature>GAP 20A/3</Feature> [all …]
|
/Zephyr-latest/dts/bindings/usb-c/ |
D | usb-c-connector.yaml | 5 A USB Type-C connector node represents a physical USB Type-C connector. 6 It should be a child of a USB-C interface controller or a separate node 14 USB-C connector attached to a STM32 UCPD typec port controller, which has 97 - "1.5A" 98 - "3.0A" 101 operating as a Source. 104 * 5V@500mA for USB 2.0 105 * 5V@900mA for USB 3.2 single-lane 106 * 5V@1500mA for USB 3.2 dual-lane 107 * "1.5A" and "3.0A", 5V@1.5A and 5V@3.0A. [all …]
|
/Zephyr-latest/tests/bsim/bluetooth/mesh/src/ |
D | test_friendship.c | 95 /** Initialize as a friend and wait for the friendship to be established. 104 K_SECONDS(5)), in test_friend_est() 110 /** Initialize as a friend, and wait for multiple friendships to be established 125 K_SECONDS(5)), in test_friend_est_multi() 131 K_MSEC(POLL_TIMEOUT_MS + 5 * MSEC_PER_SEC)); in test_friend_est_multi() 139 /** As a friend, send messages to the LPN. 150 K_SECONDS(5)), in test_friend_msg() 159 ASSERT_OK_MSG(bt_mesh_test_send(bt_mesh_test_friendship_addr_get(), NULL, 5, 0, in test_friend_msg() 191 ASSERT_OK_MSG(bt_mesh_test_recv(5, cfg->addr, NULL, K_SECONDS(10)), in test_friend_msg() 194 /* Receive a segmented message from the LPN. LPN should poll for the ack in test_friend_msg() [all …]
|