Skip to content

Commit

Permalink
SDK Release 28 Dec 2021
Browse files Browse the repository at this point in the history
  • Loading branch information
janjongboom committed Dec 28, 2021
1 parent 2c7f4d5 commit c9ad53f
Show file tree
Hide file tree
Showing 21 changed files with 497 additions and 107 deletions.
4 changes: 3 additions & 1 deletion edge-impulse-sdk/classifier/ei_classifier_config.h
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,9 @@
#else
#define EI_CLASSIFIER_TFLITE_ENABLE_CMSIS_NN 1
#endif // Mbed OS 5.7 version check
#elif defined(__TARGET_CPU_CORTEX_M0) || defined(__TARGET_CPU_CORTEX_M0PLUS) || defined(__TARGET_CPU_CORTEX_M3) || defined(__TARGET_CPU_CORTEX_M4) || defined(__TARGET_CPU_CORTEX_M7) || defined(ARDUINO_NRF52_ADAFRUIT)

// __ARM_ARCH_PROFILE is a predefine of arm-gcc. __TARGET_* is armcc
#elif __ARM_ARCH_PROFILE == 'M' || defined(__TARGET_CPU_CORTEX_M0) || defined(__TARGET_CPU_CORTEX_M0PLUS) || defined(__TARGET_CPU_CORTEX_M3) || defined(__TARGET_CPU_CORTEX_M4) || defined(__TARGET_CPU_CORTEX_M7) || defined(ARDUINO_NRF52_ADAFRUIT)
#define EI_CLASSIFIER_TFLITE_ENABLE_CMSIS_NN 1
#else
#define EI_CLASSIFIER_TFLITE_ENABLE_CMSIS_NN 0
Expand Down
3 changes: 3 additions & 0 deletions edge-impulse-sdk/classifier/ei_classifier_types.h
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,9 @@ typedef struct {
int dsp;
int classification;
int anomaly;
int64_t dsp_us;
int64_t classification_us;
int64_t anomaly_us;
} ei_impulse_result_timing_t;

typedef struct {
Expand Down
Loading

0 comments on commit c9ad53f

Please sign in to comment.