Skip to content

nucleo_h745zi_q_m7 pwm device tree bug #26313

@KozhinovAlexander

Description

@KozhinovAlexander

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugThe issue is a bug, or the PR is fixing a bug

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions