/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 …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 29 … 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 …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 29 … [all …]
|
/Zephyr-latest/subsys/net/l2/ieee802154/ |
D | ieee802154_6lo.h | 9 * @brief 802.15.4 6LoWPAN adaptation layer 25 uint8_t hdr_diff; /* 6lo header size reduction due to compression in bytes */ 30 * @brief Decode and reassemble 6LoWPAN packets to IPv6 as per RFC 6282 32 * @details Decompress and (if fragmented) reassemble 6LoWPAN packets for 35 * @param iface A valid pointer on the network interface the package was 37 * @param pkt A valid pointer on a 6LoWPAN compressed packet to receive 46 * @brief Encode IPv6 packates to 6LoWPAN 802.15.4 as per RFC 6282 51 * @param iface A valid pointer on the network interface the package is 53 * @param pkt A valid pointer on a non-compressed IPv6 packet 54 * @param frag_ctx A valid pointer on a fragmentation context. [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/tests/bsim/bluetooth/host/gatt/settings/test_scripts/ |
D | run_gatt_settings.sh | 22 # Only one `server` device is really running at a time. This is a necessary hack 23 # because bsim doesn't support plugging devices in and out of a running 24 # simulation, but this test needs a way to power-cycle the `server` device a few 30 -s="${simulation_id}" -d=0 -testid=server -RealEncryption=1 -argstest 0 6 "server" 32 -s="${simulation_id}" -d=1 -testid=server -RealEncryption=1 -argstest 1 6 "server" 34 -s="${simulation_id}" -d=2 -testid=server -RealEncryption=1 -argstest 2 6 "server" 36 -s="${simulation_id}" -d=3 -testid=server -RealEncryption=1 -argstest 3 6 "server" 38 -s="${simulation_id}" -d=4 -testid=server -RealEncryption=1 -argstest 4 6 "server" 40 -s="${simulation_id}" -d=5 -testid=server -RealEncryption=1 -argstest 5 6 "server" 42 -s="${simulation_id}" -d=6 -testid=server -RealEncryption=1 -argstest 6 6 "server"
|
D | run_gatt_settings_2.sh | 22 # Only one `server` device is really running at a time. This is a necessary hack 23 # because bsim doesn't support plugging devices in and out of a running 24 # simulation, but this test needs a way to power-cycle the `server` device a few 30 -s="${simulation_id}" -d=0 -testid=server -RealEncryption=1 -argstest 0 6 "server_2" 32 -s="${simulation_id}" -d=1 -testid=server -RealEncryption=1 -argstest 1 6 "server_2" 34 -s="${simulation_id}" -d=2 -testid=server -RealEncryption=1 -argstest 2 6 "server_2" 36 -s="${simulation_id}" -d=3 -testid=server -RealEncryption=1 -argstest 3 6 "server_2" 38 -s="${simulation_id}" -d=4 -testid=server -RealEncryption=1 -argstest 4 6 "server_2" 40 -s="${simulation_id}" -d=5 -testid=server -RealEncryption=1 -argstest 5 6 "server_2" 42 -s="${simulation_id}" -d=6 -testid=server -RealEncryption=1 -argstest 6 6 "server_2"
|
/Zephyr-latest/include/zephyr/drivers/usb_c/ |
D | usbc_pd.h | 31 * @brief Maximum length of a non-Extended Message in bytes. 32 * See Table 6-75 Value Parameters 39 * See Table 6-75 Value Parameters 45 * @brief Maximum length of a Chunked Message in bytes. 48 * then the Protocol Layer supports a Chunking mechanism to 51 * See Table 6-75 Value Parameters 57 * @name USB PD 3.1 Rev 1.6, Table 6-70 Counter Parameters 63 * Messages which have been sent by a Source at power up or after a 71 * is no response from the remote device (see Section 6.6.6) 79 * @name USB PD 3.1 Rev 1.6, Table 6-68 Time Values [all …]
|
/Zephyr-latest/tests/lib/cmsis_dsp/filtering/src/ |
D | misc_f32.c | 17 #define REL_ERROR_THRESH (1.0e-6) 19 #define REL_ERROR_THRESH_LD (1.0e-6) 20 #define ABS_ERROR_THRESH_LD (1.0e-6) 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)) 75 DEFINE_CORRELATE_TEST(6, 1); 76 DEFINE_CORRELATE_TEST(6, 2); 77 DEFINE_CORRELATE_TEST(6, 3); [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)) 71 DEFINE_CORRELATE_TEST(6, 1); 72 DEFINE_CORRELATE_TEST(6, 2); 73 DEFINE_CORRELATE_TEST(6, 3); 74 DEFINE_CORRELATE_TEST(6, 8); 75 DEFINE_CORRELATE_TEST(6, 11); 128 #define DEFINE_CONV_TEST(a, b) \ argument [all …]
|
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)) 67 DEFINE_CORRELATE_TEST(6, 1); 68 DEFINE_CORRELATE_TEST(6, 2); 69 DEFINE_CORRELATE_TEST(6, 3); 70 DEFINE_CORRELATE_TEST(6, 8); 71 DEFINE_CORRELATE_TEST(6, 11); 132 #define DEFINE_CONV_TEST(a, b) \ 134 arm_conv_f16, a##_##b, a, b, \ [all …]
|
/Zephyr-latest/samples/net/cloud/aws_iot_mqtt/ |
D | README.rst | 13 - Acquiring a DHCPv4 lease 15 - Establishing a TLS 1.2 connection with AWS IoT Core servers 16 - Subscribing to a topic on AWS IoT Core 34 QEMU x86 target. A valid certificate and private key are required to 35 authenticate to the AWS IoT Core. The sample includes a script to convert 38 Register a *thing* in AWS IoT Core and download the certificate and private key. 47 console. This will be specific if running a test suite using device advisor. 70 ``zephyr_sample/data`` topic, and publish a payload to the ``zephyr_sample/downlink`` 91 7b 22 63 6f 75 6e 74 65 72 22 3a 30 7d |{"counte r":0} 95 7b 0a 20 20 22 6d 65 73 73 61 67 65 22 3a 20 22 |{. "mes sage": " [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', 45 '6', '6', '6', '6', '7', '7', '7', '7', '7', '8', '8', '8', '8', 48 '4', '4', '4', '4', '4', '5', '5', '5', '5', '5', '6', '6', '6', 49 '6', '6', '7', '7', '7', '7', '7', '8', '8', '8', '8', '8', '9', 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', 60 '5', '5', '5', '5', '6', '6', '6', '6', '6', '7', '7', '7', '7', [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/samples/tfm_integration/tfm_psa_test/ |
D | README.rst | 13 This sample is supported for platforms that have a port in psa-arch-tests. 14 See sample.yaml for a list of supported platforms. 19 You must choose a suite via the CONFIG_TFM_PSA_TEST_* configs. 21 Only one of these suites can be run at a time, with the test suite set via one 30 You can indicate the desired test suite at build time via a config flag: 71 [Check 1] Call get API for UID 6 which is not set 72 [Check 2] Call get_info API for UID 6 which is not set 73 [Check 3] Call remove API for UID 6 which is not set 74 [Check 4] Call get API for UID 6 which is removed 75 [Check 5] Call get_info API for UID 6 which is removed [all …]
|
/Zephyr-latest/dts/bindings/gpio/ |
D | digilent,pmod.yaml | 5 GPIO pins exposed on a Digilent Pmod interface. 7 This binding provides a nexus mapping for 8 pins where parent pins 0 9 correspond to IO5 through IO8, as depicted below for a 12-pin connector. 15 2 IO3 IO7 6 20 This binding can also be used with the 6-pin Pmod connector variant which 21 is a proper subset of the 12-pin connector. In that case parent pins 4 22 through 7 are omitted from the GPIO nexus node, resulting in a mapping 25 6-pin Pmod interface:
|
/Zephyr-latest/dts/arm/nuvoton/npcx/npcx7/ |
D | npcx7-miwus-wui-map.dtsi | 17 /* MIWU group A */ 18 wui_cr_sin2: wui0-1-6-2 { 19 miwus = <&miwu0 0 6>; /* CR_SIN2 */ 22 /* MIWU group A */ 23 wui_io86: wui0-1-6 { 24 miwus = <&miwu0 0 6>; /* GPIO86 */ 28 wui_iod7: wui0-7-6 { 29 miwus = <&miwu0 6 6>; /* GPIOD7 */
|
/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 46 * - 6: 6 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/boards/cypress/cy8ckit_062_wifi_bt/doc/ |
D | index.rst | 3 INFINEON PSOC 6 WiFi-BT Pioneer Kit 9 The PSOC 6 WiFi-BT Pioneer Kit (CY8CKIT-062-WiFi-BT) is a low-cost hardware 13 The PSOC 6 WiFi-BT Pioneer Kit features the PSOC 62 MCU: a 14 dual-core MCU, with a 150-MHz Arm Cortex-M4 as the primary application 15 processor and a 100-MHz Arm Cortex-M0+ that supports low-power operations, 17 56 programmable digital blocks, Full-Speed USB, a serial memory interface, 18 a PDM-PCM digital microphone interface, and industry-leading capacitive-sensing 21 The PSOC 6 WiFi-BT Pioneer board offers compatibility with Arduino shields. 23 The Cortex-M0+ is a primary core on the board's SoC. It starts first and 35 6. KitProg2 I/O header (J6)1 [all …]
|
/Zephyr-latest/samples/sensor/6dof_motion_drdy/ |
D | README.rst | 1 .. zephyr:code-sample:: 6dof_motion_drdy 2 :name: Generic 6DOF Motion Dataready 5 Get 6-Axis accelerometer and gyroscope data from a sensor (data ready interrupt mode). 10 This sample application periodically (100 Hz) measures the 6-axis IMU sensor with 12 values on the console along with a timestamp since startup. 18 This sample uses an external breakout for the sensor. A devicetree 19 overlay must be provided to identify the 6-axis motion sensor, the SPI or I2C bus interface and the… 25 This sample supports up to 6-Axis IMU devices. Each device needs 26 to be aliased as ``6dof-motion-drdyN`` where ``N`` goes from ``0`` to ``9``. For example: 32 6dof-motion-drdy0 = &icm42670p; [all …]
|
/Zephyr-latest/include/zephyr/drivers/ |
D | sensor_data_types.h | 34 * Data for a sensor channel which reports on three axes. This is used by: 69 #define PRIsensor_three_axis_data PRIu64 "ns, (%" PRIq(6) ", %" PRIq(6) ", %" PRIq(6) ")" 73 PRIq_arg((data_).readings[(readings_offset_)].x, 6, (data_).shift), \ 74 PRIq_arg((data_).readings[(readings_offset_)].y, 6, (data_).shift), \ 75 PRIq_arg((data_).readings[(readings_offset_)].z, 6, (data_).shift) 78 * Data for a sensor channel which reports game rotation vector data. This is used by: 100 "ns, (%" PRIq(6) ", %" PRIq(6) ", %" PRIq(6) ", %" PRIq(6) ")" 104 PRIq_arg((data_).readings[(readings_offset_)].x, 6, (data_).shift), \ 105 PRIq_arg((data_).readings[(readings_offset_)].y, 6, (data_).shift), \ 106 PRIq_arg((data_).readings[(readings_offset_)].z, 6, (data_).shift), \ [all …]
|
/Zephyr-latest/doc/connectivity/bluetooth/shell/audio/ |
D | bap_broadcast_assistant.rst | 6 removed to make this shorter and provide a better overview. 8 The Broadcast Assistant is responsible for offloading scan for a resource 22 and a device has been connected, the Broadcast Assistant can discover BASS on 24 will start a discovery for the BASS UUIDs and store the handles, and 36 add_src : Add a source <address: XX:XX:XX:XX:XX:XX> <type: 39 add_broadcast_id : Add a source by broadcast ID <broadcast_id> <sync_pa> 41 add_pa_sync : Add a PA sync as a source <sync_pa> <broadcast_id> 45 broadcast_code : Send a string-based broadcast code of up to 16 bytes 47 rem_src : Remove a source <src_id> 48 read_state : Remove a source <index> [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/drivers/sensor/ina237/src/ |
D | ina237_test.c | 52 double shunt_cal = 819.2e6 * fixture->current_lsb_uA * 1e-6 * fixture->rshunt_uOhms * 1e-6; in test_shunt_cal() 86 double current_expected_A = fixture->current_lsb_uA * 1e-6 * current_register; in test_current() 96 zexpect_within(current_expected_A, current_actual_A, fixture->current_lsb_uA*1e-6, in test_current() 97 "Expected %.6f A, got %.6f A", current_expected_A, current_actual_A); in test_current() 128 zexpect_within(voltage_expected_V, voltage_actual_V, 1e-6, in test_bus_voltage() 129 "Expected %.6f A, got %.6f A", voltage_expected_V, voltage_actual_V); in test_bus_voltage() 151 double power_expected_W = 0.2 * fixture->current_lsb_uA * 1e-6 * power_register; in test_power() 161 zexpect_within(power_expected_W, power_actual_W, 1e-6, in test_power() 162 "Expected %.6f C, got %.6f C", power_expected_W, power_actual_W); in test_power() 196 "Expected %.6f A, got %.6f A", temp_expected_degC, temp_actual_degC); in test_temperature() [all …]
|
/Zephyr-latest/tests/drivers/sensor/ina230/src/ |
D | ina230_test.c | 78 zexpect_within(11.98, actual, 1.25e-3, "Expected 11.98 V, got %.6f V", actual); in test_datasheet_example() 82 zexpect_within(10.0, actual, 1e-3, "Expected 10 A, got %.6f V", actual); in test_datasheet_example() 86 zexpect_within(119.82, actual, 25e-3, "Expected 119.82 W, got %.6f W", actual); in test_datasheet_example() 96 /* Confirm SHUNT_CAL register which is 5120e-6 / Current_LSB * Rshunt */ in test_shunt_cal() 97 double shunt_cal = 5120e-6 / (fixture->current_lsb_uA * 1e-6 * in test_shunt_cal() 98 fixture->rshunt_uOhms * 1e-6); in test_shunt_cal() 127 double current_expected_A = fixture->current_lsb_uA * 1e-6 * current_register; in test_current() 137 zexpect_within(current_expected_A, current_actual_A, fixture->current_lsb_uA*1e-6, in test_current() 138 "Expected %.6f A, got %.6f A", current_expected_A, current_actual_A); in test_current() 171 zexpect_within(voltage_expected_V, voltage_actual_V, 1e-6, in test_bus_voltage() [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> 24 <Feature>GAP 37b/6</Feature> 29 <Feature>GAP 30a/1</Feature> 36 <Feature>GAP 20A/15</Feature> 37 <Feature>GAP 20A/3</Feature> [all …]
|