Home
last modified time | relevance | path

Searched refs:shell_execute_cmd (Results 1 – 18 of 18) sorted by relevance

/Zephyr-latest/tests/drivers/stepper/shell/src/
Dmain.c46 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/
Dtest.c177 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/
Dmain.c96 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/
Dmain.c94 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/
Dmain.c21 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/
Dmain.c37 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/
Dmain.c59 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/
Dtest_fs_shell.c22 ret = shell_execute_cmd(NULL, line); in test_shell_exec()
/Zephyr-latest/tests/subsys/shell/shell_flash/src/
Dshell_flash_test.c57 ret = shell_execute_cmd(NULL, "flash read 0 23"); in ZTEST()
/Zephyr-latest/tests/net/shell/src/
Dmain.c214 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/
Dmain.c73 err = shell_execute_cmd(sh, "device list"); in main()
/Zephyr-latest/tests/net/ieee802154/l2/src/
Dieee802154_shell_test.c144 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/
Dshell_mgmt.c29 return shell_execute_cmd(sh, line); in shell_exec()
/Zephyr-latest/tests/subsys/shell/shell/src/
Dmain.c29 ret = shell_execute_cmd(sh, cmd); in test_shell_execute_cmd()
/Zephyr-latest/include/zephyr/shell/
Dshell.h1219 int shell_execute_cmd(const struct shell *sh, const char *cmd);
/Zephyr-latest/doc/services/shell/
Dindex.rst402 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/
Dshell.c1711 int shell_execute_cmd(const struct shell *sh, const char *cmd) in shell_execute_cmd() function
/Zephyr-latest/doc/releases/
Drelease-notes-2.4.rst1762 * :github:`20750` - shell: shell_execute_cmd introduce new line