Hi,
I'm trying to get the PWM to work to operate a vibrator connected to the nRF54L15 PDK. I'm basing my activity on lesson4 - pwm as I'm also new to Zephyr (but experienced with nrf52).
The configuration part succeeds, but then the compilation fails with the following error:
This is my overlay:
This is my basic prj.conf:
And this is my basic main.c (I removed some unrelated parts so don't mind line numbers in the error messages):
If I remove the line where I declare `pwm_vibrator` there's no more compilation error.
How can I make this work ?
All is built with `west build -b nrf54l15pdk@0.8.1/nrf54l15/cpuapp`
I'm using the toolchain 2.8.0 and nRF Connect SDK 2.8.0 on a Debian system.
Edit: I'd like to add that I tried to run the example's solution itself and ended up with the same issue.
I've cloned ncs-inter on commit 0b2e2e2, built in ncs-inter/v2.8.x-v2.7.0/l4/l4_e2_sol with 'west build -b nrf54l15pdk@0.8.1/nrf54l15/cpuapp' on SDK+toolchain 2.8.0 and obtained the same kind of error, i.e.:
/workdir/zephyr/include/zephyr/device.h:92:41: error: '__device_dts_ord_DT_N_NODELABEL_servo_P_pwms_IDX_0_PH_ORD' undeclared here (not in a function)
This was on my own variation of nrf-docker where I built the image for toolchain/SDK 2.8.0, so it's quite reproducible.