small fixes
This commit is contained in:
@@ -136,7 +136,7 @@ $ rustup target add thumbv7em-none-eabihf
|
|||||||
|
|
||||||
## Build problems
|
## Build problems
|
||||||
|
|
||||||
### `error: language item required, but not found: \`eh_personality\``
|
### `error: language item required, but not found: 'eh_personality'`
|
||||||
|
|
||||||
#### Cause
|
#### Cause
|
||||||
|
|
||||||
|
|||||||
@@ -209,22 +209,6 @@ For more information, you can read [the documentation here][cargoconfig].
|
|||||||
|
|
||||||
### `.cargo/config`
|
### `.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
|
``` toml
|
||||||
{{#include ../../.cargo/config}}
|
{{#include ../../.cargo/config}}
|
||||||
```
|
```
|
||||||
|
|||||||
Reference in New Issue
Block a user