This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Copyright (c) 2024 Tenstorrent, Inc. | |
# SPDX-License-Identifier: Apache-2.0 | |
variables: | |
# sdk version, path, etc are tied to the zephyr-build image tag | |
ZEPHYR_BUILD_CONTAINER_TAG: "v0.27.4" | |
ZEPHYR_BUILD_CONTAINER: "docker.io/zephyrprojectrtos/ci:${ZEPHYR_BUILD_CONTAINER_TAG}" | |
ZEPHYR_SDK_VERSION: "0.17.0" | |
ZEPHYR_TOOLCHAIN_VARIANT: "zephyr" | |
ZEPHYR_SDK_INSTALL_DIR: "/opt/toolchains/zephyr-sdk-${ZEPHYR_SDK_VERSION}" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
# Copyright (c) 2024, Tenstorrent AI ULC | |
# SPDX-License-Identifier: Apache-2.0 | |
"""Apply patches to one or more Zephyr modules | |
Usage: | |
west patch [-b DIR] [-l FILE] [-w DIR] [-m NAME] [-r] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
```shell | |
twister -p native_sim -p qemu_riscv64 -p qemu_x86 -p qemu_x86_64 -p qemu_cortex_a53 -p mps2/an385 -T tests/posix | |
... | |
INFO - Total complete: 270/ 270 100% skipped: 84, failed: 0, error: 0 | |
INFO - 45 test scenarios (270 test instances) selected, 84 configurations skipped (58 by static filter, 26 at runtime). | |
INFO - 186 of 270 test configurations passed (100.00%), 0 failed, 0 errored, 84 skipped with 0 warnings in 403.48 seconds | |
INFO - In total 7029 test cases were executed, 3759 skipped on 6 out of total 21 platforms (28.57%) | |
INFO - 181 test configurations executed on platforms, 5 test configurations were only built. | |
``` |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
From 398403cec5a0167c0d027196913b17759cc1a2a1 Mon Sep 17 00:00:00 2001 | |
From: Chris Friedt <[email protected]> | |
Date: Tue, 2 Jul 2024 20:13:49 -0400 | |
Subject: [PATCH] fdtable: avoid pulling in posix header & types | |
Although fdtable sat a layer below posix, as part of | |
the base os, it was reaching up a layer for posix types, | |
creating another dependency cycle. | |
Additionally, <sys/select.h> no longer has |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Helper dotfile for managing Zephyr SDK and Python Virtual Environment | |
# See https://docs.zephyrproject.org/latest/develop/getting_started/index.html | |
# Also available at https://bit.ly/3Xxehrw | |
# Variables (adjust as needed) | |
# curl -L 'https://bit.ly/3Xxehrw' \ | |
# | sed \ | |
# -e "s|^PREFIX=@PREFIX@|PREFIX=$PREFIX|" \ | |
# -e "s|^ZEPHYR_VENV_VERSION=@ZEPHYR_VENV_VERSION@|ZEPHYR_VENV_VERSION=$ZEPHYR_VENV_VERSION|" \ | |
# -e "s|^ZEPHYR_SDK_VERSION=@ZEPHYR_SDK_VERSION@|ZEPHYR_SDK_VERSION=$ZEPHYR_SDK_VERSION|" \ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
set -e | |
# usage: | |
# ./zephyr-release-stats.sh | tee zephyr-release-stats.csv | |
cd $HOME/zephyrproject/zephyr | |
RELEASES=( v2.0.0 v2.1.0 v2.2.0 v2.3.0 v2.4.0 v2.5.0 v2.6.0 v2.7.0 v3.0.0 v3.1.0 v3.2.0 v3.3.0 v3.4.0 v3.5.0 ) | |
N=${#RELEASES[@]} |
NewerOlder