Home
last modified time | relevance | path

Searched refs:package (Results 1 – 25 of 331) sorted by relevance

12345678910>>...14

/Zephyr-latest/tests/subsys/logging/log_output/src/
Dlog_output_test.c50 char package[256]; in ZTEST() local
54 err = cbprintf_package(package, sizeof(package), 0, TEST_STR); in ZTEST()
57 log_output_process(&log_output, 0, NULL, SNAME, NULL, LOG_LEVEL_INF, package, NULL, 0, 0); in ZTEST()
65 char package[256]; in ZTEST() local
69 err = cbprintf_package(package, sizeof(package), 0, TEST_STR); in ZTEST()
73 package, NULL, 0, 0); in ZTEST()
81 char package[256]; in ZTEST() local
85 err = cbprintf_package(package, sizeof(package), 0, TEST_STR); in ZTEST()
88 log_output_process(&log_output, 0, DNAME, SNAME, NULL, LOG_LEVEL_INF, package, NULL, 0, 0); in ZTEST()
96 char package[256]; in ZTEST() local
[all …]
/Zephyr-latest/tests/lib/cbprintf_package/src/
Dmain.c41 static void dump(const char *desc, uint8_t *package, size_t len) in dump() argument
43 printk("%s package %p:\n", desc, package); in dump()
45 printk("%02x ", package[i]); in dump()
51 uint8_t *package, size_t len) in unpack() argument
53 cbpprintf((cbprintf_cb)out, buf, package); in unpack()
89 package[len + ALIGN_OFFSET];\
91 pkg = &package[ALIGN_OFFSET]; \
258 uint8_t __aligned(CBPRINTF_PACKAGE_ALIGNMENT) package[len]; in ZTEST()
260 len = cbprintf_package(package, sizeof(package), in ZTEST()
264 union cbprintf_package_hdr *desc = (union cbprintf_package_hdr *)package; in ZTEST()
[all …]
/Zephyr-latest/subsys/logging/
Dlog_msg.c109 uint32_t *package = (uint32_t *)msg->data; in z_log_msg_simple_create() local
111 *package++ = (uint32_t)(uintptr_t)package_hdr.raw; in z_log_msg_simple_create()
113 *package++ = data[i]; in z_log_msg_simple_create()
117 *(uint8_t *)package = 1; in z_log_msg_simple_create()
148 uint8_t package[sizeof(uint32_t) * (CBPRINTF_DESC_SIZE32 + 1) + in z_impl_z_log_msg_simple_create_0() local
151 uint32_t *p32 = (uint32_t *)package; in z_impl_z_log_msg_simple_create_0()
162 .package_len = sizeof(package), in z_impl_z_log_msg_simple_create_0()
166 log_frontend_msg(source, desc, package, NULL); in z_impl_z_log_msg_simple_create_0()
197 uint8_t package[sizeof(uint32_t) * (CBPRINTF_DESC_SIZE32 + 2) + in z_impl_z_log_msg_simple_create_1() local
200 uint32_t *p32 = (uint32_t *)package; in z_impl_z_log_msg_simple_create_1()
[all …]
/Zephyr-latest/doc/services/
Dformatted_output.rst51 Such state forms a self-contained package which contains format string and
52 arguments. Additionally, package may contain copies of strings which are
55 used to process a package. Since package contains data which is processed as
57 size of the package depends on alignment. When package is copied, it should be
62 * **Self-contained** - non read-only strings appended to the package. String can be
63 formatted from such package as long as there is access to read-only string
65 within the package. That information can be used to convert packet to fully
66 self-contained package.
67 * **Fully self-contained** - all strings are appended to the package. String can be
68 formatted from such package without any external data.
[all …]
/Zephyr-latest/tests/subsys/logging/log_output_net/src/
Dlog_output_test.c52 char package[256]; in ZTEST() local
62 err = cbprintf_package(package, sizeof(package), 0, TEST_STR); in ZTEST()
65 log_output_process(&log_output, 1000000, DNAME, SNAME, NULL, LOG_LEVEL_INF, package, NULL, in ZTEST()
/Zephyr-latest/tests/subsys/logging/log_timestamp/src/
Dlog_timestamp_test.c67 char package[256]; in ZTEST() local
71 err = cbprintf_package(package, sizeof(package), 0, TEST_STR); in ZTEST()
75 package, NULL, 0, flags); in ZTEST()
/Zephyr-latest/doc/build/
Dzephyr_cmake_package.rst6 The Zephyr `CMake package`_ is a convenient way to create a Zephyr-based application.
12 The Zephyr CMake package ensures that CMake can automatically select a Zephyr installation to use f…
20 To use the Zephyr CMake package it must first be exported to the `CMake user package registry`_.
22 CMake user package registry.
29 In Linux, the CMake user package registry is found in:
35 In macOS, the CMake user package registry is found in:
41 In Windows, the CMake user package registry is found in:
46 The Zephyr CMake package allows CMake to automatically find a Zephyr base.
52 Zephyr CMake package export (west)
60 Zephyr CMake package export (without west)
[all …]
/Zephyr-latest/share/zephyr-package/cmake/
Dzephyr_export.cmake3 # Purpose of this CMake file is to install a ZephyrConfig package reference in:
7 # Having ZephyrConfig package allows for find_package(Zephyr) to work when ZEPHYR_BASE is not defin…
22 message("has been added to the user package registry in:")
Dzephyr_package_search.cmake1 # The purpose of this file is to provide search mechanism for locating Zephyr in-work-tree package
2 # even when they are not installed into CMake package system
6 # Relative directory of workspace project dir as seen from Zephyr package file
9 # Relative directory of Zephyr dir as seen from Zephyr package file
14 # `Zephyr_DIR-NOTFOUND` or pointing to the Zephyr package including the
15 # boilerplate code instead of the Zephyr package of the included boilerplate.
41 # This macro can check for additional Zephyr package that has a better match
49 # - VERSION_CHECK : This is the version check stage by CMake find package
74 # The find package will also find ourself when searching using installed candidates.
DZephyrConfigVersion.cmake26 # a Zephyr config package (This code)
53 # meaning the package version must be ignored and the Zephyr pointed to by
55 if (${ZEPHYR_BASE}/share/zephyr-package/cmake STREQUAL ${CMAKE_CURRENT_LIST_DIR})
60 # Zephyr uses project version, but CMake package uses PACKAGE_VERSION
66 # package file is returned. This Zephyr version has already been printed
97 # Zephyr uses project version, but CMake package uses PACKAGE_VERSION
111 # Only do this if we are an installed CMake Config package and checking for workspace candidates.
127 # CMake finds packages will look all packages registered in the user package registry.
129 # another package has a common path with the current sample, and if so, we
130 # will return here, and let CMake call into the other registered package for
DZephyrConfig.cmake13 # Internal Zephyr CMake package message macro.
15 # This macro is only intended to be used within the Zephyr CMake package.
29 set(Zephyr_DIR ${ZEPHYR_BASE}/share/zephyr-package/cmake CACHE PATH
34 zephyr_package_message(DEPRECATION "The ZephyrUnittest CMake package has been deprecated.\n"
135 # CMake finds packages will look all packages registered in the user package registry.
136 # As this code is processed inside registered packages, we simply test if another package has a
138 # and if so, we will return here, and let CMake call into the other registered package for real
/Zephyr-latest/share/zephyrunittest-package/cmake/
Dzephyr_export.cmake3 # Purpose of this CMake file is to install a ZephyrUnittestConfig package reference in:
7 # Having ZephyrUnittestConfig package allows for find_package(ZephyrUnittest) to work when ZEPHYR_B…
22 message("has been added to the user package registry in:")
DZephyrUnittestConfigVersion.cmake3 include(${CMAKE_CURRENT_LIST_DIR}/../../zephyr-package/cmake/ZephyrConfigVersion.cmake)
DZephyrUnittestConfig.cmake4 include(${CMAKE_CURRENT_LIST_DIR}/../../zephyr-package/cmake/ZephyrConfig.cmake)
/Zephyr-latest/boards/shields/x_nucleo_eeprma2/
Dx_nucleo_eeprma2.overlay22 /* M24C02-FMC6TG aka U1 (2 kbit eeprom in DFN8 package) */
35 /* M24256-DFDW6TP aka U2 (256 kbit eeprom in TSSOP package) */
48 /* M24M01-DFMN6TP aka U3 (1 Mbit eeprom in SO8N package) */
84 /* M95040-RMC6TG aka U5 (4 kbit eeprom in DFN8 package) */
98 /* M95256-DFDW6TP aka U6 (256 kbit eeprom in TSSOP package) */
112 /* M95M04-DRMN6TP aka U7 (4 Mbit eeprom in SON8 package) */
/Zephyr-latest/tests/subsys/logging/log_api/src/
Dmock_frontend.c88 uint8_t *package, const void *data) in log_frontend_msg() argument
91 struct cbprintf_package_desc *package_desc = (struct cbprintf_package_desc *)package; in log_frontend_msg()
132 int len = cbpprintf(out, &s, package); in log_frontend_msg()
/Zephyr-latest/subsys/logging/frontends/
Dlog_frontend_dict_uart.c242 uint8_t *package, const void *data) in sync_msg() argument
245 uint8_t *datas[3] = {(uint8_t *)&hdr, package, (uint8_t *)data}; in sync_msg()
259 uint8_t *package, const void *data) in log_frontend_msg() argument
263 int plen = cbprintf_package_copy(package, desc.package_len, NULL, 0, in log_frontend_msg()
272 sync_msg(source, desc, package, data); in log_frontend_msg()
292 plen = cbprintf_package_copy(package, desc.package_len, in log_frontend_msg()
/Zephyr-latest/tests/subsys/logging/log_blocking/src/
Dmain.c108 uint8_t *package = log_msg_get_package(&msg->log, &len); in process() local
110 package += 2 * sizeof(void *); in process()
112 handle_output(*(uint32_t *)package); in process()
/Zephyr-latest/share/sysbuild-package/cmake/
DSysbuildConfigVersion.cmake3 include(${CMAKE_CURRENT_LIST_DIR}/../../zephyr-package/cmake/ZephyrConfigVersion.cmake)
DSysbuildConfig.cmake8 include(${CMAKE_CURRENT_LIST_DIR}/../../zephyr-package/cmake/ZephyrConfig.cmake)
/Zephyr-latest/tests/subsys/logging/log_stress/src/
Dmain.c55 uint8_t *package = log_msg_get_package(&msg->log, &len); in process() local
57 package += 2 * sizeof(void *); in process()
59 handle_msg(*(uint32_t *)package); in process()
/Zephyr-latest/include/zephyr/logging/
Dlog_frontend.h33 uint8_t *package, const void *data);
/Zephyr-latest/samples/sensor/lsm303dlhc/
DREADME.rst17 This sample uses the LSM303DLHC, ST MEMS system-in-package featuring a
31 system-in-package, which is present on the stm32f3_disco board
/Zephyr-latest/scripts/dts/python-devicetree/
Dtox.ini14 python -m mypy --config-file={toxinidir}/tox.ini --package=devicetree
/Zephyr-latest/cmake/
Dpackage_helper.cmake5 # The Zephyr package helper script provides a generic script mode interface
6 # to the Zephyr CMake package and module structure.
38 # Note: the samples CMakeLists.txt file is not processed by package helper, so
95 "No MODULES defined, please invoke package helper with minimum one module"

12345678910>>...14