From 09232d5768dcbbf87e3c8713575e200ae3ae6522 Mon Sep 17 00:00:00 2001 From: David Hebbeker Date: Tue, 13 Feb 2024 14:57:49 +0100 Subject: [PATCH] Clarify source file selection of libraries by LDF. (#339) See https://github.com/platformio/platformio-core/issues/4849#issuecomment-1931873548 --- librarymanager/ldf.rst | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/librarymanager/ldf.rst b/librarymanager/ldf.rst index 25c374301e..ba63574b80 100644 --- a/librarymanager/ldf.rst +++ b/librarymanager/ldf.rst @@ -85,6 +85,11 @@ project (:ref:`projectconf_pio_src_dir`) and can work in the next modes: The mode can be changed using :ref:`projectconf_lib_ldf_mode` option in :ref:`projectconf`. Default value is set to ``chain``. + +.. note:: + Once a library is picked by the LDF for the build process, all source files + according to its manifest file will be built. + .. note:: Usually, when the LDF appears to fail to identify a dependency of a library, it is because the dependency is only referenced from a library source file,