/Zephyr-latest/arch/x86/zefi/ |
D | zefi.py | 3 # SPDX-License-Identifier: Apache-2.0 15 def verbose(msg): function 16 if args.verbose: 37 verbose("Entry point address (symbol: %s) 0x%x" % (ENTRY_SYM, entry_addr)) 57 verbose("%d bytes of data at 0x%x, data offset %d" 63 bytesz = h.p_memsz - h.p_filesz 65 verbose("%d bytes of zero-fill at 0x%x" % (bytesz, addr)) 68 verbose(f"{len(data_blob)} bytes of data to include in image") 73 cf = open("zefi-segments.h", "w") 77 cf.write("/* Sizes and offsets specified in 4-byte units.\n") [all …]
|
/Zephyr-latest/scripts/ |
D | coccicheck | 2 # SPDX-License-Identifier: GPL-2.0 6 DIR="$(dirname $(readlink -f $0))/.." 9 if [ ! -x "$SPATCH" ]; then 14 VERBOSE=0 18 ------- 20 -m= , --mode= specify the mode use {report, patch, org, context, chain} 21 -v= , --verbose= enable verbose output {1} 22 -j= , --jobs= number of jobs to use {0 - `nproc`} 23 -c= , --cocci= specify cocci script to use 24 -d= , --debug= specify file to store debug log [all …]
|
D | set_assignees.py | 4 # SPDX-License-Identifier: Apache-2.0 22 if args.verbose > 0: 31 parser.add_argument("-M", "--maintainer-file", required=False, default="MAINTAINERS.yml", 35 group.add_argument("-P", "--pull_request", required=False, default=None, type=int, 36 help="Operate on one pull-request only.") 37 group.add_argument("-I", "--issue", required=False, default=None, type=int, 39 group.add_argument("-s", "--since", required=False, 40 help="Process pull-requests since date.") 41 group.add_argument("-m", "--modules", action="store_true", 42 help="Process pull-requests from modules.") [all …]
|
/Zephyr-latest/tests/crypto/tinycrypt/src/ |
D | ecc_dh.c | 1 /* test_ecc_dh.c - TinyCrypt implementation of some EC-DH tests */ 17 * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE 33 * - Redistributions of source code must retain the above copyright notice, 36 * - Redistributions in binary form must reproduce the above copyright 40 * - Neither the name of Intel Corporation nor the names of its contributors 47 * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE 56 * test_ecc_ecdh.c -- Implementation of some EC-DH tests 72 int tests, int verbose) in ecdh_vectors() argument 106 result = check_ecc_result(i, "Z", exp_z, z, NUM_ECC_WORDS, verbose); in ecdh_vectors() 114 int cavp_ecdh(bool verbose) in cavp_ecdh() argument [all …]
|
D | test_ecc_utils.c | 1 /* test_ecc_utils.c - TinyCrypt common functions for ECC tests */ 17 * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE 32 * - Redistributions of source code must retain the above copyright notice, 35 * - Redistributions in binary form must reproduce the above copyright 39 * - Neither the name of Intel Corporation nor the names of its contributors 46 * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE 55 * test_ecc_utils.c -- Implementation of some common functions for ECC tests. 69 * Convert hex string to zero-padded nanoECC scalar 80 padding = num_bytes * 2U - strlen(str); in string2scalar() 112 for (i = 0U; i < num_word32 - 1; ++i) { in print_ecc_scalar() [all …]
|
D | test_ecc_utils.h | 1 /* test_ecc_utils.h - TinyCrypt interface to common functions for ECC tests */ 17 * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE 32 * - Redistributions of source code must retain the above copyright notice, 35 * - Redistributions in binary form must reproduce the above copyright 39 * - Neither the name of Intel Corporation nor the names of its contributors 46 * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE 55 * test_ecc_utils.h -- Interface to common functions for ECC tests. 68 * Convert hex string to zero-padded nanoECC scalar 79 const unsigned int num_word32, const bool verbose); 82 int keygen_vectors(char **d_vec, char **qx_vec, char **qy_vec, int tests, bool verbose); [all …]
|
D | ecc_dsa.c | 1 /* test_ecc_ecdsa.c - TinyCrypt implementation of some EC-DSA tests */ 17 * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE 32 * - Redistributions of source code must retain the above copyright notice, 35 * - Redistributions in binary form must reproduce the above copyright 39 * - Neither the name of Intel Corporation nor the names of its contributors 46 * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE 55 * test_ecc_ecdsa.c -- Implementation of some EC-DSA tests 82 char **s_vec, int tests, bool verbose) in sign_vectors() argument 124 * if digest smaller than ECC scalar, zero-pad front */ in sign_vectors() 130 (void)memset(digest, 0, NUM_ECC_BYTES - 4 * hash_dwords); in sign_vectors() [all …]
|
/Zephyr-latest/scripts/build/ |
D | llext_inject_slids.py | 4 # SPDX-License-Identifier: Apache-2.0 16 field of the `ElfX_Sym` structure is found to be non-zero, which is 74 self.log.error("no symbol table found in file") 115 msg = f"{symbol.name} -> {slid_as_str}" 122 self.log.error(f"unexpected non-zero st_value for symbol {symbol.name}") 136 # pylint: disable=duplicate-code 144 parser.add_argument("-f", "--elf-file", required=True, 146 parser.add_argument("-o", "--output-file", 149 parser.add_argument("-sl", "--slid-listing", 151 parser.add_argument("-v", "--verbose", action="count", [all …]
|
D | check_init_priorities.py | 4 # SPDX-License-Identifier: Apache-2.0 33 "dts", "python-devicetree", "src")) 34 from devicetree import edtlib # pylint: disable=unused-import 46 # There is no direct dependency between the CDC ACM UART and the USB 49 "zephyr,cdc-acm-uart", 177 offset = addr - start 202 raise ValueError(f"no symbol at addr {addr:08x}") 302 parser.add_argument("-f", "--elf-file", default=pathlib.Path("build", "zephyr", "zephyr.elf"), 304 parser.add_argument("-v", "--verbose", action="count", 305 help=("enable verbose output, can be used multiple times " [all …]
|
D | process_gperf.py | 5 # SPDX-License-Identifier: Apache-2.0 8 gperf C file post-processor 15 We are exclusively working with 4-byte pointer values. This script adjusts 26 # --- debug stuff --- 29 if not args.verbose: 51 addr_str = addr_str[1:-1] 75 ctr -= 1 107 # Suppress a compiler warning since this table is no longer necessary 143 parser.add_argument("-i", "--input", required=True, 145 parser.add_argument("-o", "--output", required=True, [all …]
|
D | llext_prepare_exptab.py | 4 # SPDX-License-Identifier: Apache-2.0 9 This script performs compile-time processing of the LLEXT exports 45 ptr_size -- Platform pointer size in bytes 46 endianness -- Platform endianness ('little'/'big') 63 #failures if SLID-based linking is enabled (in this case, the 67 #are "reserved for operating system-specific semantics". 136 # Lazy-open the SLID listing file to ensure it is only created when necessary 146 Also note that symbol names are always NUL-terminated. 159 return raw_name.decode("utf-8") 198 slidlist_write("// This file contains the 'SLID -> name' mapping for all") [all …]
|
/Zephyr-latest/tests/bluetooth/controller/ctrl_isoal/ |
D | Kconfig | 1 # Bluetooth Controller configuration options for ISO-AL Unit Tests 4 # SPDX-License-Identifier: Apache-2.0 15 parent-module = BT 17 module-str = "Bluetooth Controller ISO-AL" 21 bool "ISO-AL verbose debug logging" 25 Use this option to enable ISO-AL verbose debug logging. 34 int "Number of SDU fragments that the ISO-AL can buffer" 40 ISO-AL per channel. Buffering is required to compute the size of the 76 Note: Usually no margin is needed for CIS as Null PDUs can be used if a payload
|
/Zephyr-latest/scripts/footprint/ |
D | pack_as_twister.py | 5 # SPDX-License-Identifier: Apache-2.0 16 with the corresponding sub-directories. 18 For example, an input path `./**/*v3.6.0-rc3-*/footprints/**/frdm_k64f/` will be 19 expanded by bash to all sub-directories with the 'footprints' data `v3.6.0-rc3` 22 `shopt -s globstar`. 29 This scripts has `--test-name` parameter to customize how to compose test names 48 VERSION_COMMIT_RE = re.compile(r".*-g([a-f0-9]{12})$") 71 console.setFormatter(logging.Formatter('%(asctime)s - %(levelname)-8s - %(message)s')) 77 def set_verbose(verbose: int): 79 if verbose > len(levels): [all …]
|
/Zephyr-latest/subsys/testsuite/include/zephyr/ |
D | test_utils.h | 1 /* test_utils.h - TinyCrypt interface to common functions for tests */ 9 * - Redistributions of source code must retain the above copyright notice, 12 * - Redistributions in binary form must reproduce the above copyright 16 * - Neither the name of Intel Corporation nor the names of its contributors 23 * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE 62 size_t computedlen, uint32_t verbose) in check_result() argument 66 ARG_UNUSED(verbose); in check_result()
|
/Zephyr-latest/arch/x86/ |
D | gen_gdt.py | 5 # SPDX-License-Identifier: Apache-2.0 13 which is a link of the Zephyr kernel without various build-time 22 - Memory addresses of the Main and Double Fault TSS structures 24 - Memory addresses of where the GDT lives in memory, so that this 26 - whether userspace or HW stack protection are enabled in Kconfig 29 configuration. With no memory protection features enabled, 30 we generate flat 32-bit code and data segments. If hardware- 32 we additionally create descriptors for the main and double- 34 double-fault handling. If userspace is enabled, we also create 55 """Display debug message if --verbose""" [all …]
|
D | gen_idt.py | 5 # SPDX-License-Identifier: Apache-2.0 14 which is a link of the Zephyr kernel without various build-time 51 if not args.verbose: 66 gate_type = 0xE # 32-bit interrupt gate 79 gate_type = 0x5 # 32-bit task gate 119 # No IRQ associated; exception or software interrupt 120 if irq == -1: 140 # Pass 1: sanity check and set up hard-coded interrupt vectors 142 if vec == -1: 143 if prio == -1: [all …]
|
D | gen_mmu.py | 5 # SPDX-License-Identifier: Apache-2.0 23 - By default, the Present, Write, and Execute Disable bits are 25 - The __text_region region will have Present and User bits set 26 - The __rodata_region region will have Present, User, and Execute 28 - On x86_64, the _locore region will have Present set and 34 - The double-mapping is used to transition the 38 - The mapping is always double-mapped at the top-level paging structure 40 with respect to the scope of top-level paging structure entries. 41 This allows the same second-level paging structure(s) to be used for 44 - The double-mapping is needed so that we can still fetch instructions [all …]
|
/Zephyr-latest/soc/nuvoton/npcx/common/ecst/ |
D | ecst.py | 5 # SPDX-License-Identifier: Apache-2.0 10 # -i in_file.bin -o out_file.bin 11 # [-chip <name>] [-v|-vv] 12 # [-nohcrc] [-nofcrc] [-ph <offset>] 13 # [-flashsize <1|2|4|8|16>] 14 # [-spimaxclk <20|25|33|40|50>] 15 # [-spireadmode <normal|fast|dual|quad>] 112 INVALID_INPUT = -1 115 BYTES_TO_PAD = HDR_FW_HEADER_SIG_OFFSET - RESERVED_BYTES_OFFSET 117 # Verbose related values [all …]
|
/Zephyr-latest/scripts/tests/twister_blackbox/ |
D | test_output.py | 4 # SPDX-License-Identifier: Apache-2.0 17 # pylint: disable=no-name-in-module 26 (['-ll', 'DEBUG']), 27 (['-v']), 28 (['-v', '-ll', 'DEBUG']), 29 (['-vv']), 30 (['-vv', '-ll', 'DEBUG']), 47 ('--no-detailed-test-id', False), 48 ('--detailed-test-id', True) 50 ids=['no-detailed-test-id', 'detailed-test-id'] [all …]
|
/Zephyr-latest/subsys/testsuite/ztest/ |
D | Kconfig | 2 # SPDX-License-Identifier: Apache-2.0 43 value. Please be aware that increasing it for long-running test cases 64 default -2 if !PREEMPT_ENABLED 65 default -1 67 Set priority of the testing thread. Default is -1 (cooperative). 87 bool "Using a pre-defined fatal handler and hook function" 89 Use the pre-defined common fatal error handler and a post hook to 95 bool "Using a pre-defined assert handler and hook function" 97 Use the pre-defined common assert fail handler and a post hook to 115 Print a CMake warning when building ztests with no compiler [all …]
|
/Zephyr-latest/subsys/mgmt/mcumgr/smp/ |
D | Kconfig | 2 # Copyright Nordic Semiconductor ASA 2020-2022. All rights reserved. 3 # SPDX-License-Identifier: Apache-2.0 11 # MCUMGR_SMP_ -- for general SMP options; 12 # MCUMGR_SMP_CBOR -- for CBOR encoding specific options; 23 data directly to main map, creating sub-maps instead so 75 SMP commands/groups that provide no CBOR encoded payload 76 have no requirements. 153 bool "Support verbose error response"
|
/Zephyr-latest/scripts/pylib/twister/twisterlib/ |
D | twister_main.py | 4 # SPDX-License-Identifier: Apache-2.0 43 formatter = logging.Formatter("%(asctime)s - %(levelname)s - %(message)s") 45 formatter = logging.Formatter("%(levelname)-7s - %(message)s") 48 "%(asctime)s - %(name)s - %(levelname)s - %(message)s" 100 sys.exit(f"Too many '{options.outdir}.*' directories. Run either with --no-clean, " 101 "or --clobber-output, or delete these directories manually.") 138 if options.verbose > 1: 139 # if we are using command line platform filter, no need to list every 175 duration = time.time() - start_time 210 duration = time.time() - start_time [all …]
|
/Zephyr-latest/subsys/net/l2/ieee802154/ |
D | Kconfig | 2 # SPDX-License-Identifier: Apache-2.0 18 module-dep = NET_LOG 19 module-str = Log level for IEEE 802.15.4 20 module-help = Enables IEEE 802.15.4 code to output debug messages. 28 verbose, do not enable this unless you know what you are doing. 31 prompt "Which packet do you want to print-out?" 36 bool "Print-out both RX and TX packets" 38 This will print-out both received and transmitted packets. 41 bool "Print-out only RX packets" 43 This will print-out received packets only. [all …]
|
/Zephyr-latest/lib/libc/picolibc/ |
D | Kconfig | 2 # SPDX-License-Identifier: Apache-2.0 49 Includes full integer with long long, but no floating 56 Include full integer other than long long, but no floating point 63 Include limited integer and no floating point support in 84 Compiler optimizations will be set to -Os independently of other 90 Compiler optimizations will be set to -O2 independently of other 96 Compiler optimizations will be set to -Og independently of other 102 Compiler optimizations will be set to -O0 independently of other 112 built in space-optimized mode 115 bool "assert provides verbose information" [all …]
|
/Zephyr-latest/doc/_scripts/ |
D | gen_devicetree_rest.py | 2 # SPDX-License-Identifier: Apache-2.0 26 GENERIC_OR_VENDOR_INDEPENDENT = 'Generic or vendor-independent' 31 # Base properties that have documentation in 'dt-important-props'. 59 # Load the vendor-prefixes.txt file. Return a dict mapping 'vnd' 65 # vnd A stand-in for a real vendor 67 # Gets split into a key 'vnd' and a value 'A stand-in for a real 77 logger.info('found %d vendor prefixes in %s', len(vnd2vendor) - 1, 92 # - The 'None' key maps to bindings with no vendor prefix 93 # in their compatibles, like 'gpio-keys'. This is the first key. 94 # - The (UNKNOWN_VENDOR,) key maps to bindings whose compatible [all …]
|