/Zephyr-latest/tests/drivers/stepper/shell/src/ |
D | main.c | 46 int err = shell_execute_cmd(sh, "stepper enable " FAKE_STEPPER_NAME " on"); in ZTEST() 53 err = shell_execute_cmd(sh, "stepper enable " FAKE_STEPPER_NAME " off"); in ZTEST() 61 int err = shell_execute_cmd(sh, "stepper move_by " FAKE_STEPPER_NAME " 1000"); in ZTEST() 70 int err = shell_execute_cmd(sh, "stepper set_max_velocity " FAKE_STEPPER_NAME " 200"); in ZTEST() 79 int err = shell_execute_cmd(sh, "stepper set_micro_step_res " FAKE_STEPPER_NAME " 64"); in ZTEST() 89 int err = shell_execute_cmd(sh, "stepper set_micro_step_res " FAKE_STEPPER_NAME " 111"); in ZTEST() 97 int err = shell_execute_cmd(sh, "stepper get_micro_step_res " FAKE_STEPPER_NAME); in ZTEST() 105 int err = shell_execute_cmd(sh, "stepper set_reference_position " FAKE_STEPPER_NAME " 100"); in ZTEST() 115 int err = shell_execute_cmd(sh, "stepper get_actual_position " FAKE_STEPPER_NAME); in ZTEST() 123 int err = shell_execute_cmd(sh, "stepper move_to " FAKE_STEPPER_NAME " 200"); in ZTEST() [all …]
|
/Zephyr-latest/tests/drivers/comparator/shell/src/ |
D | test.c | 177 ret = shell_execute_cmd(test_sh, "comp get_output " FAKE_COMP_NAME); in ZTEST() 185 ret = shell_execute_cmd(test_sh, "comp get_output " FAKE_COMP_NAME); in ZTEST() 193 ret = shell_execute_cmd(test_sh, "comp get_output " FAKE_COMP_NAME); in ZTEST() 209 ret = shell_execute_cmd(test_sh, "comp set_trigger " FAKE_COMP_NAME " NONE"); in ZTEST() 215 ret = shell_execute_cmd(test_sh, "comp set_trigger " FAKE_COMP_NAME " RISING_EDGE"); in ZTEST() 221 ret = shell_execute_cmd(test_sh, "comp set_trigger " FAKE_COMP_NAME " FALLING_EDGE"); in ZTEST() 227 ret = shell_execute_cmd(test_sh, "comp set_trigger " FAKE_COMP_NAME " BOTH_EDGES"); in ZTEST() 233 ret = shell_execute_cmd(test_sh, "comp set_trigger " FAKE_COMP_NAME " INVALID"); in ZTEST() 240 ret = shell_execute_cmd(test_sh, "comp set_trigger " FAKE_COMP_NAME " BOTH_EDGES"); in ZTEST() 257 ret = shell_execute_cmd(test_sh, "comp await_trigger " FAKE_COMP_NAME); in ZTEST() [all …]
|
/Zephyr-latest/tests/drivers/can/shell/src/ |
D | main.c | 96 err = shell_execute_cmd(sh, "can start " FAKE_CAN_NAME); in ZTEST() 106 err = shell_execute_cmd(sh, "can stop " FAKE_CAN_NAME); in ZTEST() 116 err = shell_execute_cmd(sh, "can show " FAKE_CAN_NAME); in ZTEST() 132 err = shell_execute_cmd(sh, "can bitrate " FAKE_CAN_NAME); in ZTEST() 149 err = shell_execute_cmd(sh, cmd); in can_shell_test_bitrate() 173 err = shell_execute_cmd(sh, "can dbitrate " FAKE_CAN_NAME); in ZTEST() 193 err = shell_execute_cmd(sh, cmd); in can_shell_test_dbitrate() 225 err = shell_execute_cmd(sh, "can timing " FAKE_CAN_NAME " 16 0 217 32 32"); in ZTEST() 237 err = shell_execute_cmd(sh, "can timing " FAKE_CAN_NAME); in ZTEST() 259 err = shell_execute_cmd(sh, "can dtiming " FAKE_CAN_NAME " 5 0 29 10 2"); in ZTEST() [all …]
|
/Zephyr-latest/tests/drivers/rtc/shell/src/ |
D | main.c | 94 err = shell_execute_cmd(sh, "rtc get " FAKE_RTC_NAME); in ZTEST() 106 err = shell_execute_cmd(sh, "rtc get " FAKE_RTC_NAME); in ZTEST() 118 err = shell_execute_cmd(sh, "rtc get " FAKE_RTC_NAME); in ZTEST() 133 err = shell_execute_cmd(sh, "rtc set " FAKE_RTC_NAME " 2022-05-17"); in ZTEST() 149 err = shell_execute_cmd(sh, "rtc set " FAKE_RTC_NAME " 23:45:16"); in ZTEST() 164 err = shell_execute_cmd(sh, "rtc set " FAKE_RTC_NAME " 2022-05-17T23:45:16"); in ZTEST() 179 err = shell_execute_cmd(sh, "rtc set " FAKE_RTC_NAME " 2022:05:17T23:45:16"); in ZTEST()
|
/Zephyr-latest/tests/subsys/input/shell/src/ |
D | main.c | 21 err = shell_execute_cmd(sh, "input dump on"); in main() 29 err = shell_execute_cmd(sh, buf); in main()
|
/Zephyr-latest/tests/subsys/input/kbd_matrix_state_dump/src/ |
D | main.c | 37 err = shell_execute_cmd(sh, "input kbd_matrix_state_dump kbd-matrix"); in main() 60 err = shell_execute_cmd(sh, "input kbd_matrix_state_dump off"); in main()
|
/Zephyr-latest/tests/drivers/eeprom/shell/src/ |
D | main.c | 59 err = shell_execute_cmd(sh, "eeprom write " FAKE_EEPROM_NAME in ZTEST() 86 err = shell_execute_cmd(sh, "eeprom write " FAKE_EEPROM_NAME " 0 0xaa 0x55"); in ZTEST() 113 err = shell_execute_cmd(sh, "eeprom read " FAKE_EEPROM_NAME " 8 32"); in ZTEST() 135 err = shell_execute_cmd(sh, "eeprom size " FAKE_EEPROM_NAME); in ZTEST() 154 err = shell_execute_cmd(sh, "eeprom fill " FAKE_EEPROM_NAME in ZTEST()
|
/Zephyr-latest/tests/subsys/fs/multi-fs/src/ |
D | test_fs_shell.c | 22 ret = shell_execute_cmd(NULL, line); in test_shell_exec()
|
/Zephyr-latest/tests/subsys/shell/shell_flash/src/ |
D | shell_flash_test.c | 57 ret = shell_execute_cmd(NULL, "flash read 0 23"); in ZTEST()
|
/Zephyr-latest/tests/net/shell/src/ |
D | main.c | 214 ret = shell_execute_cmd(NULL, "net iface"); in ZTEST() 218 ret = shell_execute_cmd(NULL, "net foobar"); in ZTEST()
|
/Zephyr-latest/tests/subsys/shell/shell_device/src/ |
D | main.c | 73 err = shell_execute_cmd(sh, "device list"); in main()
|
/Zephyr-latest/tests/net/ieee802154/l2/src/ |
D | ieee802154_shell_test.c | 144 ret = shell_execute_cmd(NULL, "ieee802154 scan active 11 10"); in test_scan_shell_cmd() 175 ret = shell_execute_cmd(NULL, "ieee802154 associate " EXPECTED_COORDINATOR_PAN_STR in test_associate_shell_cmd() 333 ret = shell_execute_cmd(NULL, "ieee802154 disassociate"); in ZTEST() 456 ret = shell_execute_cmd(NULL, "ieee802154 set_ext_addr " EXPECTED_ENDDEVICE_EXT_ADDR_STR); in ZTEST()
|
/Zephyr-latest/subsys/mgmt/mcumgr/grp/shell_mgmt/src/ |
D | shell_mgmt.c | 29 return shell_execute_cmd(sh, line); in shell_exec()
|
/Zephyr-latest/tests/subsys/shell/shell/src/ |
D | main.c | 29 ret = shell_execute_cmd(sh, cmd); in test_shell_execute_cmd()
|
/Zephyr-latest/include/zephyr/shell/ |
D | shell.h | 1219 int shell_execute_cmd(const struct shell *sh, const char *cmd);
|
/Zephyr-latest/doc/services/shell/ |
D | index.rst | 402 and a function :c:func:`shell_execute_cmd`, as shown in this example: 409 shell_execute_cmd(NULL, "clear"); 414 shell_execute_cmd(shell_backend_uart_get_ptr(),
|
/Zephyr-latest/subsys/shell/ |
D | shell.c | 1711 int shell_execute_cmd(const struct shell *sh, const char *cmd) in shell_execute_cmd() function
|
/Zephyr-latest/doc/releases/ |
D | release-notes-2.4.rst | 1762 * :github:`20750` - shell: shell_execute_cmd introduce new line
|