/Zephyr-latest/tests/lib/c_lib/stdio/src/ |
D | main.c | 4 * SPDX-License-Identifier: Apache-2.0 30 * @brief Test for remove API 32 * @details Test deletes a file through remove API. 44 zassert_ok(remove(TEST_FILE), "Error removing file: %d\n", errno); in ZTEST() 45 zassert_equal(remove(""), -1, "Error Invalid path removed\n"); in ZTEST() 46 zassert_equal(remove(NULL), -1, "Error Invalid path removed\n"); in ZTEST()
|
/Zephyr-latest/tests/drivers/smbus/smbus_api/src/ |
D | test_smbus.c | 4 * SPDX-License-Identifier: Apache-2.0 64 /* Try to remove not existing callback */ in ZTEST() 67 zassert_equal(ret, -ENOENT, "Callback remove failed"); in ZTEST() 69 zassert_equal(ret, -ENOSYS, "Check for ENOSYS failed"); in ZTEST() 77 zassert_equal(ret, -ENOSYS, "Check for ENOSYS failed"); in ZTEST() 80 /* Remove existing callback */ in ZTEST() 83 zassert_ok(ret, "Callback remove failed"); in ZTEST() 85 zassert_equal(ret, -ENOSYS, "Check for ENOSYS failed"); in ZTEST() 109 /* Try to remove not existing callback */ in ZTEST() 112 zassert_equal(ret, -ENOENT, "Callback remove failed"); in ZTEST() [all …]
|
/Zephyr-latest/soc/intel/intel_adsp/common/ |
D | CMakeLists.txt | 3 # Copyright (c) 2020-2024 Intel Corporation 4 # SPDX-License-Identifier: Apache-2.0 33 set(KERNEL_REMAPPED ${CMAKE_BINARY_DIR}/zephyr/${KERNEL_NAME}-remapped.elf) 66 # will remove it if empty). Extract it here (which will create an 69 COMMAND ${CMAKE_OBJCOPY} -O binary --only-section=.fw_metadata 73 COMMAND ${CMAKE_COMMAND} -E 78 --only-section .imr 79 --only-section .imrdata 80 --only-section .module.boot 81 --set-section-flags .module.boot=noload,readonly [all …]
|
/Zephyr-latest/tests/bsim/bluetooth/mesh/tests_scripts/friendship/ |
D | msg_va_collision.sh | 3 # SPDX-License-Identifier: Apache-2.0 7 # Test that LPN sends only one Subscription List Add and only one Subscription List Remove message 16 # Remove messages are sent from LPN to its friend. 20 # 4.1. LPN unsubscribes from the second virtual address and sends Friend Subscription Remove message
|
/Zephyr-latest/dts/arm/nxp/ |
D | nxp_rt1010.dtsi | 4 * SPDX-License-Identifier: Apache-2.0 10 flexram,num-ram-banks = <4>; 12 flexram,bank-spec = <FLEXRAM_OCRAM>, 19 clock-frequency = <500000000>; 35 /delete-node/ arm-podf; 37 ipg-podf { 38 clock-div = <4>; 61 irq-shared-offset = <0>; 62 dma-channels = <16>; 67 /* Remove GPIO3-GPIO9, they don't exist on RT1010 */ [all …]
|
/Zephyr-latest/samples/tfm_integration/tfm_psa_test/ |
D | README.rst | 3 TF-M Platform Security Architecture Test Sample 11 The PSA tests are implemented in the psa-arch-tests repo: https://github.com/ARM-software/psa-arch-… 13 This sample is supported for platforms that have a port in psa-arch-tests. 32 .. code-block:: bash 35 -p -b mps2/an521/cpu0/ns -t run -- \ 36 -DCONFIG_TFM_PSA_TEST_STORAGE=y 43 Refer to :zephyr:code-sample:`tfm_ipc` for detailed instructions. 48 Refer to :zephyr:code-sample:`tfm_ipc` for detailed instructions. 51 .. code-block:: bash 53 …$ west build samples/tfm_integration/tfm_psa_test/ -p -b mps2/an521/cpu0/ns -t run -- -DCONFIG_TFM… [all …]
|
/Zephyr-latest/tests/drivers/gpio/gpio_basic_api/boards/ |
D | mec15xxevb_assy6853.overlay | 5 * SPDX-License-Identifier: Apache-2.0 10 compatible = "test-gpio-basic-api"; 13 * Remove jumpers on JP31 to disconnect pull-up resistor. 14 * Also remove jumpers on JP41 (1-2, 3-4) as the LEDs 15 * are connected to pull-up resistors also. 17 in-gpios = <MCHP_GPIO_DECODE_156 0>; /* GPIO_156, JP31 Pin 13 */ 18 out-gpios = <MCHP_GPIO_DECODE_157 0>; /* GPIO_157, JP31 Pin 15 */
|
/Zephyr-latest/tests/benchmarks/wait_queues/src/ |
D | main.c | 4 * SPDX-License-Identifier: Apache-2.0 10 * to add and remove threads from a wait queue that holds a varying number of 12 * thread. As these dummy threads are inherently non-executable, this helps 85 /* Remove from head of wait queue */ in test_decreasing_priority() 108 &dummy_thread[num_threads - i - 1]; in test_increasing_priority() 115 /* Remove from tail of wait queue */ in test_increasing_priority() 120 &dummy_thread[num_threads - i - 1]; in test_increasing_priority() 173 diff = (average > tmp) ? (average - tmp) : (tmp - average); in compute_and_report_stats() 186 stag_len = (tag_len + stag_len < 40) ? 40 - tag_len : stag_len; in compute_and_report_stats() 187 sdescr_len = (descr_len + sdescr_len < 50) ? 50 - descr_len : sdescr_len; in compute_and_report_stats() [all …]
|
/Zephyr-latest/tests/net/lib/dns_addremove/src/ |
D | main.c | 4 * SPDX-License-Identifier: Apache-2.0 85 struct net_if_test *data = dev->data; in net_iface_get_mac() 87 if (data->mac_addr[2] == 0x00) { in net_iface_get_mac() 88 /* 00-00-5E-00-53-xx Documentation RFC 7042 */ in net_iface_get_mac() 89 data->mac_addr[0] = 0x00; in net_iface_get_mac() 90 data->mac_addr[1] = 0x00; in net_iface_get_mac() 91 data->mac_addr[2] = 0x5E; in net_iface_get_mac() 92 data->mac_addr[3] = 0x00; in net_iface_get_mac() 93 data->mac_addr[4] = 0x53; in net_iface_get_mac() 94 data->mac_addr[5] = sys_rand8_get(); in net_iface_get_mac() [all …]
|
/Zephyr-latest/scripts/ |
D | gen_gcov_files.py | 5 # SPDX-License-Identifier: Apache-2.0 33 # Remove the leading delimiter "*" 35 # Remove the trailing new line char 36 hex_dump = line.split("<")[1][:-1] 53 filename = filename[:-4] + "gcno" 55 os.remove(filename) 69 parser.add_argument("-i", "--input", required=True, 71 parser.add_argument("-v", "--verbose", action="count", default=0,
|
/Zephyr-latest/tests/bsim/bluetooth/mesh/tests_scripts/large_comp_data/ |
D | get_metadata_split.sh | 3 # SPDX-License-Identifier: Apache-2.0 14 # 3. When the server status arrive, remove status field data and compare 17 # 5. When the server status arrive, remove status field data and compare
|
D | get_comp128_data_split.sh | 3 # SPDX-License-Identifier: Apache-2.0 15 # 3. When server status arrive, remove status field data and compare received 18 # 5. When server status arrive, remove status field data and compare received 24 lcd_srv_comp_data_status_respond lcd_cli_split_comp_data_request -- -argstest page=128 28 lcd_srv_comp_data_status_respond lcd_cli_split_comp_data_request -- -argstest page=128
|
D | get_comp129_data_split.sh | 3 # SPDX-License-Identifier: Apache-2.0 15 # 3. When server status arrive, remove status field data and compare received 18 # 5. When server status arrive, remove status field data and compare received 24 lcd_srv_comp_data_status_respond lcd_cli_split_comp_data_request -- -argstest page=129 28 lcd_srv_comp_data_status_respond lcd_cli_split_comp_data_request -- -argstest page=129
|
D | get_comp130_data_split.sh | 3 # SPDX-License-Identifier: Apache-2.0 15 # 3. When server status arrive, remove status field data and compare received 18 # 5. When server status arrive, remove status field data and compare received 24 lcd_srv_comp_data_status_respond lcd_cli_split_comp_data_request -- -argstest page=130 28 lcd_srv_comp_data_status_respond lcd_cli_split_comp_data_request -- -argstest page=130
|
D | get_comp2_data_split.sh | 3 # SPDX-License-Identifier: Apache-2.0 15 # 3. When server status arrive, remove status field data and compare received 18 # 5. When server status arrive, remove status field data and compare received 24 lcd_srv_comp_data_status_respond lcd_cli_split_comp_data_request -- -argstest page=2 28 lcd_srv_comp_data_status_respond lcd_cli_split_comp_data_request -- -argstest page=2
|
D | get_comp0_data_split.sh | 3 # SPDX-License-Identifier: Apache-2.0 15 # 3. When server status arrive, remove status field data and compare received 18 # 5. When server status arrive, remove status field data and compare received 24 lcd_srv_comp_data_status_respond lcd_cli_split_comp_data_request -- -argstest page=0 28 lcd_srv_comp_data_status_respond lcd_cli_split_comp_data_request -- -argstest page=0
|
D | get_comp1_data_split.sh | 3 # SPDX-License-Identifier: Apache-2.0 15 # 3. When server status arrive, remove status field data and compare received 18 # 5. When server status arrive, remove status field data and compare received 24 lcd_srv_comp_data_status_respond lcd_cli_split_comp_data_request -- -argstest page=1 28 lcd_srv_comp_data_status_respond lcd_cli_split_comp_data_request -- -argstest page=1
|
D | get_comp0_data_split_dfu.sh | 3 # SPDX-License-Identifier: Apache-2.0 16 # 3. When server status arrive, remove status field data and compare received 19 # 5. When server status arrive, remove status field data and compare received 26 lcd_cli_split_comp_data_request -- -argstest page=0 comp-changed-mode=1 31 lcd_cli_split_comp_data_request -- -argstest page=0 comp-changed-mode=1
|
D | get_comp128_data_split_dfu.sh | 3 # SPDX-License-Identifier: Apache-2.0 16 # 3. When server status arrive, remove status field data and compare received 19 # 5. When server status arrive, remove status field data and compare received 26 lcd_cli_split_comp_data_request -- -argstest page=128 comp-changed-mode=1 31 lcd_cli_split_comp_data_request -- -argstest page=128 comp-changed-mode=1
|
D | get_comp129_data_split_dfu.sh | 3 # SPDX-License-Identifier: Apache-2.0 16 # 3. When server status arrive, remove status field data and compare received 19 # 5. When server status arrive, remove status field data and compare received 26 lcd_cli_split_comp_data_request -- -argstest page=129 comp-changed-mode=1 31 lcd_cli_split_comp_data_request -- -argstest page=129 comp-changed-mode=1
|
D | get_comp130_data_split_dfu.sh | 3 # SPDX-License-Identifier: Apache-2.0 16 # 3. When server status arrive, remove status field data and compare received 19 # 5. When server status arrive, remove status field data and compare received 26 lcd_cli_split_comp_data_request -- -argstest page=130 comp-changed-mode=1 31 lcd_cli_split_comp_data_request -- -argstest page=130 comp-changed-mode=1
|
D | get_comp1_data_split_dfu.sh | 3 # SPDX-License-Identifier: Apache-2.0 16 # 3. When server status arrive, remove status field data and compare received 19 # 5. When server status arrive, remove status field data and compare received 26 lcd_cli_split_comp_data_request -- -argstest page=1 comp-changed-mode=1 31 lcd_cli_split_comp_data_request -- -argstest page=1 comp-changed-mode=1
|
/Zephyr-latest/include/zephyr/ |
D | net_buf.h | 8 * SPDX-License-Identifier: Apache-2.0 84 * The main use of this is for scenarios where the meta-data of the normal 123 * @return Pointer to stack-allocated net_buf_simple object. 145 if (!buf->__buf) { in net_buf_simple_init() 146 buf->__buf = (uint8_t *)buf + sizeof(*buf); in net_buf_simple_init() 149 buf->data = buf->__buf + reserve_head; in net_buf_simple_init() 150 buf->len = 0U; in net_buf_simple_init() 174 buf->len = 0U; in net_buf_simple_reset() 175 buf->data = buf->__buf; in net_buf_simple_reset() 220 * @brief Add (8-bit) byte at the end of the buffer [all …]
|
/Zephyr-latest/.github/workflows/ |
D | stale_issue.yml | 4 - cron: "16 00 * * *" 9 runs-on: ubuntu-22.04 10 if: github.repository == 'zephyrproject-rtos/zephyr' 12 - uses: actions/stale@v9 14 stale-pr-message: 'This pull request has been marked as stale because it has been open (more 15 than) 60 days with no activity. Remove the stale label or add a comment saying that you 17 closed in 14 days. Note, that you can always re-open a closed pull request at any time.' 18 stale-issue-message: 'This issue has been marked as stale because it has been open (more 19 than) 60 days with no activity. Remove the stale label or add a comment saying that you 21 14 days. Note, that you can always re-open a closed issue at any time.' [all …]
|
/Zephyr-latest/tests/benchmarks/wait_queues/ |
D | README.rst | 13 * Time to remove highest priority thread from a wait queue 14 * Time to remove lowest priority thread from a wait queue 20 .. code-block:: shell 22 EXTRA_CONF_FILE="prj.verbose.conf" west build -p -b <board> <path to project>
|