Skip to content

Commit 08314cd

Browse files
committed
feat(demo): add esp32-no-std demo example
1 parent 21018ed commit 08314cd

File tree

16 files changed

+990
-71
lines changed

16 files changed

+990
-71
lines changed

.github/workflows/ci.yml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ env:
1818
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
1919

2020
jobs:
21-
2221
typos:
2322
name: Check for typos
2423
runs-on: ubuntu-latest
@@ -33,8 +32,8 @@ jobs:
3332
- uses: actions/checkout@v6
3433
- uses: DavidAnson/markdownlint-cli2-action@v22
3534
with:
36-
globs: '**/*.md,#CHANGELOG.md'
37-
separator: ','
35+
globs: "**/*.md,#CHANGELOG.md"
36+
separator: ","
3837

3938
fmt:
4039
name: Run fmt
@@ -70,7 +69,12 @@ jobs:
7069
dir: examples/mousefood-esp32-std-demo
7170
target: xtensa-esp32-espidf
7271
setup_xtensa: true
73-
# EPD Waveshare demo
72+
# no-std demo
73+
- name: esp32-no-std-demo
74+
dir: examples/esp32-no-std-demo
75+
target: ""
76+
setup_xtensa: true
77+
# EPD Waveshare demo
7478
- name: epd-waveshare-demo
7579
dir: examples/epd-waveshare-demo
7680
target: ""

Cargo.lock

Lines changed: 122 additions & 67 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
[target.xtensa-esp32-none-elf]
2+
runner = "espflash flash --monitor --chip esp32"
3+
4+
[env]
5+
ESP_LOG = "trace"
6+
7+
[build]
8+
target = "xtensa-esp32-none-elf"
9+
rustflags = ["-C", "link-arg=-nostartfiles"]
10+
11+
[unstable]
12+
build-std = ["alloc", "core"]
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
stack-size-threshold = 8192

0 commit comments

Comments
 (0)