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

Zephyr: Full support for iterable sections via Kconfig #38

Closed martinjaeger closed 2 years ago

martinjaeger commented 2 years ago

Macros for Zephyr iterable sections feature was already implemented before.

This commit adds full support for iterable sections including the CMake part, so that the data objects can be initialized directly with the new ts_init_global() function. In addition to that, iterable sections support can be enabled via Kconfig (set to yes by default).