You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm running out of space in the ESP32 board and wanted to ask (as I could not find any valid answer about it) if the library could be imported/included by only a part of it.
in python you can:
"from radiolib import sx1262" or something like that...
can you do :
#include <Radiolib/SX1262.h>
or something like that to avoid importing the hole library ?
The text was updated successfully, but these errors were encountered:
or something like that to avoid importing the hole library ?
That's not how a compiled language works. All the unused classes will not be present in the final library. If a symbol is not being used by anything, it will not be linked and hence it will not be in your output file. Feel free to explore the compiled ELF file with tools like objdump.
Also, not really an issue - converting to a discussion instead.
Repository owner
locked and limited conversation to collaborators
May 14, 2024
I'm running out of space in the ESP32 board and wanted to ask (as I could not find any valid answer about it) if the library could be imported/included by only a part of it.
in python you can:
"from radiolib import sx1262" or something like that...
can you do :
#include <Radiolib/SX1262.h>
or something like that to avoid importing the hole library ?
The text was updated successfully, but these errors were encountered: