Commit Graph

684 Commits

Author SHA1 Message Date
Stephanos Ioannidis bd2c5b739b crosstool-ng: Pull in crosstool-ng 1.25.0 branch
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>
2022-06-13 03:32:44 +09:00
Stephanos Ioannidis 88d9699872 VERSION: Bump to 0.14.2
This commit bumps the Zephyr SDK version to 0.14.2.

Signed-off-by: Stephanos Ioannidis <root@stephanos.io>
2022-05-14 05:25:10 +09:00
Stephanos Ioannidis 2a0993b7be release-notes: Add release notes for 0.14.2
This commit adds the release notes for the Zephyr SDK 0.14.2
release.

Signed-off-by: Stephanos Ioannidis <root@stephanos.io>
2022-05-14 05:25:10 +09:00
Stephanos Ioannidis 0cc56ecd18 scripts: template_setup_posix: Add Bash 3.x support on M1 Mac
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>
2022-05-14 02:30:18 +09:00
Stephanos Ioannidis 524d52fbc7 meta-zephyr-sdk: openocd: Pull in Cyclone V SoC JTAG device order fix
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>
2022-05-14 02:30:07 +09:00
Stephanos Ioannidis 540a80965c meta-zephyr-sdk: arc_qemu: Update to 2022.04.26 release
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>
2022-05-14 01:41:29 +09:00
Stephanos Ioannidis 884964821a VERSION: Bump to 0.14.2-rc1
This commit bumps the Zephyr SDK version to 0.14.2-rc1.

Signed-off-by: Stephanos Ioannidis <root@stephanos.io>
2022-05-11 23:04:01 +09:00
Stephanos Ioannidis ad098d023c release-notes: Add release notes for 0.14.2-rc1
This commit adds the release notes for the Zephyr SDK 0.14.2-rc1
release.

Signed-off-by: Stephanos Ioannidis <root@stephanos.io>
2022-05-11 23:04:01 +09:00
Stephanos Ioannidis 46ceb8961a newlib: Enable C99 format specifier support for newlib-nano
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>
2022-05-11 00:49:31 +09:00
Stephanos Ioannidis 4d6d032500 crosstool-ng: Pull in newlib nano.specs include path patch
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>
2022-05-11 00:49:31 +09:00
Stephanos Ioannidis b00cbbfe12 ci: Fix pull request checkout
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>
2022-05-10 11:33:36 +09:00
Stephanos Ioannidis 6eb1080923 VERSION: Bump to 0.14.1
This commit bumps the Zephyr SDK version to 0.14.1.

Signed-off-by: Stephanos Ioannidis <root@stephanos.io>
2022-04-11 19:08:13 +09:00
Stephanos Ioannidis de5ec5cad6 release-notes: Add release notes for 0.14.1
This commit adds the release notes for the Zephyr SDK 0.14.1 release.

Signed-off-by: Stephanos Ioannidis <root@stephanos.io>
2022-04-11 19:08:13 +09:00
Stephanos Ioannidis 0f14c5081f VERSION: Bump to 0.14.1-rc2
This commit bumps the Zephyr SDK version to 0.14.1-rc2.

Signed-off-by: Stephanos Ioannidis <root@stephanos.io>
2022-04-08 15:00:20 +09:00
Stephanos Ioannidis 26b5445a14 release-notes: Add release notes for 0.14.1-rc2
This commit adds the release notes for the Zephyr SDK 0.14.1-rc2
release.

Signed-off-by: Stephanos Ioannidis <root@stephanos.io>
2022-04-08 15:00:20 +09:00
Stephanos Ioannidis 092deefeb4 ci: Build minimal distribution bundle
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>
2022-04-07 22:13:03 +09:00
Stephanos Ioannidis 4b6e3cd393 ci: Update distribution bundle setup script invocation parameters
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>
2022-04-07 22:13:03 +09:00
Stephanos Ioannidis 33702f015a scripts: template_setup_win: Add web-based toolchain installation
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>
2022-04-07 22:13:03 +09:00
Stephanos Ioannidis 0aff0c8991 scripts: template_setup_posix: Add web-based toolchain installation
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>
2022-04-07 22:13:03 +09:00
Stephanos Ioannidis b0979d75c4 ci: release: Pass secrets to reusable workflows
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.
2022-04-04 21:45:35 +09:00
Stephanos Ioannidis 2de553de7f VERSION: Bump to 0.14.1-rc1
This commit bumps the Zephyr SDK version to 0.14.1-rc1.

Signed-off-by: Stephanos Ioannidis <root@stephanos.io>
2022-04-03 01:55:55 +09:00
Stephanos Ioannidis 6a2f99b842 release-notes: Add release notes for 0.14.1-rc1
This commit adds the release notes for the Zephyr SDK 0.14.1-rc1
release.

Signed-off-by: Stephanos Ioannidis <root@stephanos.io>
2022-04-03 01:55:55 +09:00
Stephanos Ioannidis 5e8c5fc658 scripts: template_setup_posix: Add interactive mode user input check
This commit updates the POSIX setup script to validate the user inputs
in the interactive mode.

Signed-off-by: Stephanos Ioannidis <root@stephanos.io>
2022-04-01 17:59:02 +09:00
Stephanos Ioannidis be5df7f23a ci: Cache source files
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>
2022-03-31 18:02:11 +09:00
Stephanos Ioannidis 2fc95f5c1a ci: Convert to pull_request_target
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>
2022-03-31 18:02:11 +09:00
Stephanos Ioannidis 2cc1aeda12 ci: Pull Docker images from GitHub Container Registry
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>
2022-03-29 22:02:53 +09:00
Stephanos Ioannidis 01159070ba qemu: Pull in I2C device emulation support for ARM targets
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>
2022-03-26 04:10:06 +09:00
Stephanos Ioannidis 6e7d5d6d7f ci: Enable dotglob shell option for working directory clean-up
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>
2022-03-22 04:06:01 +09:00
Sylvio Alves 798295a423 ci: add Espressif ESP32 and ESP32S2
Add CI content.

Signed-off-by: Sylvio Alves <sylvio.alves@espressif.com>
2022-03-22 02:39:38 +09:00
Sylvio Alves 62be23e006 toolchain: Add ESP32S2 config and overlay
Add all necessary changes to allow ESP32S2
toolchain integration.

Overlay URL:
https://github.com/espressif/xtensa-overlays/tree/master/xtensa_esp32s2
commit: ac00ec5abf21102578d9afde22ffffd46929feaf

Signed-off-by: Sylvio Alves <sylvio.alves@espressif.com>
2022-03-22 02:39:38 +09:00
Sylvio Alves c01cd4c3bd toolchain: add ESP32 config and overlay
Add all necessary changes to allow ESP32 toolchain integration.

Overlay URL:
https://github.com/espressif/xtensa-overlays/tree/master/xtensa_esp32
commit: 30d30463d2bd917d2c504122a887aff00b27f858

Signed-off-by: Sylvio Alves <sylvio.alves@espressif.com>
2022-03-22 02:39:38 +09:00
Alexey Brodkin 5631596471 meta-zephyr-sdk: Add separate QEMU recipe for ARC
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>
2022-03-21 20:13:37 +09:00
Stephanos Ioannidis d1d1660e03 qemu: Update to QEMU 6.2 release
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>
2022-03-21 20:13:37 +09:00
Stephanos Ioannidis 1abfff001f qemu: Use Zephyr fork
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>
2022-03-21 20:13:37 +09:00
Stephanos Ioannidis e2a58e4ed5 meta-zephyr-sdk: Upgrade meson to 0.59.1
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>
2022-03-21 20:13:37 +09:00
Stephanos Ioannidis 7340560cdb configs: Switch to gdb Git submodule
This commit updates the toolchain configurations to use the gdb Git
submodule.

Signed-off-by: Stephanos Ioannidis <root@stephanos.io>
2022-03-18 23:28:38 +09:00
Stephanos Ioannidis dbe6e27027 gdb: Add Git submodule
This commit adds a Git submodule for the gdb pointing to the commit
8dc5ea2c613782deec380bbad4067e846b0f217e.

Signed-off-by: Stephanos Ioannidis <root@stephanos.io>
2022-03-18 23:28:38 +09:00
Stephanos Ioannidis 832a738972 configs: Switch to gcc Git submodule
This commit updates the toolchain configurations to use the gcc Git
submodule.

Signed-off-by: Stephanos Ioannidis <root@stephanos.io>
2022-03-18 23:28:38 +09:00
Stephanos Ioannidis 982cc6e698 gcc: Add Git submodule
This commit adds a Git submodule for the gcc pointing to the commit
8c1f3dcc6eddf3392d77f56c9bed69e5d6446cdf.

Signed-off-by: Stephanos Ioannidis <root@stephanos.io>
2022-03-18 23:28:38 +09:00
Stephanos Ioannidis a046a0a6e2 configs: Switch to newlib Git submodule
This commit updates the toolchain configurations to use the newlib Git
submodule.

Signed-off-by: Stephanos Ioannidis <root@stephanos.io>
2022-03-18 23:28:38 +09:00
Stephanos Ioannidis 1dee7c3ab1 newlib: Add Git submodule
This commit adds a Git submodule for the newlib pointing to the
commit 2893dbb10f1fe3bf431a26f89a22e12a5020dc02.

Signed-off-by: Stephanos Ioannidis <root@stephanos.io>
2022-03-18 23:28:38 +09:00
Stephanos Ioannidis 1cb1678afb configs: Switch to binutils Git submodule
This commit updates the toolchain configurations to use the binutils
Git submodule.

Signed-off-by: Stephanos Ioannidis <root@stephanos.io>
2022-03-18 23:28:38 +09:00
Stephanos Ioannidis a0d520f741 binutils: Add Git submodule
This commit adds a Git submodule for the binutils pointing to the
commit c7d30a54fc17c1e9d9b1c39c7623222442c63af8.

Signed-off-by: Stephanos Ioannidis <root@stephanos.io>
2022-03-18 23:28:38 +09:00
Stephanos Ioannidis 006aef1658 configs: Remove CT_LOCAL_TARBALLS_DIR configuration
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>
2022-03-18 23:28:38 +09:00
Stephanos Ioannidis 0ea26d92f4 crosstool-ng: Pull in SRC_CUSTOM mutual exclusivity patch
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>
2022-03-18 23:28:38 +09:00
Stephanos Ioannidis 8d254a2385 VERSION: Bump to 0.14.0
This commit bumps the Zephyr SDK version to 0.14.0.

Signed-off-by: Stephanos Ioannidis <root@stephanos.io>
2022-03-15 18:57:46 +09:00
Stephanos Ioannidis c26da10004 release-notes: Add release notes for 0.14.0
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>
2022-03-15 18:57:46 +09:00
Stephanos Ioannidis 57ac6fe0df VERSION: Bump to 0.14.0-rc1
This commit bumps the Zephyr SDK version to 0.14.0-rc1.

Signed-off-by: Stephanos Ioannidis <root@stephanos.io>
2022-03-12 03:40:32 +09:00
Stephanos Ioannidis 48bb42e2e4 release-notes: Add release notes for 0.14.0-rc1
This commit adds the release notes for the Zephyr SDK 0.14.0-rc1
release.

Signed-off-by: Stephanos Ioannidis <root@stephanos.io>
2022-03-12 03:40:32 +09:00
Stephanos Ioannidis 7f60611cdf cmake: Update Kconfig symbol name for 0.14 release
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>
2022-03-12 03:40:32 +09:00