From cdbb82ac6ec5cd8f9c267e3f35502a4ff730b2b3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20Foucher?= Date: Thu, 17 Jul 2025 13:11:22 +0200 Subject: [PATCH] Update to Zephyr 4.1 --- owntech/pio_extra.ini | 2 +- zephyr/boards/owntech/spin/spin.dts | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/owntech/pio_extra.ini b/owntech/pio_extra.ini index 10eb50dc..77e05f5b 100644 --- a/owntech/pio_extra.ini +++ b/owntech/pio_extra.ini @@ -12,7 +12,7 @@ monitor_dir = owntech/scripts/monitor [env] # Platform and OS -platform = ststm32@19.0.0 +platform = ststm32@19.2.0 framework = zephyr platform_packages = diff --git a/zephyr/boards/owntech/spin/spin.dts b/zephyr/boards/owntech/spin/spin.dts index 6d4a9524..297f1625 100644 --- a/zephyr/boards/owntech/spin/spin.dts +++ b/zephyr/boards/owntech/spin/spin.dts @@ -238,7 +238,7 @@ zephyr_udc0: &usb { &adc1 { pinctrl-0 = <&adc1_in6_pc0 &adc1_in7_pc1 &adc1_in8_pc2 &adc1_in9_pc3>; pinctrl-names = "default"; - st,adc-clock-source = ; + st,adc-clock-source = "SYNC"; st,adc-prescaler = <4>; status = "okay"; }; @@ -246,7 +246,7 @@ zephyr_udc0: &usb { &adc2 { pinctrl-0 = <&adc2_in1_pa0 &adc2_in2_pa1 &adc2_in3_pa6 &adc2_in5_pc4>; pinctrl-names = "default"; - st,adc-clock-source = ; + st,adc-clock-source = "SYNC"; st,adc-prescaler = <4>; status = "okay"; }; @@ -254,7 +254,7 @@ zephyr_udc0: &usb { &adc3 { pinctrl-0 = <&adc3_in1_pb1>; pinctrl-names = "default"; - st,adc-clock-source = ; + st,adc-clock-source = "SYNC"; st,adc-prescaler = <4>; status = "okay"; }; @@ -262,7 +262,7 @@ zephyr_udc0: &usb { &adc4 { pinctrl-0 = <&adc4_in5_pb15>; pinctrl-names = "default"; - st,adc-clock-source = ; + st,adc-clock-source = "SYNC"; st,adc-prescaler = <4>; status = "okay"; }; @@ -270,7 +270,7 @@ zephyr_udc0: &usb { &adc5 { pinctrl-0 = <&adc5_in1_pa8 &adc5_in2_pa9>; pinctrl-names = "default"; - st,adc-clock-source = ; + st,adc-clock-source = "SYNC"; st,adc-prescaler = <4>; status = "okay"; };