Compare commits
2 Commits
b321e2cdb9
...
8aa679a7ad
Author | SHA1 | Date | |
---|---|---|---|
|
8aa679a7ad | ||
|
70f793b00f |
72
EEE4STM32/.project/STM32CubeMX/templates/default_conf.ftl
Normal file
72
EEE4STM32/.project/STM32CubeMX/templates/default_conf.ftl
Normal file
|
@ -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****/
|
8
EEE4STM32/.project/projectFile.xml
Normal file
8
EEE4STM32/.project/projectFile.xml
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||||
|
<package schemaVersion="1.7.7" xmlns:xs="http://www.w3.org/2001/XMLSchema-instance" xs:noNamespaceSchemaLocation="PACK.xsd">
|
||||||
|
<vendor>RainerWieland</vendor>
|
||||||
|
<name>EEE4STM32::FROM_SCRATCH_NOT_GENERATED::CUBE_RULES</name>
|
||||||
|
<description>EEPROM emulation expansion software for STM32Cube</description>
|
||||||
|
<url/>
|
||||||
|
<releases/>
|
||||||
|
</package>
|
0
EEE4STM32/.project/untrackedFilesList.txt
Normal file
0
EEE4STM32/.project/untrackedFilesList.txt
Normal file
Loading…
Reference in New Issue
Block a user