Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
8 years, 4 months ago.
PwmOut and AnalogIn not defined when selecting FOTA or BOOT builds
I'm using an NRF51-DK to program a Taiyo Yuden EYSGJNZWY module, which uses the nRF51882 chipset.
I'm using the online mbed build platform and when I select "Nordic NRF51-DK" and "Default" as the build options, my code works as expected.
However, when I select either "App with Bootloader" or "App for FOTA", I am getting build errors. Specifically:
- Error: Identifier "PwmOut" is undefined in "main.cpp"
- Error: Identifier "AnalogIn" is undefined in "main.cpp"
No other changes to the code are made. Only the target build is changed from "Default" to "BOOT" / "FOTA".
Can someone confirm that PwmOut and AnalogIn functions are still supported when building for FOTA?
Regards,
Stephan.