diff --git a/README.md b/README.md index 2020821..1545b6b 100644 --- a/README.md +++ b/README.md @@ -125,9 +125,16 @@ If you prefer the command line, you can use `arduino-cli`. 4. **Compile the project**: ```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 **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