Report
2 years, 9 months ago.

Transitioning from online compiler to yotta

Hi,

I am experiencing a weird behavior with nrf51822 (nrf51dk). I have a somewhat large app that compiles and runs beautifully on the online compiler. I recently transitioned to yotta for off-line compilation. I've made minimal changes relative to the original code (app_start instead of main) and #include "mbed-drivers/mbed.h" instead of /mbed.h. The program compiles and runs on the device, but all ble services are no longer functioning. Any ideas? I know this is somehow related to the application size, but I am not sure how to fix this.

Question relating to:

The nRF51822-mKIT is a low cost ARM mbed enabled development board for Bluetooth® Smart designs with the nRF51822 SoC. The kit gives access to all GPIO pins via pin headers ...

Have you considered using mbed OS 5? I believe the yotta build system is kind of obsolete now. You may have better luck with the mbed-cli tool. Mbed 5 may be more compatible with your code base as well.

posted by Graham S. 14 Nov 2016
Comment on this question

1 Answer

2 years, 9 months ago.

HI Shay :),

I recommend looking as Graham mentioned at mbed CLI this will allow to use all the necessary mbed API and import libraries just as you need.

If you need any help with this let me know.

Regards,

Andrea, team mbed


You need to log in to post a question