Results 56 comments of Robert Savage

I have used hardware PWM in a live demo that I did for CodeOne 2019. So it's at least been tested before to some degree. Have you installed the latest...

@DanielMartensson It looks like I used different PWM channels in my demo project: https://github.com/Pi4J/pi4j-example-telegraph/blob/c07f4a92f50f60ecdc2229621b8cc57445e67330/src/main/java/com/pi4j/demo/telegraph/Telegraph.java#L48-L49 If it possible for you to try pin 18 or 19? I wonder if there is...

So reading that PIPGIO supported hardware PWM on pins 0-31 was a bit confusing to me. From WiringPi, Pi4J V1 and all the previous work I had done with PWM...

@DanielMartensson > So the conclusion is that there are 0-31 hardware PWM pins, bit raspberry pi can only use two of them? > > I need 4 PWM pins -...

> Ok! It's seems to work now. But I have another issue you might want to look at. > > I have selected the pins you suggested. It's seems to...not...

> Investigating further it appears that while gcc _is_ correctly build v6 code, the support libraries are built with the default v7 code. This would mean that the .o files...

I started testing these flags on my side and got compile errors. I think the reason it compiles with the flags you suggested (`-march=armv6+fp -mfloat-abi=hard -mfpu=vfp -marm`) for you is...

I was able to get these compiler flags working. "`-march=armv6 -mfloat-abi=hard -mfpu=vfp -marm`" You can test it from this branch. if you like: https://github.com/Pi4J/pi4j-v2/tree/issue/%2328 I have not tested on hardware....

The GCC compiler is pretty old in the [RaspberryPi Tools](https://github.com/raspberrypi/tools) repo that I was originally using. So maybe first we can try the one published [here](https://github.com/Pro/raspi-toolchain) and see if they...

@hackerjimbo Well, been struggling with this all day. I believe I have it working using the original [RaspberryPi Tools](https://github.com/raspberrypi/tools) cross compiler toolchains when building with Docker ... but only on...