/Renode-v1.15.3-c57714d/src/Renode/Network/ExternalControl/ |
D | Response.cs | 17 public static Response CommandFailed(Command command, string reason) in CommandFailed() argument 19 return new Response(ReturnCode.CommandFailed, command, text: reason); in CommandFailed() 27 public static Response InvalidCommand(Command command) in InvalidCommand() argument 29 return new Response(ReturnCode.InvalidCommand, command); in InvalidCommand() 32 public static Response Success(Command command) in Success() argument 34 return new Response(ReturnCode.SuccessWithoutData, command); in Success() 37 public static Response Success(Command command, IEnumerable<byte> data) in Success() argument 39 return new Response(ReturnCode.SuccessWithData, command, data); in Success() 42 public static Response Success(Command command, string text) in Success() argument 44 return new Response(ReturnCode.SuccessWithData, command, text); in Success() [all …]
|
D | ExternalControlServer.cs | 118 var command = (Command)pair[0]; in TryActivateCommands() 121 if(commandHandlers.TryActivate(command, version)) in TryActivateCommands() 123 this.Log(LogLevel.Noisy, "{0} (version 0x{1:X}) activated", command, version); in TryActivateCommands() 127 var message = commandHandlers.TryGetVersion(command, out var expectedVersion) in TryActivateCommands() 212 …TryHandleCommand(out var response, header.Value.command, buffer.GetRange(0, (int)header.Value.data… in StepReceiveFiniteStateMachine() 259 private bool TryHandleCommand(out Response response, Command command, List<byte> data) in TryHandleCommand() argument 265 commandHandler = commandHandlers.GetHandler(command); in TryHandleCommand() 270 response = Response.InvalidCommand(command); in TryHandleCommand() 288 this.Log(LogLevel.Error, "{0} command error: {1}", command, e.Message); in TryHandleCommand() 289 response = Response.CommandFailed(command, e.Message); in TryHandleCommand() [all …]
|
D | IInstanceBasedCommand.cs | 76 …public static bool TryGetName(Command command, List<byte> data, int offset, out string name, out R… in TryGetName() argument 81 if(!TryDecodeNameLength(command, data, offset, out var length, out response)) in TryGetName() 86 … return TryDecodeName(command, data, offset + NameLengthSize, length, out name, out response); in TryGetName() 110 …private static bool TryDecodeNameLength(Command command, List<byte> data, int offset, out int leng… in TryDecodeNameLength() argument 117 …response = Response.CommandFailed(command, $"Expected at least {offset + NameLengthSize} bytes of … in TryDecodeNameLength() 125 response = Response.CommandFailed(command, "Provided length value is illegal"); in TryDecodeNameLength() 132 …private static bool TryDecodeName(Command command, List<byte> data, int offset, int length, out st… in TryDecodeName() argument 139 … response = Response.CommandFailed(command, $"Expected {offset + length} bytes of payload"); in TryDecodeName() 149 response = Response.CommandFailed(command, "Invalid name encoding"); in TryDecodeName()
|
D | ADC.cs | 31 var command = (ADCCommand)data[0]; in Invoke() 33 var expectedCount = GetExpectedPayloadCount(command); in Invoke() 39 switch(command) in Invoke() 68 private int GetExpectedPayloadCount(ADCCommand command) in GetExpectedPayloadCount() argument 70 switch(command) in GetExpectedPayloadCount()
|
D | GPIOPort.cs | 34 var command = (GPIOPortCommand)data[0]; in Invoke() 36 var expectedCount = GetExpectedPayloadCount(command); in Invoke() 42 switch(command) in Invoke() 107 private int GetExpectedPayloadCount(GPIOPortCommand command) in GetExpectedPayloadCount() argument 109 switch(command) in GetExpectedPayloadCount()
|
/Renode-v1.15.3-c57714d/tools/external_control_client/lib/ |
D | renode_api.c | 327 api_command_t command; member 355 switch(response->command) in invoke_callback() 371 uint8_t command = 0; in renode_receive_event() local 375 return_error_if_fails(renode_receive_bytes(renode, &command, 1)); in renode_receive_event() 382 event->command = command; in renode_receive_event() 395 static renode_error_t *renode_receive_response(renode_t *renode, api_command_t *command, void **dat… in renode_receive_response() argument 413 if (*command == EVENT || *command == ANY_COMMAND) { in renode_receive_response() 414 *command = EVENT; in renode_receive_response() 484 if (*command != ANY_COMMAND && received_command != *command) { in renode_receive_response() 487 *command = received_command; in renode_receive_response() [all …]
|
/Renode-v1.15.3-c57714d/tools/tlib_helper/ |
D | README.md | 16 … GDB using the `source` command. For example, to attach GDB to already running dotnet-built Renode… 24 Additional information about commands can be accessed through `help renode` GDB command.
|
/Renode-v1.15.3-c57714d/tools/sel4_extensions/ |
D | README.md | 20 Before simulation is started (using `start` command in Renode), the seL4 extensions have to be load… 21 …`cpu CreateSeL4` command in Renode. Lastly, the Renode-GDB glue has to be sourced in GDB. All thos… 29 In GDB information about commands can be accessed using `info sel4` command.
|
D | gdbscript.py | 165 def _sel4_break_invoke_helper(command, arg): argument 168 if command == 'break': 171 elif command == 'tbreak': 175 raise ValueError("'{}' is invalid value for command".format(command)) 178 raise gdb.GdbError("sel4 {}: thread argument is required".format(command))
|
/Renode-v1.15.3-c57714d/src/Renode/RobotFrameworkEngine/ |
D | RenodeKeywords.cs | 53 public string ExecuteCommand(string command, string machine = null) in ExecuteCommand() argument 59 if(!monitor.Parse(command)) in ExecuteCommand() 61 …throw new KeywordException("Could not execute command '{0}': {1}", command, interaction.GetError()… in ExecuteCommand() 74 public object ExecutePython(string command, string machine = null) in ExecutePython() argument 80 return monitor.ExecutePythonCommand(command); in ExecutePython() 100 var command = string.Join(" ", commandFragments); in ExecuteCommand() 101 return ExecuteCommand(command, machine); in ExecuteCommand()
|
/Renode-v1.15.3-c57714d/tools/gdb_compare/ |
D | gdb_compare.py | 144 self.command("echo 'Connected to GDB comparator'") 148 self.command("quit", expected_log="Disposed") 150 def command(self, input: str, expected_log: str = "") -> None: member in Renode 214 …def run_command(self, command: str, timeout: float = 10, confirm: bool = False, dont_wait_for_outp… 229 self.last_cmd = command 230 self.process.write(command + "\n") 235 result = self.process.expect(re.escape(command) + r".+\n", timeout, async_=async_) 340 …self.cmd = args.command if args.command else self.build_command_from_register_list(args.registers.… 415 …for name, command in [("Opcode at previous pc", f"x/i {previous_pc}"), ("Frame", "frame"), ("Regis… 417 GDBComparator.compare_outputs(await self.run_command(command)) [all …]
|
D | README.md | 22 -r REFERENCE_COMMAND, --reference-command REFERENCE_COMMAND 26 -c COMMAND, --gdb-command COMMAND 27 …GDB command to run on both instances after each instruction. Outputs of these commands are compare…
|
/Renode-v1.15.3-c57714d/tests/ |
D | robot_tests_provider.py | 363 command = [remote_server_binary, '--robot-server-port', str(remote_server_port)] 365 command.append('--hide-log') 367 command.append('--disable-gui') 369 command.append('--robot-debug-on-error') 371 command.append('--keep-temporary-files') 373 command.append('--config') 374 command.append(options.renode_config) 377 command.insert(0, 'mono') 381 command.insert(1, '--debug') 382 …command.insert(2, '--debugger-agent=transport=dt_socket,server=y,suspend={0},address=127.0.0.1:{1}… [all …]
|
/Renode-v1.15.3-c57714d/tests/platforms/ |
D | echo-i2c-peripheral.py | 24 def unknown_command(self, command): argument 25 self.dummy.Log(LogLevel.Warning, "Unknown command: {0}", command)
|
D | STM32F7.robot | 36 Wait For Line On Uart FreeRTOS command server. 39 Wait For Line On Uart [Press ENTER to execute the previous command again]
|
/Renode-v1.15.3-c57714d/tests/unit-tests/ |
D | python-engine.robot | 12 [Arguments] ${command} 14 ... Execute Command ${command} 104 …Should Contain ${out} There was an error when executing command 'py $a': Variable t…
|
/Renode-v1.15.3-c57714d/src/Renode/Integrations/ |
D | ArduinoLoader.cs | 151 var command = Command.None; in Decode() 172 HandleCommand((Command)command, savedValue, value); in Decode() 187 command = (Command)d[i]; in Decode()
|
/Renode-v1.15.3-c57714d/scripts/multi-node/ |
D | nrf52840-ble-zephyr.resc | 9 # The `using` command allows the user to omit a prefix when referring to a peripheral. 55 echo "Script loaded. Now start with with the 'start' command."
|
/Renode-v1.15.3-c57714d/scripts/single-node/ |
D | hifive_unmatched_sdcard.resc | 14 # Example command that creates filesystem compatible with the Zephyr driver:
|
D | beaglev_starlight.resc | 33 echo "Script loaded. Now start with with the 'start' command."
|
/Renode-v1.15.3-c57714d/scripts/multi-node/quark-c1000-zephyr/ |
D | demo.resc | 16 # Create a new wireless transmission medium. This command adds the `wireless` object to the emulati… 63 # This clears the Monitor's context. To select a machine, use the `mach set` command (try `help mac…
|
/Renode-v1.15.3-c57714d/scripts/complex/hci_uart/ |
D | README.rst | 10 You can use the following command to set it at startup:
|
/Renode-v1.15.3-c57714d/ |
D | README.md | 105 On Ubuntu 20.04, you can install the remaining dependencies with the following command: 124 Additionally, to use Renode from the command line on macOS, create appropriate aliases by adding `a… 155 …tions above on installation from a package, you should have the `renode` command available system-… 174 -e COMMAND Execute command on startup (executed after the optional script). May be used mu… 201 …s main advantage is the ease of updating Renode to the latest nightly build using a single command. 228 Alternatively, you can provide your custom command at the end of the line above. 236 You can add more `-v` switches to the command to mount your own directories.
|
/Renode-v1.15.3-c57714d/src/Plugins/SystemCPlugin/SystemCModule/src/ |
D | renode_bridge.cpp | 210 tlm::tlm_command command = tlm::TLM_IGNORE_COMMAND; in initialize_payload() local 214 command = tlm::TLM_WRITE_COMMAND; in initialize_payload() 218 command = tlm::TLM_READ_COMMAND; in initialize_payload() 224 payload->set_command(command); in initialize_payload()
|
/Renode-v1.15.3-c57714d/scripts/complex/arduino_nano/ |
D | README.rst | 14 … define `DEBUG_SERIAL_OBJECT` as `Serial1` (instead of `Serial`), e.g. with the following command::
|