Home
last modified time | relevance | path

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

12345678910>>...41

/Zephyr-4.3.0/scripts/west_commands/
Dsign.py229 def sign(self, command, build_dir, build_conf, formats): argument
241 def sign(self, command, build_dir, build_conf, formats): argument
245 args = command.args
248 command.wrn("west sign using imgtool is deprecated and will be removed in a future release")
250 imgtool = self.find_imgtool(command, args)
252 appver = self.get_cfg(command, build_conf, 'CONFIG_MCUBOOT_IMGTOOL_SIGN_VERSION')
253 vtoff = self.get_cfg(command, build_conf, 'CONFIG_ROM_START_OFFSET')
256 flash = self.edt_flash_node(command, b, args.quiet)
257 align, addr, size = self.edt_flash_params(command, flash)
260 command.wrn("CONFIG_BOOTLOADER_MCUBOOT is not set to y in "
[all …]
Drun_common.py95 command: str
120 def command_verb(command): argument
121 return "flash" if command.name == "flash" else "debug"
123 def add_parser_common(command, parser_adder=None, parser=None): argument
126 command.name,
128 help=command.help,
129 description=command.description)
216 def do_run_common(command, user_args, user_runner_args, domain_file=None): argument
238 dump_context(command, user_args, user_runner_args)
242 for module in zephyr_module.parse_modules(ZEPHYR_BASE, command.manifest):
[all …]
Drun_tests.py33 command = [sys.executable, '-m'] + cmd variable
35 ' '.join(shlex.quote(s) for s in command),
37 subprocess.run(command, check=True, cwd=here)
/Zephyr-4.3.0/drivers/flash/
Dflash_renesas_ra_ospi_b.h74 {.command = SPI_NOR_CMD_SE_4B, .size = SPI_NOR_SECTOR_SIZE},
75 {.command = S28HX512T_SPI_NOR_CMD_SE_256KB, .size = SECTOR_SIZE_256K},
76 {.command = S28HX512T_SPI_NOR_CMD_ERCHP, .size = SPI_FLASH_ERASE_SIZE_CHIP_ERASE}};
79 {.command = S28HX512T_SPI_NOR_OCMD_SE_4KB, .size = SPI_NOR_SECTOR_SIZE},
80 {.command = S28HX512T_SPI_NOR_OCMD_SE_256KB, .size = SECTOR_SIZE_256K},
81 {.command = S28HX512T_SPI_NOR_OCMD_ERCHP, .size = SPI_FLASH_ERASE_SIZE_CHIP_ERASE}};
126 [TRANSFER_WRITE_ENABLE_SPI] = {.command = SPI_NOR_CMD_WREN,
133 [TRANSFER_WRITE_CFR2V_SPI] = {.command = S28HX512T_SPI_NOR_CMD_WR_WRARG,
140 [TRANSFER_WRITE_CFR3V_SPI] = {.command = S28HX512T_SPI_NOR_CMD_WR_WRARG,
147 [TRANSFER_WRITE_CFR5V_SPI] = {.command = S28HX512T_SPI_NOR_CMD_WR_WRARG,
[all …]
Dflash_realtek_rts5912.c119 static int config_command(struct qspi_cmd *command, uint8_t cmd, uint32_t addr, in config_command() argument
138 command->address.disabled = 1; in config_command()
139 command->data.bus_width = SPIC_CFG_BUS_SINGLE; in config_command()
147 command->address.disabled = 0; in config_command()
148 command->address.bus_width = SPIC_CFG_BUS_SINGLE; in config_command()
149 command->data.bus_width = SPIC_CFG_BUS_SINGLE; in config_command()
152 command->address.disabled = 0; in config_command()
153 command->address.bus_width = SPIC_CFG_BUS_SINGLE; in config_command()
154 command->data.bus_width = SPIC_CFG_BUS_DUAL; in config_command()
157 command->address.disabled = 0; in config_command()
[all …]
/Zephyr-4.3.0/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-4.3.0/scripts/pylib/pytest-twister-harness/tests/device/
Dhardware_adapter_test.py45 assert isinstance(device.command, list)
46 …assert device.command == ['west', 'flash', '--no-rebuild', '--build-dir', 'build', '--runner', 'ru…
54 assert isinstance(device.command, list)
55 assert device.command == [
65 assert isinstance(device.command, list)
66 assert device.command == [
77 assert isinstance(device.command, list)
78 assert device.command == [
90 assert isinstance(device.command, list)
91 assert device.command == [
[all …]
Dbinary_adapter_test.py43 device.command = ['python3', script_path]
71 device.command = ['python3', script_path, '--long-sleep', '--sleep=5']
84 device.command = []
94 device.command = ['echo', 'TEST']
103 device.command = ['echo', 'TEST']
112 device.command = ['echo', 'TEST']
146 device.command = ['python3', script_path, '--sleep=0.05']
173 assert isinstance(device.command, list)
174 assert device.command == [str(device.device_config.build_dir / 'zephyr' / 'zephyr.exe')]
181 assert isinstance(device.command, list)
[all …]
/Zephyr-4.3.0/tests/misc/llext-edk/pytest/
Dtest_edk.py31 command = [
41 output = check_output(command, text=True)
53 command = ["tar", "-xf", "llext-edk.tar.xz"]
54 output = check_output(command, text=True, cwd=tempdir)
78 command = ["cmake", "-B", "build"]
79 output = check_output(command, text=True, cwd=tempdir_extension, env=env)
83 command = ["make", "-C", "build"]
84 output = check_output(command, text=True, cwd=tempdir_extension, env=env)
94 command = [
105 output = check_output(command, text=True)
/Zephyr-4.3.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
118 | "o" | command output. |
[all …]
/Zephyr-4.3.0/samples/drivers/smbus/
DREADME.rst43 quick :SMBus Quick command
45 scan :Scan SMBus peripheral devices command
47 byte_read :SMBus: byte read command
49 byte_write :SMBus: byte write command
51 byte_data_read :SMBus: byte data read command
53 byte_data_write :SMBus: byte data write command
55 word_data_read :SMBus: word data read command
57 word_data_write :SMBus: word data write command
59 block_write :SMBus: Block Write command
61 block_read :SMBus: Block Read command
[all …]
/Zephyr-4.3.0/subsys/bluetooth/services/
Dans.c164 struct alert_ctrl_p command = *((const struct alert_ctrl_p *)buf); in write_alert_notif_ctrl_point() local
166 LOG_DBG("Command ID 0x%x", command.cmd_id); in write_alert_notif_ctrl_point()
167 LOG_DBG("Category 0x%x", command.category); in write_alert_notif_ctrl_point()
169 if (command.category >= BT_ANS_CAT_NUM && command.category != BT_ANS_SEND_ALL_CATEGORY) { in write_alert_notif_ctrl_point()
171 command.category); in write_alert_notif_ctrl_point()
179 if (command.category == BT_ANS_SEND_ALL_CATEGORY) { in write_alert_notif_ctrl_point()
180 switch (command.cmd_id) { in write_alert_notif_ctrl_point()
182 rc = transmit_new_alert(conn, command.category); in write_alert_notif_ctrl_point()
185 rc = transmit_unread_alert(conn, command.category); in write_alert_notif_ctrl_point()
192 switch (command.cmd_id) { in write_alert_notif_ctrl_point()
[all …]
/Zephyr-4.3.0/tests/boot/with_mcumgr/pytest/
Dwest_sign_wrapper.py31 command = [
39 command.extend(['--sbin', str(output_bin)])
48 command.append('--')
49 command.extend(command_extra_args)
52 output = check_output(command, text=True, timeout=timeout)
/Zephyr-4.3.0/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-4.3.0/scripts/pylib/pytest-twister-harness/src/twister_harness/device/
Dhardware_adapter.py36 command = [self.device_config.flash_command[0]]
37 command.extend(['--build-dir', str(self.device_config.build_dir)])
40 command.extend(['--board-id', self.device_config.id])
42 command.extend(self.device_config.flash_command[1:])
44 self.command = command
52 command = [
66 command.extend(runner_base_args)
70 command.append('--')
71 command.extend(command_extra_args)
72 self.command = command
[all …]
/Zephyr-4.3.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`.
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``
201 * Root command (level 0): Gathered and alphabetically sorted in a dedicated
209 Commonly-used command groups
212 The following list is a set of useful command groups and how to enable them:
[all …]
/Zephyr-4.3.0/tests/drivers/mspi/flash/boards/
Dnative_sim.overlay28 read-command = <0x0B>;
29 write-command = <0x02>;
30 command-length = "INSTR_1_BYTE";
46 read-command = <0x20>;
47 write-command = <0xAA>;
48 command-length = "INSTR_2_BYTE";
/Zephyr-4.3.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 …]
/Zephyr-4.3.0/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
91 hexdump : Hexdump params command.
92 params : Print params command.
93 ping : Ping command.
94 board : Show board name command.
96 dynamic - Demonstrate dynamic command usage.
98 add : Add a new dynamic command.
99 Example usage: [ dynamic add test ] will add a dynamic command
[all …]
/Zephyr-4.3.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-4.3.0/scripts/pylib/power-twister-harness/stm32l562e_dk/
DPowerShield.py52 def __send_command(self, command: str, expected_ack: str = None, ack: bool = False) -> str:
66 self.handler.send_cmd(command)
86 command = 'version'
88 self.handler.send_cmd(command)
99 command = "psrst"
106 self.handler.send_cmd(command)
126 command = 'volt get'
127 response = self.__send_command(command, expected_ack="ack volt get", ack=True)
212 command = f"format {data_format}"
213 response = self.__send_command(command, expected_ack=f"ack format {data_format}", ack=True)
[all …]
/Zephyr-4.3.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-4.3.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-4.3.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()

12345678910>>...41