Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

doc: 📝 add an explanation on the targets #10

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 6 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,13 @@ Then you can launch the following command to compile one of the example, flash i

`cargo espflash --example <example> --monitor --speed 921600 <device> --target <target>`

Targets:
If you want to try the examples, set the target according to your device:
- ESP32: xtensa-esp32-espidf
- ESP32-S2: xtensa-esp32s2-espidf
- ESP32-S3: xtensa-esp32s3-espidf
- ESP32-C3: riscv32imc-esp-espidf

- xtensa-esp32-espidf
- xtensa-esp32s2-espidf
- xtensa-esp32s3-espidf
- riscv32imc-esp-espidf
If you want to use it as a library, set the target in your own projet in the `.cargo/config.toml` file (you can check the file ()[./.cargo/config.toml] for reference)

## Examples

Expand Down
Loading