mocleiri / tensorflow-micropython-examples

A custom micropython firmware integrating tensorflow lite for microcontrollers and ulab to implement the tensorflow micro examples.
MIT License
170 stars 79 forks source link

micro_speech: make script aware of each board and reduce to one example script #50

Open mocleiri opened 2 years ago

mocleiri commented 2 years ago

The I2S examples show a way to determine which board you are on and to handle board specific things within the same example script.

I want to copy that approach, see : https://github.com/miketeachman/micropython-i2s-examples/blob/e02240aa13e6f0b5f9fce71c12356b1f752828cc/examples/easy_wav_player.py#L13

Then I could have a single micro_speech.py that would work on all supported boards.