Home
last modified time | relevance | path

Searched +full:- +full:- +full:short +full:- +full:build +full:- +full:path (Results 1 – 25 of 52) sorted by relevance

123

/Zephyr-latest/.github/workflows/
Dhello_world_multiplatform.yaml6 - main
7 - v*-branch
8 - collab-*
11 - main
12 - v*-branch
13 - collab-*
15 - 'scripts/**'
16 - '.github/workflows/hello_world_multiplatform.yaml'
17 - 'SDK_VERSION'
20 group: ${{ github.workflow }}-${{ github.event_name }}-${{ github.head_ref || github.ref }}
[all …]
/Zephyr-latest/scripts/tests/twister/
Dtest_environment.py5 # SPDX-License-Identifier: Apache-2.0
25 ['--short-build-path', '-k'],
26 '--short-build-path requires Ninja to be enabled'
32 ['--device-serial-pty', 'dummy'],
33 '--device-serial-pty is not supported on Windows OS'
39 ['--west-runner=dummy'],
40 'west-runner requires west-flash to be enabled'
46 ['--west-flash=\"--board-id=dummy\"'],
47 'west-flash requires device-testing to be enabled'
56 ['--enable-valgrind'],
[all …]
Dtest_handlers.py5 # SPDX-License-Identifier: Apache-2.0
83 ' --device-testing option.'], None),
86 ' --device-testing option.'], ImportError),
103 def find_spec(self, fullname, path, target=None): argument
130 handler = Handler(mocked_instance, 'build', mock.Mock())
182 handler = Handler(instance, 'build', mock.Mock())
199 handler = Handler(mocked_instance, 'build', mock.Mock())
223 handler = Handler(instance, 'build', mock.Mock())
248 mock_child_neg1 = mock.Mock(pid=-1)
258 [mock.call(-1, signal.SIGTERM), mock.call(2, signal.SIGTERM)]
[all …]
Dtest_runner.py4 # SPDX-License-Identifier: Apache-2.0
25 sys.path.insert(0, os.path.join(ZEPHYR_BASE, "scripts/pylib/twister"))
71 def project_builder(mocked_instance, mocked_env, mocked_jobserver) -> ProjectBuilder:
77 def runners(project_builder: ProjectBuilder) -> dict:
82 build_dir_zephyr_path = os.path.join(project_builder.instance.build_dir, 'zephyr')
84 runners_file_path = os.path.join(build_dir_zephyr_path, 'runners.yaml')
88 'hex_file': os.path.join(build_dir_zephyr_path, 'zephyr.elf'),
98 @mock.patch("os.path.exists")
119 "-DCONFIG_t=\"test\"",
120 "-Dcmake1=foo", "-Dcmake2=bar",
[all …]
/Zephyr-latest/scripts/tests/twister_blackbox/
Dtest_outfile.py4 # SPDX-License-Identifier: Apache-2.0
18 # pylint: disable=no-name-in-module
28 apath = os.path.join(ZEPHYR_BASE, 'scripts', 'twister')
41 (['--clobber-output'], False, False),
42 (['--no-clean'], False, True),
43 (['--clobber-output', '--no-clean'], False, True),
49 path = os.path.join(TEST_DATA, 'tests', 'dummy')
50 args = ['-i', '--outdir', out_path, '-T', path, '-y'] + \
53 ['-p'] * len(test_platforms), test_platforms
56 # We create an empty 'blackbox-out' to trigger the clobbering
[all …]
Dtest_runner.py2 # Copyright (c) 2023-2024 Intel Corporation
4 # SPDX-License-Identifier: Apache-2.0
8 # pylint: disable=duplicate-code
18 # pylint: disable=no-name-in-module
27 os.path.join(TEST_DATA, 'tests', 'dummy', 'agnostic'),
35 os.path.join(TEST_DATA, 'tests', 'dummy', 'device'),
45 os.path.join(TEST_DATA, 'tests', 'dummy', 'agnostic'),
67 os.path.join(TEST_DATA, 'tests', 'dummy', 'agnostic'),
73 os.path.join(TEST_DATA, 'tests', 'dummy', 'agnostic'),
85 os.path.join(TEST_DATA, 'tests', 'dummy', 'agnostic'),
[all …]
/Zephyr-latest/boards/heltec/heltec_wifi_lora32_v2/doc/
Dindex.rst6 Heltec WiFi LoRa 32 is a classic IoT dev-board designed & produced by Heltec Automation(TM), it's a…
7 integrated product based on ESP32 + SX127x, it has Wi-Fi, BLE, LoRa functions, also Li-Po battery m…
12 - Microprocessor: ESP32 (dual-core 32-bit MCU + ULP core)
13 - LoRa node chip SX1276/SX1278
14 - Micro USB interface with a complete voltage regulator, ESD protection, short circuit protection,
16 - Onboard SH1.25-2 battery interface, integrated lithium battery management system
17 - Integrated WiFi, LoRa, Bluetooth three network connections, onboard Wi-Fi, Bluetooth dedicated 2.…
19 - Onboard 0.96-inch 128*64 dot matrix OLED display
20 - Integrated CP2102 USB to serial port chip
31 .. code-block:: console
[all …]
/Zephyr-latest/tests/bsim/bluetooth/ll/edtt/
DREADME.txt10 In very short, there is 2 applications in this folder:
11 1.) A controller only build of the BLE stack, where the HCI, and a few extra
50 The shortest path is to use the provided scripts.
52 In short the whole process being:
54 cd ${ZEPHYR_BASE} && source zephyr-env.sh
/Zephyr-latest/doc/develop/west/
Dbuild-flash-debug.rst1 .. _west-build-flash-debug:
6 Zephyr provides several :ref:`west extension commands <west-extensions>` for
8 ``build``, ``flash``, ``debug``, ``debugserver`` and ``attach``.
11 commands, see :ref:`flash-and-debug-support` in the board porting guide.
13 .. Add a per-page contents at the top of the page. This page is nested
21 .. _west-building:
23 Building: ``west build``
26 .. tip:: Run ``west build -h`` for a quick overview.
28 The ``build`` command helps you build Zephyr applications from source. You can
29 use :ref:`west config <west-config-cmd>` to configure its behavior.
[all …]
Dextensions.rst1 .. _west-extensions:
8 for short. Extensions show up in the ``west --help`` output in a special
14 :ref:`build, flash, and debug <west-build-flash-debug>` and the
15 :ref:`ones described here <west-zephyr-ext-cmds>` , are extensions. That's why
16 help for them shows up like this in ``west --help``:
18 .. code-block:: none
23 build: compile a Zephyr application
24 sign: sign a Zephyr binary for bootloader chain-loading
30 See :file:`zephyr/scripts/west-commands.yml` and the
37 :ref:`configuration <west-config>` option to ``false``. To set this
[all …]
/Zephyr-latest/scripts/pylib/twister/twisterlib/
Denvironment.py4 # Copyright (c) 2018-2024 Intel Corporation
8 # SPDX-License-Identifier: Apache-2.0
21 from pathlib import Path
37 # for. Don't use it when invoking other components of the build system
41 # Note "normalization" is different from canonicalization, see os.path.
42 canonical_zephyr_base = os.path.realpath(ZEPHYR_BASE)
45 def _get_installed_packages() -> Generator[str, None, None]:
63 PYTEST_PLUGIN_INSTALLED = 'pytest-twister-harness' in installed_packages
67 newstring = os.path.normpath(astring).replace(os.sep, '/')
71 def add_parse_arguments(parser = None) -> argparse.ArgumentParser:
[all …]
Dsize_calc.py5 # SPDX-License-Identifier: Apache-2.0
73 # These get copied into RAM only on non-XIP
97 # Variable below is stored for calculating size using build.log
106 @param elf_filename (str) Path to the output binary
112 @param buildlog_filepath (str, default: '') Path to the
113 output build.log
168 def get_available_ram(self) -> int:
175 def get_available_rom(self) -> int:
184 footprint from the build.log file is set.
189 if self.buildlog_filename.endswith("build.log"):
[all …]
Dtwister_main.py4 # SPDX-License-Identifier: Apache-2.0
33 fh = logging.FileHandler(os.path.join(outdir, "twister.log"))
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"
79 if os.path.exists(options.outdir):
82 ls = os.path.join(options.outdir, "twister.json")
83 if os.path.exists(ls):
88 elif os.path.exists(options.outdir):
95 if not os.path.exists(new_out):
[all …]
/Zephyr-latest/scripts/west_commands/runners/
Dcore.py6 # SPDX-License-Identifier: Apache-2.0
54 def find_rtt_block(elf_file: str) -> int | None:
123 cmd = ['netstat', '-a', '-n', '-p', 'tcp']
127 cmd = ['ss', '-a', '-n', '-t']
131 cmd = ['netstat', '-a', '-n', '-p', 'tcp']
156 '''This helper class provides access to build-time configuration.
168 self.path = os.path.join(self.build_dir, 'zephyr', '.config')
187 filename = self.path
189 opt_value = re.compile(f'^(?P<option>{self.config_prefix}_[A-Za-z0-9_]+)=(?P<value>.*)$')
190 not_set = re.compile(f'^# (?P<option>{self.config_prefix}_[A-Za-z0-9_]+) is not set$')
[all …]
/Zephyr-latest/cmake/modules/
Dextensions.cmake1 # SPDX-License-Identifier: Apache-2.0
14 # 1. Zephyr-aware extensions
21 # 2. Kconfig-aware extensions
23 # 3. CMake-generic extensions
39 # 7.2 add_llext_* build control functions
44 # 1. Zephyr-aware extensions
49 # "zephyr". zephyr is a catch-all CMake library for source files that
52 # [0] https://cmake.org/cmake/help/latest/manual/cmake-buildsystem.7.html
60 # Is short for:
66 # As a very high-level introduction here are two call graphs that are
[all …]
Ddts.cmake1 # SPDX-License-Identifier: Apache-2.0
13 # various build stages, as well as to other arbitrary Python scripts:
15 # - To Zephyr and application source code files, as a C macro API
18 # - To other arbitrary Python scripts (like twister) using a
22 # - To users as a final devicetree source (DTS) file which can
25 # - To CMake files, after this module has finished running, using
28 # - To Kconfig files, both using some Kconfig symbols we generate
44 # - The pre_dt module has been included; refer to its outcome
46 # - DTS_SOURCE: set to the path to the devicetree file which
48 # - ${BINARY_DIR_INCLUDE_GENERATED}/devicetree_generated.h exists
[all …]
/Zephyr-latest/scripts/build/
Dprocess_gperf.py5 # SPDX-License-Identifier: Apache-2.0
8 gperf C file post-processor
10 We use gperf to build up a perfect hashtable of pointer values. The way gperf
15 We are exclusively working with 4-byte pointer values. This script adjusts
26 # --- debug stuff ---
31 sys.stdout.write(os.path.basename(sys.argv[0]) + ": " + text + "\n")
35 sys.exit(os.path.basename(sys.argv[0]) + " ERROR: " + text)
40 os.path.basename(
51 addr_str = addr_str[1:-1]
75 ctr -= 1
[all …]
/Zephyr-latest/boards/intel/socfpga_std/cyclonev_socdk/doc/
Dindex.rst32 * J6 : Short
33 * J7 : Short
35 * J13: Short
37 * J26: Short pins 1-2
38 * J27: Short pins 2-3
39 * J28: Short pins 1-2
40 * J29: Short pins 2-3
41 * J30: Short pins 1-2
48 * SW3: ON-OFF-ON-OFF-ON-ON
49 * SW4: OFF-OFF-ON-ON
[all …]
/Zephyr-latest/boards/cypress/cy8ckit_062_ble/doc/
Dindex.rst9 The PSOC 6 BLE Pioneer Kit (CY8CKIT-062-BLE) is a hardware platform that
12 The PSOC 6 BLE Pioneer Kit features the PSOC 63 MCU: a dual-core MCU, with a
13 150-MHz Arm Cortex-M4 as the primary application processor and a 100-MHz Arm
14 Cortex-M0+ that supports low-power operations, 1MB of Flash, 288KB of SRAM,
16 programmable digital blocks, and capacitive-sensing with CapSense.
19 512-Mb NOR flash, onboard programmer/debugger (KitProg2), USB Type-C power
20 delivery system (EZ-PD™ CCG3), 5-segment CapSense slider, two CapSense
24 The CY8CKIT-062-BLE package includes a CY8CKIT-028-EPD E-INK Display Shield
25 that contains a 2.7-inch E-INK display, a motion sensor, a thermistor, and a
27 Dongle that is factory-programmed to emulate a BLE GAP Central device,
[all …]
/Zephyr-latest/
DKconfig.zephyr3 # Copyright (c) 2014-2015 Wind River Systems, Inc.
6 # SPDX-License-Identifier: Apache-2.0
56 menu "Build and Link Features"
92 bool "Link application into /chosen/zephyr,code-partition from devicetree"
95 selected by the zephyr,code-partition property in /chosen in devicetree.
100 DT_CHOSEN_Z_CODE_PARTITION := zephyr,code-partition
103 # Only user-configurable when USE_DT_CODE_PARTITION is disabled
116 # Only user-configurable when USE_DT_CODE_PARTITION is disabled
121 If non-zero, this option specifies the size, in bytes, of the flash
136 If the application is built for chain-loading by a bootloader this
[all …]
/Zephyr-latest/doc/contribute/documentation/
Dguidelines.rst16 Sphinx installed) they can :ref:`build the documentation <zephyr_doc>` locally
24 .. _Sphinx extensions: http://www.sphinx-doc.org/en/stable/contents.html
26 .. _Sphinx Inline Markup: http://sphinx-doc.org/markup/inline.html#inline-markup
30 Sphinx-defined directives and roles used to create the documentation
42 the first non-white space in the preceding line. For example::
50 .. code-block::
66 * Third section heading level (h4) use ``-``
84 For bullet lists, place an asterisk (``*``) or hyphen (``-``) at
113 #. This is a second-level list under the first item (also
126 Build the HTML output for the project
[all …]
/Zephyr-latest/boards/heltec/heltec_wireless_stick_lite_v3/doc/
Dindex.rst6 HelTec Wireless Stick Lite (V3) is a development board with Wi-Fi, Bluetooth and LoRa support. It i…
13 - ESP32-S3FN8 low-power MCU-based SoC (dual-core Xtensa® 32-bit LX7 microprocessor, five stage pipe…
14 - Semtech SX1262 LoRa node chip
15 - Type-C USB interface with a complete voltage regulator, ESD protection, short circuit protection,…
16 - Onboard SH1.25-2 battery interface, integrated lithium battery management system (charge and disc…
17 - Integrated WiFi and Bluetooth interfaces with 2.4GHz metal spring antenna and reserved IPEX (U.FL…
18 - Integrated CP2102 USB to serial port chip, convenient for program downloading, debugging informat…
19 - Good RF circuit design and low-power design.
23 - LoRa via SPI
24 - UART0 (USB Serial via CP2102)
[all …]
/Zephyr-latest/doc/develop/test/
Dtwister.rst7 and attempts to execute them. By default, it tries to build each test
10 The default options will build the majority of the test applications on a
15 cannot guarantee local changes will succeed in the full build
20 When using (at least) one ``-v`` option, twister's console output
27 - The test is marked as ``build_only: true`` in its ``.yaml``
29 - The test configuration has defined a ``harness`` but you don't have
31 - The target device is not connected and not available for flashing
32 - You or some higher level automation invoked twister with
33 ``--build-only``.
39 .. group-tab:: Linux
[all …]
/Zephyr-latest/soc/silabs/silabs_sim3/sim3u/
Dgen_crossbar_config.py5 # SPDX-License-Identifier: Apache-2.0
9 The SiM3U1xx SoCs do support pinmuxing, but with many limimitations. It's also non-optional, so we
18 - crossbar 0: Controls portbanks 0 and 1
19 - crossbar 1: Controls portbanks 2 and 3
21 Each crossbar has two configuration-values which reside in different registers:
22 - config: A bitmask which tells the crossbar which peripherals should be muxed. Some peripherals
24 - enable: A bit which enables or disables the whole crossbar. When disabled, all pins of the
28 - pbskipen: A bitmask where value `1` means, that the pin will not be muxed.
36 - Pins of a peripheral are always consecutive within all non-skipped pins.
37 - Peripherals that appear first in the signal list will always use lower pin-numbers than later ones
[all …]
/Zephyr-latest/scripts/ci/
Dcheck_compliance.py5 # SPDX-License-Identifier: Apache-2.0
14 from pathlib import Path
34 sys.path.insert(0, str(Path(__file__).resolve().parents[1]))
57 f"{cp.stdout.decode('utf-8')}\n"
59 f"{cp.stderr.decode('utf-8')}\n")
61 return cp.stdout.decode("utf-8").rstrip()
70 return git('rev-list',
71 f'--max-count={-1 if "." in refspec else 1}', refspec).split()
74 filter_arg = (f'--diff-filter={filter}',) if filter else ()
75 paths_arg = ('--', *paths) if paths else ()
[all …]

123