Component.mk

akash.nair
Posts: 1
Joined: Thu Aug 16, 2018 11:31 am

Component.mk

Postby akash.nair » Thu Aug 16, 2018 11:39 am

For my project i have kept my component in component directory.
For eg: Inside component folder-> Akash. Now inside this component folder Akash I am having 2 more component directories.
How can i give path to this 2 component folder that is inside main folder Akash ?

User avatar
kolban
Posts: 1683
Joined: Mon Nov 16, 2015 4:43 pm
Location: Texas, USA

Re: Component.mk

Postby kolban » Thu Aug 16, 2018 4:02 pm

I think the notion of the "component" file structure is that each directory under components is a self contained unit of "function" that will be compiled and linked with your application. If you have a component called "X" do you really mean to say that you have "nested" components called "X/Y" and "X/Z" or do you mean that for structural layout you are organizing your source files in sub directories called "Y" and "Z" but still only have one component called "X"?
Free book on ESP32 available here: https://leanpub.com/kolban-ESP32

Who is online

Users browsing this forum: No registered users and 28 guests