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
  • Hi, thanks for waiting!

    Unfortunately I haven't found the answer to this yet - I'll try to give you an answer soon.

    Best regards,

    Raoul

  • 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?

Reply
  • 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
No Data