Skip to content

Commit 3c8d1b1

Browse files
MaureenHelmdpgeorge
authored andcommitted
zephyr: Upgrade to Zephyr v4.0.0.
Updates the Zephyr port build instructions. The CI is updated to use Zephyr docker image 0.27.4, SDK 0.17.0 and the latest Zephyr release tag. Tested on max32690fthr and frdm_k64f. Signed-off-by: Maureen Helm <[email protected]> Signed-off-by: Detlev Zundel <[email protected]>
1 parent b83606f commit 3c8d1b1

File tree

3 files changed

+13
-10
lines changed

3 files changed

+13
-10
lines changed

docs/zephyr/tutorial/repl.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ With your serial program open (PuTTY, screen, picocom, etc) you may see a
3131
blank screen with a flashing cursor. Press Enter (or reset the board) and
3232
you should be presented with the following text::
3333

34-
*** Booting Zephyr OS build v3.7.0 ***
34+
*** Booting Zephyr OS build v4.0.0 ***
3535
MicroPython v1.24.0-preview.179.g5b85b24bd on 2024-08-05; zephyr-frdm_k64f with mk64f12
3636
Type "help()" for more information.
3737
>>>

ports/zephyr/README.md

+9-6
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,13 @@ MicroPython port to Zephyr RTOS
44
This is a work-in-progress port of MicroPython to Zephyr RTOS
55
(http://zephyrproject.org).
66

7-
This port requires Zephyr version v3.7.0, and may also work on higher
8-
versions. All boards supported
9-
by Zephyr (with standard level of features support, like UART console)
10-
should work with MicroPython (but not all were tested).
7+
This port tries to support all Zephyr versions supported upstream,
8+
i.e. currently v3.7 (LTS), v4.0 and the development branch. The CI is
9+
setup to use the latest version, i.e. v4.0.
10+
11+
All boards supported by Zephyr (with standard level of features
12+
support, like UART console) should work with MicroPython (but not all
13+
were tested).
1114

1215
Features supported at this time:
1316

@@ -39,13 +42,13 @@ setup is correct.
3942
If you already have Zephyr installed but are having issues building the
4043
MicroPython port then try installing the correct version of Zephyr via:
4144

42-
$ west init zephyrproject -m https://github.com/zephyrproject-rtos/zephyr --mr v3.7.0
45+
$ west init zephyrproject -m https://github.com/zephyrproject-rtos/zephyr --mr v4.0.0
4346

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

4750
$ cd zephyrproject/zephyr
48-
$ git checkout v3.7.0
51+
$ git checkout v4.0.0
4952
$ west update
5053

5154
With Zephyr installed you may then need to configure your environment,

tools/ci.sh

+3-3
Original file line numberDiff line numberDiff line change
@@ -818,9 +818,9 @@ function ci_windows_build {
818818
########################################################################################
819819
# ports/zephyr
820820

821-
ZEPHYR_DOCKER_VERSION=v0.26.13
822-
ZEPHYR_SDK_VERSION=0.16.8
823-
ZEPHYR_VERSION=v3.7.0
821+
ZEPHYR_DOCKER_VERSION=v0.27.4
822+
ZEPHYR_SDK_VERSION=0.17.0
823+
ZEPHYR_VERSION=v4.0.0
824824

825825
function ci_zephyr_setup {
826826
IMAGE=ghcr.io/zephyrproject-rtos/ci:${ZEPHYR_DOCKER_VERSION}

0 commit comments

Comments
 (0)