Added more customization hooks to compute graph.

pull/53/head
Christophe Favergeon 3 years ago
parent b8177102d9
commit f74f666fb0

@ -40,7 +40,7 @@
<event id="0x0100 + 0x01" level="API" property="NodeExecution" info="Execution of a node" value="ID=%d[val1]" />
<event id="0x0100 + 0x02" level="NodeError" property="Error" info="Error during execution of a node" value="err=%d[val1]" />
<event id="0x0100 + 0x02" level="Error" property="Error" info="Error during execution of a node" value="err=%d[val1]" />
</events>

@ -398,4 +398,13 @@ public:
#define CG_AFTER_ITERATION
#endif
#if !defined(CG_BEFORE_SCHEDULE)
#define CG_BEFORE_SCHEDULE
#endif
#if !defined(CG_BEFORE_NODE_INIT)
#define CG_BEFORE_NODE_INIT
#endif
#endif

@ -19,15 +19,15 @@ from cmsisdsp_svm import *
__version__ = cmsisdsp.version.__version__
# CMSIS-DSP Version used to build the wrapper
cmsis_dsp_version="1.12.1"
cmsis_dsp_version="1.14.1"
# CMSIS-DSP Commit hash used to build the wrapper
commit_hash="142dcec5c333781c2299fe43824545cc57a5bcb0"
commit_hash="b8177102d9a4aaf83fd3f067364ecfa3100966c2"
# True if development version of CMSIS-DSP used
# (So several CMSIS-DSP versions may have same version number hence the commit hash)
developmentVersion=True
developmentVersion=False
__all__ = ["datatype", "fixedpoint", "mfcc"]

@ -4,6 +4,7 @@
{% endblock %}
{% block scheduleLoop %}
CG_BEFORE_SCHEDULE;
{% if config.debug %}
while((cgStaticError==0) && (debugCounter > 0))
{% else %}

@ -93,6 +93,7 @@ uint32_t {{config.schedName}}(int *error{{optionalargs()}})
{% endif %}
{% endfor %}
CG_BEFORE_NODE_INIT;
/*
Create node objects
*/
@ -108,6 +109,8 @@ uint32_t {{config.schedName}}(int *error{{optionalargs()}})
{% endif %}
{% endfor %}
CG_BEFORE_SCHEDULE;
/* Run several schedule iterations */
{% if config.debug %}
while((cgStaticError==0) && (debugCounter > 0))

@ -13,6 +13,7 @@ static unsigned int schedule[{{schedLen}}]=
{% endblock %}
{% block scheduleLoop %}
CG_BEFORE_SCHEDULE;
{% if config.debug %}
while((cgStaticError==0) && (debugCounter > 0))
{% else %}

@ -60,6 +60,7 @@ uint32_t {{config.schedName}}(int *error{{optionalargs()}})
{% endif %}
{% endfor %}
CG_BEFORE_NODE_INIT;
/*
Create node objects
*/

@ -1,2 +1,2 @@
# Python wrapper version
__version__ = "1.8.0"
__version__ = "1.8.1"

Loading…
Cancel
Save