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.
Hi, I'm using watchdog to avoid malfunction. When I update application with FOTA, the board is reset by watchdog expired. Watchdog count is set to 30 seconds but application update takes more time. Should I modify dfu bootloader source to kick watchdog?