How do I include my own libraries and libraries I find on the internet into Edison? I'm using Putty to create a connection to the Edison and editing with vi and compiling with gcc.
Thank you for interest in the Intel® Edison Breakout Board.
Intel Edison is designed for quick prototype/product development. Therefore, it provides its own SDK to facilitate the application development. Without using SDK, you can still build up libraries and sample application directly on the Intel Edison target. But it would take half day long to get the job done.
You can either download the Microcontroller (MCU) SDK from Intel Edison support website ( https://software.intel.com/en-us/iot/hardware/edison/downloads) or build your own one. BSP reference guide ( http://download.intel.com/support/edison/sb/edisonbsp_ug_331188005.pdf) contains detailed information about how to generate Intel Edison SDK and how to customize your Intel Edison image.
The best place to get started with the Intel Edison SDK is here https://software.intel.com/en-us/creating-applications-with-mcu-sdk-for-intel-edison-board. And if you want to learn more about adding new libraries to the SDK, please check the following thread https://communities.intel.com/message/388258# 388258 https://communities.intel.com/message/388258# 388258 (give special attention to the links provided by Peter).
There are two methods to include libraries without using the SDK:
• Include from source
https://www.howtogeek.com/105413/how-to-compile-and-install-from-source-on-ubuntu/ https://www.howtogeek.com/105413/how-to-compile-and-install-from-source-on-ubuntu/ (the site mentions Ubuntu but the steps are the same for Yocto).
• Include from repository
https://software.intel.com/en-us/articles/managing-devkit-libraries-intel-edison-or-intel-galileo-bo... https://software.intel.com/en-us/articles/managing-devkit-libraries-intel-edison-or-intel-galileo-bo... (just change the source of the repository for the one you want to use in your board).
https://software.intel.com/en-us/videos/how-to-install-git-and-the-mraa-libraries-on-your-intel-edis... https://software.intel.com/en-us/videos/how-to-install-git-and-the-mraa-libraries-on-your-intel-edis... (this video shows an example).
I hope you find the previous information useful.
I was wondering if you had the chance to check the information provided.
If you have any other question, don't hesitate to contact us.