Skip to content

Commit

Permalink
Added launchpad support
Browse files Browse the repository at this point in the history
 - TODO: modify URLs to espressif
  • Loading branch information
vikramdattu committed Sep 23, 2024
1 parent a262f79 commit d7bf4de
Show file tree
Hide file tree
Showing 3 changed files with 83 additions and 1 deletion.
62 changes: 62 additions & 0 deletions .github/workflows/launchpad.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
name: Launchpad CI

on:
push:
branches:
- master
pull_request:
branches:
- master

jobs:

build:
strategy:
matrix:
idf_ver: ["release-v5.3"]
runs-on: ubuntu-latest
container: espressif/idf:${{ matrix.idf_ver }}
steps:
- name: Checkout repo
uses: actions/checkout@v3
with:
submodules: 'recursive'

- name: Action for Building and Uploading Binaries
uses: espressif/[email protected]
with:
idf_version: ${{ matrix.idf_ver }}

- name: Upload Artifact
uses: actions/upload-artifact@v3
with:
name: built_files
path: binaries/

deploy:
needs: build

permissions:
pages: write
id-token: write

environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}

runs-on: ubuntu-latest
steps:
- name: Download built files
uses: actions/download-artifact@v3
with:
name: built_files
path: binaries/

- name: Upload built files to gh pages
uses: actions/upload-pages-artifact@v2
with:
path: binaries/

- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v2
6 changes: 6 additions & 0 deletions .idf_build_apps.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
target = "esp32 esp32s3 esp32p4"
paths = "examples"
recursive = false

# build related options
build_dir = "build_@t_@w"
16 changes: 15 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,19 @@
# TensorFlow Lite Micro for Espressif Chipsets

[![Component Registry](https://components.espressif.com/components/espressif/esp-tflite-micro/badge.svg)](https://components.espressif.com/components/espressif/esp-tflite-micro)
<p>
<a href="https://components.espressif.com/components/espressif/esp-tflite-micro" alt="Latest Version">
<img src="https://components.espressif.com/components/espressif/esp-tflite-micro/badge.svg" /></a>
<a href="https://github.com/espressif/esp-tflite-micro/blob/master/LICENSE" alt="LICENSE">
<img alt="GitHub" src="https://img.shields.io/github/license/espressif/esp-tflite-micro"></a>
<a href="https://github.com/espressif/esp-tflite-micro/actions/workflows/launchpad.yml" alt="Launchpad CI">
<img src="https://github.com/espressif/esp-tflite-micro/actions/workflows/launchpad.yml/badge.svg" /></a>
<a href="https://github.com/espressif/esp-tflite-micro/graphs/contributors" alt="Contributors">
<img src="https://img.shields.io/github/contributors/espressif/esp-tflite-micro" /></a>
</p>

<a href="https://espressif.github.io/esp-launchpad/?flashConfigURL=https://vikramdattu.github.io/esp-tflite-micro/launchpad.toml">
<img alt="Try it with ESP Launchpad" src="https://espressif.github.io/esp-launchpad/assets/try_with_launchpad.png" width="250" height="70">
</a>

- As per TFLite Micro guidelines for vendor support, this repository has the `esp-tflite-micro` component and the examples needed to use Tensorflow Lite Micro on Espressif Chipsets (e.g., ESP32-P4) using ESP-IDF platform.
- The base repo on which this is based can be found [here.](https://github.com/tensorflow/tflite-micro)
Expand All @@ -11,6 +24,7 @@
| ----------- | --------- |
| Examples Build | [![CI](https://github.com/espressif/esp-tflite-micro/actions/workflows/ci.yml/badge.svg)](https://github.com/espressif/esp-tflite-micro/actions/workflows/ci.yml)


## How to Install

### ESP-IDF Support Policy
Expand Down

0 comments on commit d7bf4de

Please sign in to comment.