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

Major bug fixing and improvements to upcoming Zephyr v4.1 #291

Merged
merged 20 commits into from
Feb 6, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
20 commits
Select commit Hold shift + click to select a range
70fb228
tests: drivers: watchdog: disable stm32iwdg at boot
rexut Feb 5, 2025
3d6c87f
tests: drivers: watchdog: sync with upstream
rexut Feb 5, 2025
2f284fe
tests: exclude more platforms with sysbuild enabled
rexut Feb 4, 2025
9443845
boards: remove 'xtools' toolchain variant references
rexut Feb 5, 2025
0e5e529
boards: mimxrt1060_evk: respect new revision C support
rexut Feb 3, 2025
c93b454
boards: picoboy: use new unified DTS property names
rexut Feb 3, 2025
8ab164a
drivers: mfd: sc16is75x: use upstream IS_BIT_SET() macro
rexut Feb 3, 2025
f32e1fa
Revert "drivers: sensor: ds3231: add Maxim DS3231 temperature sensor"
rexut Jan 31, 2025
2b59b3d
Revert "drivers: rtc: ds3231: add Maxim DS3231 RTC device"
rexut Jan 31, 2025
8d9d078
Revert "drivers: mfd: ds3231: add Maxim DS3231 device"
rexut Jan 31, 2025
02f46ab
shields: rpi_pico_clock: use upstream RTC driver
rexut Jan 31, 2025
161c798
snippets: tests: drivers: mfd: use upstream DS3231 driver
rexut Feb 3, 2025
9da23ee
snippets: tests: drivers: rtc: use upstream DS3231 driver
rexut Feb 3, 2025
d783d5e
snippets: tests: drivers: sensor: use upstream DS3231 driver
rexut Feb 3, 2025
532f681
doc: zephyr: porting to new doxyrunner
rexut Feb 2, 2025
8caa73f
doc: bridle: porting to new doxyrunner
rexut Feb 2, 2025
8b18dcd
doc: update copyright notice in the documentation
rexut Feb 2, 2025
14346fe
doc: magpie_f777ni: update test output messages
rexut Feb 5, 2025
94fd558
soc: st/stm32: stm32f777xx: fix cmake notice message
rexut Feb 5, 2025
2058125
release: add draft notes for upcoming 4.1.0
rexut Feb 5, 2025
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
1 change: 0 additions & 1 deletion boards/cytron/maker_rp2040/cytron_maker_nano_rp2040.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ ram: 264
toolchain:
- zephyr
- gnuarmemb
- xtools
supported:
- arduino_nano_gpio
- arduino_nano_i2c
Expand Down
1 change: 0 additions & 1 deletion boards/cytron/maker_rp2040/cytron_maker_pi_rp2040.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ ram: 264
toolchain:
- zephyr
- gnuarmemb
- xtools
supported:
- grove_gpio
- grove_pwm
Expand Down
2 changes: 1 addition & 1 deletion boards/extensions/mimxrt1060_evk/Kconfig.defconfig
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# NXP MIMXRT1060-EVK board extended configuration

# Copyright (c) 2024 TiaC Systems
# Copyright (c) 2024-2025 TiaC Systems
# SPDX-License-Identifier: Apache-2.0

config USB_SELF_POWERED
Expand Down
24 changes: 17 additions & 7 deletions boards/extensions/mimxrt1060_evk/doc/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ List of extensions
:width: 50%
:widths: 100

* - .. rubric:: NXP MIMXRT1060-EVK and MIMXRT1060-EVKB
* - .. rubric:: NXP MIMXRT1060-EVK, MIMXRT1060-EVKB and MIMXRT1060-EVKC

* - .. literalinclude:: ../Kconfig.defconfig
:caption: Kconfig.defconfig
Expand All @@ -52,7 +52,7 @@ List of extensions
:width: 50%
:widths: 100

* - .. rubric:: NXP MIMXRT1060-EVK and MIMXRT1060-EVKB
* - .. rubric:: NXP MIMXRT1060-EVK, MIMXRT1060-EVKB and MIMXRT1060-EVKC

* - .. literalinclude:: ../Kconfig.defconfig
:caption: Kconfig.defconfig
Expand All @@ -71,7 +71,7 @@ List of extensions
:width: 50%
:widths: 100

* - .. rubric:: NXP MIMXRT1060-EVK and MIMXRT1060-EVKB
* - .. rubric:: NXP MIMXRT1060-EVK, MIMXRT1060-EVKB and MIMXRT1060-EVKC

* - .. literalinclude:: ../mimxrt1060_evk.dtsi
:caption: mimxrt1060_evk.dtsi
Expand All @@ -83,15 +83,15 @@ List of extensions
:append: };

- FlexPWM not routed to the green user LED ``LED1`` on the EVK **B**
revision, thus why board DTS disables :dts:`&flexpwm2_pwm3` but
neither related :dts:`&pwmleds` node nor alias:
and **C** revision, thus why board DTS disables :dts:`&flexpwm2_pwm3`
but neither related :dts:`&pwmleds` node nor alias:

.. list-table::
:align: left
:width: 50%
:widths: 100

* - .. rubric:: NXP MIMXRT1060-EVKB
* - .. rubric:: NXP MIMXRT1060-EVKB and MIMXRT1060-EVKC

* - .. literalinclude:: ../mimxrt1060_evk_mimxrt1062_qspi_B.overlay
:caption: mimxrt1060_evk_mimxrt1062_qspi_B.overlay
Expand All @@ -103,6 +103,16 @@ List of extensions
:end-at: /delete-node/ pwmleds;
:append: };

.. literalinclude:: ../mimxrt1060_evk_mimxrt1062_qspi_C.overlay
:caption: mimxrt1060_evk_mimxrt1062_qspi_C.overlay
:language: DTS
:encoding: ISO-8859-1
:emphasize-lines: 3,6
:prepend: / {
:start-at: aliases {
:end-at: /delete-node/ pwmleds;
:append: };

- add a :dtcompatible:`zephyr,flash-disk` node linked to the
:dts:`partition = <&storage_partition>;` with the hard defined
mass storage disk name :dts:`disk-name = "NAND";` – also set
Expand All @@ -114,7 +124,7 @@ List of extensions
:width: 50%
:widths: 100

* - .. rubric:: NXP MIMXRT1060-EVK and MIMXRT1060-EVKB
* - .. rubric:: NXP MIMXRT1060-EVK, MIMXRT1060-EVKB and MIMXRT1060-EVKC

* - .. literalinclude:: ../mimxrt1060_evk.dtsi
:caption: mimxrt1060_evk.dtsi
Expand Down
2 changes: 1 addition & 1 deletion boards/extensions/mimxrt1060_evk/mimxrt1060_evk.dtsi
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2023 TiaC Systems
* Copyright (c) 2023-2025 TiaC Systems
* SPDX-License-Identifier: Apache-2.0
*/

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2023-2024 TiaC Systems
* Copyright (c) 2023-2025 TiaC Systems
* SPDX-License-Identifier: Apache-2.0
*/

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2023-2024 TiaC Systems
* Copyright (c) 2023-2025 TiaC Systems
* SPDX-License-Identifier: Apache-2.0
*/

Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
/*
* Copyright (c) 2023-2024 TiaC Systems
* Copyright (c) 2023-2025 TiaC Systems
* SPDX-License-Identifier: Apache-2.0
*/

/* FLEXPWM not routed to LED on this EVK revision, thus why board DTS
* disables &flexpwm2_pwm3 but neither related &pwmleds node nor alias. */
/*
* FLEXPWM not routed to LED on this EVK revision, thus why board DTS
* disables &flexpwm2_pwm3 but neither related &pwmleds node nor alias.
*/

/ {
aliases {
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
/*
* Copyright (c) 2023-2025 TiaC Systems
* SPDX-License-Identifier: Apache-2.0
*/

/*
* FLEXPWM not routed to LED on this EVK revision, thus why board DTS
* disables &flexpwm2_pwm3 but neither related &pwmleds node nor alias.
*/

/ {
aliases {
/delete-property/ pwm-led0;
};

/delete-node/ pwmleds;
};
2 changes: 1 addition & 1 deletion boards/jsed/picoboy/core_oled.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
spi-max-frequency = <DT_FREQ_M(20)>;

reset-gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
data_cmd-gpios = <&gpio0 8 GPIO_ACTIVE_HIGH>;
data-cmd-gpios = <&gpio0 8 GPIO_ACTIVE_HIGH>;

width = <128>;
height = <64>;
Expand Down
1 change: 0 additions & 1 deletion boards/jsed/picoboy/picoboy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ ram: 264
toolchain:
- zephyr
- gnuarmemb
- xtools
supported:
- gpio
- i2c
Expand Down
1 change: 0 additions & 1 deletion boards/seeed/seeeduino_cm0/seeeduino_cm0.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ flash: 256
toolchain:
- zephyr
- gnuarmemb
- xtools
supported:
- arduino_gpio
- arduino_i2c
Expand Down
1 change: 0 additions & 1 deletion boards/seeed/seeeduino_lotus/seeeduino_lotus.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ flash: 256
toolchain:
- zephyr
- gnuarmemb
- xtools
supported:
- arduino_gpio
- arduino_i2c
Expand Down
1 change: 0 additions & 1 deletion boards/seeed/xiao_samd21/xiao_samd21.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ flash: 256
toolchain:
- zephyr
- gnuarmemb
- xtools
supported:
- xiao_gpio
- xiao_i2c
Expand Down
10 changes: 9 additions & 1 deletion boards/shields/rpi_pico_clock/Kconfig.defconfig
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) 2023-2024 TiaC Systems
# Copyright (c) 2023-2025 TiaC Systems
# SPDX-License-Identifier: Apache-2.0

config SHIELD_RPI_PICO_CLOCK
Expand All @@ -11,6 +11,14 @@ config SHIELD_RPI_PICO_CLOCK_HIYOU
default y if SHIELD_WAVESHARE_PICO_CLOCK_GREEN
default n

config RTC_ALARM
default y if DT_HAS_MAXIM_DS3231_RTC_ENABLED
depends on RTC

config RTC_UPDATE
default y if DT_HAS_MAXIM_DS3231_RTC_ENABLED
depends on RTC

config SPI
default y if DT_HAS_SIPO_MUX_GP_SPI_ENABLED
depends on SHIELD_RPI_PICO_CLOCK
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2023-2024 TiaC Systems
* Copyright (c) 2023-2025 TiaC Systems
* SPDX-License-Identifier: Apache-2.0
*/

Expand All @@ -16,7 +16,7 @@
};

ds3231_dts: ds3231-dts {
compatible = "maxim,ds3231-temp";
compatible = "maxim,ds3231-sensor";
status = "disabled";
};
};
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2023-2024 TiaC Systems
* Copyright (c) 2023-2025 TiaC Systems
* SPDX-License-Identifier: Apache-2.0
*/

Expand All @@ -19,12 +19,12 @@ clock_pwm_buzzers: &rpipico_pwm_buzzers {};
status = "okay";
};

&clock_rtc {
&clock_rtc { /* GP3 */
isw-gpios = <&rpipico_header 3 (GPIO_PULL_UP | GPIO_ACTIVE_LOW)>;
status = "okay";
};

&clock_mfd { /* GP3 */
isw-gpios = <&rpipico_header 3 (GPIO_PULL_UP | GPIO_ACTIVE_LOW)>;
&clock_mfd {
status = "okay";
};

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,6 @@
DT node labels: spi0 pico_spi pico_spi0 rpipico_spi rpipico_spi0
- ds3231-mfd\ @\ 68 (READY)
DT node labels: ds3231_mfd clock_mfd
- ds3231-rtc (READY)
DT node labels: ds3231_rtc clock_rtc
- sipo-mux-gp\ @\ 0 (READY)
DT node labels: sipo_mux_gp clock_sipo_mux
- sipo-mux-gpio\ @\ 7 (READY)
Expand All @@ -94,10 +92,12 @@
DT node labels: sipo_mux_gpio_1 clock_gpio_1
- sipo-mux-gpio\ @\ 0 (READY)
DT node labels: sipo_mux_gpio_0 clock_gpio_0
- wpcg-gpio-leds (READY)
DT node labels: wpcg_gpio_leds
- ds3231-rtc (READY)
DT node labels: ds3231_rtc clock_rtc
- ds3231-dts (READY)
DT node labels: ds3231_dts clock_dts
- wpcg-gpio-leds (READY)
DT node labels: wpcg_gpio_leds

.. container:: highlight highlight-console notranslate

Expand Down Expand Up @@ -179,11 +179,11 @@

:bgn:`uart:~$` **gpio conf gpio@40014000 SET iul**
:bgn:`uart:~$` **gpio get gpio@40014000 SET**
1
:bgn:`uart:~$` **gpio get gpio@40014000 SET**
0
:bgn:`uart:~$` **gpio get gpio@40014000 SET**
1
:bgn:`uart:~$` **gpio get gpio@40014000 SET**
0

.. group-tab:: ADC

Expand Down Expand Up @@ -252,15 +252,15 @@
:bgn:`uart:~$` **i2c read_byte i2c@40048000 68 12**
Output: 0x40

For example, for 25.75℃ the register content must be ``0x19``
For example, for 24.75℃ the register content must be ``0x19``
and ``0xc0``:

.. container:: highlight highlight-console notranslate

.. parsed-literal::

:bgn:`uart:~$` **i2c read_byte i2c@40048000 68 11**
Output: 0x19
Output: 0x18
:bgn:`uart:~$` **i2c read_byte i2c@40048000 68 12**
Output: 0xc0

Expand All @@ -270,14 +270,15 @@

.. parsed-literal::

:bgn:`uart:~$` **rtc set ds3231-rtc 2013-12-11T10:09:08**
:bgn:`uart:~$` **rtc get ds3231-rtc**
2024-09-16T12:37:59.000
2013-12-11T10:09:16.000

.. group-tab:: Temp

.. container:: highlight highlight-console notranslate

.. parsed-literal::

:bgn:`uart:~$` **sensor get ds3231-dts**
channel idx=13 ambient_temp shift=5 num_samples=1 value=6848100000ns (25.749999)
:bgn:`uart:~$` **sensor get ds3231-dts 13**
channel type=13(ambient_temp) index=0 shift=7 num_samples=1 value=958127057056ns (24.750000)
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@
- :dtcompatible:`pwm-buzzers`
- :dtcompatible:`gpio-keys`
- :dtcompatible:`maxim,ds3231-mfd`
(:dtcompatible:`maxim,ds3231-rtc`, :dtcompatible:`maxim,ds3231-temp`)
(:dtcompatible:`maxim,ds3231-rtc`, :dtcompatible:`maxim,ds3231-sensor`)

- .. image:: waveshare_pico_clock_green/pinouts.jpg
:align: center
Expand Down
19 changes: 12 additions & 7 deletions boards/tiac/magpie_f777ni/doc/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -572,6 +572,7 @@ with a single call to Twister.
--testsuite-root zephyr/tests \
--tag arm --tag vector_relay \
--tag kernel --exclude-tag security \
--exclude-tag benchmark \
--tag bridle \
--tag hwinfo \
--tag random \
Expand Down Expand Up @@ -601,18 +602,22 @@ with a single call to Twister.
INFO - JOBS: 4
INFO - Adding tasks to the queue...
INFO - Added initial list of jobs to queue
INFO - Total complete: :bgn:`195/ 195` 100% built (not run): :bbl:`0`, filtered: :byl:`2230`, failed: :brd:`0`, error: :bbk:`0`
INFO - 2609 test scenarios (2392 test instances) selected, :byl:`2230` configurations filtered (2197 by static filter, 33 at runtime).
INFO - :bgn:`162 of 162` executed test configurations passed (100.00%), :bbk:`0` built (not run), :brd:`0` failed, :bbk:`0` errored, with no warnings in :bbk:`3175.13 seconds`.
INFO - 1519 of 1378 executed test cases passed (110.23%), 4 blocked on 1 out of total 876 platforms (0.11%).
INFO - 14998 selected test cases not executed: 570 skipped, 14428 filtered.
INFO - :bgn:`162` test configurations executed on platforms, :bbl:`0` test configurations were only built.
WARNING - TS_START: already STARTED 'wdt_basic_test_suite':{'count': 1, 'repeat': 0}led: 0, error: 0
WARNING - TC_START: already STARTED case 'drivers.watchdog.stm32iwdg.boot.off.wdt_basic_test_suite.wdt':{'count': 1}
WARNING - TS_START: already STARTED 'wdt_basic_test_suite':{'count': 1, 'repeat': 0}led: 0, error: 0
WARNING - TC_START: already STARTED case 'drivers.watchdog.stm32wwdg.timing.adj.wdt_basic_test_suite.wdt':{'count': 1}
INFO - Total complete: :bgn:`179/ 179` 100% built (not run): :bbl:`0`, filtered: :byl:`2590`, failed: :brd:`0`, error: :bbk:`0`
INFO - 2950 test scenarios (2738 configurations) selected, :byl:`2590` configurations filtered (2559 by static filter, 31 at runtime).
INFO - :bgn:`148 of 148` executed test configurations passed (100.00%), :bbk:`0` built (not run), :brd:`0` failed, :bbk:`0` errored, with no warnings in :bbk:`2966.67 seconds`.
INFO - 1586 of 1652 executed test cases passed (96.00%), 66 blocked on 1 out of total 947 platforms (0.11%).
INFO - 79 selected test cases not executed: 79 skipped.
INFO - :bgn:`148` test configurations executed on platforms, :bbl:`0` test configurations were only built.

Hardware distribution summary:

\| Board \| ID \| Counter \| Failures \|
\|---------------------------\|----------\|-----------\|------------\|
\| magpie_f777ni/stm32f777xx \| DT04BNT1 \| 162 \| 0 \|
\| magpie_f777ni/stm32f777xx \| DT04BNT1 \| 148 \| 0 \|

INFO - Saving reports...
INFO - Writing JSON report .../twister-out/twister.json
Expand Down
Loading