add more instructions aabout compiling and uploading using aduino-cli
This commit is contained in:
parent
a8a2c60a78
commit
ccfa5566d1
1 changed files with 8 additions and 1 deletions
|
|
@ -125,9 +125,16 @@ If you prefer the command line, you can use `arduino-cli`.
|
||||||
|
|
||||||
4. **Compile the project**:
|
4. **Compile the project**:
|
||||||
```bash
|
```bash
|
||||||
arduino-cli compile --fqbn esp32:esp32:esp32s3box --build-property "build.partitions=default_16MB" --output-dir ./build .
|
arduino-cli compile --fqbn esp32:esp32:esp32s3box:USBMode=hwcdc --build-property "build.partitions=default_16MB" --output-dir ./build .
|
||||||
```
|
```
|
||||||
|
|
||||||
|
5. **Compile the project and upload to the board though USB serial **:
|
||||||
|
```bash
|
||||||
|
arduino-cli compile --fqbn esp32:esp32:esp32s3box:USBMode=hwcdc,DebugLevel=debug --build-property "build.partitions=default_16MB" && \
|
||||||
|
arduino-cli upload -p /dev/ttyACM0 --fqbn esp32:esp32:esp32s3box:USBMode=hwcdc,DebugLevel=debug
|
||||||
|
```
|
||||||
|
Note : the `DebugLevel=debug` option can be omitted
|
||||||
|
|
||||||
Before building the souce code, you need to add in your working copy the secret.h file that contains the sensitive information that we not want to publish in the this git repository
|
Before building the souce code, you need to add in your working copy the secret.h file that contains the sensitive information that we not want to publish in the this git repository
|
||||||
**ToDo :** The secret.h needs to be stored in the password manager used by Le Bib
|
**ToDo :** The secret.h needs to be stored in the password manager used by Le Bib
|
||||||
If your are building the source code for a different site than Le Bib, you can create your own secret.h based on secret.h.example
|
If your are building the source code for a different site than Le Bib, you can create your own secret.h based on secret.h.example
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue