How to add 'build-id' for nRF Connect SDK

Please tell me How to add 'build-id' for nRF Connect SDK.

I try to
target_link_libraries(app PUBLIC -Wl,--build-id=sha1)
But, not effect.

The MemFault SDK seems to have this functionality built in, but I don't want to use it.

In zephyr system,
It seems that the bindesc subsystem is trying to achieve equivalent functionality.
Is this feature available in the nRF Connect SDK?

Parents Reply
  • OK.

    Do you have any information regarding the following?

    -----------------------------------------------------------------------------------------------------------------------
    It seems that the HASH value of the image can be obtained using img_mgmt_read_info().
    And the same HASH value seems to be included in app_update.bin.
    How can I read this HASH value from app_update.bin?
    -----------------------------------------------------------------------------------------------------------------------

Children
Related