From 70f793b00f6597cd4c47d09b07ca19a540830db6 Mon Sep 17 00:00:00 2001 From: "XPS\\Micro" Date: Sun, 4 Aug 2024 07:22:16 +0200 Subject: [PATCH] Packet created --- .../STM32CubeMX/templates/default_conf.ftl | 72 +++++++++++++++++++ EEE4STM32/.project/projectFile.xml | 8 +++ EEE4STM32/.project/untrackedFilesList.txt | 0 3 files changed, 80 insertions(+) create mode 100644 EEE4STM32/.project/STM32CubeMX/templates/default_conf.ftl create mode 100644 EEE4STM32/.project/projectFile.xml create mode 100644 EEE4STM32/.project/untrackedFilesList.txt diff --git a/EEE4STM32/.project/STM32CubeMX/templates/default_conf.ftl b/EEE4STM32/.project/STM32CubeMX/templates/default_conf.ftl new file mode 100644 index 0000000..849336a --- /dev/null +++ b/EEE4STM32/.project/STM32CubeMX/templates/default_conf.ftl @@ -0,0 +1,72 @@ +[#ftl] +/** + ****************************************************************************** + * File Name : ${name} + * Description : This file provides code for the configuration + * of the ${name} instances. + ****************************************************************************** +[@common.optinclude name=mxTmpFolder+"/license.tmp"/][#--include License text --] + ****************************************************************************** + */ +[#assign s = name] +[#assign toto = s?replace(".","__")] +[#assign dashReplace = toto?replace("-","_")] +[#assign inclusion_protection = dashReplace?upper_case] +/* Define to prevent recursive inclusion -------------------------------------*/ +#ifndef __${inclusion_protection}__ +#define __${inclusion_protection}__ + +#ifdef __cplusplus + extern "C" { +#endif + +/* Includes ------------------------------------------------------------------*/ +[#if includes??] +[#list includes as include] +#include "${include}" +[/#list] +[/#if] + +[#-- SWIPdatas is a list of SWIPconfigModel --] +[#list SWIPdatas as SWIP] +[#-- Global variables --] +[#if SWIP.variables??] + [#list SWIP.variables as variable] +extern ${variable.value} ${variable.name}; + [/#list] +[/#if] + +[#-- Global variables --] + +[#assign instName = SWIP.ipName] +[#assign fileName = SWIP.fileName] +[#assign version = SWIP.version] + +/** + MiddleWare name : ${instName} + MiddleWare fileName : ${fileName} + MiddleWare version : ${version} +*/ +[#if SWIP.defines??] + [#list SWIP.defines as definition] +/*---------- [#if definition.comments??]${definition.comments} [/#if] -----------*/ +#define ${definition.name} #t#t ${definition.value} +[#if definition.description??]${definition.description} [/#if] + [/#list] +[/#if] + + + +[/#list] + + +#ifdef __cplusplus +} +#endif +#endif /*__ ${inclusion_protection}_H */ + +/** + * @} + */ + +/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/EEE4STM32/.project/projectFile.xml b/EEE4STM32/.project/projectFile.xml new file mode 100644 index 0000000..cc14a84 --- /dev/null +++ b/EEE4STM32/.project/projectFile.xml @@ -0,0 +1,8 @@ + + + RainerWieland + EEE4STM32::FROM_SCRATCH_NOT_GENERATED::CUBE_RULES + EEPROM emulation expansion software for STM32Cube + + + diff --git a/EEE4STM32/.project/untrackedFilesList.txt b/EEE4STM32/.project/untrackedFilesList.txt new file mode 100644 index 0000000..e69de29