An update to using the BCM2835 library with Trixie on RPi4B. I have now been able to run my test program that uses SPI without using sudo.
The only issue I have now is I'm not able to debug my program as the program fails when calling SPI init, (just as it does if not sudo), but running in the terminal windows works just fine without sudo.
I'm running VS Code on my win11 PC and editing/building/debugging the code on my RPi4 via ssh.
This one has stumped me. I've setup VC Code launch.json & tasks.json to build/run setcap (via script)/and debug in one step, and also individually, but when debugging it it always fails with 'SPI init failed' and terminates.
Any pointer to resolving this issue would be most welcome.
\CB