added algorithm for pwm and reqd structs in pru1_firmware.h; don't expect pru1_firmware to compile though.