Modify the linker flags for GCC/G++ to add the library search path and the linker command itself. You can do this by adding a build_flags
entry to your platformio.ini
file, see platformio documentation. For GCC, you need to at least add -L directory/to/archive
and -l*name_of_archive_file*
1 Like