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:

The nRF52 Development Kit is a single-board development kit for Bluetooth Smart, ANT and 2.4GHz proprietary applications using the nRF52 Series SoC. This kit supports both development for nRF52832 SoCs.

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