Skip to content

zephyr: Upgrade to Zephyr v4.2.0. #17765

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions docs/zephyr/tutorial/repl.rst
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ With your serial program open (PuTTY, screen, picocom, etc) you may see a
blank screen with a flashing cursor. Press Enter (or reset the board) and
you should be presented with the following text::

*** Booting Zephyr OS build v4.0.0 ***
MicroPython v1.24.0-preview.179.g5b85b24bd on 2024-08-05; zephyr-frdm_k64f with mk64f12
*** Booting Zephyr OS build v4.2.0 ***
MicroPython v1.26.0-preview.451.gebc9525c9 on 2025-07-25; zephyr-frdm_k64f with mk64f12
Type "help()" for more information.
>>>

Expand Down
8 changes: 4 additions & 4 deletions ports/zephyr/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ This is a work-in-progress port of MicroPython to Zephyr RTOS
(http://zephyrproject.org).

This port tries to support all Zephyr versions supported upstream,
i.e. currently v3.7 (LTS), v4.0 and the development branch. The CI is
setup to use the latest version, i.e. v4.0.
i.e. currently v3.7 (LTS), v4.2 and the development branch. The CI is
setup to use the latest version, i.e. v4.2.

All boards supported by Zephyr (with standard level of features
support, like UART console) should work with MicroPython (but not all
Expand Down Expand Up @@ -43,13 +43,13 @@ setup is correct.
If you already have Zephyr installed but are having issues building the
MicroPython port then try installing the correct version of Zephyr via:

$ west init zephyrproject -m https://github.com/zephyrproject-rtos/zephyr --mr v4.0.0
$ west init zephyrproject -m https://github.com/zephyrproject-rtos/zephyr --mr v4.2.0

Alternatively, you don't have to redo the Zephyr installation to just
switch from master to a tagged release, you can instead do:

$ cd zephyrproject/zephyr
$ git checkout v4.0.0
$ git checkout v4.2.0
$ west update

With Zephyr installed you may then need to configure your environment,
Expand Down
6 changes: 3 additions & 3 deletions tools/ci.sh
Original file line number Diff line number Diff line change
Expand Up @@ -879,9 +879,9 @@ function ci_windows_build {
########################################################################################
# ports/zephyr

ZEPHYR_DOCKER_VERSION=v0.27.4
ZEPHYR_SDK_VERSION=0.17.0
ZEPHYR_VERSION=v4.0.0
ZEPHYR_DOCKER_VERSION=v0.28.1
ZEPHYR_SDK_VERSION=0.17.2
ZEPHYR_VERSION=v4.2.0

function ci_zephyr_setup {
IMAGE=ghcr.io/zephyrproject-rtos/ci:${ZEPHYR_DOCKER_VERSION}
Expand Down
Loading