diff --git a/ARM.CMSIS-DSP.pdsc b/ARM.CMSIS-DSP.pdsc
index 1968e7ec2..18afa6220 100644
--- a/ARM.CMSIS-DSP.pdsc
+++ b/ARM.CMSIS-DSP.pdsc
@@ -111,6 +111,7 @@
+
diff --git a/ComputeGraph/cg.scvd b/ComputeGraph/cg.scvd
new file mode 100644
index 000000000..8b2edb9bd
--- /dev/null
+++ b/ComputeGraph/cg.scvd
@@ -0,0 +1,48 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ComputeGraph/cg/static/src/GenericNodes.h b/ComputeGraph/cg/static/src/GenericNodes.h
index 061f8c2e3..1274e23d6 100644
--- a/ComputeGraph/cg/static/src/GenericNodes.h
+++ b/ComputeGraph/cg/static/src/GenericNodes.h
@@ -389,4 +389,13 @@ class Duplicate3run();
+ {% if config.eventRecorder -%}
+ if (cgStaticError<0)
+ {
+ EventRecord2 (Evt_Error, cgStaticError, 0);
+ }
+ {% endif -%}
CHECKERROR;
}
{% if config.debug %}
debugCounter--;
{% endif %}
+ CG_AFTER_ITERATION;
nbSchedule++;
}
diff --git a/cmsisdsp/cg/static/scheduler/templates/codeSwitch.cpp b/cmsisdsp/cg/static/scheduler/templates/codeSwitch.cpp
index d6685e434..2ef651ad0 100644
--- a/cmsisdsp/cg/static/scheduler/templates/codeSwitch.cpp
+++ b/cmsisdsp/cg/static/scheduler/templates/codeSwitch.cpp
@@ -20,25 +20,40 @@ static unsigned int schedule[{{schedLen}}]=
{% endif %}
{
/* Run a schedule iteration */
+ {% if config.eventRecorder -%}
+ EventRecord2 (Evt_Scheduler, nbSchedule, 0);
+ {% endif -%}
+ CG_BEFORE_ITERATION;
for(unsigned long id=0 ; id < {{schedLen}}; id++)
{
+ {% if config.eventRecorder -%}
+ EventRecord2 (Evt_Node, schedule[id], 0);
+ {% endif -%}
switch(schedule[id])
{
{% for nodeID in range(nbNodes) -%}
case {{nodeID}}:
{
{{nodes[nodeID].cRun()}}
- CHECKERROR;
}
break;
- {% endfor %}default:
+ {% endfor -%}
+ default:
break;
}
+ {% if config.eventRecorder -%}
+ if (cgStaticError<0)
+ {
+ EventRecord2 (Evt_Error, cgStaticError, 0);
+ }
+ {% endif -%}
+ CHECKERROR;
}
{% if config.debug %}
debugCounter--;
{% endif %}
+ CG_AFTER_ITERATION;
nbSchedule++;
}
diff --git a/cmsisdsp/cg/static/scheduler/templates/commonc.cpp b/cmsisdsp/cg/static/scheduler/templates/commonc.cpp
index 7ef4f016f..c13999dc9 100644
--- a/cmsisdsp/cg/static/scheduler/templates/commonc.cpp
+++ b/cmsisdsp/cg/static/scheduler/templates/commonc.cpp
@@ -12,10 +12,12 @@ The support classes and code is covered by CMSIS-DSP license.
{% endif %}
#include "arm_math.h"
-#include "custom.h"
+#include "{{config.customCName}}"
#include "GenericNodes.h"
-#include "AppNodes.h"
-#include "scheduler.h"
+#include "{{config.appNodesCName}}"
+#include "{{config.schedulerCFileName}}.h"
+
+
{% macro optionalargs() -%}
{% if config.cOptionalArgs %},{{config.cOptionalArgs}}{% endif %}
diff --git a/cmsisdsp/version.py b/cmsisdsp/version.py
index 6ed13a85b..d018d844c 100755
--- a/cmsisdsp/version.py
+++ b/cmsisdsp/version.py
@@ -1,2 +1,2 @@
# Python wrapper version
-__version__ = "1.7.1"
+__version__ = "1.8.0"