Home
last modified time | relevance | path

Searched +full:- +full:- +full:output +full:- +full:file (Results 1 – 25 of 925) sorted by relevance

12345678910>>...37

/Zephyr-latest/soc/nuvoton/npcm/common/esiost/
Desiost.py5 # SPDX-License-Identifier: Apache-2.0
10 # -i in_file.bin -o out_file.bin
11 # [-chip <name>] [-v]
61 INVALID_INPUT = -1
93 """checks the input file and output and sets the output file.
95 checks input file existence, creates an output file according
96 to the 'output' argument.
98 Note: input file size has to be greater than 0, and named differently
99 from output file
103 :returns: output file path object, or -1 if fails
[all …]
/Zephyr-latest/soc/nuvoton/npcx/common/ecst/
Decst.py5 # 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
156 """checks the input file and output and sets the output file.
[all …]
/Zephyr-latest/cmake/
Dmcuboot.cmake1 # Copyright (c) 2020-2025 Nordic Semiconductor ASA
2 # SPDX-License-Identifier: Apache-2.0
4 # This file includes extra build system logic that is enabled when
7 # It builds signed binaries using imgtool as a post-processing step
10 # Since this file is brought in via include(), we do the work in a
11 # function to avoid polluting the top-level scope.
15 # output of a given type.
28 # No signature key file, no signed binaries. No error, though:
42 foreach(file keyfile keyfile_enc)
43 if(NOT "${${file}}" STREQUAL "")
[all …]
Dcfb.cmake1 # SPDX-License-Identifier: Apache-2.0
3 # These functions can be used to generate a CFB font include file from
4 # a TrueType/OpenType font file or an image file.
6 input_file # The TrueType/OpenType font file or the image file
7 output_file # The generated header file
12 OUTPUT ${output_file}
16 --zephyr-base ${ZEPHYR_BASE}
17 --input ${input_file}
18 --output ${output_file}
19 --bindir ${CMAKE_BINARY_DIR}
[all …]
/Zephyr-latest/scripts/build/
Dgen_strerror_table.py5 # SPDX-License-Identifier: Apache-2.0
15 * This file generated by {__file__}
27 def gen_strerror_table(input, output): argument
37 pat = r'^#define[\s]+(E[A-Z_]*)[\s]+([1-9][0-9]*)[\s]+/\*\*<[\s]+(.*)[\s]+\*/[\s]*$'
53 os.makedirs(os.path.dirname(output))
58 with open(output, 'w') as outf:
60 print(front_matter(highest_errno + 1), file=outf)
64 f'static const char *const sys_errlist[sys_nerr] = {{', file=outf)
65 print('[0] = "Success",', file=outf)
67 print(f'[{symbol}] = "{msgs[symbol]}",', file=outf)
[all …]
Dgen_strsignal_table.py5 # SPDX-License-Identifier: Apache-2.0
15 * This file is generated by {__file__}
22 def gen_strsignal_table(input, output): argument
32 pat = r'^#define[\s]+(SIG[A-Z_]*)[\s]+([1-9][0-9]*)[\s]+/\*\*<[\s]+(.*)[\s]+\*/[\s]*$'
48 os.makedirs(os.path.dirname(output))
53 with open(output, 'w') as outf:
55 print(front_matter(), file=outf)
59 f'static const char *const strsignal_list[{highest_signo + 1}] = {{', file=outf)
61 print(f'\t[{symbol}] = "{msgs[symbol]}",', file=outf)
63 print('};', file=outf)
[all …]
Dmergehex.py5 # SPDX-License-Identifier: Apache-2.0
7 # This merges a set of input hex files into a single output hex file.
16 def merge_hex_files(output, input_hex_files, overlap): argument
22 # Since 'arm-none-eabi-objcopy' incorrectly inserts record
23 # type '03 - Start Segment Address', we need to remove the
32 ih.write_hex_file(output)
39 parser.add_argument("-o", "--output", required=False, default="merged.hex",
40 type=argparse.FileType('w', encoding='UTF-8'),
41 help="Output file name.")
42 parser.add_argument("--overlap", default="error",
[all …]
Dgen_offset_header.py5 # SPDX-License-Identifier: Apache-2.0
9 This script scans a specified object file and generates a header file
31 output_file.write("""/* THIS FILE IS AUTO GENERATED. PLEASE DO NOT EDIT.
33 * This header file provides macros for the offsets of various structure
68 "-i",
69 "--input",
71 help="Input object file")
73 "-o",
74 "--output",
76 help="Output header file")
[all …]
/Zephyr-latest/doc/build/dts/
Dintro-input-output.rst1 .. _devicetree-in-out-files:
3 Input and output files
6 This section describes the input and output files shown in the figure in
7 :ref:`devicetree-scope-purpose` in more detail.
10 :figclass: align-center
12 Devicetree input (green) and output (yellow) files
14 .. _dt-input-files:
21 - sources (``.dts``)
22 - includes (``.dtsi``)
23 - overlays (``.overlay``)
[all …]
/Zephyr-latest/scripts/utils/
Dconvert_guidelines.py4 # SPDX-License-Identifier: Apache-2.0
6 """This script converting the Zephyr coding guideline rst file to a output file,
7 or print the output to the console. Which than can be used by a tool which
20 Base class for the different output formats
37 print('Appendix A Summary of guidelines', file=outputfile)
40 print('Rule ' + guideline_number + ' ' + severity, file=outputfile)
43 print(description + '(Misra rule ' + guideline_number + ')', file=outputfile)
47 print('Appendix B', file=outputfile)
48 print('', file=outputfile)
55 # If the output is not empty, open the given file for writing
[all …]
/Zephyr-latest/doc/_extensions/zephyr/
Ddoxyrunner.py6 SPDX-License-Identifier: Apache-2.0
16 - Doxygen build is run before Sphinx reads input files
17 - Doxyfile can be optionally pre-processed so that variables can be inserted
18 - Changes in the Doxygen input files are tracked so that Doxygen build is only
20 - Synchronizes Doxygen XML output so that even if Doxygen is run only changed,
25 - https://github.com/michaeljones/breathe/issues/420
30 - ``doxyrunner_doxygen``: Path to the Doxygen binary.
31 - ``doxyrunner_silent``: If Doxygen output should be logged or not. Note that
33 - ``doxyrunner_projects``: Dictionary specifying projects, keys being project
36 - ``doxyfile``: Path to Doxyfile.
[all …]
/Zephyr-latest/samples/posix/eventfd/
DREADME.rst1 .. zephyr:code-sample:: posix-eventfd
4 Use ``eventfd()`` to create a file descriptor for event notification.
9 This sample application demonstrates using the POSIX eventfd() function to create a file descriptor,
10 which can be used for event notification. The returned file descriptor is used with write/read calls
11 and write/read values are output to the console.
18 .. zephyr-app-commands::
19 :zephyr-app: samples/posix/eventfd
20 :host-os: unix
27 .. code-block:: console
30 make -f Makefile.host
[all …]
/Zephyr-latest/subsys/mgmt/mcumgr/grp/fs_mgmt/src/
Dfs_mgmt_hash_checksum_sha256.c4 * SPDX-License-Identifier: Apache-2.0
33 static int hash_finish(hash_ctx_t *, uint8_t *output);
36 static int fs_mgmt_hash_checksum_sha256(struct fs_file_t *file, uint8_t *output, in fs_mgmt_hash_checksum_sha256() argument
47 memset(output, 0, SHA256_DIGEST_SIZE); in fs_mgmt_hash_checksum_sha256()
53 /* Read all data from file and add to SHA256 hash calculation */ in fs_mgmt_hash_checksum_sha256()
57 read_size = len - *out_len; in fs_mgmt_hash_checksum_sha256()
60 bytes_read = fs_read(file, buffer, read_size); in fs_mgmt_hash_checksum_sha256()
63 /* Failed to read file data */ in fs_mgmt_hash_checksum_sha256()
74 /* Finalise SHA256 hash calculation and store output in provided output buffer */ in fs_mgmt_hash_checksum_sha256()
75 if (hash_finish(&hash_ctx, output) == SUCCESS_VALUE) { in fs_mgmt_hash_checksum_sha256()
[all …]
/Zephyr-latest/samples/boards/st/mco/
DREADME.rst1 .. zephyr:code-sample:: stm32_mco
2 :name: Master Clock Output (MCO)
3 :relevant-api: pinctrl_interface
5 Output an internal clock for external use by the application.
10 This sample is a minimum application to demonstrate how to output one of the internal clocks for
17 To support another board, add a dts overlay file in boards folder.
18 Make sure that the output clock is enabled in dts overlay file.
23 See :zephyr_file:`dts/bindings/clock/st,stm32-clock-mco.yaml`
31 .. zephyr-app-commands::
32 :zephyr-app: samples/boards/st/mco
[all …]
/Zephyr-latest/dts/bindings/pinctrl/
Dene,kb1200-pinctrl.yaml1 # SPDX-License-Identifier: Apache-2.0
9 - bias-disable: Disable pull-up/down resistor.
10 - bias-pull-up: Enable pull-up resistor.
11 - bias-pull-down: Enable pull-down resistor.
12 - drive-push-pull: Output driver is push-pull.
13 - drive-open-drain: Output driver is open-drain.
14 - output-disable: Disable GPIO output driver data
15 - output-enable: Ensable GPIO output driver data
16 - output-high: GPIO output data high
17 - output-low: GPIO output data low
[all …]
/Zephyr-latest/scripts/coredump/
Dcoredump_serial_log_parser.py5 # SPDX-License-Identifier: Apache-2.0
22 parser.add_argument("infile", help="Serial Log File")
24 help="Output file for use with coredump GDB server")
34 print(f"ERROR: Cannot open input file: {args.infile}, exiting...")
39 print(f"ERROR: Cannot open output file for write: {args.outfile}, exiting...")
42 print(f"Input file {args.infile}")
43 print(f"Output file {args.outfile}")
52 # Found "BEGIN#" - beginning of log
58 # Found "END#" - end of log
/Zephyr-latest/soc/realtek/ec/common/rts5912_imgtool/
Dimg_gen.py1 # SPDX-License-Identifier: Apache-2.0
3 # Copyright (c) 2024 Realtek Semiconductor Corporation, SIBG-SD7
9 the header to original BIN and output a new BIN file.
35 "-L",
36 "--load-addr",
43 "-I",
44 "--input",
48 help="Input bin file path",
52 "-O",
53 "--output",
[all …]
/Zephyr-latest/doc/develop/languages/c/
Dminimal_libc.rst15 The minimal libc implementation can be found in :file:`lib/libc/minimal` in the
26 Formatted Output
29 The minimal libc does not implement its own formatted output processor;
30 instead, it maps the C standard formatted output functions such as ``printf``
32 C99-compatible formatted output implementation.
34 For more details, refer to the :ref:`Formatted Output <formatted_output>` OS
50 :file:`errno.h` header file.
53 other de-facto standard sources have been added to the minimal libc.
57 libraries supported by Zephyr. The minimal libc :file:`errno.h` is checked
67 .. _`errno.h`: https://github.com/zephyrproject-rtos/zephyr/blob/main/lib/libc/minimal/include/errn…
/Zephyr-latest/samples/shields/x_nucleo_iks02a1/microphone/
DREADME.rst1 .. zephyr:code-sample:: x-nucleo-iks02a1-mic
2 :name: X-NUCLEO-IKS02A1 shield - MEMS microphone
3 :relevant-api: audio_dmic_interface
5 Acquire audio using the digital MEMS microphone on X-NUCLEO-IKS02A1 shield.
9 This sample enables the digital MEMS microphone on X-NUCLEO-IKS02A1
13 the digital MEMS microphone on X-NUCLEO-IKS02A1 shield.
21 This sample communicates over I2C with the X-NUCLEO-IKS02A1 shield
34 - X-NUCLEO-IKS02A1: https://www.st.com/en/ecosystems/x-nucleo-iks02a1.html
39 This sample runs with X-NUCLEO-IKS02A1 stacked on any board with a matching
43 .. zephyr-app-commands::
[all …]
/Zephyr-latest/samples/basic/custom_dts_binding/
DREADME.rst1 .. zephyr:code-sample:: gpio-custom-dts-binding
3 :relevant-api: gpio_interface devicetree-generic-id devicetree-generic-exist
10 In Zephyr, all hardware-specific configuration is described in the devicetree.
16 output) of a GPIO pin is configured in the application firmware.
18 For typical use cases like LEDs or buttons, the existing :dtcompatible:`gpio-leds` or
19 :dtcompatible:`gpio-keys` compatibles can be used.
24 custom devicetree binding for the power output controlled via a GPIO pin is specified in the file
25 :zephyr_file:`samples/basic/custom_dts_binding/dts/bindings/power-switch.yaml`. The gate driver for
26 the MOSFET would be connected to the pin as specified in the ``.overlay`` file in the boards
32 For each board that should be supported, a ``.overlay`` file has to be defined
[all …]
/Zephyr-latest/modules/mbedtls/
Dcreate_psa_files.py4 # SPDX-License-Identifier: Apache-2.0
18 HEADER_PATH=os.path.join(SCRIPT_PATH, "configs", "config-psa.h")
22 # SPDX-License-Identifier: Apache-2.0
24 # This file was automatically generated by {}
46 * SPDX-License-Identifier: Apache-2.0
49 /* This file was automatically generated by {}
65 # - do not add _BASIC Kconfigs to the automatic generated file (KCONFIG_PATH);
66 # - add _BASIC Kconfigs to Kconfig.psa.logic and let them "default y" as soon as
76 with open(input_file) as file:
77 content = file.readlines()
[all …]
/Zephyr-latest/lib/os/
Dprintk.c2 * Copyright (c) 2010, 2013-2014 Wind River Systems, Inc.
4 * SPDX-License-Identifier: Apache-2.0
8 * @file
9 * @brief Low-level debug output
11 * Low-level debugging output. Platform installs a character output routine at
17 #include <zephyr/sys/printk-hooks.h>
38 * @brief Default character output routine that does nothing
70 FILE file; member
78 k_str_out(ctx->buf, ctx->buf_count); in buf_flush()
79 ctx->buf_count = 0U; in buf_flush()
[all …]
/Zephyr-latest/samples/boards/96boards/argonkey/microphone/
DREADME.rst1 .. zephyr:code-sample:: argonkey_microphone
3 :relevant-api: audio_interface
5 Acquire audio through the ArgonKey's on-board MP34DT05 microphone.
10 the on-board MP34DT05 microphone. The microphone generates a PDM
19 cable to get the output audio stream. The board can be powered
22 - mezzanine mode, plugging the ArgonKey to HiKey board through its 96Board
23 low-speed connector
24 - standalone mode, supplying 5V directly on P1 connector
29 - :ref:`96b_argonkey`
34 .. zephyr-app-commands::
[all …]
/Zephyr-latest/tests/misc/check_init_priorities/
Dvalidate_check_init_priorities_output.py4 # SPDX-License-Identifier: Apache-2.0
6 """Validate the output of check_init_priorities against a test reference."""
12 …"ERROR: /i2c@11112222/test-i2c-dev@10 <NULL> is initialized before its dependency /gpio@ffff <NULL…
13 …"ERROR: /i2c@11112222/test-i2c-dev@10 <NULL> is initialized before its dependency /i2c@11112222 <N…
14 … "INFO: /i2c@11112222/test-i2c-dev@11 <NULL> PRE_KERNEL_1+3 > /gpio@ffff <NULL> PRE_KERNEL_1+1",
15 … "INFO: /i2c@11112222/test-i2c-dev@11 <NULL> PRE_KERNEL_1+3 > /i2c@11112222 <NULL> PRE_KERNEL_1+2",
22 output = [] variable
23 with open(sys.argv[1], "r") as file:
24 for line in file:
27 output.append(line.strip())
[all …]
/Zephyr-latest/samples/subsys/tracing/
DREADME.rst1 .. zephyr:code-sample:: tracing
18 Build a UART-tracing image with:
20 .. zephyr-app-commands::
21 :zephyr-app: samples/subsys/tracing
29 .. zephyr-app-commands::
30 :zephyr-app: samples/subsys/tracing
37 You may need to set "zephyr,tracing-uart" property under the chosen node in your devicetree.
40 After the application has run for a while, check the trace output file.
45 Build a USB-tracing image with:
47 .. zephyr-app-commands::
[all …]

12345678910>>...37