Skip to content

Commit

Permalink
Firmware and SDK release 06 Mar 2024
Browse files Browse the repository at this point in the history
  • Loading branch information
francovaro committed Mar 6, 2024
1 parent f3b509c commit 5212573
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 6 deletions.
9 changes: 6 additions & 3 deletions EdgeImpulse.EI-SDK.pdsc
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,16 @@
<name>EI-SDK</name>
<license>LICENSE-apache-2.0.txt</license>
<description>Edge Impulse SDK</description>
<url>https://github.com/edgeimpulse/edge-impulse-sdk-pack/releases/download/v1.46.4/</url>
<url>https://github.com/edgeimpulse/edge-impulse-sdk-pack/releases/download/v1.46.6/</url>
<supportContact>[email protected]</supportContact>
<repository type="git">https://github.com/edgeimpulse/edge-impulse-sdk-pack.git</repository>
<releases>
<release version="1.46.4" tag="v1.46.4" date="2024-03-05" url="https://github.com/edgeimpulse/edge-impulse-sdk-pack/releases/download/v1.46.4/EdgeImpulse.EI-SDK.1.46.4.pack">
<release version="1.46.6" tag="v1.46.6" date="2024-03-06" url="https://github.com/edgeimpulse/edge-impulse-sdk-pack/releases/download/v1.46.6/EdgeImpulse.EI-SDK.1.46.6.pack">
EI-SDK
</release>
<release version="1.46.4" tag="v1.46.4" date="2024-03-05" url="https://github.com/edgeimpulse/edge-impulse-sdk-pack/releases/download/v1.46.4/EdgeImpulse.EI-SDK.1.46.4.pack">
EI-SDK
</release>
<release version="1.46.1" tag="v1.46.1" date="2024-02-27" url="https://github.com/edgeimpulse/edge-impulse-sdk-pack/releases/download/v1.46.1/EdgeImpulse.EI-SDK.1.46.1.pack">
EI-SDK
</release>
Expand Down Expand Up @@ -74,7 +77,7 @@
</packages>
</requirements>
<components>
<component Cclass="EdgeImpulse" Cgroup="SDK" Cversion="1.46.4">
<component Cclass="EdgeImpulse" Cgroup="SDK" Cversion="1.46.6">
<description>Edge Impulse SDK</description>
<!-- short component description -->
<files>
Expand Down
4 changes: 2 additions & 2 deletions EdgeImpulse.pidx
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
<index schemaVersion="1.0.0" xs:noNamespaceSchemaLocation="PackIndex.xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema-instance">
<vendor>EdgeImpulse</vendor>
<url>https://raw.githubusercontent.com/edgeimpulse/edge-impulse-sdk-pack/main/</url>
<timestamp>2024-03-05 14:53:30</timestamp>
<timestamp>2024-03-06 17:40:41</timestamp>
<pindex>
<pdsc url="https://github.com/edgeimpulse/edge-impulse-sdk-pack/releases/download/v1.46.4/" vendor="EdgeImpulse" name="EI-SDK" version="1.46.4"/>
<pdsc url="https://github.com/edgeimpulse/edge-impulse-sdk-pack/releases/download/v1.46.6/" vendor="EdgeImpulse" name="EI-SDK" version="1.46.6"/>
</pindex>
</index>
16 changes: 15 additions & 1 deletion edgeimpulse/edge-impulse-sdk/dsp/numpy.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -1439,7 +1439,7 @@ class numpy {
}

/**
* Convert an int16_t buffer into a float buffer, maps to -1..1
* Convert an int16_t buffer into a float buffer
* @param input
* @param output
* @param length
Expand All @@ -1452,6 +1452,20 @@ class numpy {
return EIDSP_OK;
}

/**
* Convert an int8_t buffer into a float buffer
* @param input
* @param output
* @param length
* @returns 0 if OK
*/
static int int8_to_float(const EIDSP_i8 *input, float *output, size_t length) {
for (size_t ix = 0; ix < length; ix++) {
output[ix] = static_cast<float>((input[ix]));
}
return EIDSP_OK;
}

#if EIDSP_SIGNAL_C_FN_POINTER == 0
/**
* Create a signal structure from a buffer.
Expand Down

0 comments on commit 5212573

Please sign in to comment.