nrf-rs / nrf-hal

A Rust HAL for the nRF family of devices
Apache License 2.0
484 stars 134 forks source link

PWM demo not working on nRF52840-DK #481

Open thvdveld opened 2 weeks ago

thvdveld commented 2 weeks ago

When running the PWM demo on the nRF52840-dk, nothing happens. Not even the following is printed: https://github.com/nrf-rs/nrf-hal/blob/7d648ad292c8c9dec32c8ebb094d1e9806c851dd/examples/pwm-demo/src/main.rs#L121

I added a print statement in the init function, which seems to work. But after that, nothing happens. I use cargo embed --release --target=thumbv7em-none-eabihf to run the example.