Spark-Dev include libs

Continuing the discussion from Spark-Dev IDE Questions:

How can Spark libs from cloud be included?

This, for example, works in the web IDE but not in Spark-Dev:

 #include "flashee-eeprom/flashee-eeprom.h"

Look here

and the following posts

Currently to add library to your project you have to manually download it to your project.
When you go to web IDE -> Libraries -> Library you want to use there’s link to its GitHub repository (small GH icon).
Just download it and copy contents of its firmware directory without examples dir to your project.
Then include it with:

 #include "flashee-eeprom.h"

Notice lack of nested directories, which are not supported in Spark Dev yet (we’re working on it though).

1 Like

Fantastic @suda! Worked like a charm. Thanks.