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.
8 years, 1 month 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:
1 Answer
8 years, 1 month 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
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