Home
last modified time | relevance | path

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

12345678910>>...26

/Zephyr-Core-3.4.0/scripts/west_commands/runners/
Dblackmagicprobe.py152 def bmp_flash(self, command, **kwargs): argument
155 command = (self.gdb +
166 self.check_call(command)
168 def check_call_ignore_sigint(self, command): argument
171 self.check_call(command)
175 def bmp_attach(self, command, **kwargs): argument
177 command = (self.gdb +
185 command = (self.gdb +
193 self.check_call_ignore_sigint(command)
195 def bmp_debug(self, command, **kwargs): argument
[all …]
Dnios2.py48 def do_run(self, command, **kwargs): argument
49 if command == 'flash':
52 self.debug_debugserver(command, **kwargs)
72 def debug_debugserver(self, command, **kwargs): argument
87 if command == 'debugserver':
Dmdb.py37 def mdb_do_run(mdb_runner, command): argument
63 if command == 'flash':
68 elif command == 'debug':
139 def do_run(self, command, **kwargs): argument
140 mdb_do_run(self, command)
188 def do_run(self, command, **kwargs): argument
189 mdb_do_run(self, command)
/Zephyr-Core-3.4.0/scripts/pylib/pytest-twister-harness/tests/device/
Dhardware_adapter_test.py32 assert isinstance(device.command, list)
33 …assert device.command == ['west', 'flash', '--skip-rebuild', '--build-dir', 'build', '--runner', '…
41 assert isinstance(device.command, list)
42 assert device.command == [
59 assert isinstance(device.command, list)
60 assert device.command == [
71 assert isinstance(device.command, list)
72 assert device.command == [
84 assert isinstance(device.command, list)
85 assert device.command == [
[all …]
Dsimulator_adapter_test.py32 assert isinstance(device.command, list)
33 assert device.command == [str(resources.joinpath('zephyr', 'zephyr.exe'))]
45 device.command = ['python3', str(script_path)]
63 device.command = ['python3', str(script_path), '--long-sleep', '--sleep=5']
75 device.command = ['dummy']
84 device.command = []
101 device.command = ['echo', 'TEST']
111 device.command = ['echo', 'TEST']
121 assert isinstance(device.command, list)
122 assert device.command == ['west', 'build', '-d', 'build_dir', '-t', 'run']
[all …]
Dqemu_adapter_test.py34 assert adapter.command == ['/usr/bin/west', 'build', '-d', 'build_dir', '-t', 'run']
41 assert adapter.command == []
45 device.command = []
52 device.command = ['dummy']
62 device.command = ['echo', 'TEST']
73 device.command = ['python', str(script_path), fifo_file_path]
87 device.command = ['sleep', '0.3']
/Zephyr-Core-3.4.0/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
106 | "o" | command output |
[all …]
/Zephyr-Core-3.4.0/samples/drivers/smbus/
DREADME.rst38 quick :SMBus Quick command
40 scan :Scan SMBus peripheral devices command
42 byte_read :SMBus: byte read command
44 byte_write :SMBus: byte write command
46 byte_data_read :SMBus: byte data read command
48 byte_data_write :SMBus: byte data write command
50 word_data_read :SMBus: word data read command
52 word_data_write :SMBus: word data write command
54 block_write :SMBus: Block Write command
56 block_read :SMBus: Block Read command
[all …]
/Zephyr-Core-3.4.0/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`.
43 The module can be connected to any transport for command input and output.
83 * Root command (level 0): Gathered and alphabetically sorted in a dedicated
96 * :c:macro:`SHELL_CMD_REGISTER` - Create root command. All root commands must
99 set) create root command. All root commands must have different name.
100 * :c:macro:`SHELL_CMD_ARG_REGISTER` - Create root command with arguments.
103 is set) create root command with arguments. All root commands must have
[all …]
/Zephyr-Core-3.4.0/scripts/west_commands/
Drun_common.py81 def command_verb(command): argument
82 return "flash" if command.name == "flash" else "debug"
84 def add_parser_common(command, parser_adder=None, parser=None): argument
87 command.name,
89 help=command.help,
90 description=command.description)
146 def do_run_common(command, user_args, user_runner_args, domains=None): argument
151 dump_context(command, user_args, user_runner_args)
156 rebuild(command, build_dir, user_args)
174 do_run_common_image(command, user_args, user_runner_args, d.build_dir)
[all …]
/Zephyr-Core-3.4.0/drivers/smbus/
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.c392 uint8_t rw, uint8_t command, uint8_t count, in pch_smbus_block_start() argument
398 LOG_DBG("addr %x rw %d command %x", periph_addr, rw, command); in pch_smbus_block_start()
406 pch_reg_write(dev, PCH_SMBUS_HCMD, command); in pch_smbus_block_start()
446 enum smbus_direction rw, uint8_t command, in pch_smbus_start() argument
452 LOG_DBG("addr 0x%02x rw %d command %x", periph_addr, rw, command); in pch_smbus_start()
462 pch_reg_write(dev, PCH_SMBUS_HCMD, command); in pch_smbus_start()
526 uint8_t command) in pch_smbus_byte_write() argument
531 LOG_DBG("dev %p addr 0x%02x command 0x%02x", dev, periph_addr, command); in pch_smbus_byte_write()
535 ret = pch_smbus_start(dev, periph_addr, SMBUS_MSG_WRITE, command, NULL, in pch_smbus_byte_write()
598 uint8_t command, uint8_t byte) in pch_smbus_byte_data_write() argument
[all …]
/Zephyr-Core-3.4.0/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-Core-3.4.0/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"
31 Buffer size in bytes for TX buffer defined by the host command handler.
43 Buffer size in bytes for TX buffer defined by the host command handler.
49 int "Priority of host command task"
54 process the command on time and the AP will abort the waiting for response and be unable
78 bool "Initialize the host command subsystem automacitlly"
[all …]
/Zephyr-Core-3.4.0/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-Core-3.4.0/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-Core-3.4.0/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-Core-3.4.0/scripts/pylib/pytest-twister-harness/src/twister_harness/device/
Dhardware_adapter.py33 self.command: list[str] = []
117 command = [
129 command.extend(['--runner', runner])
145 command.append(f'--tool-opt=-SelectEmuBySN {board_id}')
147 command.append(f'--tool-opt=sn={board_id}')
150 command.append('--')
151 command.extend(command_extra_args)
152 self.command = command
169 if not self.command:
175 log_command(logger, 'Flashing command', self.command, level=logging.INFO)
[all …]
/Zephyr-Core-3.4.0/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]
/Zephyr-Core-3.4.0/subsys/mgmt/mcumgr/grp/os_mgmt/
DKconfig26 int "Delay before executing reset command (ms)"
30 When a reset command is received, the system waits this many milliseconds
40 command has been issued via an MCUmgr command. With this option
41 disabled, modules will reboot when the command is received without
43 application will be notified that a reset command has been received
50 bool "Support for taskstat command"
100 The length of the string that is sent in response to taskstat command,
122 Enabling this option adds stack information into "taskstat" command
133 bool "Support for echo command"
138 bool "MCUMGR Parameters retrieval command"
[all …]
/Zephyr-Core-3.4.0/samples/subsys/shell/devmem_load/
DREADME.md1 # Zephyr devmem load command
2 This module add a `devmem load` command that allows data to be loaded into device memory.
3 The `devmem load` command is supported by every transport the shell can run on.
5 After using a command in the Zephyr shell, the device reads all transferred data and writes to an a…
9 Note: when using the devmem load command over UART it is recommended to use interrupts whenever pos…
30 The `devmem load` command can now be used (`devmem load [option] [address]`):
51 Currently, the `devmem load` command supports the following argument:
/Zephyr-Core-3.4.0/subsys/shell/
DKconfig59 int "Shell command buffer size"
63 Maximum command size in bytes. One byte is reserved for the string
85 int "Maximum arguments in shell command"
89 Maximum number of arguments that can build a command.
168 Shell parses command to find '-h' or '--help' string. If the shell
170 for a command.
204 bool "Resize command"
210 characters. Each time terminal screen width is changed resize command
212 The resize command can be turned off to save code memory (~0,5k).
215 bool "Select command"
[all …]
/Zephyr-Core-3.4.0/samples/subsys/modbus/tcp_server/
DREADME.rst39 On the client side, PC or laptop, the following command connects PyModbus
47 For example, to set LED0 on use FC01 command (write_coil).
63 To set LED0 off but LED1 and LED2 on use FC15 command (write_coils).
69 To read LED0, LED1, LED2 state FC05 command (read_coils) can be used.
91 To write single holding registers use FC06 command (write_register),
97 or FC16 command (write_registers).
103 To read holding registers use FC03 command (read_holding_registers).
/Zephyr-Core-3.4.0/tests/bsim/bluetooth/ll/edtt/gatt_test_app/src/
Dmain.c329 uint16_t command; in main() local
356 edtt_read((uint8_t *)&command, sizeof(command), EDTTT_BLOCK); in main()
357 command = sys_le16_to_cpu(command); in main()
361 command, size); in main()
363 switch (command) { in main()
/Zephyr-Core-3.4.0/doc/services/device_mgmt/
Dec_host_cmd.rst8 The host command protocol defines the interface for a host, or application processor, to
9 communicate with a target embedded controller (EC). The EC Host command subsystem implements the
10 target side of the protocol, generating responses to commands sent by the host. The host command
25 The general handler validates data from the backend e.g. check sizes, checksum, etc. If the command
26 is valid and the user has provided a handler for a received command id, the command handler is
52 initializes the host command subsystem by calling :c:func:`ec_host_cmd_init`:
65 The host command communication requires buffers for rx and tx. The buffers are be provided by the

12345678910>>...26