Fix no_std
This commit is contained in:
parent
ff63e6343d
commit
9e009eb75e
5 changed files with 13 additions and 1 deletions
4
.cargo/config.toml
Normal file
4
.cargo/config.toml
Normal file
|
@ -0,0 +1,4 @@
|
|||
[build]
|
||||
# Cortex-M0 and Cortex-M0+
|
||||
target = "thumbv6m-none-eabi"
|
||||
|
3
.vscode/settings.json
vendored
Normal file
3
.vscode/settings.json
vendored
Normal file
|
@ -0,0 +1,3 @@
|
|||
{
|
||||
"rust-analyzer.check.allTargets": false
|
||||
}
|
|
@ -10,4 +10,4 @@ embassy-rp = { version = "0.1.0", features = ["unstable-pac", "time-driver", "cr
|
|||
embassy-usb = { version = "0.1.0" }
|
||||
|
||||
numtoa = "0.2.4"
|
||||
futures = { version = "0.3.30", defaul-features = false, features = [] }
|
||||
futures = { version = "0.3.30", default-features = false }
|
||||
|
|
3
rust-toolchain.toml
Normal file
3
rust-toolchain.toml
Normal file
|
@ -0,0 +1,3 @@
|
|||
[toolchain]
|
||||
components = [ "rust-src", "rustfmt", "llvm-tools" ]
|
||||
targets = ["thumbv6m-none-eabi"]
|
|
@ -1,3 +1,5 @@
|
|||
#![no_std]
|
||||
|
||||
mod serial_config;
|
||||
|
||||
use numtoa::NumToA;
|
||||
|
|
Loading…
Reference in a new issue