ThingSet / thingset-device-library

ThingSet library for resource-constrained devices written in C/C++
https://thingset.io/thingset-device-library/
Apache License 2.0
14 stars 6 forks source link

Add decimal fraction type and allow for more fine-grained feature control #17

Closed martinjaeger closed 3 years ago

martinjaeger commented 3 years ago

Fixes #15 and #16.

martinjaeger commented 3 years ago

For information: Enabling all features adds 1300 byte of flash consumption in the charge-controller firmware according to my quick test.

Default configuration:

Memory region         Used Size  Region Size  %age Used
           FLASH:       98016 B       128 KB     74.78%
            SRAM:       22776 B        32 KB     69.51%
        IDT_LIST:          0 GB         2 KB      0.00%

All features enabled:

Memory region         Used Size  Region Size  %age Used
           FLASH:       99316 B       128 KB     75.77%
            SRAM:       22776 B        32 KB     69.51%
        IDT_LIST:          0 GB         2 KB      0.00%