small fixes
This commit is contained in:
@@ -136,7 +136,7 @@ $ rustup target add thumbv7em-none-eabihf
|
||||
|
||||
## Build problems
|
||||
|
||||
### `error: language item required, but not found: \`eh_personality\``
|
||||
### `error: language item required, but not found: 'eh_personality'`
|
||||
|
||||
#### Cause
|
||||
|
||||
|
||||
@@ -209,22 +209,6 @@ For more information, you can read [the documentation here][cargoconfig].
|
||||
|
||||
### `.cargo/config`
|
||||
|
||||
<!-- ``` toml
|
||||
# Configure builds for our target
|
||||
[target.thumbv6m-none-eabi]
|
||||
# Execute binary using gdb
|
||||
runner = "arm-none-eabi-gdb"
|
||||
# Tweak to the linking process required by the cortex-m-rt crate
|
||||
rustflags = [
|
||||
"-C", "link-arg=-Tlink.x",
|
||||
"-C", "link-arg=-nostartfiles",
|
||||
]
|
||||
|
||||
# Automatically select this target when running cargo for this project
|
||||
[build]
|
||||
target = "thumbv6m-none-eabi"
|
||||
``` -->
|
||||
|
||||
``` toml
|
||||
{{#include ../../.cargo/config}}
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user