I added [mcu: rpi] and pwm corresponding config to control light.
Now the klipper is not starting correctly. Extruder fan is switched on Instead of normal start.
Octoprint is started normally, web interface is accesible.
After the Klipper restart (by click button Restart Firmware) then is restarted correctly - everything is working including lights.
Yes, I have configured Rpi correctly according instructions. The proof is, that after firmware restart everything is working.
Just klipper is not starting correctly at boot.
Is there some klipper dependencies on other processes?
Just I am thinking if everything - what is required - is ready when klipper starts.
Just to be clear:
I have this in /boot/config.txt:
But this solution is not really good - start script can be overwritten during upgrade.
So question is - where to place the command to execute it before the klipper?
Also the question - why is the extruder fan started when pwm is not exported?