Skip to content
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

Bump to Zephyr v3.5 #143

Merged
merged 9 commits into from
Oct 30, 2023
Merged
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 VERSION
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
VERSION_MAJOR = 3
VERSION_MINOR = 4
PATCHLEVEL = 99
VERSION_MINOR = 5
PATCHLEVEL = 0
VERSION_TWEAK = 0
EXTRAVERSION =
12 changes: 6 additions & 6 deletions boards/arm/arduino_zero/doc/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ default Zephyr console on serial port the Bridle :ref:`snippet-usb-console`
can be used to enable :ref:`zephyr:usb_device_cdc_acm` and switch the console
to USB::

USB device idVendor=2341, idProduct=804d, bcdDevice= 3.04
USB device idVendor=2341, idProduct=804d, bcdDevice= 3.05
USB device strings: Mfr=1, Product=2, SerialNumber=3
Product: Arduino Zero (CDC ACM)
Manufacturer: Arduino LLC
Expand Down Expand Up @@ -403,17 +403,17 @@ Hello Shell with USB-CDC/ACM Console
ID: 0xde73d01ae52511ed9cf503ee1d54a301

uart:~$ kernel version
Zephyr version 3.4.99
Zephyr version 3.5.0

uart:~$ bridle version
Bridle version 3.4.99
Bridle version 3.5.0

uart:~$ bridle version long
Bridle version 3.4.99.0
Bridle version 3.5.0.0

uart:~$ bridle info
Zephyr: 3.4.99
Bridle: 3.4.99
Zephyr: 3.5.0
Bridle: 3.5.0

uart:~$ device list
devices:
Expand Down
12 changes: 6 additions & 6 deletions boards/arm/seeed_xiao_samd21/doc/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ alternative to the default Zephyr console on serial port the Bridle
:ref:`snippet-usb-console` can be used to enable
:ref:`zephyr:usb_device_cdc_acm` and switch the console to USB::

USB device idVendor=2886, idProduct=802f, bcdDevice= 3.04
USB device idVendor=2886, idProduct=802f, bcdDevice= 3.05
USB device strings: Mfr=1, Product=2, SerialNumber=3
Product: XIAO SAMD21 (CDC ACM)
Manufacturer: Seeed Studio
Expand Down Expand Up @@ -351,17 +351,17 @@ Hello Shell with USB-CDC/ACM Console
ID: 0x2601f57f2e175d24ac3fb5052f48a3f7

uart:~$ kernel version
Zephyr version 3.4.99
Zephyr version 3.5.0

uart:~$ bridle version
Bridle version 3.4.99
Bridle version 3.5.0

uart:~$ bridle version long
Bridle version 3.4.99.0
Bridle version 3.5.0.0

uart:~$ bridle info
Zephyr: 3.4.99
Bridle: 3.4.99
Zephyr: 3.5.0
Bridle: 3.5.0

uart:~$ device list
devices:
Expand Down
12 changes: 6 additions & 6 deletions boards/arm/seeeduino_lotus/doc/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -345,7 +345,7 @@ alternative to the default Zephyr console on serial port the Bridle
:ref:`snippet-usb-console` can be used to enable
:ref:`zephyr:usb_device_cdc_acm` and switch the console to USB::

USB device idVendor=2886, idProduct=8026, bcdDevice= 3.04
USB device idVendor=2886, idProduct=8026, bcdDevice= 3.05
USB device strings: Mfr=1, Product=2, SerialNumber=3
Product: Seeeduino Lotus Cortex-M0+ (CDC ACM)
Manufacturer: Seeed LLC
Expand Down Expand Up @@ -509,17 +509,17 @@ Hello Shell with USB-CDC/ACM Console
ID: 0xefa3ee60dfcb11ed9973734ca4207846

uart:~$ kernel version
Zephyr version 3.4.99
Zephyr version 3.5.0

uart:~$ bridle version
Bridle version 3.4.99
Bridle version 3.5.0

uart:~$ bridle version long
Bridle version 3.4.99.0
Bridle version 3.5.0.0

uart:~$ bridle info
Zephyr: 3.4.99
Bridle: 3.4.99
Zephyr: 3.5.0
Bridle: 3.5.0

uart:~$ device list
devices:
Expand Down
17 changes: 10 additions & 7 deletions boards/arm/tiac_magpie/doc/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -388,6 +388,7 @@ Build and flash the application:
:zephyr-app: zephyr/samples/hello_world
:build-dir: hello_world-tiac_magpie
:board: tiac_magpie
:west-args: -p
:goals: build flash
:host-os: unix
:compact:
Expand All @@ -396,7 +397,7 @@ You should see the following message on the console:

.. code-block:: console

*** Booting Zephyr OS version x.y.z ***
*** Booting Zephyr OS build zephyr-vX.Y.Z ***
Hello World! tiac_magpie

Debugging
Expand All @@ -410,6 +411,7 @@ You can debug an application in the usual way. Here is an example for the
:build-dir: hello_world-tiac_magpie
:board: tiac_magpie
:maybe-skip-config:
:west-args: -p
:goals: debug
:host-os: unix

Expand Down Expand Up @@ -517,19 +519,20 @@ with a single call to Twister.
\|-------------\|----------\|-----------------\|
\| tiac_magpie \| DT04BNT1 \| /dev/ttyUSB0 \|

INFO - JOBS: 4
INFO - Adding tasks to the queue...
INFO - Added initial list of jobs to queue
INFO - Total complete: :bgn:`1800/1800` 100% skipped: :byl:`1662`, failed: :bbk:`0`, error: :bbk:`0`
INFO - 2012 test scenarios (1800 test instances) selected, 1662 configurations skipped (1639 by static filter, 23 at runtime).
INFO - :bgn:`138 of 1800` test configurations passed (100.00%), :bbk:`0` failed, :bbk:`0` errored, :byl:`1662` skipped with :bbk:`0` warnings in :bbk:`1723.80 seconds`
INFO - In total 1327 test cases were executed, 9726 skipped on 1 out of total 634 platforms (0.16%)
INFO - :bgn:`138` test configurations executed on platforms, :brd:`0` test configurations were only built.
INFO - Total complete: :bgn:`1827/1827` 100% skipped: :byl:`1686`, failed: :bbk:`0`, error: :bbk:`0`
INFO - 2039 test scenarios (1827 test instances) selected, 1686 configurations skipped (1660 by static filter, 26 at runtime).
INFO - :bgn:`141 of 1827` test configurations passed (100.00%), :bbk:`0` failed, :bbk:`0` errored, :byl:`1686` skipped with :bbk:`0` warnings in :bbk:`1773.27 seconds`
INFO - In total 1379 test cases were executed, 9823 skipped on 1 out of total 638 platforms (0.16%)
INFO - :bgn:`141` test configurations executed on platforms, :brd:`0` test configurations were only built.

Hardware distribution summary:

\| Board \| ID \| Counter \|
\|-------------\|----------\|-----------\|
\| tiac_magpie \| DT04BNT1 \| 138 \|
\| tiac_magpie \| DT04BNT1 \| 141 \|

.. admonition:: Known but currently tolerated test cases with errors
:class: attention
Expand Down
1 change: 1 addition & 0 deletions boards/arm/tiac_magpie/doc/samples/basic/blinky.rst
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ Build and flash LED Blinky as follows:
:app: zephyr/samples/basic/blinky
:build-dir: led_blinky-tiac_magpie
:board: tiac_magpie
:west-args: -p
:goals: build flash
:host-os: unix

Expand Down
115 changes: 54 additions & 61 deletions boards/arm/tiac_magpie/doc/samples/basic/helloshell.rst
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ Build and flash Hello Shell as follows:
:app: bridle/samples/helloshell
:build-dir: helloshell-tiac_magpie
:board: tiac_magpie
:west-args: -p
:goals: build flash
:host-os: unix

Expand All @@ -46,33 +47,37 @@ prompt. All shell commands are available and would looks like:
Please refer to shell documentation for more details.

Available commands:
adc :ADC commands
bridle :Bridle commands.
clear :Clear screen.
dac :DAC shell commands
device :Device commands
devmem :Read/write physical memory
Usage:
Read memory at address with optional width:
devmem address [width]
Write memory at address with mandatory width and value:
devmem address <width> <value>
flash :Flash shell commands
gpio :GPIO commands
hello :say hello
help :Prints the help message.
history :Command history.
hwinfo :HWINFO commands
i2c :I2C commands
kernel :Kernel commands
log :Commands for controlling logger
pwm :PWM shell commands
resize :Console gets terminal screen size or assumes default in case the
readout fails. It must be executed after each terminal width change
to ensure correct text display.
retval :Print return value of most recent command
sensor :Sensor commands
shell :Useful, not Unix-like shell commands.
adc :ADC commands
bridle :Bridle commands.
clear :Clear screen.
dac :DAC shell commands
device :Device commands
devmem :Read/write physical memory
Usage:
Read memory at address with optional width:
devmem address [width]
Write memory at address with mandatory width and value:
devmem address <width> <value>
flash :Flash shell commands
gpio :GPIO commands
hello :say hello
help :Prints the help message.
history :Command history.
hwinfo :HWINFO commands
i2c :I2C commands
kernel :Kernel commands
led :LED commands
log :Commands for controlling logger
pwm :PWM shell commands
regulator :Regulator playground
rem :Ignore lines beginning with 'rem '
resize :Console gets terminal screen size or assumes default in case the
readout fails. It must be executed after each terminal width
change to ensure correct text display.
retval :Print return value of most recent command
sensor :Sensor commands
shell :Useful, not Unix-like shell commands.
timer :Timer commands

uart:~$ hello -h
hello - say hello
Expand All @@ -84,66 +89,44 @@ prompt. All shell commands are available and would looks like:
ID: 0x9e6b44aea1e2b8980c4d32a6

uart:~$ kernel version
Zephyr version 3.4.99
Zephyr version 3.5.0

uart:~$ bridle version
Bridle version 3.4.99
Bridle version 3.5.0

uart:~$ bridle version long
Bridle version 3.4.99.0
Bridle version 3.5.0.0

uart:~$ bridle info
Zephyr: 3.4.99
Bridle: 3.4.99
Zephyr: 3.5.0
Bridle: 3.5.0

uart:~$ device list
devices:
- rcc@40023800 (READY)
- reset-controller (READY)
- interrupt-controller@40013c00 (READY)
- gpio@40022800 (READY)
requires: rcc@40023800
- gpio@40022400 (READY)
requires: rcc@40023800
- gpio@40022000 (READY)
requires: rcc@40023800
- gpio@40021C00 (READY)
requires: rcc@40023800
- gpio@40021800 (READY)
requires: rcc@40023800
- gpio@40021400 (READY)
requires: rcc@40023800
- gpio@40021000 (READY)
requires: rcc@40023800
- gpio@40020C00 (READY)
requires: rcc@40023800
- gpio@40020800 (READY)
requires: rcc@40023800
- gpio@40020400 (READY)
requires: rcc@40023800
- gpio@40020000 (READY)
requires: rcc@40023800
- reset-controller (READY)
requires: rcc@40023800
- serial@40007800 (READY)
requires: rcc@40023800
requires: reset-controller
- serial@40004c00 (READY)
requires: rcc@40023800
requires: reset-controller
- rtc@40002800 (READY)
requires: rcc@40023800
- adc@40012200 (READY)
requires: rcc@40023800
- flash-controller@40023c00 (READY)
- i2c@40006000 (READY)
requires: rcc@40023800
- i2c@40005800 (READY)
requires: rcc@40023800
- pwm (READY)
requires: rcc@40023800
requires: reset-controller
- spi@40013400 (READY)
requires: rcc@40023800
- leds (READY)

uart:~$ history
[ 0] history
Expand Down Expand Up @@ -180,6 +163,16 @@ Simple GPIO Operations
uart:~$ gpio blink gpio@40021800 12
Blinking port gpio@40021800 index 12. Hit any key to exit

.. rubric:: Switch user LED 1 on and off (via LED API)

.. code-block:: console

uart:~$ led on leds 0
leds: turning on LED 0

uart:~$ led off leds 0
leds: turning off LED 0

Simple ADC Acquisition
======================

Expand Down Expand Up @@ -208,11 +201,11 @@ Simple Flash Access

.. code-block:: console

uart:~$ flash read flash-controller@40023c00 135a0 40
000135A0: 7c 3c 01 08 e8 71 01 08 00 10 00 00 00 30 74 69 ||<...q.. .....0ti|
000135B0: 61 63 5f 6d 61 67 70 69 65 00 48 65 6c 6c 6f 20 |ac_magpi e.Hello |
000135C0: 57 6f 72 6c 64 21 20 49 27 6d 20 54 48 45 20 53 |World! I 'm THE S|
000135D0: 48 45 4c 4c 20 66 72 6f 6d 20 25 73 0a 00 69 6c |HELL fro m %s..il|
uart:~$ flash read flash-controller@40023c00 15be0 40
00015BE0: 00 00 00 00 00 00 00 00 00 10 00 00 00 30 74 69 |........ .....0ti|
00015BF0: 61 63 5f 6d 61 67 70 69 65 00 48 65 6c 6c 6f 20 |ac_magpi e.Hello |
00015C00: 57 6f 72 6c 64 21 20 49 27 6d 20 54 48 45 20 53 |World! I 'm THE S|
00015C10: 48 45 4c 4c 20 66 72 6f 6d 20 25 73 0a 00 69 6c |HELL fro m %s..il|

Simple I2C Operations
=====================
Expand Down
Loading