Home
last modified time | relevance | path

Searched full:template (Results 1 – 25 of 79) sorted by relevance

1234

/trusted-firmware-m-latest/tools/
Dtfm_generated_file_list.yaml10 # The path of "template" can be relative path to TF-M root or absolute path
22 "template": "interface/include/psa_manifest/sid.h.template",
27 "template": "interface/include/psa_manifest/pid.h.template",
32 "template": "interface/include/config_impl.h.template",
37 "template": "tools/config_impl.cmake.template",
Dtfm_parse_manifest_list.py44 Template loader class.
46 An instance of this class is passed to the template engine. It is
47 responsible for reading the template file
52 def get_source(self, environment, template): argument
54 This function reads the template files.
61 if not os.path.isfile(template):
62 raise TemplateNotFound(template)
63 with open(template) as f:
65 return source, template, False
495 …nifesttemplate = ENV.get_template(os.path.join(sys.path[0], 'templates/manifestfilename.template'))
[all …]
DCMakeLists.txt80 parse_field_from_yaml("${GENERATED_FILE_LISTS}" template TEMPLATE_FILES)
86 ${CMAKE_CURRENT_SOURCE_DIR}/templates/manifestfilename.template
87 ${CMAKE_CURRENT_SOURCE_DIR}/templates/partition_intermedia.template
88 ${CMAKE_CURRENT_SOURCE_DIR}/templates/partition_load_info.template
89 ${CMAKE_CURRENT_SOURCE_DIR}/config_impl.cmake.template
/trusted-firmware-m-latest/platform/ext/target/arm/mps2/an521/
Dgenerated_file_list.yaml10 # The path of "template" can be relative path to TF-M root or absolute path
22 "template": "platform/ext/common/armclang/tfm_isolation_l3.sct.template",
27 "template": "platform/ext/common/gcc/tfm_isolation_l3.ld.template",
32 "template": "platform/ext/common/iar/tfm_isolation_l3.icf.template",
/trusted-firmware-m-latest/platform/ext/target/arm/musca_b1/
Dgenerated_file_list.yaml10 # The path of "template" can be relative path to TF-M root or absolute path
22 "template": "platform/ext/common/armclang/tfm_isolation_l3.sct.template",
27 "template": "platform/ext/common/gcc/tfm_isolation_l3.ld.template",
32 "template": "platform/ext/common/iar/tfm_isolation_l3.icf.template",
/trusted-firmware-m-latest/platform/ext/target/stm/common/
Dgenerated_file_list.yaml10 # The path of "template" can be relative path to TF-M root or absolute path
22 "template": "platform/ext/common/armclang/tfm_isolation_l3.sct.template",
27 "template": "platform/ext/common/gcc/tfm_isolation_l3.ld.template",
32 "template": "platform/ext/common/iar/tfm_isolation_l3.icf.template",
/trusted-firmware-m-latest/docs/design_docs/software/
Dtfm_code_generation_with_jinja2.rst13 Some of the files in TF-M are generated from template files. The files to be
15 generated file ``<path_to_file>/<filename>`` the template file is
16 ``<path_to_file>/<filename>.template``. The templates are populated with
26 parse the template files, and uses ``tools/keyword_substitution.py`` to
30 Use Jinja2 template engine - proposal
33 The proposal is to eliminate the template parser and substituter scripts, and
34 call the Jinja2 template engine library from
45 - template files needs to be rewritten to the Jinja syntax: The control
/trusted-firmware-m-latest/platform/ext/cmsis/
DARM.CMSIS.pdsc283 - Updated template for secure main function (main_s.c)
284 - Updated template for Context Management for ARMv8-M TrustZone (tz_context.c)
663 <!-- Code template -->
664 …<file category="sourceC" attr="template" condition="TZ Secure" name="CMSIS/Core/Template/ARMv8-M/m…
665 …<file category="sourceC" attr="template" condition="TZ Secure" name="CMSIS/Core/Template/ARMv8-M/t…
710 …<description>Access to #include Driver_USART.h file and code template for custom implementation</d…
713 …<file category="sourceC" attr="template" name="CMSIS/Driver/DriverTemplates/Driver_USART.c" select…
717 …<description>Access to #include Driver_SPI.h file and code template for custom implementation</des…
720 …<file category="sourceC" attr="template" name="CMSIS/Driver/DriverTemplates/Driver_SPI.c" select="…
724 …<description>Access to #include Driver_SAI.h file and code template for custom implementation</des…
[all …]
/trusted-firmware-m-latest/docs/integration_guide/services/
Dtfm_manifest_tool_user_guide.rst181 - ``template``
183 This attribute is the file path of a Jinja2 [6]_ template.
184 The TF-M manifest tool uses Jinja2 template engine for file generations.
190 The output file of the ``template``.
198 so they are not in any generated file lists since one template generates
207 The corresponding template is ``manifestfilename.template``
213 The corresponding template is ``partition_intermedia.template``.
219 The corresponding template is ``partition_load_info.template``.
/trusted-firmware-m-latest/platform/
DCMakeLists.txt74 $<$<BOOL:${PLATFORM_DEFAULT_ATTEST_HAL}>:ext/common/template/attest_hal.c>
75 $<$<BOOL:${PLATFORM_DEFAULT_NV_COUNTERS}>:ext/common/template/nv_counters.c>
76 $<$<BOOL:${PLATFORM_DEFAULT_ROTPK}>:ext/common/template/tfm_rotpk.c>
77 $<$<BOOL:${PLATFORM_DEFAULT_NV_SEED}>:ext/common/template/crypto_nv_seed.c>
78 …TITION_PROTECTED_STORAGE}>>,$<BOOL:${PLATFORM_DEFAULT_OTP}>>:ext/common/template/flash_otp_nv_coun…
79 $<$<BOOL:${PLATFORM_DEFAULT_OTP}>:ext/common/template/otp_flash.c>
147 $<$<BOOL:${PLATFORM_DEFAULT_CRYPTO_KEYS}>:ext/common/template/crypto_keys.c>
192 $<$<BOOL:${PLATFORM_DEFAULT_NV_COUNTERS}>:ext/common/template/nv_counters.c>
193 $<$<BOOL:${PLATFORM_DEFAULT_ROTPK}>:ext/common/template/tfm_rotpk.c>
194 …TFORM_DEFAULT_NV_COUNTERS}>,$<BOOL:${PLATFORM_DEFAULT_OTP}>>:ext/common/template/flash_otp_nv_coun…
[all …]
/trusted-firmware-m-latest/platform/ext/target/arm/mps4/corstone315/provisioning/bundle_cm/
Dcm_create_provisioning_data.py20 provisioning_data_template.jinja2 template which is located in
25 template = environment.get_template("cm_provisioning_data_template.jinja2")
39 F.write(template.render(key_arrays))
/trusted-firmware-m-latest/platform/ext/target/stm/common/stm32u5xx/
DCMakeLists.txt38 $<$<C_COMPILER_ID:GNU>:${STM_COMMON_DIR}/hal/template/gcc/bl2.ld>
39 $<$<C_COMPILER_ID:ARMClang>:${STM_COMMON_DIR}/hal/template/armclang/bl2.sct>
40 $<$<C_COMPILER_ID:IAR>:${STM_COMMON_DIR}/hal/template/iar/bl2.icf>
87 $<$<STREQUAL:"${TFM_FIH_PROFILE}","HIGH">:${PLATFORM_DIR}/ext/common/template/tfm_fih_rng.c>
118 ${STM_COMMON_DIR}/hal/template/iar/appli_ns.icf
119 ${STM_COMMON_DIR}/hal/template/gcc/appli_ns.ld
120 ${STM_COMMON_DIR}/hal/template/armclang/appli_ns.sct
/trusted-firmware-m-latest/platform/ext/target/stm/common/stm32l5xx/
DCMakeLists.txt38 $<$<C_COMPILER_ID:GNU>:${STM_COMMON_DIR}/hal/template/gcc/bl2.ld>
39 $<$<C_COMPILER_ID:ARMClang>:${STM_COMMON_DIR}/hal/template/armclang/bl2.sct>
40 $<$<C_COMPILER_ID:IAR>:${STM_COMMON_DIR}/hal/template/iar/bl2.icf>
109 ${STM_COMMON_DIR}/hal/template/iar/appli_ns.icf
110 ${STM_COMMON_DIR}/hal/template/gcc/appli_ns.ld
111 ${STM_COMMON_DIR}/hal/template/armclang/appli_ns.sct
/trusted-firmware-m-latest/platform/ext/target/stm/common/stm32h5xx/
DCMakeLists.txt37 $<$<C_COMPILER_ID:GNU>:${STM_COMMON_DIR}/hal/template/gcc/bl2.ld>
38 $<$<C_COMPILER_ID:ARMClang>:${STM_COMMON_DIR}/hal/template/armclang/bl2.sct>
39 $<$<C_COMPILER_ID:IAR>:${STM_COMMON_DIR}/hal/template/iar/bl2.icf>
231 install(FILES ${STM_COMMON_DIR}/hal/template/gcc/appli_ns.ld
232 ${STM_COMMON_DIR}/hal/template/armclang/appli_ns.sct
233 ${STM_COMMON_DIR}/hal/template/iar/appli_ns.icf
/trusted-firmware-m-latest/platform/ext/target/arm/mps4/corstone315/provisioning/bundle_dm/
Ddm_create_provisioning_data.py60 provisioning_data_template.jinja2 template which is located in
79 template = environment.get_template("dm_provisioning_data_template.jinja2")
141 F.write(template.render(key_arrays))
/trusted-firmware-m-latest/platform/ext/target/armchina/mps3/common/provisioning/
Dcreate_provisioning_data.py58 provisioning_data_template.jinja2 template which is located in
71 template = environment.get_template("provisioning_data_template.jinja2")
121 F.write(template.render(key_arrays))
/trusted-firmware-m-latest/platform/ext/common/provisioning_bundle/
Dcreate_provisioning_data.py68 provisioning_data_template.jinja2 template which is located in
81 template = environment.get_template("provisioning_data_template.jinja2")
135 F.write(template.render(key_arrays))
/trusted-firmware-m-latest/platform/ext/cmsis/CMSIS/CoreValidation/Project/
Dvalidation.xsl3 <xsl:template match="/">
41 </xsl:template>
/trusted-firmware-m-latest/docs/design_docs/services/
Dtfm_uniform_secure_service_signature.rst39 generated automatically from a template (using the secure function list in the
102 the template veneer function to call ``TFM_CORE_SFN_REQUEST`` macro.
Dtfm_its_service.rst341 ``platform/ext/common/template/tfm_hal_its_encryption.c`` using PSA crypto calls
342 similar to Protected Storage solution. When used, the default NV seed template
343 under ``platform/ext/common/template/crypto_nv_seed.c`` must be disabled, as it
/trusted-firmware-m-latest/platform/ext/target/arm/drivers/dma/dma350/
Ddma350_ch_drv.h1081 * \brief Set source template size of DMA350 DMA channel
1084 * \param[in] size Number of 1s in template minus 1. 0 means disabled.
1094 * \brief Set destination template size of DMA350 DMA channel
1097 * \param[in] size Number of 1s in template minus 1. 0 means disabled.
1107 * \brief Set source template of DMA350 DMA channel
1110 * \param[in] tmplt Template of the source side. Bit[0] is ignored, it is
1121 * \brief Set destination template of DMA350 DMA channel
1124 * \param[in] tmplt Template of the destination side. Bit[0] is ignored,
1135 * \brief Get source template of DMA350 DMA channel
1139 * \return Template of the source side
[all …]
/trusted-firmware-m-latest/platform/ext/target/arm/corstone1000/bl1/
DCMakeLists.txt195 …$<$<BOOL:${PLATFORM_DEFAULT_NV_COUNTERS}>:${CMAKE_SOURCE_DIR}/platform/ext/common/template/nv_coun…
196 …<BOOL:${PLATFORM_DEFAULT_OTP}>>:${CMAKE_SOURCE_DIR}/platform/ext/common/template/flash_otp_nv_coun…
197 … $<$<BOOL:${PLATFORM_DEFAULT_OTP}>:${CMAKE_SOURCE_DIR}/platform/ext/common/template/otp_flash.c>
/trusted-firmware-m-latest/platform/ext/target/arm/rse/common/ns/
Dconfig.cmake.in8 # This CMake script template contains the set of options settled on secure side
/trusted-firmware-m-latest/platform/ext/cmsis/CMSIS/Core/Template/ARMv8-M/
Dmain_s.c3 * @brief Code template for secure main function
/trusted-firmware-m-latest/secure_fw/partitions/ns_agent_tz/
Dload_info_ns_agent_tz.c11 /***** WARNING: This file SHOULD BE CHANGED according to storage template *****/

1234