Home
last modified time | relevance | path

Searched refs:command (Results 1 – 25 of 805) sorted by relevance

12345678910>>...33

/Zephyr-latest/scripts/west_commands/runners/
Dblackmagicprobe.py156 def bmp_flash(self, command, **kwargs): argument
171 command = (self.gdb +
181 self.check_call(command)
183 def check_call_ignore_sigint(self, command): argument
186 self.check_call(command)
190 def bmp_attach(self, command, **kwargs): argument
192 command = (self.gdb +
199 command = (self.gdb +
206 self.check_call_ignore_sigint(command)
208 def bmp_debug(self, command, **kwargs): argument
[all …]
Decpprog.py36 def do_run(self, command, **kwargs): argument
39 command = ("ecpprog", "-o", hex(load_offset), self.cfg.bin_file)
40 self.logger.debug(" ".join(command))
41 self.check_call(command)
/Zephyr-latest/scripts/pylib/pytest-twister-harness/tests/device/
Dhardware_adapter_test.py42 assert isinstance(device.command, list)
43 …assert device.command == ['west', 'flash', '--skip-rebuild', '--build-dir', 'build', '--runner', '…
51 assert isinstance(device.command, list)
52 assert device.command == [
62 assert isinstance(device.command, list)
63 assert device.command == [
74 assert isinstance(device.command, list)
75 assert device.command == [
87 assert isinstance(device.command, list)
88 assert device.command == [
[all …]
Dbinary_adapter_test.py44 device.command = ['python3', script_path]
72 device.command = ['python3', script_path, '--long-sleep', '--sleep=5']
85 device.command = []
95 device.command = ['echo', 'TEST']
104 device.command = ['echo', 'TEST']
113 device.command = ['echo', 'TEST']
173 device.command = ['python3', script_path, '--sleep=0.05']
200 assert isinstance(device.command, list)
201 assert device.command == [str(device.device_config.build_dir / 'zephyr' / 'zephyr.exe')]
208 assert isinstance(device.command, list)
[all …]
/Zephyr-latest/scripts/west_commands/
Dsign.py215 def sign(self, command, build_dir, build_conf, formats): argument
227 def sign(self, command, build_dir, build_conf, formats): argument
231 args = command.args
234 command.wrn("west sign using imgtool is deprecated and will be removed in a future release")
236 imgtool = self.find_imgtool(command, args)
238 appver = self.get_cfg(command, build_conf, 'CONFIG_MCUBOOT_IMGTOOL_SIGN_VERSION')
239 vtoff = self.get_cfg(command, build_conf, 'CONFIG_ROM_START_OFFSET')
242 flash = self.edt_flash_node(command, b, args.quiet)
243 align, addr, size = self.edt_flash_params(command, flash)
246 command.wrn("CONFIG_BOOTLOADER_MCUBOOT is not set to y in "
[all …]
Drun_common.py92 command: str
110 def command_verb(command): argument
111 return "flash" if command.name == "flash" else "debug"
113 def add_parser_common(command, parser_adder=None, parser=None): argument
116 command.name,
118 help=command.help,
119 description=command.description)
175 def do_run_common(command, user_args, user_runner_args, domain_file=None): argument
197 dump_context(command, user_args, user_runner_args)
202 rebuild(command, build_dir, user_args)
[all …]
/Zephyr-latest/tests/misc/llext-edk/pytest/
Dtest_edk.py25 command = [
35 output = check_output(command, text=True)
47 command = ["tar", "-xf", "llext-edk.tar.xz"]
48 output = check_output(command, text=True, cwd=tempdir)
71 command = ["cmake", "-B", "build"]
72 output = check_output(command, text=True, cwd=tempdir_extension, env=env)
76 command = ["make", "-C", "build"]
77 output = check_output(command, text=True, cwd=tempdir_extension, env=env)
87 command = [
98 output = check_output(command, text=True)
/Zephyr-latest/drivers/smbus/
Dsmbus_stm32.c153 static int smbus_stm32_byte_write(const struct device *dev, uint16_t periph_addr, uint8_t command) in smbus_stm32_byte_write() argument
157 return i2c_write(config->i2c_dev, &command, sizeof(command), periph_addr); in smbus_stm32_byte_write()
168 uint8_t command, uint8_t byte) in smbus_stm32_byte_data_write() argument
172 command, in smbus_stm32_byte_data_write()
180 uint8_t command, uint8_t *byte) in smbus_stm32_byte_data_read() argument
184 return i2c_write_read(config->i2c_dev, periph_addr, &command, sizeof(command), byte, in smbus_stm32_byte_data_read()
189 uint8_t command, uint16_t word) in smbus_stm32_word_data_write() argument
192 uint8_t buffer[sizeof(command) + sizeof(word)]; in smbus_stm32_word_data_write()
194 buffer[0] = command; in smbus_stm32_word_data_write()
201 uint8_t command, uint16_t *word) in smbus_stm32_word_data_read() argument
[all …]
Dsmbus_shell.c168 uint8_t addr, command; in cmd_smbus_byte_data_read() local
179 command = strtol(argv[ARGV_CMD], NULL, 16); in cmd_smbus_byte_data_read()
181 ret = smbus_byte_data_read(dev, addr, command, &out); in cmd_smbus_byte_data_read()
198 uint8_t addr, command; in cmd_smbus_byte_data_write() local
209 command = strtol(argv[ARGV_CMD], NULL, 16); in cmd_smbus_byte_data_write()
212 ret = smbus_byte_data_write(dev, addr, command, value); in cmd_smbus_byte_data_write()
227 uint8_t addr, command; in cmd_smbus_word_data_read() local
238 command = strtol(argv[ARGV_CMD], NULL, 16); in cmd_smbus_word_data_read()
240 ret = smbus_word_data_read(dev, addr, command, &out); in cmd_smbus_word_data_read()
257 uint8_t addr, command; in cmd_smbus_word_data_write() local
[all …]
Dintel_pch_smbus.c366 uint8_t rw, uint8_t command, uint8_t count, in pch_smbus_block_start() argument
372 LOG_DBG("addr %x rw %d command %x", periph_addr, rw, command); in pch_smbus_block_start()
380 pch_reg_write(dev, PCH_SMBUS_HCMD, command); in pch_smbus_block_start()
420 enum smbus_direction rw, uint8_t command, in pch_smbus_start() argument
426 LOG_DBG("addr 0x%02x rw %d command %x", periph_addr, rw, command); in pch_smbus_start()
436 pch_reg_write(dev, PCH_SMBUS_HCMD, command); in pch_smbus_start()
500 uint8_t command) in pch_smbus_byte_write() argument
505 LOG_DBG("dev %p addr 0x%02x command 0x%02x", dev, periph_addr, command); in pch_smbus_byte_write()
509 ret = pch_smbus_start(dev, periph_addr, SMBUS_MSG_WRITE, command, NULL, in pch_smbus_byte_write()
572 uint8_t command, uint8_t byte) in pch_smbus_byte_data_write() argument
[all …]
/Zephyr-latest/doc/services/device_mgmt/smp_groups/
Dsmp_group_9.rst17 | ``0`` | Shell command line execute |
20 Shell command line execute
23 The command allows to execute command line in a similar way to typing it into
26 Shell command line execute request
29 Execute command request header:
58 | "argv" | array consisting of strings representing command |
61 | <cmd> | command to be executed. |
63 | <arg> | optional arguments to command. |
66 Shell command line execute response
118 | "o" | command output. |
[all …]
/Zephyr-latest/tests/boot/with_mcumgr/pytest/
Dwest_sign_wrapper.py24 command = [
31 command.extend(['--sbin', str(output_bin)])
40 command.append('--')
41 command.extend(command_extra_args)
44 output = check_output(command, text=True, timeout=timeout)
/Zephyr-latest/samples/drivers/smbus/
DREADME.rst45 quick :SMBus Quick command
47 scan :Scan SMBus peripheral devices command
49 byte_read :SMBus: byte read command
51 byte_write :SMBus: byte write command
53 byte_data_read :SMBus: byte data read command
55 byte_data_write :SMBus: byte data write command
57 word_data_read :SMBus: word data read command
59 word_data_write :SMBus: word data write command
61 block_write :SMBus: Block Write command
63 block_read :SMBus: Block Read command
[all …]
/Zephyr-latest/scripts/tests/twister/pytest_integration/
Dtest_harness_pytest.py52 command = pytest_harness.generate_command()
54 assert c in command
62 command = pytest_harness.generate_command()
63 assert f'--dut-scope={dut_scope}' in command
71 command = pytest_harness.generate_command()
73 assert c in command
81 command = pytest_harness.generate_command()
82 assert f'--extra-test-args={extra_test_args[0]} {extra_test_args[1]}' in command
92 command = pytest_harness.generate_command()
93 assert pytest_args_from_cmd[0] in command
[all …]
/Zephyr-latest/doc/services/shell/
Dindex.rst13 This module allows you to create and handle a shell with a user-defined command
21 * Smart command completion with the :kbd:`Tab` key.
22 * Built-in commands: :command:`clear`, :command:`shell`, :command:`colors`,
23 :command:`echo`, :command:`history` and :command:`resize`.
48 The module can be connected to any transport for command input and output.
73 command support can be enabled with :kconfig:option:`CONFIG_SHELL_TELNET_SUPPORT_COMMAND`.
75 still can be turned on if needed. One of the command options it supports is the ``ECHO``
180 * Root command (level 0): Gathered and alphabetically sorted in a dedicated
188 Commonly-used command groups
191 The following list is a set of useful command groups and how to enable them:
[all …]
/Zephyr-latest/tests/drivers/mspi/flash/boards/
Dnative_sim.overlay29 read-command = <0x0B>;
30 write-command = <0x02>;
31 command-length = "INSTR_1_BYTE";
47 read-command = <0x20>;
48 write-command = <0xAA>;
49 command-length = "INSTR_2_BYTE";
/Zephyr-latest/samples/subsys/shell/shell_module/
DREADME.rst14 ``version`` is a static command that prints the kernel version.
21 See ``dynamic`` command and :zephyr_file:`samples/subsys/shell/shell_module/src/dynamic_cmd.c`
30 Set a Login command
94 hexdump : Hexdump params command.
95 params : Print params command.
96 ping : Ping command.
97 board : Show board name command.
99 dynamic - Demonstrate dynamic command usage.
101 add : Add a new dynamic command.
102 Example usage: [ dynamic add test ] will add a dynamic command
[all …]
/Zephyr-latest/drivers/i2c/
Di2c_sifive.c83 uint8_t command = 0U; in i2c_sifive_send_addr() local
93 command = SF_CMD_WRITE | SF_CMD_START; in i2c_sifive_send_addr()
96 sys_write8(command, I2C_REG(config, REG_COMMAND)); in i2c_sifive_send_addr()
115 uint8_t command = 0U; in i2c_sifive_write_msg() local
132 command = SF_CMD_WRITE; in i2c_sifive_write_msg()
138 command |= SF_CMD_STOP; in i2c_sifive_write_msg()
143 sys_write8(command, I2C_REG(config, REG_COMMAND)); in i2c_sifive_write_msg()
163 uint8_t command = 0U; in i2c_sifive_read_msg() local
172 command = SF_CMD_READ; in i2c_sifive_read_msg()
177 command |= SF_CMD_ACK; in i2c_sifive_read_msg()
[all …]
/Zephyr-latest/subsys/mgmt/ec_host_cmd/
DKconfig1 # Host command handler functionality
6 menu "Host command handler subsystem"
9 bool "Support Embedded Controller host command handler subsystem"
11 Enable host command processing for embedded controllers on notebook
21 int "Stack size for the EC host command handler thread"
32 Buffer size in bytes for TX buffer defined by the host command handler.
45 Buffer size in bytes for TX buffer defined by the host command handler.
51 int "Priority of host command task"
56 process the command on time and the AP will abort the waiting for response and be unable
89 bool "Initialize the host command subsystem automacitlly"
[all …]
/Zephyr-latest/cmake/bintools/
Dbintools_template.cmake18 # - <tool>_flag : Flags that must always be used with this command
30 # Commands will default echo a message if called, but no command has been defined.
31 # This is done, so that unexpected calls to non-implemented command can be easily detected.
32 # To disable the message, simply silence the command with:
33 # set_property(TARGET bintools PROPERTY <command>_command ${CMAKE_COMMAND} -E echo "")
40 # For example, to call a custom script for elfconvert command, one can specify:
53 # - memusage : Name of command to execute
54 # Note: For gcc compilers this command is not used,
56 # memusage_flag : Flags that must always be applied when calling memusage command
57 # memusage_flag_final : Flags that must always be applied last at the memusage command
[all …]
/Zephyr-latest/doc/develop/west/
Dindex.rst6 The Zephyr project includes a swiss-army knife command line tool named
15 Like ``git`` and ``docker``, the top-level ``west`` command takes some common
16 options, a sub-command to run, and then options and arguments for that
17 sub-command::
19 west [common-opts] <command> [opts] <args>
23 python3 -m west [common-opts] <command> [opts] <args>
26 for available west commands, and ``west <command> -h`` for detailed help on
27 each command.
/Zephyr-latest/doc/connectivity/bluetooth/shell/host/
Dgatt.rst6 To perform service discovery on the client side, use the :code:`gatt discover` command. This should
10 command. When done, you should see the newly added services on the client side when running the
11 discovery command.
21 The server can now notify the client with the command :code:`gatt notify`.
23 Another option available through the GATT command is initiating the MTU exchange. To do it, use the
24 :code:`gatt exchange-mtu` command. To update the shell maximum MTU, you need to update Kconfig
/Zephyr-latest/tests/subsys/mgmt/mcumgr/os_mgmt_echo/src/
Dmain.c16 static const uint8_t command[] = { variable
46 (void)smp_dummy_tx_pkt(command, sizeof(command)); in ZTEST()
/Zephyr-latest/samples/net/secure_mqtt_sensor_actuator/src/
Ddevice.c44 void device_command_handler(uint8_t *command) in device_command_handler() argument
47 if (strcmp(command, device_commands[i].command) == 0) { in device_command_handler()
48 LOG_INF("Executing device command: %s", device_commands[i].command); in device_command_handler()
52 LOG_ERR("Unknown command: %s", command); in device_command_handler()
/Zephyr-latest/scripts/west_commands/tests/
Dtest_blackmagicprobe.py62 def test_blackmagicprobe_init(cc, req, command, runner_config): argument
65 runner.run(command)
66 assert cc.call_args_list == [call(x) for x in EXPECTED_COMMANDS[command]]
71 def test_blackmagicprobe_create(cc, req, command, runner_config): argument
78 runner.run(command)
79 assert cc.call_args_list == [call(x) for x in EXPECTED_COMMANDS[command]]
84 def test_blackmagicprobe_connect_rst(cc, req, command, runner_config): argument
91 runner.run(command)
92 expected = EXPECTED_CONNECT_SRST_COMMAND[command]

12345678910>>...33