Skip to content

Commit 8c11033

Browse files
asm5878kartben
authored andcommitted
dts: arm: st: wba: temporary fix to build stm32wba5x boards
Due to a mismatch in naming of debug jtrst pin name (compared to hal_stm32) all boards based on stm32wba5x are not compiling. This temporary fix will solve this issue until a systematic approach will be put in place. Signed-off-by: Alessandro Manganaro <alessandro.manganaro@st.com>
1 parent c9e1725 commit 8c11033

File tree

3 files changed

+13
-2
lines changed

3 files changed

+13
-2
lines changed

dts/arm/st/wba/stm32wba.dtsi

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -564,7 +564,8 @@
564564
compatible = "swj-connector";
565565
pinctrl-0 = <&debug_jtms_swdio_pa13 &debug_jtck_swclk_pa14
566566
&debug_jtdi_pa15 &debug_jtdo_swo_pb3
567-
&debug_njtrst_pb4>;
567+
/* temp fix to cover current wba5 pin naming */
568+
&debug_jtrst_pb4>;
568569
pinctrl-1 = <&analog_pa13 &analog_pa14 &analog_pa15
569570
&analog_pb3 &analog_pb4>;
570571
pinctrl-names = "default", "sleep";

dts/arm/st/wba/stm32wba65.dtsi

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,16 @@
7979
};
8080
};
8181

82+
/*
83+
* Temporary revert of pinctrl-0 definition for stm3wba65
84+
* to fix issue on stm32wba5x based boards
85+
*/
86+
swj_port: swj_port {
87+
pinctrl-0 = <&debug_jtms_swdio_pa13 &debug_jtck_swclk_pa14
88+
&debug_jtdi_pa15 &debug_jtdo_swo_pb3
89+
&debug_njtrst_pb4>;
90+
};
91+
8292
die_temp: dietemp {
8393
ts-cal1-addr = <0x0BFA0710>;
8494
ts-cal2-addr = <0x0BFA0742>;

west.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,7 @@ manifest:
245245
groups:
246246
- hal
247247
- name: hal_stm32
248-
revision: d46f8453c5ce28fb6aba7613de7ebc75bd8572c3
248+
revision: 611d54c237623ea71a367502bfbd736fc67ba15f
249249
path: modules/hal/stm32
250250
groups:
251251
- hal

0 commit comments

Comments
 (0)