Hi,
If I copy a component to the component folder of my project and make some customizations. How should I let the compiler know to use this component vs the original one in idf-source folder? I seem to have forgotten. Does it automatically take presedence because it is in the source folder? Do I need to edit CMakeList.txt? Which ones? Do I need to do something with the component manager? Ie create a idf_component.yml? This is only for copying dependencies and components of specific version to managed_component dir right?
Hope someone can help me out.
Kind regards,
Use customized component in project component folder vs original component
-
- Posts: 1709
- Joined: Mon Oct 17, 2022 7:38 pm
- Location: Europe, Germany
Re: Use customized component in project component folder vs original component
Yes.Does it automatically take precedence because it is in the source folder?
No.Do I need to edit CMakeList.txt?
Re: Use customized component in project component folder vs original component
Ah cool, thought so! But visual studio code didn't know, and still linked to the original files. Guess I only need to check the configs there then.
Much appreciated!
Much appreciated!
Who is online
Users browsing this forum: Majestic-12 [Bot] and 78 guests