Home
last modified time | relevance | path

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

12345678910>>...18

/Zephyr-Core-2.7.6/samples/boards/intel_s1000_crb/audio/
Daudio.py46 command = 'start_audio'.encode('utf-8') + b'\x00'
47 command += b'\x00' * (56 - len(command))
48 cmd_len = len(command) // 4 + 1
49 command = b'\x01\x00' + cmd_len.to_bytes(2, byteorder='little') + \
50 command
51 command = b'\x01\x00\x00\x38' + command
53 self.hid_dev.send_feature_report(command)
54 self.hid_dev.read(len(command))
62 command = 'stop_audio'.encode('utf-8') + b'\x00'
63 command += b'\x00' * (56 - len(command))
[all …]
/Zephyr-Core-2.7.6/scripts/west_commands/runners/
Dblackmagicprobe.py38 def bmp_flash(self, command, **kwargs): argument
41 command = (self.gdb +
50 self.check_call(command)
52 def check_call_ignore_sigint(self, command): argument
55 self.check_call(command)
59 def bmp_attach(self, command, **kwargs): argument
61 command = (self.gdb +
68 command = (self.gdb +
75 self.check_call_ignore_sigint(command)
77 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.py56 def mdb_do_run(mdb_runner, command): argument
82 if command == 'flash':
88 elif command == 'debug':
164 def do_run(self, command, **kwargs): argument
165 mdb_do_run(self, command)
213 def do_run(self, command, **kwargs): argument
219 mdb_do_run(self, command)
Dopenocd.py168 def do_run(self, command, **kwargs): argument
180 if command == 'flash' and self.use_elf:
182 elif command == 'flash':
184 elif command in ('attach', 'debug'):
185 self.do_attach_debug(command, **kwargs)
186 elif command == 'load':
254 def do_attach_debug(self, command, **kwargs): argument
278 if command == 'debug':
/Zephyr-Core-2.7.6/doc/reference/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-2.7.6/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
13 zephyr,ec-host-interface device as the ec host command peripheral that
14 receive incoming host command requests to process.
19 int "Stack size for the EC host command handler thread"
/Zephyr-Core-2.7.6/boards/xtensa/intel_s1000_crb/support/
Ddownload.py71 command = msg.create_memwrite_cmd((0x71d14, 0, 0x71d24, 0,
73 response = sue_creek.send_receive(command)
81 command = msg.create_loadfw_cmd(size, sha)
82 response = sue_creek.send_receive(command)
102 command = msg.create_null_cmd()
103 response = sue_creek.send_receive(command)
110 command = msg.create_memwrite_cmd((0x71d10, 0, 0x71d20, 0))
111 response = sue_creek.send_receive(command)
114 command = msg.create_execfw_cmd()
115 response = sue_creek.send_receive(command, wait=False)
/Zephyr-Core-2.7.6/scripts/west_commands/
Drun_common.py80 def command_verb(command): argument
81 return "flash" if command.name == "flash" else "debug"
83 def add_parser_common(command, parser_adder=None, parser=None): argument
86 command.name,
88 help=command.help,
89 description=command.description)
148 def do_run_common(command, user_args, user_runner_args): argument
153 dump_context(command, user_args, user_runner_args)
156 command_name = command.name
161 rebuild(command, build_dir, user_args)
[all …]
Dsign.py196 def sign(self, command, build_dir, build_conf, formats): argument
208 def sign(self, command, build_dir, build_conf, formats): argument
212 args = command.args
215 imgtool = self.find_imgtool(command, args)
217 vtoff = self.get_cfg(command, build_conf, 'CONFIG_ROM_START_OFFSET')
282 def find_imgtool(command, args): argument
305 def get_cfg(command, build_conf, item): argument
309 command.check_force(
408 def sign(self, command, build_dir, build_conf, formats): argument
409 args = command.args
[all …]
/Zephyr-Core-2.7.6/scripts/west_commands/tests/
Dtest_blackmagicprobe.py53 def test_blackmagicprobe_init(cc, req, command, runner_config): argument
56 runner.run(command)
57 assert cc.call_args_list == [call(x) for x in EXPECTED_COMMANDS[command]]
62 def test_blackmagicprobe_create(cc, req, command, runner_config): argument
69 runner.run(command)
70 assert cc.call_args_list == [call(x) for x in EXPECTED_COMMANDS[command]]
/Zephyr-Core-2.7.6/cmake/bintools/
Dbintools_template.cmake17 # - <tool>_flag : Flags that must always be used with this command
29 # Commands will default echo a message if called, but no command has been defined.
30 # This is done, so that unexpected calls to non-implemented command can be easily detected.
31 # To disable the message, simply silence the command with:
32 # set_property(TARGET bintools PROPERTY <command>_command ${CMAKE_COMMAND} -E echo "")
39 # For example, to call a custom script for elfconvert command, one can specify:
52 # - memusage : Name of command to execute
53 # Note: For gcc compilers this command is not used,
55 # memusage_flag : Flags that must always be applied when calling memusage command
56 # memusage_flag_final : Flags that must always be applied last at the memusage command
[all …]
/Zephyr-Core-2.7.6/drivers/i2c/
Di2c_sifive.c82 uint8_t command = 0U; in i2c_sifive_send_addr() local
92 command = SF_CMD_WRITE | SF_CMD_START; in i2c_sifive_send_addr()
95 sys_write8(command, I2C_REG(config, REG_COMMAND)); in i2c_sifive_send_addr()
114 uint8_t command = 0U; in i2c_sifive_write_msg() local
131 command = SF_CMD_WRITE; in i2c_sifive_write_msg()
137 command |= SF_CMD_STOP; in i2c_sifive_write_msg()
142 sys_write8(command, I2C_REG(config, REG_COMMAND)); in i2c_sifive_write_msg()
162 uint8_t command = 0U; in i2c_sifive_read_msg() local
171 command = SF_CMD_READ; in i2c_sifive_read_msg()
176 command |= SF_CMD_ACK; in i2c_sifive_read_msg()
[all …]
/Zephyr-Core-2.7.6/doc/guides/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.
Dextensions.rst59 #. Write the code implementing the command.
65 built-in command.
70 Create a Python file to contain your command implementation (see the "Meta >
96 'my-command-name', # gets stored as self.name
97 'one-line help for what my-command-name does', # self.help
100 A multi-line description of my-command.
123 # This gets called when the user runs the command, e.g.:
125 # $ west my-command-name -o FOO BAR
150 - name: my-command-name
152 help: one-line help for what my-command-name does
[all …]
Dtroubleshooting.rst29 The ``git fetch`` command example in the last line above is what needs to
33 ``git fetch`` command, then debug from there using the documentation for your
40 If you can get the ``git fetch`` command to run successfully without prompting
44 "'west' is not recognized as an internal or external command, operable program or batch file.'
60 Run this command in ``cmd.exe``::
77 ``scripts`` to your :envvar:`PATH` using a command like this::
81 **Do not just copy/paste this command**. The ``scripts`` directory location
131 command (like :ref:`west flash <west-flashing>`, :ref:`west build
137 west: error: argument <command>: invalid choice: 'build' (choose from 'init', [...])
140 west: error: argument <command>: invalid choice: 'flash' (choose from 'init', [...])
[all …]
/Zephyr-Core-2.7.6/doc/reference/bluetooth/
Dhci.txt20 local Controller supports. It is implied that if a command is listed as
21 supported, the feature underlying that command is also supported.
24 command is supported.
58 that either extend commands or don't have a vendor command. Most features are
59 indicated by the support its respective vendor command. The Supported Features
98 bootup and vendor specific Reset command includes the Fatal_Error event.
164 This command reads the values for the vendor version information for the local
244 When the Read_Version_Information command has completed, a Command Complete
251 This command reads the list of vendor commands supported for the local
262 This command shall return the Supported_Commands configuration parameter. It is
[all …]
/Zephyr-Core-2.7.6/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…
31 The `devmem load` command can now be used (`devmem load [option] [address]`):
52 Currently, the `devmem load` command supports the following argument:
/Zephyr-Core-2.7.6/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-2.7.6/tests/bluetooth/bsim_bt/edtt_ble_test_app/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-2.7.6/drivers/ec_host_cmd_periph/
DKconfig9 Enable the embedded controller host command peripheral driver. This
10 is needed by the EC host command framework to send and receive data
18 Enable the EC host command simulator.
/Zephyr-Core-2.7.6/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.
166 Shell parses command to find '-h' or '--help' string. If the shell
168 for a command.
202 bool "Enable resize command"
208 characters. Each time terminal screen width is changed resize command
210 The resize command can be turned off to save code memory (~0,5k).
213 bool "Enable select command"
[all …]
/Zephyr-Core-2.7.6/samples/subsys/modbus/tcp_gateway/
DREADME.rst43 On the client side, PC or laptop, the following command connects PyModbus
51 For example, to set LED0 on use FC01 command (write_coil).
67 To set LED0 off but LED1 and LED2 on use FC15 command (write_coils).
73 To read LED0, LED1, LED2 state FC05 command (read_coils) can be used.
95 To write single holding registers use FC06 command (write_register),
101 or FC16 command (write_registers).
107 To read holding registers use FC03 command (read_holding_registers).
/Zephyr-Core-2.7.6/subsys/shell/modules/
DKconfig18 int "Delay between reception of shell reboot command and reboot (ms)"
24 command input before the reboot abruptly terminates it. This can help
26 command's echo to successfully complete to synchronise with the
46 This shell command provides read/write access to physical memory.
/Zephyr-Core-2.7.6/samples/subsys/modbus/rtu_server/
DREADME.rst49 On the client side, PC or laptop, the following command connects PyModbus
58 For example, to set LED0 on use FC01 command (write_coil).
73 To set LED0 off but LED1 and LED2 on use FC15 command (write_coils).
79 To read LED0, LED1, LED2 state FC05 command (read_coils) can be used.
101 To write single holding registers use FC06 command (write_register),
107 or FC16 command (write_registers).
113 To read holding registers use FC03 command (read_holding_registers).

12345678910>>...18