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.
5 years, 11 months ago.
What is the lates version of the mbed library that works with this board
When compiling the BLE_BatteryLevel with the latest version of the mbed library (release version 164) I get the following error:
Error: Cannot open source input file "device.h": No such file or directory in "extras/mbed/platform/platform.h", Line: 29, Col: 21
Many Thanks,
Joe.
Question relating to:
1 Answer
5 years, 11 months ago.
Hi Joe,
We think you might be trying to use the legacy (OS2 based) BLE_BatteryLevel example with the nRF52_DK. Unfortunately that example is targeted at the nRF51 and won't work on the nRF52.
For the current nRF52 BLE examples please visit:
If you are using the Online Compiler, you can conveniently bring in the BatteryLevel example by selecting the nRF52-DK as your target and then using the "New - New Program" menu. Make sure you select the second example which is built for OS5. Somehow nRF51 projects are creeping in there so we will try to get that corrected.
Regards,
Ralph, Team Mbed