feat: add toml and markdown formatters
This commit is contained in:
@@ -2,13 +2,14 @@
|
||||
runner = "espflash flash --monitor --chip esp32c6 --log-format defmt"
|
||||
|
||||
[env]
|
||||
DEFMT_LOG="info"
|
||||
DEFMT_LOG = "info"
|
||||
|
||||
[build]
|
||||
rustflags = [
|
||||
# Required to obtain backtraces (e.g. when using the "esp-backtrace" crate.)
|
||||
# NOTE: May negatively impact performance of produced code
|
||||
"-C", "force-frame-pointers",
|
||||
"-C",
|
||||
"force-frame-pointers",
|
||||
]
|
||||
|
||||
target = "riscv32imac-unknown-none-elf"
|
||||
|
||||
@@ -0,0 +1,8 @@
|
||||
[global]
|
||||
disable = [
|
||||
# line length limits
|
||||
"MD013",
|
||||
]
|
||||
|
||||
[MD057]
|
||||
absolute-links = "relative_to_roots"
|
||||
@@ -1,8 +1,8 @@
|
||||
[package]
|
||||
edition = "2024"
|
||||
name = "rust-esp32-c6"
|
||||
edition = "2024"
|
||||
name = "rust-esp32-c6"
|
||||
rust-version = "1.88"
|
||||
version = "0.1.0"
|
||||
version = "0.1.0"
|
||||
|
||||
[[bin]]
|
||||
name = "rust-esp32-c6"
|
||||
@@ -18,7 +18,7 @@ esp-rtos = { version = "0.3.0", features = [
|
||||
"esp32c6",
|
||||
] }
|
||||
|
||||
defmt = "1.0.1"
|
||||
defmt = "1.0.1"
|
||||
esp-bootloader-esp-idf = { version = "0.5.0", features = ["defmt", "esp32c6"] }
|
||||
|
||||
embassy-executor = { version = "0.10.0", features = ["defmt"] }
|
||||
@@ -32,7 +32,7 @@ esp-backtrace = { version = "0.19.0", features = [
|
||||
esp-println = { version = "0.17.0", features = ["defmt-espflash", "esp32c6"] }
|
||||
|
||||
critical-section = "1.2.0"
|
||||
static_cell = "2.1.1"
|
||||
static_cell = "2.1.1"
|
||||
|
||||
|
||||
# For fine tuning these settings, please refer to https://doc.rust-lang.org/cargo/reference/profiles.html
|
||||
@@ -42,7 +42,7 @@ static_cell = "2.1.1"
|
||||
opt-level = "s"
|
||||
|
||||
[profile.release]
|
||||
codegen-units = 1 # LLVM can perform better optimizations using a single thread
|
||||
debug = 2 # prefer slower builds but better debugging experience
|
||||
lto = 'fat'
|
||||
opt-level = 's'
|
||||
codegen-units = 1 # LLVM can perform better optimizations using a single thread
|
||||
debug = 2 # prefer slower builds but better debugging experience
|
||||
lto = 'fat'
|
||||
opt-level = 's'
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
[toolchain]
|
||||
channel = "stable"
|
||||
channel = "stable"
|
||||
components = ["rust-src"]
|
||||
targets = ["riscv32imac-unknown-none-elf"]
|
||||
|
||||
Reference in New Issue
Block a user