Get Started
What is PlatformIO?
PlatformIO IDE
PlatformIO Core (CLI)
Tutorials
Project Examples
Solutions
PlatformIO IDE
PlatformIO Core (CLI)
Debugging
Unit Testing
Static Code Analysis
Remote Development
Library Management
Desktop IDEs Integration
Cloud IDEs Integration
Continuous Integration
Registry
Docs
Community
Support
TECHNOLOGY
PlatformIO Community
Preprocessor #if statement doesn't work in library
PlatformIO IDE
debug
,
atmelavr
,
platformio-ini
maxgerhardt
April 7, 2022, 11:15am
2
If you conditionally include a library based on a macro, set
lib_ldf_mode
accordingly.
show post in topic