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
Currently, this framework is all or nothing, which can bloat the binary. While this is acceptable for the datalogger product it's currently used in, it makes it difficult to utilize this in future products that may not want to use all the sensors, only some of them.
Proposed Solution
Using some sort of conditional compilation. 2 ideas come to mind to me.
#ifdef guarding inside the device libraries with a configuration file in your application including the appropriate devices. This could take the form of #ifdef (FLX_DEV_ALL || FLX_DEV_ABC123) so there's still an include all option.
Using CMake. I'm not sure how this would work in the context of arduino applications, but arduino cores use it. Would require further thought.
The text was updated successfully, but these errors were encountered:
Problem Statement
Currently, this framework is all or nothing, which can bloat the binary. While this is acceptable for the datalogger product it's currently used in, it makes it difficult to utilize this in future products that may not want to use all the sensors, only some of them.
Proposed Solution
Using some sort of conditional compilation. 2 ideas come to mind to me.
#ifdef (FLX_DEV_ALL || FLX_DEV_ABC123)
so there's still an include all option.The text was updated successfully, but these errors were encountered: