Hi Anton,

 

Another option:

3. Avoid the mandatory on-the-fly generation.

    Try to make TFM a component/framework, which is configurable by compile & run time parameters.

 

Thanks,

Andrej

 

From: TF-M <tf-m-bounces@lists.trustedfirmware.org> On Behalf Of Anton Komlev via TF-M
Sent: Monday, October 19, 2020 5:00 PM
To: tf-m@lists.trustedfirmware.org
Cc: nd <nd@arm.com>
Subject: [TF-M] Generated files location

 

Hi,

 

Some source files in TF-M are templated and generated inside /<build_dir>/generated/ on the fly as a part of build process. This guaranty consistency between templates and generated but might make a trouble for IDE, where not all source files exist at the first run.

I see 2 options for solution:

  1. Explicitly generate those files via cmake as a part of IDE project creation (1 time action)
  2. Relay on CMSIS Pack for IDE, where generated files must be presents

Any alternative thoughts?

Anton