6 years, 1 month ago.

PWM doesn't work with LPCxpresso 54114 -- Possible Bug?

I have tried to compile several PWM programs on the LPCxpresso 54114, but get the following error:

Error: Identifier "PwmOut" is undefined

When I compile the same programs using the LPC1768 as the target, the program compiles with no errors. This has been confirmed with the PwmOut_HelloWorld program provided as an example in the documentation. Is this a possible bug in the library files?

1 Answer

6 years, 1 month ago.

This device is not marked as support PWM, which is why the PwmOut class is not loaded (it's defined here in targets.json). It's weird though as the board should have PWM. I've raised a ticket: https://github.com/ARMmbed/mbed-os/issues/6382

Accepted Answer