10 years, 4 months ago.

When I "export to desktop IDE", I can't compile on KEIL (missing device.h)

I only did the following: 1. Hit the "Export to desktop IDE" /media/uploads/hassan789/000.png

2. Hit build all from KEIL 5 /media/uploads/hassan789/001.png

Am I missing a step here? I believe I am using the latest mbed lib.... how can I confirm that?

Question relating to:

/ BLE_HeartRate Featured
Heart Rate Monitor example for the BLE API using nRF51822 native mode drivers

1 Answer

10 years, 4 months ago.

I think there's a bug in export process of the latest update of BLE_HeartRate example. I didn't have this problem with the previous version. You can go to this link https://mbed.org/handbook/mbed-library-internals and export the source library to your computer. The device.h file should be in there (./targets/hal/....) /media/uploads/littledino2112/src.png

Hoang

Accepted Answer

I assume it's problem of the prebuilt library, will be fixed in the next revision. For exporting, please use older revision or mbed-src. Thanks.

posted by Martin Kojtal 14 Jul 2014