-
Notifications
You must be signed in to change notification settings - Fork 91
Change esp32 to build on top of the tflite-micro-esp-examples idf component #127
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Draft
mocleiri
wants to merge
13
commits into
main
Choose a base branch
from
feature/126-microlite-on-tflite-micro-esp-examples
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Change esp32 to build on top of the tflite-micro-esp-examples idf component #127
mocleiri
wants to merge
13
commits into
main
from
feature/126-microlite-on-tflite-micro-esp-examples
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Instead of using submodules create a script that will make a shallow git clone of the dependency repos: 1. ulab 2. micropython 3. tflite-micro-esp-examples 4. tflite-micro (for non esp32 boards) Pin the versions to the latest releases of each dependency. ulab: 6.0.12 micropython: master esp32-tflite: v1.0.0 tflite-micro: <undefined> tflite-micro doesn't tag releases so its undefined to be the latest commit on the tip of the main branch. use latest micropython to get upgrade to idf 5.0.2
I copied the micropython board ESP32_GENERIC and replaced MICROLITE with minor adjustments to enable the microlite module and the name of the board.
7dbb3d9
to
7e6e0ac
Compare
0e7e152
to
9662651
Compare
Also update ci for building esp32 MICROLITE using the new build scripts.
Perhaps you might want also to update to the new camera API for Micropython. This works with the actual Micropython version. |
077560f
to
e6c6895
Compare
Change branch build logic.
e6c6895
to
ceaaa64
Compare
This should trigger all esp32 boards to build.
e15ca38
to
5084493
Compare
How boards are configured has been simplified in micropython. Update the board config files from upstream.
5084493
to
fe4942c
Compare
691306d
to
c244b3e
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This is work in progress to change how tensorflow is built and linked into the microlite firmware. Instead of enumerating all of the source files I build the tensorflow part with esp_nn for accelerated ops directly as an esp-idf component.
It also upgrades the microlite module to work with latest micropython master (>1.20.0).
The submodules are deleted. Instead a new scripts/build.sh has been created. It has two functions:
I've run through the steps manually and was able to build firmware for the MICROLITE board and flash it an run the microspeech demo.
The second commit contains changes from @uraich for upgrading microlite to use the new module registration macros.
The next steps are to change the ci builds to use the new build script, upgrade the other board configurations and ensure the unix and rp2 builds still work properly.