-
-
Notifications
You must be signed in to change notification settings - Fork 39
feat(example): Add RP2040-Zero example with EPD #187
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
Open
Vaishnav-Sabari-Girish
wants to merge
12
commits into
ratatui:main
Choose a base branch
from
Vaishnav-Sabari-Girish:feat/rp2040-epd-example
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.
Open
Changes from 11 commits
Commits
Show all changes
12 commits
Select commit
Hold shift + click to select a range
53cb884
feat(example): Add RP2040-Zero example with EPD
Vaishnav-Sabari-Girish b403fc2
fix(ci): scope thumbv6m builds to mousefood to avoid kasuari incompat…
Vaishnav-Sabari-Girish 74cccc2
fix(ci): Modified the clippy command to build from the directory itself
Vaishnav-Sabari-Girish a13a667
fix(ci): replace build-thumbv6m with build-rp2040 to fix thumbv6m com…
Vaishnav-Sabari-Girish f1fb01d
chore(flash.uf2): Add .uf2 file to .gitignore
Vaishnav-Sabari-Girish a90a543
Merge branch 'main' into feat/rp2040-epd-example
Vaishnav-Sabari-Girish ab25141
fix(example): Updated the RP2040 EPD example
Vaishnav-Sabari-Girish f2c0787
docs(README): Updated README.md
Vaishnav-Sabari-Girish 774bd15
docs(fmt): Fixed markdown linting issue
Vaishnav-Sabari-Girish 38f57a6
style(rp2040): address PR feedback for heap allocation and CI
Vaishnav-Sabari-Girish b4c0311
fix(fmt): Fixed rust formatting
Vaishnav-Sabari-Girish 4c0deff
docs(admonish): used GitHub admonish syntax
Vaishnav-Sabari-Girish File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -87,14 +87,19 @@ jobs: | |
| dir: examples/lilygo-epd47-demo | ||
| target: "" | ||
| setup_xtensa: true | ||
| # RP2040-Zero EPD demo | ||
| - name: rp2040-1in54-epd-example | ||
| dir: examples/rp2040-1in54-epd-example | ||
| target: "thumbv6m-none-eabi" | ||
| setup_xtensa: false | ||
| steps: | ||
| - name: Checkout | ||
| uses: actions/checkout@v6 | ||
| - name: Setup Rust (stable) | ||
| if: ${{ matrix.project.setup_xtensa == false }} | ||
| uses: dtolnay/rust-toolchain@stable | ||
| with: | ||
| components: clippy | ||
| components: clippy, rust-src | ||
| - name: Setup Xtensa toolchain (ESP-IDF) | ||
| if: ${{ matrix.project.setup_xtensa == true }} | ||
| uses: esp-rs/[email protected] | ||
|
|
@@ -143,10 +148,6 @@ jobs: | |
| - thumbv7em-none-eabi | ||
| - thumbv7em-none-eabihf | ||
| - thumbv7m-none-eabi | ||
| # no alloc::sync, required by kasuari | ||
| # - thumbv6m-none-eabi | ||
| # - riscv32imc-unknown-none-elf # esp32c2, esp32c3 | ||
| # - riscv32imac-unknown-none-elf # esp32c6, esp32h2 | ||
| toolchain: ["1.86.0", "stable"] | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
|
|
@@ -158,6 +159,27 @@ jobs: | |
| - uses: Swatinem/rust-cache@v2 | ||
| - run: cargo build --release --target ${{ matrix.target }} | ||
|
|
||
| build-std: | ||
| name: build [build-std] ${{ matrix.example.target }} (${{ matrix.example.name }}) | ||
| runs-on: ubuntu-latest | ||
| strategy: | ||
| fail-fast: false | ||
| matrix: | ||
| example: | ||
| - name: rp2040-example | ||
| dir: examples/rp2040-1in54-epd-example | ||
| target: thumbv6m-none-eabi | ||
| steps: | ||
| - uses: actions/checkout@v6 | ||
| - uses: dtolnay/rust-toolchain@stable | ||
| with: | ||
| target: ${{ matrix.example.target }} | ||
| components: rust-src | ||
| - uses: Swatinem/rust-cache@v2 | ||
| - name: Build ${{ matrix.example.name }} | ||
| working-directory: ${{ matrix.example.dir }} | ||
| run: cargo build --release | ||
|
|
||
| build-espidf-std: | ||
| name: build [std] ${{ matrix.target }} | ||
| strategy: | ||
|
|
||
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -3,3 +3,4 @@ | |
| /.idea | ||
| .DS_Store | ||
| /.vscode | ||
| *.uf2 | ||
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.