How to add examples folder in project?

Posts: 14
Joined: Sat Nov 12, 2016 1:51 am

How to add examples folder in project?

Postby lbruder » Sat Dec 03, 2016 8:27 pm

I'm trying to add an examples folder to my ESP32 WS2812B library, but am having trouble getting it building. I am horrible at understanding build systems, they're like magic to me. I've read the docs but haven't had any luck.

My folder structure is exactly like the folder structure in the examples folder in the esp-idf folder:
esp32_led/ (project)

What do I need to add to have an examples folder? Is it something like the bash script?

Thank you,

Posts: 2691
Joined: Thu Nov 26, 2015 4:08 am

Re: How to add examples folder in project?

Postby ESP_Sprite » Mon Dec 05, 2016 3:01 am

As far as I can see, the examples folder is nothing special in esp-idf; just a standard folder where a bunch of projects are dropped in, not different from any projects that live outside of the esp-idf tree. The script is a wrapper script that builds all these examples for our CI tests; while you can use it manually it isn't really intended as such. If you want CI in your project as well, you can copy it, but there's no need for that otherwise.

Who is online

Users browsing this forum: Bing [Bot] and 15 guests