boards/all: Update board config files.

- Remove TFLM enable macro.
- Add new TFLM build flags.
This commit is contained in:
iabdalkader 2024-11-24 10:42:50 +01:00
parent 0197fe3849
commit 4750fc1e3a
21 changed files with 16 additions and 33 deletions

View File

@ -117,7 +117,6 @@
// Enable Tensor Flow
#if !defined(CUBEAI)
#define IMLIB_ENABLE_TFLM
#define IMLIB_ENABLE_TFLM_BUILTIN_MICRO_SPEECH
#define IMLIB_ENABLE_TFLM_BUILTIN_AUDIO_PREPROCESSOR
#define IMLIB_ENABLE_TFLM_BUILTIN_FOMO_FACE_DETECTION

View File

@ -23,3 +23,5 @@ MICROPY_PY_AUDIO = 1
MICROPY_PY_DISPLAY = 1
MICROPY_PY_OPENAMP = 1
MICROPY_PY_OPENAMP_REMOTEPROC = 1
MICROPY_PY_ML = 1
MICROPY_PY_ML_TFLM = 1

View File

@ -115,11 +115,6 @@
//#define IMLIB_ENABLE_FEATURES_BUILTIN_FACE_CASCADE
//#define IMLIB_ENABLE_FEATURES_BUILTIN_EYES_CASCADE
// Enable Tensor Flow
#if !defined(CUBEAI)
//#define IMLIB_ENABLE_TFLM
#endif
// Enable AGAST.
// #define IMLIB_ENABLE_AGAST

View File

@ -114,11 +114,6 @@
//#define IMLIB_ENABLE_FEATURES_BUILTIN_FACE_CASCADE
//#define IMLIB_ENABLE_FEATURES_BUILTIN_EYES_CASCADE
// Enable Tensor Flow
#if !defined(CUBEAI)
//#define IMLIB_ENABLE_TFLM
#endif
// Enable AGAST.
// #define IMLIB_ENABLE_AGAST

View File

@ -117,7 +117,6 @@
// Enable Tensor Flow
#if !defined(CUBEAI)
#define IMLIB_ENABLE_TFLM
#define IMLIB_ENABLE_TFLM_BUILTIN_MICRO_SPEECH
#define IMLIB_ENABLE_TFLM_BUILTIN_AUDIO_PREPROCESSOR
#define IMLIB_ENABLE_TFLM_BUILTIN_FOMO_FACE_DETECTION

View File

@ -26,3 +26,5 @@ MICROPY_PY_AUDIO = 1
MICROPY_PY_DISPLAY = 0
MICROPY_PY_TV = 0
MICROPY_PY_BUZZER = 0
MICROPY_PY_ML = 1
MICROPY_PY_ML_TFLM = 1

View File

@ -117,7 +117,6 @@
// Enable Tensor Flow
#if !defined(CUBEAI)
#define IMLIB_ENABLE_TFLM
#define IMLIB_ENABLE_TFLM_BUILTIN_MICRO_SPEECH
#define IMLIB_ENABLE_TFLM_BUILTIN_AUDIO_PREPROCESSOR
#define IMLIB_ENABLE_TFLM_BUILTIN_FOMO_FACE_DETECTION

View File

@ -26,3 +26,5 @@ MICROPY_PY_TV = 1
MICROPY_PY_BUZZER = 0
MICROPY_PY_OPENAMP = 1
MICROPY_PY_OPENAMP_REMOTEPROC = 1
MICROPY_PY_ML = 1
MICROPY_PY_ML_TFLM = 1

View File

@ -72,9 +72,6 @@
//#define IMLIB_ENABLE_FEATURES_BUILTIN_FACE_CASCADE
//#define IMLIB_ENABLE_FEATURES_BUILTIN_EYES_CASCADE
// Enable Tensor Flow
//#define IMLIB_ENABLE_TFLM
// Stereo Imaging
// #define IMLIB_ENABLE_STEREO_DISPARITY

View File

@ -111,9 +111,6 @@
//#define IMLIB_ENABLE_FEATURES_BUILTIN_FACE_CASCADE
//#define IMLIB_ENABLE_FEATURES_BUILTIN_EYES_CASCADE
// Enable Tensor Flow
//#define IMLIB_ENABLE_TFLM
// Enable AGAST.
#define IMLIB_ENABLE_AGAST

View File

@ -117,7 +117,6 @@
// Enable Tensor Flow
#if !defined(CUBEAI)
#define IMLIB_ENABLE_TFLM
#define IMLIB_ENABLE_TFLM_BUILTIN_FOMO_FACE_DETECTION
#endif

View File

@ -15,3 +15,5 @@ MICROPY_PY_WINC1500 = 1
MICROPY_PY_DISPLAY = 1
MICROPY_PY_TV = 1
MICROPY_PY_BUZZER = 0
MICROPY_PY_ML = 1
MICROPY_PY_ML_TFLM = 1

View File

@ -117,7 +117,6 @@
// Enable Tensor Flow
#if !defined(CUBEAI)
#define IMLIB_ENABLE_TFLM
#define IMLIB_ENABLE_TFLM_BUILTIN_FOMO_FACE_DETECTION
#endif

View File

@ -15,3 +15,5 @@ MICROPY_PY_WINC1500 = 1
MICROPY_PY_DISPLAY = 1
MICROPY_PY_TV = 1
MICROPY_PY_BUZZER = 0
MICROPY_PY_ML = 1
MICROPY_PY_ML_TFLM = 1

View File

@ -117,7 +117,6 @@
// Enable Tensor Flow
#if !defined(CUBEAI)
#define IMLIB_ENABLE_TFLM
#define IMLIB_ENABLE_TFLM_BUILTIN_FOMO_FACE_DETECTION
#endif

View File

@ -15,3 +15,5 @@ MICROPY_PY_WINC1500 = 1
MICROPY_PY_DISPLAY = 1
MICROPY_PY_TV = 1
MICROPY_PY_BUZZER = 0
MICROPY_PY_ML = 1
MICROPY_PY_ML_TFLM = 1

View File

@ -117,7 +117,6 @@
// Enable Tensor Flow
#if !defined(CUBEAI)
#define IMLIB_ENABLE_TFLM
#define IMLIB_ENABLE_TFLM_BUILTIN_FOMO_FACE_DETECTION
#endif

View File

@ -15,3 +15,5 @@ MICROPY_PY_WINC1500 = 1
MICROPY_PY_DISPLAY = 1
MICROPY_PY_TV = 1
MICROPY_PY_BUZZER = 1
MICROPY_PY_ML = 1
MICROPY_PY_ML_TFLM = 1

View File

@ -120,12 +120,9 @@
#define IMLIB_ENABLE_FEATURES_BUILTIN_EYES_CASCADE
// Enable Tensor Flow
#if !defined(CUBEAI)
#define IMLIB_ENABLE_TFLM
#define IMLIB_ENABLE_TFLM_BUILTIN_FOMO_FACE_DETECTION
#define IMLIB_ENABLE_TFLM_BUILTIN_PERSON_DETECT
#define IMLIB_ENABLE_TFLM_BUILTIN_FORCE_INT_QUANT
#endif
// Enable AGAST.
#define IMLIB_ENABLE_AGAST

View File

@ -7,8 +7,6 @@ OMV_BOARD_CFLAGS=-DBOARD_FLASH_SIZE=0x800000
OMV_FIRM_BASE=0x60000000
OMV_FIRM_ADDR=0x60000000
OMV_HSE_VALUE=12000000
OMV_ENABLE_BL=0
OMV_ENABLE_UVC=0
MICROPY_PY_CSI = 1
MICROPY_PY_ULAB = 1
MICROPY_PY_LWIP = 1
@ -18,3 +16,5 @@ MICROPY_BLUETOOTH_NIMBLE = 1
MICROPY_PY_DISPLAY = 1
MICROPY_PY_TV = 1
MICROPY_PY_BUZZER = 0
MICROPY_PY_ML = 1
MICROPY_PY_ML_TFLM = 1

View File

@ -115,11 +115,6 @@
//#define IMLIB_ENABLE_FEATURES_BUILTIN_FACE_CASCADE
//#define IMLIB_ENABLE_FEATURES_BUILTIN_EYES_CASCADE
// Enable Tensor Flow
#if !defined(CUBEAI)
//#define IMLIB_ENABLE_TFLM
#endif
// Enable FAST (20+ KBs).
// #define IMLIB_ENABLE_FAST