This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Unable to build the trusted firmware-m sample for nRF9160-DK

Hi!

After cloning a fresh codebase and building the trusted firmware-m sample parts of the mcuboot scripts seem to break:

Traceback (most recent call last):
  File "/home/cfriedrich/Projects/ncs-dev/modules/tee/tfm/trusted-firmware-m/bl2/ext/mcuboot/scripts/wrapper/wrapper.py", line 20, in <module>
    import imgtool
ModuleNotFoundError: No module named 'imgtool'

Useful excerpts from cmake:

-- Found west (found suitable version "0.9.0", minimum required is "0.7.1")
-- Board: nrf9160dk_nrf9160ns, Revision: 0.7.0
-- The C compiler identification is GNU 10.2.0
-- The CXX compiler identification is GNU 10.2.0

The DK revision is actually 1.0.0 but I think this makes no difference in this case.

Regards

Caspar

Related