Added snake example
This commit is contained in:
parent
9381de5039
commit
19ce383be1
5 changed files with 370 additions and 0 deletions
26
examples/snake/Cargo.toml
Normal file
26
examples/snake/Cargo.toml
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
[package]
|
||||
name = "snake"
|
||||
version = "0.1.0"
|
||||
edition = "2024"
|
||||
|
||||
[[bin]]
|
||||
name = "snake"
|
||||
harness = false # do not use the built in cargo test harness -> resolve rust-analyzer errors
|
||||
|
||||
[profile.release]
|
||||
opt-level = "s"
|
||||
debug = true
|
||||
panic = "abort"
|
||||
|
||||
[profile.dev]
|
||||
debug = true # Symbols are nice and they don't increase the size on Flash
|
||||
opt-level = "z"
|
||||
panic = "abort"
|
||||
|
||||
[dependencies]
|
||||
cardputer-bsc-nostd = { version = "0.1.0", path = "../.." }
|
||||
embedded-graphics = "0.8.1"
|
||||
esp-hal = {version = "=1.0.0-beta.1", features = ["esp32s3", "unstable"]}
|
||||
esp-println = { version = "0.14.0", features = ["esp32s3"] }
|
||||
esp-bootloader-esp-idf = "0.1.0"
|
||||
heapless = "0.8.0"
|
||||
Loading…
Add table
Add a link
Reference in a new issue