This commit updates the crosstool-ng submodule to track the Zephyr
branch based on the crosstool-ng 1.25.0 release
(`zephyr-crosstool-ng-1.25.0`).
Signed-off-by: Stephanos Ioannidis <root@stephanos.io>
The macOS default Bash 3.x (`/bin/bash`) sets the `HOSTTYPE` variable
to `arm64` instead of `aarch64` on the M1 Macs, causing the setup
script to try fetching the toolchain tarballs from an incorrect URL.
This commit updates the setup script to re-set the `HOSTTYPE` variable
to `aarch64` if `arm64` is set by the Bash.
Signed-off-by: Stephanos Ioannidis <root@stephanos.io>
This commit pulls in the OpenOCD patch that fixes the JTAG device order
for the Intel Cyclone V SoC.
Signed-off-by: Stephanos Ioannidis <root@stephanos.io>
This commit updates the ARC QEMU to 2022.04.26 release (tag).
NOTE: This change was initiated because the original commit
2625a6fbc3f60233e1d340931d00242d82230091 no longer exists in the
upstream repository.
Signed-off-by: Stephanos Ioannidis <root@stephanos.io>
This commit enables the C99 format specifier support for the newlib
nano variant since it is required for C99 standard compatibility.
Without this, Zephyr applications cannot make use of the format
specifiers newly added in the C99 standard such as `%hhu` and `%hhd`.
Moreover, the newlib `inttypes.h` defines `PRI*8` macros as `%hh*` even
when this configuration is disabled, effectively making the abstraction
provided by the `inttypes.h` useless due to lack of universality; for
this reason, the C99 format specifier support must always be enabled
for both full and nano variants of the newlib.
For more details, refer to the issue zephyrproject-rtos/zephyr#45336.
In addition, this commit disables the nano-formatted I/O build option
for the newlib nano variant because this option limits the formatted
I/O features to that of the C89 standard and overrides the C99 format
specifier support option -- refer to the newlib documentation of the
`--enable-newlib-nano-formatted-io` configuration.
Signed-off-by: Stephanos Ioannidis <root@stephanos.io>
This commit pulls in the crosstool-ng patch to fix the incorrect
newlib-nano include path specified by the toolchain `nano.specs` file.
For more details, refer to the issue #468.
Signed-off-by: Stephanos Ioannidis <root@stephanos.io>
The commit 2fc95f5c1a modified the CI
workflow to use the `pull_request_target` trigger for the pull request
runs.
The `pull_request_target` action runs in the context of the target
branch and the GitHub `checkout` action will check out the target
branch commit by default, thereby not building the actual changes in
the pull request branch.
This commit updates the `checkout` action to check out the pull request
head commit when running in the context of `pull_request_target`.
Signed-off-by: Stephanos Ioannidis <root@stephanos.io>
This commit updates the CI workflow to build a minimal Zephyr SDK
distribution bundle which does not include the target toolchains and
allows the required toolchains to be downloaded and installed on-demand
using the setup script.
Signed-off-by: Stephanos Ioannidis <root@stephanos.io>
This commit updates the distribution bundle setup script invocation
parameters for the test job to comply with the updated setup scripts.
Signed-off-by: Stephanos Ioannidis <root@stephanos.io>
This commit adds the feature to download and install individual
toolchains from the web release assets if not all toolchains are
locally installed (e.g. minimal web install distribution archive).
Signed-off-by: Stephanos Ioannidis <root@stephanos.io>
This commit adds the feature to download and install individual
toolchains from the web release assets if not all toolchains are
locally installed (e.g. minimal web install distribution archive).
Signed-off-by: Stephanos Ioannidis <root@stephanos.io>
This commit updates the release workflow to explicitly pass the secrets
to the reusable CI workflow (invoked via `workflow_call`) because the
repository secrets are not available by default in the reusable
workflows.
This commit updates the CI workflow to cache the crosstool-ng and poky
source files used for building the Zephyr SDK in the AWS S3, in order
to speed up the builds as well as to improve the availability of the
source files.
Signed-off-by: Stephanos Ioannidis <root@stephanos.io>
This commit converts the CI workflow to trigger on the
`pull_request_target` instead of `pull_request`, in order to allow
accessing secrets in the workflow.
Signed-off-by: Stephanos Ioannidis <root@stephanos.io>
This commit updates the CI workflow to pull the Docker images from the
GitHub Container Registry (GHCR) to work around the pull rate limits of
the DockerHub.
Signed-off-by: Stephanos Ioannidis <root@stephanos.io>
This commit pulls in the patches required to support the emulation of
the I2C devices (e.g. LSM303DLHC magnetometer) on the ARM targets.
Signed-off-by: Stephanos Ioannidis <root@stephanos.io>
This commit updates the CI workflow to enable the 'dotglob' shell
option while cleaning up the working directories so that all contents
of the working directories, including the hidden files and directories
starting with a dot, are removed.
Note that removing the working directory and re-creating it is not an
option because that is known to break the GitHub Actions runner on the
macOS.
Signed-off-by: Stephanos Ioannidis <root@stephanos.io>
This commit makes the following changes to add a separate QEMU recipe
for ARC.
1. Re-generate "cross.patch" as there're quite some changes in the
newer "configure" script.
2. Remove "--disable-sheepdog" as otherwise configurations fails with
--------------->8------------
ERROR: unknown option --disable-sheepdog
--------------->8------------
3. Add symlinks to the ARC QEMU emulator executables in `/usr/bin`.
Co-authored-by: Stephanos Ioannidis <root@stephanos.io>
Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
Signed-off-by: Stephanos Ioannidis <root@stephanos.io>
This commit updates the QEMU version to 6.2.
QEMU 6.2 is required to support ARM M-Profile Vector Extension (MVE)
emulation.
Signed-off-by: Stephanos Ioannidis <root@stephanos.io>
Use the Zephyr QEMU fork (zephyrproject-rtos/qemu) to build the QEMU
for the Zephyr SDK.
This uses the `zephyr-qemu-v6.0.0` branch in the Zephyr QEMU fork,
which is based on the QEMU v6.0.0 release and contains all the Zephyr-
related patches previously used by the OE build system.
Note that the patch file `cross.patch` was not integrated into the
Zephyr fork branch because it is a Yocto/OE build environment-specific
workaround.
Signed-off-by: Stephanos Ioannidis <root@stephanos.io>
This commit upgrades the meson package version from 0.55.1, which is
provided by the current Poky distribution used, to 0.59.1.
Meson 0.58.2 or above is required for building QEMU 6.2.
Signed-off-by: Stephanos Ioannidis <root@stephanos.io>
This commit adds a Git submodule for the gdb pointing to the commit
8dc5ea2c613782deec380bbad4067e846b0f217e.
Signed-off-by: Stephanos Ioannidis <root@stephanos.io>
This commit adds a Git submodule for the gcc pointing to the commit
8c1f3dcc6eddf3392d77f56c9bed69e5d6446cdf.
Signed-off-by: Stephanos Ioannidis <root@stephanos.io>
This commit adds a Git submodule for the newlib pointing to the
commit 2893dbb10f1fe3bf431a26f89a22e12a5020dc02.
Signed-off-by: Stephanos Ioannidis <root@stephanos.io>
This commit adds a Git submodule for the binutils pointing to the
commit c7d30a54fc17c1e9d9b1c39c7623222442c63af8.
Signed-off-by: Stephanos Ioannidis <root@stephanos.io>
The `CT_LOCAL_TARBALLS_DIR` configuration is build environment-specific
and should not be specified as a part of the toolchain configurations.
This configuration is specified by the CI script according to the CI
build environment.
Signed-off-by: Stephanos Ioannidis <root@stephanos.io>
This commit pulls in the crosstool-ng patch to make package
`SRC_CUSTOM` option mutually exclusive with `SRC_RELEASE` and
`SRC_DEVEL`.
Signed-off-by: Stephanos Ioannidis <root@stephanos.io>
This commit consolidates the previous beta and rc release notes for the
Zephyr SDK 0.14.0 release.
Signed-off-by: Stephanos Ioannidis <root@stephanos.io>
This commit renames the `TOOLCHAIN_ZEPHYR_0_13` Kconfig symbol to
`TOOLCHAIN_ZEPHYR_0_14` in preparation for the Zephyr SDK 0.14.0
release.
Signed-off-by: Stephanos Ioannidis <root@stephanos.io>