For add custom board with TF-M support, the purpose of nrf/modules/tfm directory in SDK?

As I search through in the nRF Connect SDK, I can't find any docs about this directory, but I guess it's for override the code inTF-M.

The question is, if I want to add custom board to support TF-M, should I add the board definations in "modules/tee/tf-m/trusted-firmware-m/platform/ext/target/nordic_nrf" or this directory?

Can you give me more explanations to these files in "nrf/modules/tfm"? Thks!

Parents Reply
  • Hello,

    The question is, if I want to add custom board to support TF-M, should I add the board definations in "modules/tee/tf-m/trusted-firmware-m/platform/ext/target/nordic_nrf" or this directory?

    No, that shouldn't be necessary. Please just make a standard board file based on the DK. Those TF-M files should added automatically based on the MCU used, not the board. Probably a bit of an unfortunate word usage there.

    Best regards,

    Michal

Children
Related