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

nucleo_h745zi_q_m7 pwm device tree bug #26313

Closed
KozhinovAlexander opened this issue Jun 19, 2020 · 0 comments · Fixed by #26314
Closed

nucleo_h745zi_q_m7 pwm device tree bug #26313

KozhinovAlexander opened this issue Jun 19, 2020 · 0 comments · Fixed by #26314
Labels
bug The issue is a bug, or the PR is fixing a bug

Comments

@KozhinovAlexander
Copy link
Collaborator

KozhinovAlexander commented Jun 19, 2020

Describe the bug
Compiling any sample project (e.g. blinky, hello_world) for nucleo_h745zi_q_m7 leads to following error:

devicetree error: missing data after phandle in <Property 'pwms' at '/pwmleds/red_pwm_led' in 'nucleo_h745zi_q_m7.dts.pre.tmp'

To Reproduce
Run following command on master:
west build -p auto -b nucleo_h745zi_q_m7 samples/hello_world

Expected behavior
The project must compile successfully

Impact
Showstopper for all nucleo_h745zi_q_m7
Environment (please complete the following information):

  • OS: MacOS
  • Toolchain: west
  • Commit SHA or Version used: 8e2c4a4

Additional context
The fix is trivial: in the file nucleo_h745zi_q_m7.dts the line #29 must be replaced with pwms = <&pwm12 1 4 PWM_POLARITY_NORMAL>;

Corresponding PR were opened: #26314

@KozhinovAlexander KozhinovAlexander added the bug The issue is a bug, or the PR is fixing a bug label Jun 19, 2020
KozhinovAlexander pushed a commit to KozhinovAlexander/zephyr that referenced this issue Jun 19, 2020
carlescufi pushed a commit that referenced this issue Jun 20, 2020
fixed pwm bug #26313

Signed-off-by: Alexander Kozhinov <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug The issue is a bug, or the PR is fixing a bug
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant