@mchp-mcc/dspic33a-flash 1.0.4 → 1.0.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Changelog.md +12 -0
- package/Readme.md +12 -0
- package/output/autoProcessor.js +1 -1
- package/output/autoProcessor.js.map +1 -1
- package/output/creator.js +1 -1
- package/output/creator.js.map +1 -1
- package/output/flash-a-core-ftl/flash_nonblocking.c.ftl +20 -0
- package/output/processor.js +1 -1
- package/output/processor.js.map +1 -1
- package/package.json +3 -3
- package/src/GeneratorModel.ts +2 -1
|
@@ -100,8 +100,28 @@ void FLASH_Initialize(void)
|
|
|
100
100
|
|
|
101
101
|
<#if interruptDriven == true>
|
|
102
102
|
<#if isFlashContextSupported>
|
|
103
|
+
<#if suppressMisraWarning == true>
|
|
104
|
+
/* cppcheck-suppress misra-c2012-8.4
|
|
105
|
+
*
|
|
106
|
+
* (Rule 8.4) REQUIRED: A compatible declaration shall be visible when an object or
|
|
107
|
+
* function with external linkage is defined
|
|
108
|
+
*
|
|
109
|
+
* Reasoning: Interrupt declaration are provided by compiler and are available
|
|
110
|
+
* outside the driver folder
|
|
111
|
+
*/
|
|
112
|
+
</#if>
|
|
103
113
|
void __attribute__ ( ( interrupt, context ) ) ${flashIsrHandlerName}(void)
|
|
104
114
|
<#else>
|
|
115
|
+
<#if suppressMisraWarning == true>
|
|
116
|
+
/* cppcheck-suppress misra-c2012-8.4
|
|
117
|
+
*
|
|
118
|
+
* (Rule 8.4) REQUIRED: A compatible declaration shall be visible when an object or
|
|
119
|
+
* function with external linkage is defined
|
|
120
|
+
*
|
|
121
|
+
* Reasoning: Interrupt declaration are provided by compiler and are available
|
|
122
|
+
* outside the driver folder
|
|
123
|
+
*/
|
|
124
|
+
</#if>
|
|
105
125
|
void __attribute__ ( ( interrupt ) ) ${flashIsrHandlerName}(void)
|
|
106
126
|
</#if>
|
|
107
127
|
{
|