How to add folder in project with some separate code

markevens
Posts: 38
Joined: Sat Aug 01, 2020 6:31 am

How to add folder in project with some separate code

Postby markevens » Fri Apr 09, 2021 5:31 am

I am using ESP-IDF V 4.2 and in c++
what i want is in project folder i have folder with name main. and i want add extra one folder with name like ws2812 which is like library for RGB led. how can i do it. Because I am getting undefined reference error.

any sample project is best for me.

cbaurtx
Posts: 12
Joined: Sun May 10, 2020 9:24 am

Re: How to add folder in project with some separate code

Postby cbaurtx » Fri Apr 09, 2021 10:07 pm

Hi Mark

I know you from my time in Dallas.
An example project is attached.
Attachments
gpio_ulp.zip
Zip Archive of example project
(50.75 KiB) Downloaded 266 times

cbaurtx
Posts: 12
Joined: Sun May 10, 2020 9:24 am

Re: How to add folder in project with some separate code

Postby cbaurtx » Sat Apr 10, 2021 3:57 pm

That was the wrong example (ULP and not a custom component)
So here you go....
Attachments
gpio.zip
(9.66 KiB) Downloaded 292 times

markevens
Posts: 38
Joined: Sat Aug 01, 2020 6:31 am

Re: How to add folder in project with some separate code

Postby markevens » Sat May 08, 2021 4:49 am

@cbaurtx Thnak you

It's working

Who is online

Users browsing this forum: awegel, StanInexeon and 98 guests