PWM programs on the LPCxpresso 54114 doen't work

16 Mar 2018

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?

16 Mar 2018

Also replied to your question, but copying it here for Google visibility:

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