Home
last modified time | relevance | path

Searched full:script (Results 1 – 25 of 524) sorted by relevance

12345678910>>...21

/Zephyr-latest/include/zephyr/modem/
Dchat.h49 /** Set if script shall not continue to next step in case of match */
95 * @brief Modem chat script chat
106 /** Timeout before chat script may continue to next step in milliseconds */
140 /* Helper struct to have no chat script command. */
150 * @brief Callback called when script chat is received
153 * @param result Result of script execution
160 * @brief Modem chat script
163 /** Name of script */
165 /** Array of script chats */
167 /** Elements in array of script chats */
[all …]
Dubx.h80 const struct modem_ubx_script *script; member
126 * @brief Writes the ubx frame in script.request and reads back its response (if available)
134 * This response (if received) is written to script.response.
136 * This function writes the ubx frame in script.request then reads back it's response.
137 * If script.match is not NULL, then every ubx frame received from the device is compared with
138 * script.match to check if a match occurred. This could be used to match UBX-ACK frame sent
139 * from the device by populating script.match with UBX-ACK that the script expects to receive.
141 * The script terminates when either of the following happens:
142 * 1. script.match is successfully received and matched.
143 * 2. timeout (denoted by script.timeout) occurs.
[all …]
/Zephyr-latest/subsys/modem/
Dmodem_chat.c70 if ((chat == NULL) || (chat->script == NULL)) { in modem_chat_script_stop()
76 LOG_DBG("%s: complete", chat->script->name); in modem_chat_script_stop()
78 LOG_WRN("%s: aborted", chat->script->name); in modem_chat_script_stop()
80 LOG_WRN("%s: timed out", chat->script->name); in modem_chat_script_stop()
84 if (chat->script->callback != NULL) { in modem_chat_script_stop()
85 chat->script->callback(chat, result, chat->user_data); in modem_chat_script_stop()
88 /* Clear parse_match in case it is stored in the script being stopped */ in modem_chat_script_stop()
96 /* Clear reference to script */ in modem_chat_script_stop()
97 chat->script = NULL; in modem_chat_script_stop()
110 /* Clear script running state */ in modem_chat_script_stop()
[all …]
Dmodem_ubx.c108 static void modem_ubx_script_init(struct modem_ubx *ubx, const struct modem_ubx_script *script) in modem_ubx_script_init() argument
110 ubx->script = script; in modem_ubx_script_init()
113 static int modem_ubx_run_script_helper(struct modem_ubx *ubx, const struct modem_ubx_script *script) in modem_ubx_run_script_helper() argument
127 if (ubx->script->match == NULL) { in modem_ubx_run_script_helper()
131 ret = k_sem_take(&ubx->script_stopped_sem, script->timeout); in modem_ubx_run_script_helper()
139 int modem_ubx_run_script(struct modem_ubx *ubx, const struct modem_ubx_script *script) in modem_ubx_run_script() argument
143 if (modem_ubx_get_frame_length(script->request) > UBX_FRM_SZ_MAX) { in modem_ubx_run_script()
156 modem_ubx_script_init(ubx, script); in modem_ubx_run_script()
158 for (attempt = 0; attempt < script->retry_count; ++attempt) { in modem_ubx_run_script()
159 ret = modem_ubx_run_script_helper(ubx, script); in modem_ubx_run_script()
[all …]
/Zephyr-latest/doc/_doxygen/
Dheader.html17 <script type="text/javascript">var page_layout=1;</script>
20 <script type="text/javascript" src="$relpath^jquery.js"></script>
21 <script type="text/javascript" src="$relpath^dynsections.js"></script>
23 <script type="text/javascript" src="$relpath^clipboard.js"></script>
25 <script type="text/javascript" src="$relpath^doxygen-awesome-darkmode-toggle.js"></script>
26 <script type="text/javascript" src="$relpath^doxygen-awesome-zephyr.js"></script>
27 <script type="text/javascript">
29 </script>
/Zephyr-latest/scripts/net/
DREADME.txt1 The shell script run-sample-tests.sh runs selected Zephyr samples against
22 This creates a Docker image called 'net-tools' which the script will need as
29 The scripts/net/run-sample-tests.sh shell script can be used in two ways:
37 2. By giving the test directories as parameters to the runner script.
49 by the script, as well as Zephyr using native_sim board. IP addresses are
60 the echo_server application uses those ending in .2. The script does the IP
65 container, is returned to the script on Zephyr or Docker application
73 The sample test script tries to automatically figure out the Zephyr base
76 '--zephyr-dir' command line arguments. The sample test script also assumes
/Zephyr-latest/boards/native/common/
Dnatsim_linker_script.ld9 * @brief Extra linker command/script file for the native simulator runner
21 * Note this script augments the default native simulator linker script
/Zephyr-latest/soc/intel/intel_adsp/tools/
Dcavstwist.sh39 # script will synchronously flash the device and begin emitting its
48 # in $ZEPHYR_BASE. But the console script has no arguments, and thus
50 # asynchronous and may start in either order, but our console script
55 # So the solution here is to have the console script do the trace
56 # reading AND the flashing. The flash script merely signs the binary
57 # and places it into ZEPHYR_BASE for the console script to find. The
58 # console script then just has to wait for the binary to appear (which
63 # signing script IMMEDIATELY, simultaneous with the last flash script.
64 # This may thus clobber the version that the other script hasn't seen
71 # environment because this script is launched from twister.
[all …]
/Zephyr-latest/samples/subsys/zbus/remote_mock/
DREADME.rst10 This application demonstrates how a host script can publish to the zbus in an embedded device using…
11 …the script running on a computer host. Then, the script sends back information when it would simul…
13 …lability and observability since we can control and access what is sent and received by the script.
59 The :file:`remote_mock.py` script can be executed using the following command:
72 From the remote mock (Python script), you would see something like this:
99 Exit the remote mock script by pressing :kbd:`CTRL+C`.
/Zephyr-latest/tests/subsys/modem/modem_chat/src/
Dmain.c51 /* Script callbacks args copy */
66 /* Script match callbacks */
138 /* Script callback */
152 /* Script */
177 MODEM_CHAT_SCRIPT_DEFINE(script, script_cmds, abort_matches, on_script_result, 4);
180 /* Script implementing partial matches */
197 /* Script containing timeout script chat command */
210 /* Small echo script and mock transactions */
238 /* Script responses */
299 /* Abort script */ in test_modem_chat_after()
[all …]
/Zephyr-latest/doc/kernel/
Dcode-relocation.rst10 and file are given to the :ref:`gen_relocate_app.py` script in the form
11 of a string. This script is always invoked from inside cmake.
13 This script provides a robust way to re-order the memory contents without
14 actually having to modify the code. In simple terms this script will do the job
19 The memory region and file are given to the :ref:`gen_relocate_app.py` script in the form of a stri…
24 This script is invoked with the following parameters:
28 ``prj.conf``, will invoke the script and do the required relocation.
30 This script also trigger the generation of ``linker_relocate.ld`` and
37 The text section is split into 2 parts in the main linker script. The first
43 generated linker script.
/Zephyr-latest/cmake/
Dverify-toolchain.cmake4 # This file is intended to be executed in script mode so that it can be used in
7 # When invoked as a script with -P:
16 message(FATAL_ERROR "verify-toolchain.cmake is a script and must be invoked "
22 # If executing in script mode and output format is specified, then silence
/Zephyr-latest/scripts/coccinelle/
Dboolean.cocci27 @ script:python @
45 @ script:python @
59 @ script:python @
74 @ script:python @
95 @ script:python @
/Zephyr-latest/
Dzephyr-env.sh9 # to the name of the function/script when executing a shell function or
10 # sourcing a script. POSIX_ARGZERO option, when it is set, exposes the
14 # 5.0.6 maybe encounter errors when sourcing this script.
34 # You can further customize your environment by creating a bash script called
36 # run (if it exists) by this script.
D.editorconfig29 # Linker Script
54 # Shell Script
59 # Windows Command Script
/Zephyr-latest/doc/_templates/
Dlayout.html31 {# Use dark mode loader script to prevent "flashing" of the page on load.
39 <script src="{{ pathto('_static/js/dark-mode-toggle-stylesheets-loader.min.js', 1) }}"></script>
40 <script type="module" src="{{ pathto('_static/js/dark-mode-toggle.min.mjs', 1) }}"></script>
/Zephyr-latest/drivers/gnss/
Dgnss_u_blox_m8.c73 /* Modem ubx script */
74 struct modem_ubx_script script; member
235 data->script.request = (struct ubx_frame *)data->request_buf; in ubx_m8_modem_ubx_script_fill()
236 data->script.response = (struct ubx_frame *)data->response_buf; in ubx_m8_modem_ubx_script_fill()
237 data->script.match = (struct ubx_frame *)data->match_buf; in ubx_m8_modem_ubx_script_fill()
238 data->script.retry_count = UBX_M8_SCRIPT_RETRY_DEFAULT; in ubx_m8_modem_ubx_script_fill()
239 data->script.timeout = K_MSEC(MODEM_UBX_SCRIPT_TIMEOUT_MS); in ubx_m8_modem_ubx_script_fill()
283 ret = ubx_m8_modem_ubx_run_script(dev, &(data->script)); in ubx_m8_ubx_cfg_rate()
310 data->script.retry_count = retry; in ubx_m8_ubx_cfg_prt_set()
316 ret = ubx_m8_modem_ubx_run_script(dev, &(data->script)); in ubx_m8_ubx_cfg_prt_set()
[all …]
/Zephyr-latest/tests/application_development/code_relocation/
Dlinker_arm_sram2.ld9 * @brief Linker command/script file
11 * Linker script for the Cortex-M platforms.
21 * this is just an example to show relocation of code/data/bss script
/Zephyr-latest/dts/bindings/base/
Dzephyr,memory-common.yaml10 Signify that this node should result in a dedicated linker script
18 Set attributes such as read-only or executable for the linker script
20 after the area name in the linker script.
/Zephyr-latest/doc/develop/toolchains/
Dzephyr_sdk.rst34 script. Additional OS-specific instructions are described in the sections below.
43 by running the setup script. If you decide not to register the Zephyr SDK in the CMake registry,
121 #. Run the Zephyr SDK bundle setup script:
129 You only need to run the setup script once after extracting the Zephyr SDK bundle.
131 You must rerun the setup script if you relocate the Zephyr SDK bundle directory after
177 #. Run the Zephyr SDK bundle setup script:
185 You only need to run the setup script once after extracting the Zephyr SDK bundle.
187 You must rerun the setup script if you relocate the Zephyr SDK bundle directory after
219 #. Run the Zephyr SDK bundle setup script:
227 You only need to run the setup script once after extracting the Zephyr SDK bundle.
[all …]
/Zephyr-latest/scripts/pylib/pytest-twister-harness/src/twister_harness/
Dplugin.py90 help='Script for controlling pseudoterminal.'
106 '--pre-script',
108 help='Script executed before flashing and connecting to serial.'
111 '--post-flash-script',
113 help='Script executed after flashing.'
116 '--post-script',
118 help='Script executed after closing serial connection.'
/Zephyr-latest/scripts/native_simulator/common/other/
Dlinker_script.pre.ld9 * @brief Linker command/script file for the native simulator runner
44 * Note this script augments the default host linker script
/Zephyr-latest/soc/nxp/lpc/lpc54xxx/
Dlinker.ld9 * @brief Linker command/script file
11 * This is the linker script for both standard images and XIP images.
/Zephyr-latest/soc/nxp/lpc/lpc55xxx/
Dlinker.ld9 * @brief Linker command/script file
11 * This is the linker script for both standard images and XIP images.
/Zephyr-latest/cmake/flash/
Dcheck_runner_dependencies.cmake3 # The purpose of this script is to ensure that no runners targets contains
8 # Arguments to the script

12345678910>>...21