ElectronicCats / CayenneLPP

Library for Arduino compatible with Cayenne Low Power Payload
http://electroniccats.com/
MIT License
112 stars 50 forks source link

Conditional compilation of types #22

Closed keidyz closed 3 years ago

keidyz commented 3 years ago

This should allow people, who are tight on space, to disable unneeded types

sabas1080 commented 3 years ago

Hi @keidyz can you add an example of use?

keidyz commented 3 years ago

Hi @keidyz can you add an example of use?

Heya @sabas1080- the user could just pass it to the build flags

example: make CPPFLAGS=-DCAYENNE_DISABLE_COLOUR

^ Will exclude anything colour related from the compilation, thus saving space.

I was wondering if something like that should be added to the read me or in an extensive comment though