1
- [target .riscv32imac -unknown-none-elf ]
1
+ [target .riscv32imc -unknown-none-elf ]
2
2
runner = " espflash flash --monitor"
3
3
# runner = "probe-rs run --chip esp32c3 --format idf"
4
4
@@ -7,30 +7,14 @@ rustflags = [
7
7
# Required to obtain backtraces (e.g. when using the "esp-backtrace" crate.)
8
8
# NOTE: May negatively impact performance of produced code
9
9
" -C" , " force-frame-pointers" ,
10
-
11
- # comment the cfgs below if you do _not_ wish to emulate atomics.
12
- # enable the atomic codegen option for RISCV
13
- " -C" , " target-feature=+a" ,
14
- # tell the core library have atomics even though it's not specified in the target definition
15
- " --cfg" , " target_has_atomic_load_store" ,
16
- " --cfg" , ' target_has_atomic_load_store="8"' ,
17
- " --cfg" , ' target_has_atomic_load_store="16"' ,
18
- " --cfg" , ' target_has_atomic_load_store="32"' ,
19
- " --cfg" , ' target_has_atomic_load_store="ptr"' ,
20
- # enable cas
21
- " --cfg" , " target_has_atomic" ,
22
- " --cfg" , ' target_has_atomic="8"' ,
23
- " --cfg" , ' target_has_atomic="16"' ,
24
- " --cfg" , ' target_has_atomic="32"' ,
25
- " --cfg" , ' target_has_atomic="ptr"' ,
26
10
]
27
11
28
12
[env ]
29
13
# Use clean build after changing ESP_LOGLEVEL
30
14
ESP_LOGLEVEL =" DEBUG"
31
15
32
16
[build ]
33
- target = " riscv32imac -unknown-none-elf"
17
+ target = " riscv32imc -unknown-none-elf"
34
18
35
19
[unstable ]
36
20
build-std = [ " core" , " alloc" ]
0 commit comments