/Zephyr-latest/tests/subsys/logging/log_output/src/ |
D | log_output_test.c | 50 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/ |
D | main.c | 41 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/ |
D | log_msg.c | 109 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/ |
D | formatted_output.rst | 51 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/ |
D | log_output_test.c | 52 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/ |
D | log_timestamp_test.c | 67 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/ |
D | zephyr_cmake_package.rst | 6 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/ |
D | zephyr_export.cmake | 3 # 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:")
|
D | zephyr_package_search.cmake | 1 # 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.
|
D | ZephyrConfigVersion.cmake | 26 # 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
|
D | ZephyrConfig.cmake | 13 # 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/ |
D | zephyr_export.cmake | 3 # 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:")
|
D | ZephyrUnittestConfigVersion.cmake | 3 include(${CMAKE_CURRENT_LIST_DIR}/../../zephyr-package/cmake/ZephyrConfigVersion.cmake)
|
D | ZephyrUnittestConfig.cmake | 4 include(${CMAKE_CURRENT_LIST_DIR}/../../zephyr-package/cmake/ZephyrConfig.cmake)
|
/Zephyr-latest/boards/shields/x_nucleo_eeprma2/ |
D | x_nucleo_eeprma2.overlay | 22 /* 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/ |
D | mock_frontend.c | 88 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/ |
D | log_frontend_dict_uart.c | 242 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/ |
D | main.c | 108 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/ |
D | SysbuildConfigVersion.cmake | 3 include(${CMAKE_CURRENT_LIST_DIR}/../../zephyr-package/cmake/ZephyrConfigVersion.cmake)
|
D | SysbuildConfig.cmake | 8 include(${CMAKE_CURRENT_LIST_DIR}/../../zephyr-package/cmake/ZephyrConfig.cmake)
|
/Zephyr-latest/tests/subsys/logging/log_stress/src/ |
D | main.c | 55 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/ |
D | log_frontend.h | 33 uint8_t *package, const void *data);
|
/Zephyr-latest/samples/sensor/lsm303dlhc/ |
D | README.rst | 17 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/ |
D | tox.ini | 14 python -m mypy --config-file={toxinidir}/tox.ini --package=devicetree
|
/Zephyr-latest/cmake/ |
D | package_helper.cmake | 5 # 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"
|