File tree Expand file tree Collapse file tree 4 files changed +39
-27
lines changed Expand file tree Collapse file tree 4 files changed +39
-27
lines changed Original file line number Diff line number Diff line change 3
3
[._ ]* .sw [a-p ]
4
4
** /* .rs.bk
5
5
Cargo.lock
6
+ Cargo.toml
6
7
7
8
# Created by https://www.gitignore.io/api/intellij+all
8
9
Original file line number Diff line number Diff line change 1
1
{
2
- "rust-analyzer.cargo.features" : [
3
- " 52840"
4
- ]
2
+ "rust-analyzer.cargo.target" : " thumbv7em-none-eabi" ,
3
+ "rust-analyzer.checkOnSave.allTargets" : false ,
5
4
}
Original file line number Diff line number Diff line change
1
+ # This file is a template for a Cargo workspace for developer convenience.
2
+ #
3
+ # Since Cargo resolves all features for all crates in the workspace together,
4
+ # it is not possible to have a workspace with all the crates together, since they
5
+ # enable incompatible features.
6
+ #
7
+ # Instead, we provide this template so you can enable only the crates you're going to
8
+ # work on. This makes eg rust-analyzer check-on-save and autocomplete work, but only
9
+ # in these crates, without any feature conflict.
10
+ #
11
+ # Copy this file to `Cargo.toml` and uncomment one group of crates below.
12
+ #
13
+ # `/Cargo.toml` is already in .gitignore, so you don't commit it accidentally.
14
+
15
+ [workspace ]
16
+ members = [
17
+ # Uncomment ONLY ONE of the hals below, depending on your target
18
+ # "nrf52810-hal",
19
+ # "nrf52811-hal",
20
+ # "nrf52832-hal",
21
+ # "nrf52833-hal",
22
+ " nrf52840-hal" ,
23
+ " nrf52840-hal-tests" ,
24
+ # "nrf9160-hal",
25
+ ]
26
+
27
+ [profile .dev ]
28
+ incremental = false
29
+ codegen-units = 1
30
+ debug = true
31
+ lto = false
32
+
33
+ [profile .release ]
34
+ debug = true
35
+ lto = true
36
+ opt-level = " s"
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments