9 years, 8 months ago.

Getting this error trying to compile Seeed_Tiny_BLE_Get_Started

Error: Cannot open source input file "device.h": No such file or directory in "extras/mbed_e188a91d3eaa/platform.h" Anyone know how to fix this please?

Question relating to:

The Tiny BLE is a Bluetooth Low Energy development board designed with low energy consumption and small size in mind. Features include BLE, CMSIS DAP, current measuring and motion detection.

Update to latest libraries and then remove nRF51822/nordic-sdk/components/gpiote/app_gpiote.c. This may temporarily solve the compile error.

posted by Yihui Xiong 17 Apr 2015

done that now getting Error: Undefined symbol app_timer_create (referred from ble_conn_params.cpp.SEEED_TINY_BLE.o). Error: Undefined symbol app_timer_start (referred from ble_conn_params.cpp.SEEED_TINY_BLE.o). Error: Undefined symbol app_timer_stop (referred from ble_conn_params.cpp.SEEED_TINY_BLE.o).

posted by Neil Shuker-Harris 17 Apr 2015

Did you update the nRF51822 library. The latest nRF51822 library is revision 111, and a update of BLE_API library is required too (latest v341).

posted by Yihui Xiong 22 Apr 2015

Hi Yihui,

Yes done that now have these errors following update. nRF51822 library is now revision 112 BLE_API library is now version 341

Error: Object of abstract class type "nRF51GattServer" is not allowed in "nRF51822/nRF51GattServer.h", Line: 30, Col: 32 Error: Object of abstract class type "nRF51Gap" is not allowed in "nRF51822/nRF51Gap.h", Line: 37, Col: 25 Error: Object of abstract class type "nRF51GattServer" is not allowed in "nRF51822/nRF51GattServer.h", Line: 30, Col: 32 Error: Object of abstract class type "nRF51Gap" is not allowed in "nRF51822/nRF51Gap.h", Line: 37, Col: 25

Any thoughts

posted by Neil Shuker-Harris 22 Apr 2015

Hi Again Yihui,

I have now deleted and re imported it followed by a lib update it now compiles to success. I now just need to wait for the platform to arrive. :) Thank you for your help.

posted by Neil Shuker-Harris 22 Apr 2015

1 Answer

9 years, 8 months ago.

I got the same problem. It seems some changes of the online compiler cause the issue. I will ask mbed team to help checking the issue.