[riot-users] [Riot] Include external library

Alberto Ciolini albertociolini92 at gmail.com
Mon Jan 2 16:45:33 CET 2017


Hello,
I'm new in RIOT. I have to include this library,
https://github.com/bro/broccoli, in RIOT and flash a program in OpenMote
for my thesis.
I read in the RIOT api that you can import external libraries as packages.
I moved the library in to pkg folder of RIOT. I added the USEPKG macro in
my application's Makefile but when i use "include <broccoli.h>" in main.c
of my program i have this error:
/home/user/RIOT/examples/hello-world/main.c:23:22:
fatal error: broccoli.h: No such file or directory #include <broccoli.h>.
Can you help me please?

Thanks.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/users/attachments/20170102/89aa993f/attachment.html>


More information about the users mailing list