App version usage in code and configuration

Hi there,

Zephyr has ability for an Application version management. Based on this, I have created a "Version" file, without any file name extension (like .txt).

Now I would like to display the version in the "Device Information Service" defined in my prj.conf like:

CONFIG_BT_DIS_FW_REV_STR=$(APP_VERSION_TWEAK_STRING)

But, this gives me: "Assignment ignored. error: Aborting due to Kconfig warnings".

How can I use the firmware version in the device information service?

Thanks for your answer in advance.

Kind regards,

Patrick

Related