From aa7c446e2e94749711e5dd06b47c1c155b5fbd1e Mon Sep 17 00:00:00 2001 From: Pierre-Yves Aillet Date: Tue, 2 Jan 2024 18:42:45 +0100 Subject: [PATCH] doc: :memo: add an explanation on the targets Fix #9 --- README.md | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index fbd021b..f489018 100644 --- a/README.md +++ b/README.md @@ -21,12 +21,13 @@ Then you can launch the following command to compile one of the example, flash i `cargo espflash --example --monitor --speed 921600 --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