Use customized component in project component folder vs original component
Posted: Mon May 22, 2023 4:15 pm
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,
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,