fix Cargo.toml and config.toml keys
This commit is contained in:
parent
bf7115cb44
commit
1f6ffdcdd2
@ -142,10 +142,11 @@ Note that the git revision should match any other embassy patches or git depende
|
|||||||
* Make sure link:https://docs.rs/cortex-m/latest/cortex_m/peripheral/struct.SCB.html[flash cache] is enabled
|
* Make sure link:https://docs.rs/cortex-m/latest/cortex_m/peripheral/struct.SCB.html[flash cache] is enabled
|
||||||
* build with `--release`
|
* build with `--release`
|
||||||
* Set the following keys for the release profile in your `Cargo.toml`:
|
* Set the following keys for the release profile in your `Cargo.toml`:
|
||||||
** `opt-level=s`
|
** `opt-level = "s"`
|
||||||
** `lto=fat`
|
** `lto = "fat"`
|
||||||
** `build-std=core`
|
* Set the following keys in the `[unstable]` section of your `.cargo/config.toml`
|
||||||
** `build-std-features=panic_immediate_abort`
|
** `build-std = ["core"]`
|
||||||
|
** `build-std-features = ["panic_immediate_abort"]`
|
||||||
* Enable feature `embassy-time/generic-queue`, disable feature `embassy-executor/integrated-timers`
|
* Enable feature `embassy-time/generic-queue`, disable feature `embassy-executor/integrated-timers`
|
||||||
* When using `InterruptExecutor`:
|
* When using `InterruptExecutor`:
|
||||||
** disable `executor-thread`
|
** disable `executor-thread`
|
||||||
|
Loading…
Reference in New Issue
Block a user