Skip to content

TinyML for STM32F407 using different frameworks in C and C++ with Keil uVision IDE.

Notifications You must be signed in to change notification settings

fjpolo/STM32F407TinyML

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TinyML using different frameworks applied to STM32F407 uC

Caution:

CubeMX code must be generated for every project, since libraries are included in .gitignore. For TFLite projects, the auto-generated main must be changed to .cpp and must be merged with the latest changes from main.c.-

Development IDE: Keil uVision v6

CubeMXAI/003MagicWand

Modify the following parameters in CubeMXAI\003MagicWand\Middlewares\Third_Party\MachineLearning\edgeimpulse\model-parameters\model_metadata.h: #define EI_CLASSIFIER_RAW_SAMPLE_COUNT 200 #define EI_CLASSIFIER_INTERVAL_MS 10 #define EI_CLASSIFIER_FREQUENCY 100

Disable the following files for compilation:

  • BasicMathFunctionsF16.c
  • CommoTablesF16.c
  • TransformFunctionsF16.c

References:

ToDo: