Re: How to include C library that is not in Zephyr


Jie Zhou <zhoujie@...>
 

Hi Hui,

Newlib is included in zephyr. To enable newlib, just add CONFIG_NEWLI_LIBC=y to prj.conf file. The conf file can be found in the same directory that your makefile is. Then your zephyr environment should simply switch from miminal to newlib.

Best,
Jie

On Thu, Sep 21, 2017 at 1:13 PM, Hui Yie Teh <hteh703@...> wrote:
Hi,

Is there a way to include C libraries that are not in Zephyr e.g. <unistd.h>? 

Cheers. 

_______________________________________________
Zephyr-devel mailing list
Zephyr-devel@lists.zephyrproject.org
https://lists.zephyrproject.org/mailman/listinfo/zephyr-devel


Join devel@lists.zephyrproject.org to automatically receive all group messages.