Home
last modified time | relevance | path

Searched +full:abc +full:- +full:on (Results 1 – 22 of 22) sorted by relevance

/Zephyr-latest/tests/drivers/console/line_splitting/
Dline_splitting.robot1 # SPDX-License-Identifier: Apache-2.0
10 Wait For Next Line On Uart
12 Wait For Line On Uart getline: abc;
14 Wait For Line On Uart ^abc$ treatAsRegex=true
/Zephyr-latest/dts/bindings/sensor/
Dwinsen,mhz19b.yaml1 # Copyright (c) 2021 G-Technologies Sdn. Bhd.
2 # SPDX-License-Identifier: Apache-2.0
4 description: Winsen MHZ-19B CO2 Sensor
8 include: [sensor-device.yaml, uart-device.yaml]
11 maximum-range:
16 - 2000
17 - 5000
18 - 10000
20 abc-on:
23 Enable ABC self-calibration function
/Zephyr-latest/scripts/pylib/pytest-twister-harness/src/twister_harness/device/
Ddevice_adapter.py3 # SPDX-License-Identifier: Apache-2.0
7 import abc
28 class DeviceAdapter(abc.ABC):
35 def __init__(self, device_config: DeviceConfig) -> None:
51 def __repr__(self) -> str:
55 def env(self) -> dict[str, str]:
59 def launch(self) -> None:
85 # Retry for up to 10 seconds for USB-CDC based devices to enumerate.
89 # On hardware, flash after connecting to COM port, otherwise some messages
94 def close(self) -> None:
[all …]
/Zephyr-latest/boards/contextualelectronics/abc/doc/
Dindex.rst6 The Contextual Electronics ABC (PCA10056) hardware provides support for the
7 Nordic Semiconductor nRF52840 ARM Cortex-M4F CPU and the following devices:
12 * :abbr:`I2C (Inter-Integrated Circuit)`
18 * :abbr:`UART (Universal asynchronous receiver-transmitter)`
21 More information about the board can be found at the `ABC Board website`_.
28 ABC board has two external oscillators. The frequency of the slow clock
31 - nRF52840 ARM Cortex-M4F processor at 64 MHz
32 - 1 MB flash memory and 256 KB of SRAM
33 - SWD connector
41 +-----------+------------+----------------------+
[all …]
/Zephyr-latest/samples/sensor/mhz19b/boards/
Dnucleo_g0b1re.overlay2 * Copyright (c) 2021, G-Technologies Sdn. Bhd.
4 * SPDX-License-Identifier: Apache-2.0
8 current-speed = <9600>;
11 maximum-range = <10000>;
12 abc-on;
/Zephyr-latest/tests/drivers/build_all/sensor/
Duart.dtsi2 * Copyright (c) 2021, G-Technologies Sdn. Bhd.
5 * SPDX-License-Identifier: Apache-2.0
12 maximum-range = <10000>;
13 abc-on;
21 #address-cells=<1>;
22 #size-cells=<0>;
26 int-gpios = <&test_gpio 0 0>;
34 test_uart_explorir_m: explorir-m {
35 compatible = "gss,explorir-m";
38 test_uart_fcx_mldx5: fcx-mldx5 {
[all …]
/Zephyr-latest/scripts/dts/python-devicetree/tests/
Dtest_dtlib.py2 # SPDX-License-Identifier: BSD-3-Clause
23 # - to stop on the first failure with shorter traceback output,
24 # use '-x --tb=native'
25 # - to drop into a debugger on failure, use '--pdb'
26 # - to run a particular test function or functions, use
27 # '-k test_function_pattern_goes_here'
32 Any kwargs are passed on to DT().'''
34 fd, path = tempfile.mkstemp(prefix='pytest-', suffix='.dts')
36 os.write(fd, dts.encode('utf-8'))
44 representation is expected[1:-1].
[all …]
/Zephyr-latest/drivers/sensor/mhz19b/
Dmhz19b.c2 * Copyright (c) 2021 G-Technologies Sdn. Bhd.
4 * SPDX-License-Identifier: Apache-2.0
7 * https://www.winsen-sensor.com/sensors/co2-sensor/mh-z19b.html
21 /* Table of supported MH-Z19B commands with precomputed checksum */
67 for (uint8_t i = 1; i < MHZ19B_BUF_LEN - 1; i++) { in mhz19b_checksum()
71 return 0xff - cs + 1; in mhz19b_checksum()
76 struct mhz19b_data *data = dev->data; in mhz19b_send_cmd()
77 const struct mhz19b_cfg *cfg = dev->config; in mhz19b_send_cmd()
81 ret = k_sem_take(&data->tx_sem, MHZ19B_WAIT); in mhz19b_send_cmd()
86 data->cmd_idx = cmd_idx; in mhz19b_send_cmd()
[all …]
/Zephyr-latest/scripts/west_commands/runners/
Dcore.py6 # SPDX-License-Identifier: Apache-2.0
14 import abc
41 # Turn on to enable just logging the commands that would be run (at
44 # depends on another, so it's just for debugging.
54 def find_rtt_block(elf_file: str) -> int | None:
57 'see the getting started guide for details on '
123 cmd = ['netstat', '-a', '-n', '-p', 'tcp']
127 cmd = ['ss', '-a', '-n', '-t']
131 cmd = ['netstat', '-a', '-n', '-p', 'tcp']
156 '''This helper class provides access to build-time configuration.
[all …]
Dnrf_common.py4 # SPDX-License-Identifier: Apache-2.0
8 import abc
76 '''Runner front-end base class for nrf tools.'''
106 def dev_id_help(cls) -> str:
107 return '''Device identifier. Use it to select the J-Link Serial Number
113 parser.add_argument('--nrf-family',
118 parser.add_argument('--softreset', required=False,
121 parser.add_argument('--snr', required=False, dest='dev_id',
122 help='obsolete synonym for -i/--dev-id')
123 parser.add_argument('--force', required=False,
[all …]
/Zephyr-latest/doc/_extensions/zephyr/
Dlink-roles.py3 # SPDX-License-Identifier: Apache-2.0
5 # based on http://protips.readthedocs.io/link-roles.html
9 from collections.abc import Sequence
35 "git describe --exact-match", shell=True, stderr=subprocess.DEVNULL
40 return output.strip().decode("utf-8")
52 # The role just creates new nodes based on information in the
53 # arguments; its behavior doesn't depend on any other documents.
94 # This allows e.g. building the docs in downstream Zephyr-based
/Zephyr-latest/scripts/west_commands/
Dsign.py3 # SPDX-License-Identifier: Apache-2.0
5 import abc
28 sys.path.insert(0, str(ZEPHYR_SCRIPTS / 'dts' / 'python-devicetree' / 'src'))
32 binaries for chain-loading by a bootloader.
36 west sign -t your_tool -- ARGS_FOR_YOUR_TOOL
39 pass to the tool, such as the location of a signing key etc. Depending on
40 which sort of ARGS_FOR_YOUR_TOOLS you use, the `--` separator/sentinel may
42 understand POSIX 12.2 Guideline 10, always use `--`.
44 See tool-specific help below for details.'''
48 -------
[all …]
/Zephyr-latest/soc/intel/intel_adsp/common/
DCMakeLists.txt3 # 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)
43 # warning squashing on the objcopy steps. Binutils has a misfeature
52 # file. The GNU linker will set these automatically based on the
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
[all …]
/Zephyr-latest/tests/net/lib/dns_sd/src/
Dmain.c4 * SPDX-License-Identifier: Apache-2.0
86 * @return on success a pointer to the buffer containing the query
87 * @return NULL on failure
104 hdr->id = htons(0); in create_query()
105 hdr->qdcount = htons(1); in create_query()
108 label_size = strlen(inst->service); in create_query()
110 memcpy(&create_query_buf[offs], inst->service, label_size); in create_query()
113 label_size = strlen(inst->proto); in create_query()
115 memcpy(&create_query_buf[offs], inst->proto, label_size); in create_query()
118 label_size = strlen(inst->domain); in create_query()
[all …]
/Zephyr-latest/tests/net/conn_mgr_conn/src/
Dmain.c4 * SPDX-License-Identifier: Apache-2.0
30 return binding->ctx; in conn_mgr_if_get_data()
36 * @param iface - iface to reset.
44 /* Some tests can leave the iface in a bad state where it is admin-down but not dormant */ in reset_test_iface_networking()
51 * @param iface - iface to reset.
63 iface_binding->flags = 0; in reset_test_iface_state()
64 iface_binding->timeout = CONN_MGR_IF_NO_TIMEOUT; in reset_test_iface_state()
66 /* Disable auto-connect and auto-down */ in reset_test_iface_state()
72 iface_data->call_cnt_a = 0; in reset_test_iface_state()
73 iface_data->call_cnt_b = 0; in reset_test_iface_state()
[all …]
/Zephyr-latest/doc/_extensions/zephyr/kconfig/
D__init__.py6 SPDX-License-Identifier: Apache-2.0
13 on the client side using a database built by the extension. A special directive
14 ``.. kconfig:search::`` can be inserted on any page to render a search box that
22 - kconfig_generate_db: Set to True if you want to generate the Kconfig database.
26 - kconfig_ext_paths: A list of base paths where to search for external modules
27 Kconfig files when they use ``kconfig-ext: True``. The extension will look for
36 from collections.abc import Iterable
69 def kconfig_load(app: Sphinx) -> tuple[kconfiglib.Kconfig, dict[str, str]]:
121 board_str = 'BOARD_' + re.sub(r"[^a-zA-Z0-9_]", "_", board.name).upper()
125 board_str = 'BOARD_' + re.sub(r"[^a-zA-Z0-9_]", "_", qualifier).upper()
[all …]
/Zephyr-latest/scripts/pylib/twister/twisterlib/
Denvironment.py4 # Copyright (c) 2018-2024 Intel Corporation
8 # SPDX-License-Identifier: Apache-2.0
18 from collections.abc import Generator
45 def _get_installed_packages() -> Generator[str, None, None]:
63 PYTEST_PLUGIN_INSTALLED = 'pytest-twister-harness' in installed_packages
71 def add_parse_arguments(parser = None) -> argparse.ArgumentParser:
82 $ ./scripts/twister -v \\
83 --testsuite-root tests/ztest/base \\
84 --testsuite-root tests/kernel \\
85 --test tests/ztest/base/testing.ztest.verbose_0 \\
[all …]
/Zephyr-latest/tests/net/iface/src/
Dmain.c1 /* main.c - Application main entry point */
7 * SPDX-License-Identifier: Apache-2.0
83 struct net_if_test *data = dev->data; in net_iface_get_mac()
85 if (data->mac_addr[2] == 0x00) { in net_iface_get_mac()
86 /* 00-00-5E-00-53-xx Documentation RFC 7042 */ in net_iface_get_mac()
87 data->mac_addr[0] = 0x00; in net_iface_get_mac()
88 data->mac_addr[1] = 0x00; in net_iface_get_mac()
89 data->mac_addr[2] = 0x5E; in net_iface_get_mac()
90 data->mac_addr[3] = 0x00; in net_iface_get_mac()
91 data->mac_addr[4] = 0x53; in net_iface_get_mac()
[all …]
/Zephyr-latest/tests/crypto/tinycrypt/src/
Dsha256.c1 /* test_sha256.c - TinyCrypt implementation of some SHA-256 tests */
9 * - Redistributions of source code must retain the above copyright notice,
12 * - Redistributions in binary form must reproduce the above copyright
16 * - Neither the name of Intel Corporation nor the names of its contributors
27 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
37 * - NIST SHA256 test vectors
66 const char *m = "abc"; in ZTEST()
/Zephyr-latest/tests/unit/cbprintf/
Dmain.c4 * SPDX-License-Identifier: Apache-2.0
51 /* Can't use IS_ENABLED on symbols that don't start with CONFIG_
96 /* We can't determine at build-time whether int is 64-bit, so assume
138 /* This has to be more than 255 so we can test over-sized widths. */
158 int idx = outbuf->idx - ((outbuf->idx == outbuf->size) ? 1 : 0); in outbuf_null_terminate()
160 outbuf->buf[idx] = 0; in outbuf_null_terminate()
168 if (buf->idx < buf->size) { in out()
169 buf->buf[buf->idx++] = (char)(unsigned char)c; in out()
253 CBPRINTF_STATIC_PACKAGE(&package[PKG_ALIGN_OFFSET], _len - 1, \
256 zassert_equal(st_pkg_rv, -ENOSPC); \
[all …]
/Zephyr-latest/include/zephyr/shell/
Dshell.h4 * SPDX-License-Identifier: Apache-2.0
55 * case. If command rely on unformatted argument then this flag shall be used
90 * returned commands: entry->syntax are sorted in alphabetical order.
92 * write to entry->syntax NULL value. This will indicate to the shell
122 * Devices that failed to initialize or do not have a non-empty name
152 * have a non-empty name are excluded from the candidates for a match.
165 * This function iterates through the devices on the system. If a device with
173 * breakpoint on your device driver's initialization function.)
193 * @retval -EINVAL Argument validation failed.
194 * @retval -ENOEXEC Command not executed.
[all …]
/Zephyr-latest/doc/_extensions/zephyr/domain/
D__init__.py6 SPDX-License-Identifier: Apache-2.0
12 ----------
14 - ``zephyr:code-sample::`` - Defines a code sample.
15 - ``zephyr:code-sample-category::`` - Defines a category for grouping code samples.
16 - ``zephyr:code-sample-listing::`` - Shows a listing of code samples found in a given category.
17 - ``zephyr:board-catalog::`` - Shows a listing of boards supported by Zephyr.
18 - ``zephyr:board::`` - Flags a document as being the documentation page for a board.
21 -----
23 - ``:zephyr:code-sample:`` - References a code sample.
24 - ``:zephyr:code-sample-category:`` - References a code sample category.
[all …]