-
Notifications
You must be signed in to change notification settings - Fork 6.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
boards: arm: update pwm signals on all STM32 based boards
Update PWM pinctrl signal names of all non-F1 STM32 boards. `pwm` variant is not available anymore on non-F1 series. Signed-off-by: Gerard Marull-Paretas <[email protected]>
- Loading branch information
1 parent
ee47498
commit 394c7d0
Showing
34 changed files
with
47 additions
and
47 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -73,7 +73,7 @@ | |
|
||
pwm2: pwm { | ||
status = "okay"; | ||
pinctrl-0 = <&tim2_ch1_pwm_pa0>; | ||
pinctrl-0 = <&tim2_ch1_pa0>; | ||
}; | ||
}; | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -73,7 +73,7 @@ | |
|
||
pwm2: pwm { | ||
status = "okay"; | ||
pinctrl-0 = <&tim2_ch1_pwm_pa0>; | ||
pinctrl-0 = <&tim2_ch1_pa0>; | ||
}; | ||
}; | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -60,7 +60,7 @@ | |
|
||
pwm3: pwm { | ||
status = "okay"; | ||
pinctrl-0 = <&tim3_ch1_pwm_pb4>; | ||
pinctrl-0 = <&tim3_ch1_pb4>; | ||
}; | ||
}; | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -75,7 +75,7 @@ | |
|
||
pwm2: pwm { | ||
status = "okay"; | ||
pinctrl-0 = <&tim2_ch1_pwm_pa0>; | ||
pinctrl-0 = <&tim2_ch1_pa0>; | ||
}; | ||
}; | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -76,7 +76,7 @@ | |
|
||
pwm1: pwm { | ||
status = "okay"; | ||
pinctrl-0 = <&tim1_ch1_pwm_pa8>; | ||
pinctrl-0 = <&tim1_ch1_pa8>; | ||
}; | ||
}; | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -120,7 +120,7 @@ | |
|
||
pwm2: pwm { | ||
status = "okay"; | ||
pinctrl-0 = <&tim2_ch1_pwm_pa5>; | ||
pinctrl-0 = <&tim2_ch1_pa5>; | ||
}; | ||
}; | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -86,7 +86,7 @@ | |
|
||
pwm2: pwm { | ||
status = "okay"; | ||
pinctrl-0 = <&tim2_ch1_pwm_pa0>; | ||
pinctrl-0 = <&tim2_ch1_pa0>; | ||
}; | ||
}; | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -86,7 +86,7 @@ | |
|
||
pwm2: pwm { | ||
status = "okay"; | ||
pinctrl-0 = <&tim2_ch1_pwm_pa0>; | ||
pinctrl-0 = <&tim2_ch1_pa0>; | ||
}; | ||
}; | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -92,7 +92,7 @@ | |
|
||
pwm1: pwm { | ||
status = "okay"; | ||
pinctrl-0 = <&tim1_ch3_pwm_pe13>; | ||
pinctrl-0 = <&tim1_ch3_pe13>; | ||
}; | ||
}; | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -95,7 +95,7 @@ | |
|
||
pwm1: pwm { | ||
status = "okay"; | ||
pinctrl-0 = <&tim1_ch3_pwm_pe13>; | ||
pinctrl-0 = <&tim1_ch3_pe13>; | ||
}; | ||
}; | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -95,7 +95,7 @@ | |
|
||
pwm1: pwm { | ||
status = "okay"; | ||
pinctrl-0 = <&tim1_ch3_pwm_pe13>; | ||
pinctrl-0 = <&tim1_ch3_pe13>; | ||
}; | ||
}; | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -98,7 +98,7 @@ | |
|
||
pwm1: pwm { | ||
status = "okay"; | ||
pinctrl-0 = <&tim1_ch3_pwm_pe13>; | ||
pinctrl-0 = <&tim1_ch3_pe13>; | ||
}; | ||
}; | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -92,7 +92,7 @@ | |
|
||
pwm2: pwm { | ||
status = "okay"; | ||
pinctrl-0 = <&tim2_ch1_pwm_pa5>; | ||
pinctrl-0 = <&tim2_ch1_pa5>; | ||
}; | ||
}; | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -92,7 +92,7 @@ | |
|
||
pwm2: pwm { | ||
status = "okay"; | ||
pinctrl-0 = <&tim2_ch1_pwm_pa5>; | ||
pinctrl-0 = <&tim2_ch1_pa5>; | ||
}; | ||
}; | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -61,7 +61,7 @@ | |
|
||
pwm2: pwm { | ||
status = "okay"; | ||
pinctrl-0 = <&tim2_ch1_pwm_pa0>; | ||
pinctrl-0 = <&tim2_ch1_pa0>; | ||
}; | ||
}; | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -62,7 +62,7 @@ | |
|
||
pwm2: pwm { | ||
status = "okay"; | ||
pinctrl-0 = <&tim2_ch1_pwm_pa0>; | ||
pinctrl-0 = <&tim2_ch1_pa0>; | ||
}; | ||
}; | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -96,7 +96,7 @@ | |
|
||
pwm2: pwm { | ||
status = "okay"; | ||
pinctrl-0 = <&tim2_ch1_pwm_pa0>; | ||
pinctrl-0 = <&tim2_ch1_pa0>; | ||
}; | ||
}; | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -113,7 +113,7 @@ | |
|
||
pwm2: pwm { | ||
status = "okay"; | ||
pinctrl-0 = <&tim2_ch1_pwm_pa0>; | ||
pinctrl-0 = <&tim2_ch1_pa0>; | ||
}; | ||
}; | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -55,7 +55,7 @@ | |
|
||
pwm2: pwm { | ||
status = "okay"; | ||
pinctrl-0 = <&tim2_ch1_pwm_pa0>; | ||
pinctrl-0 = <&tim2_ch1_pa0>; | ||
}; | ||
}; | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -69,7 +69,7 @@ | |
|
||
pwm4: pwm { | ||
status = "okay"; | ||
pinctrl-0 = <&tim4_ch1_pwm_pd12>; | ||
pinctrl-0 = <&tim4_ch1_pd12>; | ||
}; | ||
}; | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -75,7 +75,7 @@ | |
|
||
pwm2: pwm { | ||
status = "okay"; | ||
pinctrl-0 = <&tim2_ch1_pwm_pa0>; | ||
pinctrl-0 = <&tim2_ch1_pa0>; | ||
}; | ||
}; | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -91,7 +91,7 @@ | |
|
||
pwm3: pwm { | ||
status = "okay"; | ||
pinctrl-0 = <&tim3_ch1_pwm_pb4>; | ||
pinctrl-0 = <&tim3_ch1_pb4>; | ||
}; | ||
}; | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
394c7d0
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This causes a build error:
alfonso@Alfonsos-MacBook-Pro samples % cd basic/blinky
alfonso@Alfonsos-MacBook-Pro blinky % west build -b nucleo_l432kc
-- west build: generating a build system
Including boilerplate (Zephyr base (cached)): /Users/alfonso/zephyr/zephyrproject/zephyr/cmake/app/boilerplate.cmake
-- Application: /Users/alfonso/zephyr/proyectos/samples/basic/blinky
-- Zephyr version: 2.4.99 (/Users/alfonso/zephyr/zephyrproject/zephyr)
-- Found west (found suitable version "0.8.0", minimum required is "0.7.1")
-- Board: nucleo_l432kc
-- Cache files will be written to: /Users/alfonso/Library/Caches/zephyr
-- Found dtc: /usr/local/bin/dtc (found suitable version "1.6.0", minimum required is "1.4.6")
-- Found toolchain: gnuarmemb (/usr/local)
-- Found BOARD.dts: /Users/alfonso/zephyr/zephyrproject/zephyr/boards/arm/nucleo_l432kc/nucleo_l432kc.dts
nucleo_l432kc.dts.pre.tmp:199.8-205.6: ERROR (phandle_references): /soc/timers@40000000/pwm: Reference to non-existent node or label "tim2_ch1_pa0"
394c7d0
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@alfonsotames Did you run
west update
? If the build still fails after that, will you please create a GitHub Issue?394c7d0
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh! That was it! It works fine. Many Thanks Maureen!