You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+18-1Lines changed: 18 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -61,7 +61,9 @@ This example contains the following parts:
61
61
*[examples/blink/](examples/blink/) directory with an example project which blinks an LED.
62
62
63
63
64
-
## Toolchain required
64
+
## Prerequisites
65
+
66
+
### Cross-compiler
65
67
66
68
Download and install `riscv-none-elf-gcc` toolchain, for example from the [xPack project](https://github.com/xpack-dev-tools/riscv-none-elf-gcc-xpack/releases).
67
69
@@ -71,6 +73,21 @@ Make sure the toolchain is added to your `PATH`.
71
73
72
74
A different RISC-V toolchain can also be used, in this case you need to adjust [toolchain-rv32.cmake](toolchain-rv32.cmake).
73
75
76
+
### Build tools
77
+
78
+
This example uses CMake. Make sure that CMake and your build system of choice (e.g., Ninja or GNU Make) are also added to your `PATH`.
79
+
80
+
### esptool.py
81
+
82
+
To flash binaries into the ESP32-C3, [esptool.py](https://github.com/espressif/esptool) is used.
83
+
84
+
If you have Python and pip installed, you can install esptool using:
85
+
```bash
86
+
pip install --user esptool
87
+
```
88
+
89
+
Windows users may alternatively download a pre-built executable from the [releases](https://github.com/espressif/esptool/releases) page. These executables don't require Python to be installed.
90
+
74
91
## Building and running the examples
75
92
76
93
See README.md files in example directories for instructions:
0 commit comments