Home
last modified time | relevance | path

Searched refs:path (Results 1 – 25 of 45) sorted by relevance

12

/samples/subsys/fs/virtiofs/src/
A Dmain.c28 void dirtree(const char *path, int indent) in dirtree() argument
33 if (fs_opendir(&dir, path) == 0) { in dirtree()
44 strlen(path) + strlen(entry.name) + 2 in dirtree()
51 strcpy(subdir_path, path); in dirtree()
63 printf("failed to readdir %s\n", path); in dirtree()
70 printf("failed to opendir %s\n", path); in dirtree()
82 printf("failed to create %s\n", path); in create_file()
87 void print_file(const char *path) in print_file() argument
92 if (fs_open(&file, path, FS_O_READ) == 0) { in print_file()
102 path, buf in print_file()
[all …]
/samples/subsys/fs/fs_sample/src/
A Dmain.c69 static int lsdir(const char *path);
73 char path[MAX_PATH]; in create_some_entries() local
85 strncpy(path, base_path, sizeof(path)); in create_some_entries()
87 path[base++] = '/'; in create_some_entries()
88 path[base] = 0; in create_some_entries()
89 strcat(&path[base], SOME_FILE_NAME); in create_some_entries()
97 path[base] = 0; in create_some_entries()
98 strcat(&path[base], SOME_DIR_NAME); in create_some_entries()
100 if (fs_mkdir(path) != 0) { in create_some_entries()
195 static int lsdir(const char *path) in lsdir() argument
[all …]
/samples/net/cloud/aws_iot_mqtt/src/creds/
A Dconvert_keys.py29 creds_dir = os.path.dirname(os.path.realpath(__file__))
37 bin2array("public_cert", cred, os.path.join(creds_dir, "cert.c"))
40 bin2array("private_key", cred, os.path.join(creds_dir, "key.c"))
48 bin2array("ca_cert", os.path.join(creds_dir, "AmazonRootCA1.pem"),
49 os.path.join(creds_dir, "ca.c"))
/samples/subsys/zbus/priority_boost/
A Dwithout_hlp_priority_boost_feature.svg2 <path d="M504 2H0V332.387H504V2Z" fill="white"/>
9 <path d="M504 246H117.556V271.076H504V246Z" fill="#EEEEEE"/>
10 <path d="M232 246H139V271H232V246Z" fill="#F7B859"/>
11 <path d="M232 246H162V271H232V246Z" fill="#6931D0"/>
12 <path d="M280 246H268V271H280V246Z" fill="#6931D0"/>
13 <path d="M381 246H328V271H381V246Z" fill="#6931D0"/>
15 <path d="M337.777 248H330V268.312H337.777V248Z" fill="white"/>
30 <path d="M268 197H229V222H268V197Z" fill="#009688"/>
35 <path d="M328 154H277V179H328V154Z" fill="#FF0000"/>
41 <path d="M381 110H333V135H381V110Z" fill="#843F3F"/>
[all …]
A Dwith_hlp_priority_boost_feature.svg2 <path d="M504 0.156006H0V330.543H504V0.156006Z" fill="white"/>
11 <path d="M162 244H139V269H162V244Z" fill="#F7B859"/>
12 <path d="M304 244H300V269H304V244Z" fill="#F7B859"/>
15 <path d="M473 195H228V220H473V195Z" fill="#009688"/>
20 <path d="M417 152H240V177H417V152Z" fill="#FF0000"/>
25 <path d="M369 108H252V133H369V108Z" fill="#980000"/>
30 <path d="M302 19H162V44H302V19Z" fill="#3A8BF1"/>
46 <path d="M302 63H162V88H302V63Z" fill="#6931D0"/>
47 <path d="M171.777 65H164V85.312H171.777V65Z" fill="#2E0084"/>
48 <path d="M255.777 65H248V85.312H255.777V65Z" fill="white"/>
[all …]
A Dzbus_publishing_process_example_scenario.svg6 <path d="M281 231L289.66 216L272.34 216L281 231ZM279.5 173L279.5 217.5L282.5 217.5L282.5 173L279.5 …
9 <path d="M260.5 243H240.5C239.837 243 239.201 243.263 238.732 243.732C238.263 244.201 238 244.837 2…
11 <path d="M182 231L190.66 216L173.34 216L182 231ZM180.5 173L180.5 217.5L183.5 217.5L183.5 173L180.5 …
14 <path d="M145.5 243H125.5C124.837 243 124.201 243.263 123.732 243.732C123.263 244.201 123 244.837 1…
16 <path d="M358 163L343 154.34L343 171.66L358 163ZM300 164.5L344.5 164.5L344.5 161.5L300 161.5L300 16…
21 <path d="M358 118L343 109.34L343 126.66L358 118ZM300 119.5L344.5 119.5L344.5 116.5L300 116.5L300 11…
24 <path d="M394.083 102.083C394.083 100.8 393.033 99.75 391.75 99.75H373.083C371.8 99.75 370.75 100.8…
25 <path d="M413.54 118.5V104.4H416.1V116.32H422.86V118.5H413.54ZM425.41 118.5V116.38H428.59V107.32L42…
26 <path d="M281 51L272.34 66L289.66 66L281 51ZM282.5 109L282.5 64.5L279.5 64.5L279.5 109L282.5 109Z" …
31 <path d="M182 109L190.66 94L173.34 94L182 109ZM180.5 49L180.5 95.5L183.5 95.5L183.5 49L180.5 49Z" f…
[all …]
/samples/net/sockets/coap_download/
A DKconfig13 string "The CoAP resource path to download"
16 The path (relative to server's root directory) of the CoAP resource
/samples/net/mqtt_sn_publisher/compose/
A Dgateway.conf48 ClientsList=/path/to/your_clients.conf
49 PredefinedTopicList=/path/to/your_predefinedTopic.conf
/samples/subsys/testsuite/pytest/basic/pytest/
A Dtest_sample.py31 assert os.path.exists(cmdopt)
/samples/subsys/usb_c/sink/boards/
A Dnumaker_m2l31ki.overlay30 digital-path-disable;
45 digital-path-disable;
89 * 2. Power pins which need to disable digital input path
/samples/net/sockets/coap_server/src/
A Dcore.c62 .path = core_1_path,
77 .path = core_2_path,
A Dtest.c236 .path = test_path,
243 .path = segments_path,
252 .path = wildcard1_path,
259 .path = wildcard2_path,
A Dlocation_query.c71 .path = location_query_path,
A Dlarge.c251 .path = large_path,
258 .path = large_update_path,
265 .path = large_create_path,
/samples/subsys/shell/fs/
A DREADME.rst49 search path and that a 32-bit version of libfuse is installed. For more
148 fs mount (littlefs|fat) <path>
153 List all files and directories in a given path
157 fs ls [path]
162 Change current working directory to given path
166 fs cd [path]
185 fs write <path> [-o <offset>] <hex number> ...
194 fs read <path>
203 fs trunc <path>
212 fs mkdir <path>
[all …]
/samples/modules/tflite-micro/magic_wand/train/
A Dtrain.py69 model_path = os.path.join("./netmodels", "CNN")
71 if not os.path.exists(model_path):
85 model_path = os.path.join("./netmodels", "LSTM")
87 if not os.path.exists(model_path):
170 basic_model_size = os.path.getsize("model.tflite")
172 quantized_model_size = os.path.getsize("model_quantized.tflite")
A Ddata_split.py40 def read_data(path): argument
42 with open(path, "r") as f:
A Ddata_prepare.py143 def write_data(data_to_write, path): argument
144 with open(path, "w") as f:
162 if not os.path.exists("./data"):
A Ddata_split_person.py71 if not os.path.exists("./person_split"):
/samples/modules/thrift/hello/client/
A Dhello_client.py18 sys.path.append('gen-py')
/samples/application_development/external_lib/
A DREADME.rst18 your path. This can be setup using chocolatey or by manually installing it.
37 getting the ``Complete package`` setup. Once installed and in the path, build
/samples/net/lwm2m_client/src/
A Dlwm2m-client.c296 struct lwm2m_obj_path *path, void *user_data) in observe_cb() argument
303 LOG_INF("Observer added for %s", lwm2m_path_log_buf(buf, path)); in observe_cb()
307 LOG_INF("Observer removed for %s", lwm2m_path_log_buf(buf, path)); in observe_cb()
311 LOG_INF("Notify acknowledged for %s", lwm2m_path_log_buf(buf, path)); in observe_cb()
316 lwm2m_path_log_buf(buf, path)); in observe_cb()
/samples/drivers/ipm/ipm_ivshmem/
A DREADME.rst24 ``/path/to/your/zephyr-sdk/zephyr-<version>/sysroots/x86_64-pokysdk-linux/usr/xilinx/bin/``
59 $ mkdir -p path/to/instance_1
65 $ mkdir -p path/to/instance_2
68 to test this sample, so append the option ``-d path/to/instance_1`` and
69 on the other terminal window do the same, that is it ``-d path/to/instance_2``
78 by ``-d path/to/instance_x`` where x is 1 or 2 depending on the
/samples/net/lwm2m_client/
A DREADME.rst271 [lib/lwm2m_engine] [DBG] lwm2m_engine_set: path:3/0/0, value:0x0001c99e, len:6
272 [lib/lwm2m_engine] [DBG] lwm2m_engine_set: path:3/0/1, value:0x0001c9ab, len:23
273 [lib/lwm2m_engine] [DBG] lwm2m_engine_set: path:3/0/2, value:0x0001c9c9, len:9
274 [lib/lwm2m_engine] [DBG] lwm2m_engine_set: path:3/0/3, value:0x0001c9d9, len:3
275 [lib/lwm2m_engine] [DBG] lwm2m_engine_set: path:3/0/9, value:0x0041a3a4, len:1
276 [lib/lwm2m_engine] [DBG] lwm2m_engine_set: path:3/0/10, value:0x0041a3b4, len:4
277 [lib/lwm2m_engine] [DBG] lwm2m_engine_set: path:3/0/17, value:0x0001c9fc, len:16
278 [lib/lwm2m_engine] [DBG] lwm2m_engine_set: path:3/0/18, value:0x0001ca14, len:5
279 [lib/lwm2m_engine] [DBG] lwm2m_engine_set: path:3/0/20, value:0x0041a3a4, len:1
280 [lib/lwm2m_engine] [DBG] lwm2m_engine_set: path:3/0/21, value:0x0041a3b4, len:4
[all …]
/samples/subsys/fs/littlefs/src/
A Dmain.c26 static int lsdir(const char *path) in lsdir() argument
35 res = fs_opendir(&dirp, path); in lsdir()
37 LOG_ERR("Error opening dir %s [%d]\n", path, res); in lsdir()
41 LOG_PRINTK("\nListing dir %s ...\n", path); in lsdir()

Completed in 52 milliseconds

12